/* ============================================
   Professional Backend Change System Styles
   ============================================ */

/* ===== RESET & BASE ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  margin: 0;
  padding: 0;
}

/* body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1a1a1a;
  background: #E9F1FF;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
} */

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
}

a {
  color: #4a90e2;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #357abd;
  text-decoration: underline;
}

.muted {
  color: #555555; /* slightly darker for better readability */
  font-size: 0.9rem;
}

/* ===== LAYOUT ===== */
/* main.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  flex: 1;
} */

/* ===== HEADER ===== */
header {
  background: #fff;
  color: #1a1a1a;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  flex-shrink: 0;
  border-bottom: 1px solid #e5e7eb;
}

/* Header Left Section - Logo and Institute Info */
header .header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 0 0 auto;
}

header .header-logo {
  display: flex;
  align-items: center;
}

header .logo-icon-img {
  width: 100%;
  object-fit: contain;
  display: block;
}

header .institute-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

header .institute-name-header {
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
  line-height: 1.3;
}

header .institute-name-header div {
  margin: 0;
}

header .certification-header {
  font-size: 0.7rem;
  color: #6b7280;
  font-weight: 400;
}

/* Header Center Section - Navigation */
header .header-nav {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex: 1;
  justify-content: center;
  margin: 0 2rem;
  background: #f3f4f6;
  padding: 0.5rem;
  border-radius: 20px;
}

header .header-nav .nav-link {
  color: #0d264d;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.5rem 1rem !important;
  border-radius: 6px;
  transition: all 0.2s ease;
  font-weight: 600;
}

header .header-nav .nav-link:hover {
  background: rgba(74, 144, 226, 0.1);
  color: #4a90e2;
  text-decoration: none;
}

header .header-nav .nav-link.active {
  background: #4a90e2;
  color: #fff;
  font-weight: 600;
}

/* Navigation Dropdown */
header .nav-dropdown {
  position: relative;
  display: inline-block;
}

header .nav-dropdown .nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Dropdown Menu - No Blur */
header .nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 1001;
  margin-top: 8px;
}

header .nav-dropdown.active .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

header .nav-dropdown.active .nav-dropdown-menu::before {
  opacity: 1;
  visibility: visible;
}

header .nav-dropdown-menu .dropdown-item {
  display: block;
  padding: 0.75rem 1rem;
  color: #374151;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

header .nav-dropdown-menu .dropdown-item:first-child {
  border-radius: 6px 6px 0 0;
}

header .nav-dropdown-menu .dropdown-item:last-child {
  border-radius: 0 0 6px 6px;
}

header .nav-dropdown-menu .dropdown-item:hover {
  background: #f3f4f6;
  color: #4a90e2;
  padding-left: 1.25rem;
}

/* Header Right Section - User Info */
header .header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 0 0 auto;
}

header .user-dropdown {
  position: relative;
}

header .user-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

header .user-dropdown-toggle:hover {
  background: #f3f4f6;
}

