/* Mineral Management System - Stylesheet */
:root {
  --portal-blue: #4066a5;
  --portal-blue-dark: #2f4d80;
  --portal-blue-light: #eef3f9;
  --portal-green: #6eaf2c;
  --portal-green-hover: #5d9724;
  --portal-gray-bg: #f5f6f8;
  --portal-border: #dcdfe6;
  --portal-text-main: #333333;
  --portal-text-muted: #666666;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--portal-gray-bg);
  color: var(--portal-text-main);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Header Styles */
.portal-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 12px 20px;
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-toggle-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #333;
  padding: 6px 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.menu-toggle-btn:hover {
  background-color: #f1f5f9;
}

.portal-title-area {
  display: flex;
  flex-direction: column;
}

.portal-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: -0.01em;
}

.header-year-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
  background-color: #f1f5f9;
  padding: 2px 8px;
  border-radius: 4px;
  width: fit-content;
  margin-top: 2px;
  border: 1px solid #e2e8f0;
}

/* User Profile Box (Handwritten style layout) */
.user-profile-box {
  border: 1.5px solid #2b5797;
  border-radius: 4px;
  padding: 6px 14px;
  background-color: #ffffff;
  text-align: right;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  min-width: 175px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.user-profile-box:hover {
  background-color: #f8fafc;
  border-color: #1d4ed8;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

.user-profile-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #1e3a8a;
  line-height: 1.25;
}

.user-profile-location {
  font-size: 0.8rem;
  color: #4b5563;
  line-height: 1.2;
}

.user-profile-role {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #059669;
  margin-top: 2px;
  letter-spacing: 0.03em;
}

/* User Switcher Dropdown */
.user-switcher-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  width: 280px;
  z-index: 50;
  overflow: hidden;
  display: none;
}

.user-switcher-dropdown.active {
  display: block;
  animation: fadeIn 0.15s ease-out;
}

.switcher-header {
  padding: 10px 14px;
  background-color: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.05em;
}

.switcher-option {
  padding: 10px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f1f5f9;
  transition: background-color 0.15s;
}

.switcher-option:hover {
  background-color: #f0fdf4;
}

.switcher-option.current {
  background-color: #eef2ff;
  font-weight: 600;
}

.switcher-opt-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
}

.switcher-opt-sub {
  font-size: 0.75rem;
  color: #64748b;
}

/* Sidebar Drawer */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 45;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

.sidebar-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 290px;
  background-color: #ffffff;
  z-index: 50;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
}

.sidebar-drawer.active {
  transform: translateX(0);
}

