/* Cooperative specific styles */

/* Auth forms */
.auth-container {
    display: flex;
    min-height: 100vh;
  }
  
  .auth-left {
    flex: 1;
    background-color: #e9f7e0;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    position: relative;
    overflow: hidden;
  }
  
  .auth-left::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234d7c0f' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
  }
  
  .auth-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
  }
  
  .auth-form-container {
    width: 100%;
    max-width: 400px;
  }
  
  .auth-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
  }
  
  .auth-logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
  }
  
  .auth-header {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .auth-header h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 0.5rem;
  }
  
  .auth-header p {
    color: #6b7280;
    font-size: 1rem;
  }
  
  .auth-form {
    margin-bottom: 2rem;
  }
  
  .form-group {
    margin-bottom: 1.5rem;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333333;
  }
  
  .form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.15s ease-in-out;
  }
  
  .form-control:focus {
    outline: none;
    border-color: #4d7c0f;
    box-shadow: 0 0 0 3px rgba(77, 124, 15, 0.1);
  }
  
  .password-input-wrapper {
    position: relative;
  }
  
  .password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
  }
  
  .btn {
    display: block;
    width: 100%;
    padding: 0.75rem 1.5rem;
    background-color: #4d7c0f;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
  }
  
  .btn:hover {
    background-color: #3f6a0a;
  }
  
  .auth-footer {
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
  }
  
  .auth-footer a {
    color: #4d7c0f;
    text-decoration: none;
    font-weight: 500;
  }
  
  .auth-footer a:hover {
    text-decoration: underline;
  }
  
  /* Dashboard specific styles */
  .dashboard-container {
    display: flex;
    min-height: 100vh;
  }
  
  .sidebar {
    width: 250px;
    background-color: #ffffff;
    border-right: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
  }
  
  .sidebar-collapsed {
    width: 70px;
  }
  
  .sidebar-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
  }
  
  .sidebar-header .logo {
    height: 40px;
  }
  
  .sidebar-header h1 {
    margin-left: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #4d7c0f;
  }
  
  .sidebar-nav {
    flex: 1;
    padding: 1.5rem 0;
  }
  
  .sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .sidebar-nav li {
    margin-bottom: 0.5rem;
  }
  
  .sidebar-nav a {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    color: #6b7280;
    text-decoration: none;
    transition: all 0.2s ease;
  }
  
  .sidebar-nav a:hover {
    background-color: #f9fafb;
    color: #4d7c0f;
  }
  
  .sidebar-nav li.active a {
    background-color: #f3f4f6;
    color: #4d7c0f;
    font-weight: 500;
    border-left: 3px solid #4d7c0f;
  }
  
  .sidebar-nav i {
    font-size: 1.25rem;
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
  }
  
  .sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid #e5e7eb;
  }
  
  .logout-btn {
    display: flex;
    align-items: center;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s ease;
  }
  
  .logout-btn:hover {
    color: #ef4444;
  }
  
  .logout-btn i {
    margin-right: 0.75rem;
  }
  
  .main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
  }
  
  .dashboard-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .header-left {
    display: flex;
    align-items: center;
  }
  
  .sidebar-toggle {
    background: none;
    border: none;
    color: #6b7280;
    font-size: 1.25rem;
    cursor: pointer;
    margin-right: 1rem;
  }
  
  .header-left h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
  }
  
  .header-right {
    display: flex;
    align-items: center;
  }
  
  .search-box {
    position: relative;
    margin-right: 1.5rem;
  }
  
  .search-box i {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
  }
  
  .search-box input {
    padding: 0.5rem 0.75rem 0.5rem 2.25rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    width: 200px;
  }
  
  .notifications {
    margin-right: 1.5rem;
    position: relative;
  }
  
  .notification-btn {
    background: none;
    border: none;
    color: #6b7280;
    font-size: 1.25rem;
    cursor: pointer;
    position: relative;
  }
  
  .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ef4444;
    color: white;
    font-size: 0.75rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .user-profile {
    display: flex;
    align-items: center;
  }
  
  .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 0.75rem;
  }
  
  .user-info h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
  }
  
  .user-info p {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0;
  }
  
  .dashboard-content {
    padding: 1.5rem;
    background-color: #f9fafb;
    flex: 1;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .auth-container {
      flex-direction: column;
    }
  
    .auth-left {
      display: none;
    }
  
    .sidebar {
      position: fixed;
      left: -250px;
      top: 0;
      bottom: 0;
      z-index: 1000;
      box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    }
  
    .sidebar.show {
      left: 0;
    }
  
    .search-box {
      display: none;
    }
  }
  