/* public/css/staff-dashboard.css */
:root {
    --sidebar-width: 260px;
    --sidebar-collapsed-width: 70px;
    --navbar-height: 60px;
    --primary-color: #0066cc;
    --sidebar-bg: #2c3e50;
    --sidebar-hover: #34495e;
  }
  
  body {
    background-color: #f8f9fa;
  }
  
  /* Wrapper */
  .wrapper {
    display: flex;
    min-height: 100vh;
  }
  
  /* Top Navbar */
  .navbar {
    height: var(--navbar-height);
    z-index: 1000;
    padding: 0 1rem;
  }
  
  .sidebar-toggle {
    text-decoration: none;
    padding: 0.5rem;
    margin-left: -0.5rem;
  }
  
  .sidebar-toggle:hover {
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 0.25rem;
  }
  
  .user-avatar {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Sidebar */
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: var(--sidebar-width);
    background: linear-gradient(135deg, var(--sidebar-bg) 0%, #1a252f 100%);
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  }
  
  .sidebar-header {
    padding: 1.25rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .sidebar-logo {
    height: 40px;
    margin-bottom: 0.5rem;
  }
  
  .sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0;
  }
  
  .sidebar-nav::-webkit-scrollbar {
    width: 4px;
  }
  
  .sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
  }
  
  .sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    position: relative;
  }
  
  .sidebar .nav-link:hover {
    background: var(--sidebar-hover);
    color: white;
    border-left-color: var(--primary-color);
  }
  
  .sidebar .nav-link.active {
    background: var(--sidebar-hover);
    color: white;
    border-left-color: var(--primary-color);
  }
  
  .sidebar .nav-link.active::after {
    content: '';
    position: absolute;
    right: 1rem;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
  }
  
  .sidebar .sub-link {
    font-size: 0.875rem;
    padding: 0.5rem 1.25rem;
  }
  
  .nav-dropdown-toggle[aria-expanded="true"] .bi-chevron-down {
    transform: rotate(180deg);
  }
  
  .nav-dropdown-toggle .bi-chevron-down {
    transition: transform 0.3s ease;
  }
  
  .nav-section {
    padding: 1rem 1.25rem 0.5rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
  }
  
  .sidebar-footer {
    padding: 1rem 1.25rem;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  /* Main Content */
  .main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    margin-top: var(--navbar-height);
    transition: margin-left 0.3s ease;
  }
  
  .content-wrapper {
    padding: 1.5rem;
  }
  
  /* Sidebar Toggle States */
  .sidebar-collapsed .sidebar {
    width: var(--sidebar-collapsed-width);
  }
  
  .sidebar-collapsed .main-content {
    margin-left: var(--sidebar-collapsed-width);
  }
  
  .sidebar-collapsed .sidebar-header h5,
  .sidebar-collapsed .sidebar .nav-link span,
  .sidebar-collapsed .sidebar-footer,
  .sidebar-collapsed .nav-section,
  .sidebar-collapsed .nav-dropdown-toggle .bi-chevron-down {
    display: none;
  }
  
  .sidebar-collapsed .sidebar .nav-link {
    justify-content: center;
    padding: 0.75rem;
  }
  
  .sidebar-collapsed .sidebar .nav-link i {
    font-size: 1.25rem;
    margin-right: 0;
  }
  
  /* Mobile Sidebar */
  @media (max-width: 991.98px) {
    .sidebar {
      left: -var(--sidebar-width);
    }
    
    .sidebar.show {
      left: 0;
    }
    
    .main-content {
      margin-left: 0;
    }
    
    .sidebar-overlay {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.5);
      z-index: 998;
      display: none;
    }
    
    .sidebar-overlay.show {
      display: block;
    }
  }
  
  /* Dashboard Cards */
  .stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.25rem;
  }
  
  .page-header {
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 1rem;
  }
  
  /* Animations */
  @keyframes slideIn {
    from {
      transform: translateX(-100%);
    }
    to {
      transform: translateX(0);
    }
  }
  
  .sidebar.show {
    animation: slideIn 0.3s ease;
  }
  
  /* Card hover effects */
  .card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  
  .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
  }
  
  /* Custom scrollbar for main content */
  .main-content::-webkit-scrollbar {
    width: 8px;
  }
  
  .main-content::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 4px;
  }
  
  .main-content::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
  }

  /* Background color from Basic Bank brand: #157765 (navy blue) */
.auth-body {
  min-height: 100vh;
  background: linear-gradient(135deg, #284b31 0%, #213b28 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Container */
.auth-wrapper {
  width: 100%;
  max-width: 420px;
}

/* Card styling */
.auth-content .card {
  border-radius: 1rem;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.25);
  background-color: #ffffff;
}

/* Headings */
.auth-content h4 {
  font-size: 1.75rem;
  letter-spacing: 0.05em;
}

/* Paragraph */
.auth-content p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

/* Input group */
.input-group-text.bg-primary {
  background-color: #157765 !important;
  border: none;
  font-size: 1.25rem;
}

.form-control-lg {
  font-size: 1.125rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1.5px solid #ced4da;
  transition: border-color 0.3s ease;
}

.form-control-lg:focus {
  border-color: #157765;
  box-shadow: 0 0 0 0.25rem rgba(0, 64, 128, 0.25);
}

/* Invalid feedback */
.is-invalid {
  border-color: #dc3545 !important;
}

.invalid-feedback {
  font-size: 0.875rem;
}

/* Checkbox label */
.form-check-label {
  font-size: 0.95rem;
}

/* Links */
a.text-primary {
  color: #157765 !important;
  font-weight: 600;
}

a.text-primary:hover {
  color: #00264d !important;
  text-decoration: underline;
}

/* Button */
.btn-primary {
  background-color: #157765;
  border-color: #157765;
  font-size: 1.125rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #00264d;
  border-color: #00264d;
  box-shadow: none;
}

/* Horizontal rule */
hr.my-4 {
  border-top: 1px solid #dee2e6;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

/* Footer text */
.auth-content .text-secondary {
  color: #6c757d !important;
  font-size: 0.875rem;
}

  