header .user-avatar {
  width: 36px;
  height: 36px;
  background: #F2F4F8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

header .avatar-initial {
  color: #0468ff;
  font-size: 1.2rem;
  font-weight: 600;
}

header .user-details {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-align: left;
}

header .username {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a1a1a;
}

header .user-role {
  font-size: 0.75rem;
  color: #6b7280;
}

header .dropdown-arrow {
  color: #6b7280;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

header .user-dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

header .user-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  padding: 1rem;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 1000;
  pointer-events: none;
}

header .user-dropdown.active .user-dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

header .dropdown-user-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

header .dropdown-avatar {
  width: 45px;
  height: 45px;
  background: #e0f2fe;
  border: 2px solid #4a90e2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

header .dropdown-avatar-initial {
  color: #374151;
  font-size: 1.2rem;
  font-weight: 600;
}

header .dropdown-user-details {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  flex: 1;
}

header .dropdown-username {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a1a;
}

header .dropdown-user-role {
  font-size: 0.8rem;
  color: #6b7280;
}

header .dropdown-separator {
  height: 1px;
  background: #e0f2fe;
  margin: 0.75rem 0;
}

header .logout-form {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  width: 100%;
}

header .logout-btn-dropdown {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #4a90e2;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

header .logout-btn-dropdown:hover {
  background: #357abd;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

header .logout-arrow {
  width: 16px;
  height: 16px;
  color: #fff;
}

/* Header notification bell near profile */
.header-bell {
  position: relative;
  margin-right: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #0D2E82;
  background: transparent;
  text-decoration: none;
}

.header-bell-icon {
  font-size: 1.1rem;
  /* line-height: 1; */
}

.header-bell-badge {
  position: absolute;
  top: -4px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: #FF3B3B;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px #ffffff;
}

/* ===== FOOTER ===== */
/* footer {
  background: #fff;
  border-top: 1px solid #e5e7eb;
  padding: 1.5rem 2rem;
  text-align: center;
  color: #6b7280;
  font-size: 0.875rem;
  margin-top: auto;
  flex-shrink: 0;
} */

/* ===== PAGE HEADER ===== */
.page-header {
  margin-bottom: 1.5rem;
}

.page-header h1 {
  margin: 0;
  font-size: 2rem;
  color: #1a1a1a;
}

/* ===== CARDS ===== */
/* .card {
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
} */

.card-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.card-title {
  margin: 0;
  font-size: 1.5rem;
  color: #1a1a1a;
}

.card h2 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  /* font-size: 1.5rem; */
  color: #1a1a1a;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
}

/* ===== FORMS ===== */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #374151;
  letter-spacing: 0.2px;
}

/* .form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
  color: #1a1a1a;
  transition: all 0.2s ease;
  outline: none;
  font-family: inherit;
} */

/* .form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #4a90e2;
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
} */

.form-group input::placeholder,
.form-group textarea::placeholder, .form-group select::placeholder {
  color: #9ca3af;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group select {
  cursor: pointer;
  /* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23374151' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; */
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
  appearance: none;
}

.input-error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

/* ===== BUTTONS ===== */
/* button,
.button {
  display: inline-block;
  padding: 0.75rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #1D74F5, #2A8CFF); 
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  text-decoration: none;
  text-align: center;
  letter-spacing: 0.5px;
  font-family: inherit;
  box-shadow: 0 3px 8px rgba(29, 116, 245, 0.35);
  min-width: 120px;
} */

button:hover,
.button:hover {
  /* background: linear-gradient(135deg, #175dcb, #256ddb);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(29, 116, 245, 0.45);
  text-decoration: none;
  color: #ffffff; */
}

button:active,
.button:active {
  transform: translateY(0);
}

button.secondary,
.button.secondary {
  background: #6b7280;
  color: #fff;
}

button.secondary:hover,
.button.secondary:hover {
  background: #4b5563;
  box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
  color: #fff;
}

button.danger,
.button.danger {
  background: #ef4444;
  color: #fff;
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
}

button.danger:hover,
.button.danger:hover {
  background: #dc2626;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
  color: #fff;
}

button.small-btn,
.button.small-btn {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* ===== TABLES ===== */


/* ===== STATUS FILTER ===== */
.status-filter-container {
  /* display: flex;
  align-items: center;
  gap: 0.5rem; */
}

.status-filter {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
  font-family: inherit;
  min-width: 200px;
}

.status-filter:focus {
  border-color: #4a90e2;
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.status-filter:hover {
  border-color: #9ca3af;
}

/* ===== BADGES ===== */
.badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-role {
  background: #1e40af;
  color: #ffffff;
  border: 1px solid #1e3a8a;
}

.badge-status {
  background: #f3f4f6;
  color: #374151;
}

.badge-status.pending,
.badge-status.pending-checker,
.badge-status.pending-it {
  background: #fef3c7;
  color: #92400e;
}

/* Pending Checker */
.badge-status.pending-checker-approval {
    background-color: #E6F0FF;
    color: #022C6B;
    border: 1px solid #E6F0FF;
    font-size: 12px;
    border-radius: 8px;
    line-height: 16px;
}

/* Pending FMS Lead */
.badge-status.pending-it-approval {
  background-color: #E6F0FF;
   color: #022C6B;
    border: 1px solid #E6F0FF;
    font-size: 12px;
    border-radius: 8px;
    line-height: 16px;
}

/* Approved */
.badge-status.approved,
.badge-status.closed {
  background-color: #D2F4EB;
   color: #014E3A;
    border: 1px solid #D2F4EB;
    font-size: 12px;
    border-radius: 8px;
    line-height: 16px;
}

/* Rejected */
.badge-status.rejected {
 background-color: #FBE9EA;
   color: #781116;
    border: 1px solid #FBE9EA;
    font-size: 12px;
    border-radius: 8px;
    line-height: 16px;
}

.badge-status.completed {
  background: #dbeafe;
  color: #1e40af;
}

/* ===== FLASH MESSAGES ===== */
.flash {
  padding: 1rem 1.5rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.flash-success {
  background: #d1fae5;
  color: #065f46;
  border-left: 4px solid #10b981;
}

.flash-error {
  background: #fee2e2;
  color: #991b1b;
  border-left: 4px solid #ef4444;
}

/* ===== ERROR PAGES ===== */
.card h2:first-child {
  color: #1a1a1a;
}

.error-page {
  text-align: center;
  padding: 3rem 2rem;
}

.error-page h2 {
  font-size: 3rem;
  color: #4a90e2;
  margin-bottom: 1rem;
}

.error-page p {
  font-size: 1.1rem;
  color: #6b7280;
  margin-bottom: 2rem;
}

/* ===== SIDEBAR ===== */
.layout-with-sidebar {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.sidebar {
  width: 240px;
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.sidebar-section {
  margin-bottom: 1.5rem;
}

.sidebar-section:last-child {
  margin-bottom: 0;
}

.sidebar-section h4 {
  margin: 0 0 0.75rem 0;
  font-size: 0.875rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.sidebar-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-section li {
  margin-bottom: 0.5rem;
}

.sidebar-section a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: #374151;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.sidebar-section a:hover {
  background: #f3f4f6;
  color: #4a90e2;
  text-decoration: none;
}

/* ===== PAGINATION ===== */
.pagination-bar {
  margin: 1.25rem 0 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.pagination {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}

.pagination-rows {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #374151;
}

.pagination-rows label {
  font-weight: 500;
}

.pagination-rows select {
  padding: 0.3rem 2.25rem 0.3rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid #d1d5db;
  background-color: #ffffff;
  font-size: 0.875rem;
  color: #111827;
  outline: none;
  cursor: pointer;
}

.pagination-rows select:focus {
  border-color: #1d4ed8;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}

@media (max-width: 640px) {
  .pagination-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

.page-link {
  padding: 0.35rem 0.75rem;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: none;
  color: #4b5563;
  transition: all 0.2s ease;
  min-width: 2.25rem;
  min-height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.page-link:hover {
  background: #e5f0ff;
  border-color: #2563eb;
  color: #1d4ed8;
  text-decoration: none;
}

.page-link.active {
  background: #2563EB;
  color: #ffffff;
  border-color: #2563EB;
  font-weight: 600;
}

.page-link.disabled {
  background: #f9fafb;
  color: #9ca3af;
  border-color: #e5e7eb;
  pointer-events: none;
  cursor: not-allowed;
}

/* ===== DETAIL PAGES ===== */
.card p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.card p strong {
  color: #374151;
  font-weight: 600;
  display: inline-block;
  min-width: 140px;
}

.card p:last-child {
  margin-bottom: 0;
}

.card-body {
  padding: 0;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #e5e7eb;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .2rem;
  margin-top: 1rem;
}

.detail-grid > div {
  padding: 1rem;
  background: #f9fafb;
  border-radius: 6px;
}

.detail-grid > div.full-width {
  grid-column: 1 / -1;
}

.detail-grid h3 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 0.5rem 0;
}

.detail-grid p {
  margin: 0;
  color: #1a1a1a;
  font-size: 0.95rem;
}

.actions-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* ===== FORM ACTIONS ===== */
/* form {
  margin-top: 1.5rem;
} */


form .button {
  margin-right: 0.75rem;
  margin-top: 0.5rem;
}

/* ===== ACTION BUTTONS ===== */
.action-buttons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* ===== NOTIFICATIONS ===== */
.notifications-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.notification-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.notification-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.notification-item.unread {
  background: #f0f4ff;
  border-left: 4px solid #4a90e2;
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.notification-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.notification-text {
  flex: 1;
}

.notification-message {
  margin: 0 0 0.25rem 0;
  font-weight: 500;
  color: #1a1a1a;
  font-size: 0.95rem;
}

.notification-time {
  font-size: 0.85rem;
  color: #6b7280;
}

.notification-actions {
  display: flex;
  gap: 0.75rem; /* ~12px spacing between buttons */
  align-items: center;
  flex-shrink: 0;
}

.notification-actions .button {
  flex: 0 0 140px; /* equal width for View / Mark as read */
  min-width: 140px;
  justify-content: center;
  font-weight: 600;
}

/* Primary vs secondary notification buttons */
.notification-btn-secondary {
  background: #6C7685; /* secondary grey */
  box-shadow: 0 3px 8px rgba(29, 116, 245, 0.35); /* same depth as primary */
  color: #ffffff;
}

.notification-btn-secondary:hover {
  background: #555f6d; /* slightly darker grey on hover */
}

/* ===== QUEUE ACTIONS ===== */
.queue-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.queue-action-form {
  display: inline-block;
  margin: 0;
}

/* .btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
  font-family: inherit;
} */

.btn-approve {
  background: #10b981;
  color: #fff;
}

.btn-approve:hover {
  background: #059669;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-reject {
  background: #ef4444;
  color: #fff;
}

.btn-reject:hover {
  background: #dc2626;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* ===== UTILITIES ===== */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  main.container {
    padding: 1.5rem 1rem;
  }

  header {
    flex-wrap: wrap;
    padding: 1rem;
  }

  header nav {
    order: 3;
    width: 100%;
    margin: 0.75rem 0 0 0;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .layout-with-sidebar {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    position: static;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }

  .card {
    padding: 1.5rem;
  }

  header nav {
    font-size: 0.85rem;
  }

  table.table {
    font-size: 0.875rem;
  }

  table.table th,
  table.table td {
    padding: 0.75rem 0.5rem;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .actions-row {
    flex-direction: column;
  }

  .actions-row .button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  main.container {
    padding: 1rem 0.75rem;
  }

  .card {
    padding: 1rem;
  }

  header .user-info {
    font-size: 0.8rem;
  }
}

/* ===== PAGINATION ===== */
.pagination-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  /* background: #fff;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px; */
    padding: 1rem;
}

.pagination-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.pagination-info {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: #7F92B5;
}

 .pagination-limit-select {
    padding: 0.5rem 0.5rem 0.5rem 0.75rem;
    font-size: 13px;
    min-width: 65px;
    max-width: 70px;
   /* border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s 
ease;
    outline: none;
    font-family: inherit;
    margin-left: 0.5rem;
    min-width: 65px;*/
} 

.pagination-limit-select:focus {
  border-color: #4a90e2;
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.pagination-limit-select:hover {
  border-color: #9ca3af;
}

.pagination-range {
  color: #7F92B5;
  font-size: 0.9rem;
  white-space: nowrap;
}

.pagination {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.3rem;
  height: 2.3rem;
  padding: 0 0.75rem;
  background: transparent;
  /* border: 1px solid #E5E7EB; */
  border-radius: 8px;
  color: #374151;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.pagination-btn:hover:not(.pagination-btn-disabled):not(.pagination-btn-active) {
    background: #fff;
    border-color: #fff;
    transform: translateY(-1px);
    box-shadow: unset;
    text-decoration: none;
    color: #0468ff;
}

.pagination-btn-active {
    background: #0468FF;
    border: 2px solid #0468FF;
    color: #fff;
    font-weight: 600;
    box-shadow: unset;
}

.pagination-btn-active:hover {
    background: #004DC0;
    border-color: #004DC0;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: unset;
    text-decoration: none;
}

.pagination-btn-nav {
  background: #F3F4F6;
  border: 1px solid #AEC6DF;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1;
}

.pagination-btn-nav:hover:not(.pagination-btn-disabled) {
  background: #E5E7EB;
  border-color: #D1D5DB;
}

.pagination-btn-disabled {
  background: #F9FAFB;
  border-color: #E5E7EB;
  color: #9CA3AF;
  cursor: not-allowed;
  opacity: 0.6;
}

.pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  color: #6B7280;
  font-size: 0.875rem;
  user-select: none;
}

@media (max-width: 768px) {
  .pagination {
    gap: 0.375rem;
  }
  
  .pagination-btn {
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 0.5rem;
    font-size: 0.8125rem;
  }
  
  .pagination-btn-nav {
    font-size: 1.125rem;
  }
  
}