.sidebar-header {
  padding: 18px 20px;
  border-bottom: 1px solid #e2e8f0;
  background-color: var(--portal-blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-title {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.sidebar-close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 22px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.sidebar-user-info {
  padding: 14px 20px;
  background-color: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.sidebar-menu-list {
  list-style: none;
  padding: 12px 10px;
  flex: 1;
  overflow-y: auto;
}

.sidebar-menu-item {
  margin-bottom: 4px;
}

.sidebar-menu-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 6px;
  border: none;
  background: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: #334155;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s;
}

.sidebar-menu-btn:hover {
  background-color: #f1f5f9;
  color: var(--portal-blue);
}

.sidebar-menu-btn.active {
  background-color: var(--portal-blue-light);
  color: var(--portal-blue);
  font-weight: 700;
}

.sidebar-menu-btn .menu-icon {
  font-size: 1.15rem;
  width: 24px;
  display: flex;
  justify-content: center;
}

/* Main Content Area */
.main-wrapper {
  max-width: 1024px;
  margin: 24px auto;
  padding: 0 16px;
}

/* Card Container (Matches Photo 2) */
.photo-model-card {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 24px;
  margin-bottom: 24px;
}

@media (max-width: 640px) {
  .photo-model-card {
    padding: 16px;
  }
}

/* Search and Form Controls (Photo 2 Replication) */
.form-group-item {
  margin-bottom: 18px;
}

.form-label-title {
  display: block;
  font-size: 0.92rem;
  font-weight: 500;
  color: #475569;
  margin-bottom: 6px;
}

.search-input-field {
  width: 100%;
  padding: 9px 12px;
  font-size: 0.95rem;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background-color: #ffffff;
  color: #1e293b;
}

.search-input-field:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.select-dropdown {
  width: 100%;
  padding: 9px 36px 9px 12px;
  font-size: 0.95rem;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  outline: none;
  background-color: #ffffff;
  color: #1e293b;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.select-dropdown:focus {
  border-color: #3b82f6;
}

/* Photo 2 Green Advanced Search Button */
.btn-advanced-search {
  background-color: var(--portal-green);
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.15s ease, transform 0.1s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.btn-advanced-search:hover {
  background-color: var(--portal-green-hover);
}

.btn-advanced-search:active {
  transform: scale(0.99);
}

.caret-icon {
  font-size: 0.8rem;
  transition: transform 0.2s;
}

.caret-icon.expanded {
  transform: rotate(180deg);
}

/* Action Toolbar */
.card-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-primary-action {
  background-color: #1e40af;
  color: #ffffff;
  border: none;
  padding: 9px 18px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 4px rgba(30, 64, 175, 0.2);
  transition: background-color 0.15s;
}

.btn-primary-action:hover {
  background-color: #1d368e;
}

.btn-secondary {
  background-color: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: 5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-secondary:hover {
  background-color: #e2e8f0;
}

/* Advanced Search Expanded Panel */
.advanced-search-panel {
  display: none;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 16px;
  margin-top: 14px;
  margin-bottom: 18px;
  animation: fadeIn 0.2s ease;
}

.advanced-search-panel.active {
  display: block;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

/* Photo 2 Table Styles */
.table-responsive-container {
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: white;
  margin-top: 16px;
}

.portal-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

/* Exact Photo 2 Table Header */
.portal-table thead tr {
  background-color: var(--portal-blue);
  color: #ffffff;
}

.portal-table th {
  padding: 12px 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  white-space: nowrap;
}

.portal-table th:last-child {
  border-right: none;
}

.portal-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #f1f5f9;
  border-right: 1px solid #f1f5f9;
  color: #334155;
  vertical-align: middle;
}

.portal-table td:last-child {
  border-right: none;
}

.portal-table tbody tr:hover {
  background-color: #f8fafc;
}

.portal-table tbody tr:last-child td {
  border-bottom: none;
}

.permit-no-badge {
  font-weight: 600;
  color: #1e3a8a;
}

.minecode-badge {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.85rem;
  background-color: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  color: #475569;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.status-paid {
  background-color: #dcfce7;
  color: #15803d;
}

.status-pending {
  background-color: #fef9c3;
  color: #854d0e;
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.6);
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  backdrop-filter: blur(2px);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #ffffff;
  border-radius: 10px;
  width: 100%;
  max-width: 650px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
  transform: scale(0.95);
  transition: transform 0.2s ease;
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-header {
  padding: 16px 20px;
  background-color: var(--portal-blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.modal-title {
  font-size: 1.1rem;
  font-weight: 700;
}

.modal-close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}

.modal-body {
  padding: 20px;
}

.modal-footer {
  padding: 14px 20px;
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

/* Transit Pass Printable Slip */
.transit-pass-slip {
  border: 2px solid #1e3a8a;
  padding: 20px;
  border-radius: 6px;
  background: #ffffff;
  font-family: Arial, sans-serif;
  color: #111;
  position: relative;
}

.slip-header {
  text-align: center;
  border-bottom: 2px solid #1e3a8a;
  padding-bottom: 12px;
  margin-bottom: 14px;
}

.slip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  font-size: 0.9rem;
}

.slip-qr-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed #cbd5e1;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Print Styles */
@media print {
  body {
    background: white !important;
  }
  .portal-header, .btn-advanced-search, .card-action-bar, .modal-overlay, .sidebar-drawer {
    display: none !important;
  }
  .printable-area {
    display: block !important;
  }
}

/* ========================================== */
/* LOGIN SCREEN STYLES                        */
/* ========================================== */
.login-page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px 16px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #1e3a8a 100%);
  position: relative;
}

.login-page-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.login-card {
  width: 100%;
  max-width: 480px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  position: relative;
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.login-header-banner {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  padding: 24px 24px 20px;
  color: white;
  text-align: center;
}

.login-emblem-icon {
  font-size: 2.2rem;
  margin-bottom: 6px;
  display: inline-block;
}

.login-gov-title {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #bfdbfe;
}

.login-portal-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-top: 4px;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.login-badge-sub {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 8px;
}

.login-body {
  padding: 24px;
}

.quick-select-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 8px;
  display: block;
  letter-spacing: 0.04em;
}

.quick-user-pills {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.quick-user-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.quick-user-btn:hover {
  border-color: #3b82f6;
  background: #eff6ff;
  transform: translateY(-1px);
}

.quick-user-btn.active {
  border-color: #2563eb;
  background: #eef2ff;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.quick-user-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: #1e293b;
}

.quick-user-sub {
  font-size: 0.76rem;
  color: #64748b;
}

.quick-user-role-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
}

.badge-admin {
  background: #fef3c7;
  color: #92400e;
}

.badge-coadmin {
  background: #dbeafe;
  color: #1e40af;
}

.btn-login-submit {
  width: 100%;
  background: #1e40af;
  color: white;
  border: none;
  padding: 12px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 6px -1px rgba(30, 64, 175, 0.3);
  transition: background 0.2s, transform 0.1s;
}

.btn-login-submit:hover {
  background: #1d368e;
}

.btn-login-submit:active {
  transform: scale(0.99);
}

.login-footer-notice {
  padding: 12px 24px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  font-size: 0.75rem;
  color: #64748b;
  text-align: center;
}

.logout-nav-btn {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s;
}

.logout-nav-btn:hover {
  background: #fecaca;
}

/* ========================================== */
/* FORM GRID UTILITIES                        */
/* ========================================== */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

/* ========================================== */
/* COMPREHENSIVE MOBILE OPTIMIZATIONS         */
/* ========================================== */
@media (max-width: 768px) {
  /* Prevent iOS Safari zoom on focus */
  input, select, textarea, button {
    font-size: 16px;
  }

  /* Portal Header Responsive */
  .portal-header {
    padding: 0;
  }
  .header-container {
    padding: 8px 12px;
    gap: 8px;
  }
  .header-left {
    gap: 8px;
    min-width: 0;
    flex: 1;
  }
  .portal-title-area {
    min-width: 0;
  }
  .portal-title {
    font-size: 0.92rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 175px;
    line-height: 1.25;
  }
  .header-year-badge {
    font-size: 0.7rem;
    padding: 1px 6px;
    margin-top: 1px;
  }
  .user-profile-box {
    min-width: auto;
    padding: 4px 8px;
  }
  .user-profile-name {
    font-size: 0.82rem;
  }
  .user-profile-location {
    display: none;
  }
  .user-profile-role {
    font-size: 0.65rem;
  }
  .logout-nav-btn {
    padding: 5px 8px;
    font-size: 0.75rem;
  }
  .user-switcher-dropdown {
    width: 260px;
    right: 0;
  }

  /* Main Body & Cards */
  .main-wrapper {
    padding: 12px 8px;
  }
  .photo-model-card {
    padding: 14px 12px;
    margin-bottom: 16px;
  }

  /* Search & Filter bar */
  .card-action-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 12px;
  }
  .search-form-group {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }
  .search-input-field {
    width: 100%;
    min-height: 42px;
    font-size: 15px;
  }
  .btn-advanced-search {
    width: 100%;
    justify-content: center;
    min-height: 42px;
  }
  .entries-per-page {
    width: 100%;
    justify-content: space-between;
  }
  .advanced-search-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  /* Responsive Table Container with Touch Swiping */
  .table-responsive-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 12px;
    border-radius: 6px;
    box-shadow: inset -6px 0 8px -6px rgba(0,0,0,0.15);
  }
  .portal-table th,
  .portal-table td {
    padding: 10px 8px;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  /* Table Footer & Pagination */
  .table-footer-controls {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
  }
  .pagination-container {
    width: 100%;
    justify-content: center;
  }

  /* Modals on Mobile */
  .modal-overlay {
    padding: 8px;
  }
  .modal-card {
    width: 100%;
    max-width: 100%;
    max-height: 94vh;
    border-radius: 12px;
  }
  .modal-header {
    padding: 12px 14px;
  }
  .modal-title {
    font-size: 1rem;
  }
  .modal-body {
    padding: 14px 12px;
  }
  .modal-footer {
    padding: 12px 14px;
    flex-direction: column-reverse;
    gap: 8px;
  }
  .modal-footer button {
    width: 100%;
    justify-content: center;
    min-height: 42px;
  }

  /* Form grids collapse to single column on mobile */
  .form-grid-2,
  .form-grid-3 {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  /* Login Screen on Mobile */
  .login-page-wrapper {
    padding: 12px 10px;
    justify-content: flex-start;
    padding-top: 16px;
  }
  .login-card {
    border-radius: 10px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25);
  }
  .login-header-banner {
    padding: 18px 14px 14px;
  }
  .login-portal-title {
    font-size: 1.15rem;
  }
  .login-body {
    padding: 16px 14px;
  }
  .quick-user-btn {
    padding: 9px 10px;
  }
  .quick-user-name {
    font-size: 0.88rem;
  }
  .quick-user-sub {
    font-size: 0.72rem;
  }
  .btn-login-submit {
    min-height: 46px;
    font-size: 0.98rem;
  }
}

@media (max-width: 420px) {
  .portal-title {
    max-width: 130px;
    font-size: 0.85rem;
  }
  .header-year-badge {
    display: none;
  }
}
