/* ==========================================================================
   RVR PROJECTS - ENTERPRISE ERP DESIGN SYSTEM
   Strict Enterprise UI: Clean Solid Aesthetics, Zero Glass/Gloss, 100% Lucide SVG Vectors
   ========================================================================== */

/* --- ROOT DESIGN TOKENS --- */
:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', var(--font-sans);
  --font-heading: 'Plus Jakarta Sans', var(--font-sans);
  
  /* Solid Enterprise Palette */
  --color-brand-orange: #fa6e28;
  --color-brand-orange-hover: #e05814;
  --color-brand-blue: #0056b3;
  --color-accent-blue: #2563eb;
  --color-accent-blue-hover: #1d4ed8;
  --color-accent-blue-light: #eff6ff;
  
  --color-page-bg: #eef3f8;
  --color-card-bg: #ffffff;
  --color-input-bg: #f8fafc;
  --color-input-border: #cbd5e1;
  --color-input-focus-border: #2563eb;
  
  --color-text-dark: #0f172a;
  --color-text-body: #334155;
  --color-text-muted: #64748b;
  --color-text-light: #94a3b8;
  --color-error: #ef4444;
  --color-success: #16a34a;

  /* Elevations */
  --shadow-main-card: 0 20px 45px -15px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(226, 232, 240, 0.85);
  --shadow-dialog: 0 25px 50px -12px rgba(15, 23, 42, 0.25);

  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-normal: 250ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- RESET & BASE SETUP --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  min-height: 100vh;
  font-family: var(--font-sans);
  background-color: var(--color-page-bg);
  color: var(--color-text-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button, input, select, textarea {
  font-family: inherit;
}

/* --- MAIN PAGE CONTAINER --- */
.page-container {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 20px 16px;
  background-color: #f1f5f9;
}

/* --- MAIN SPLIT AUTHENTICATION CARD --- */
.split-auth-card {
  width: 100%;
  max-width: 1140px;
  background-color: var(--color-card-bg);
  border-radius: 24px;
  box-shadow: var(--shadow-main-card);
  display: grid;
  grid-template-columns: 54% 46%;
  min-height: 620px;
  overflow: hidden;
}

/* ==========================================================================
   LEFT PANEL: HERO SHOWCASE (login.webp)
   ========================================================================== */
.banner-showcase-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 32px 24px;
  background-color: #071126;
  user-select: none;
}

.login-hero-bg-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.login-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  display: block;
}

.login-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(6, 18, 48, 0.92) 0%,
    rgba(8, 24, 60, 0.70) 50%,
    rgba(4, 12, 34, 0.95) 100%
  );
}

/* Cursive Slogan Floating in Top Right */
.hero-cursive-badge {
  position: absolute;
  top: 68px;
  right: 28px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  font-family: 'Caveat', cursive;
  color: #f8fafc;
  line-height: 1.05;
  transform: rotate(-3deg);
  pointer-events: none;
}

.hero-cursive-badge .cursive-line1 {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
}

.hero-cursive-badge .cursive-line2 {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
}

.hero-cursive-badge .cursive-line3 {
  font-size: 23px;
  font-weight: 600;
  color: #f1f5f9;
}

.hero-cursive-badge .cursive-line4 {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
}

.cursive-swoosh {
  width: 85px;
  height: 16px;
  margin-top: -2px;
}

.login-hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Hero Top Row (Menu Keywords right-aligned, Zero logo in left container) */
.hero-top-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 20px;
}

.hero-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.hero-brand-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.05em;
}

.hero-brand-sub {
  font-size: 8px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.18em;
  margin-top: 1px;
}

.hero-top-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #7dd3fc;
}

.hero-top-menu .pipe {
  color: rgba(255, 255, 255, 0.3);
  font-weight: 400;
}

/* Hero Middle Section */
.hero-middle-section {
  margin: 10px 0 16px;
  max-width: 440px;
}

.hero-main-heading {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  line-height: 1.12;
  color: #ffffff;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}

.highlight-cyan {
  color: #00e5ff;
  text-shadow: 0 0 20px rgba(0, 229, 255, 0.45);
}

.headline-underline-orange {
  width: 42px;
  height: 3.5px;
  background-color: var(--color-brand-orange);
  border-radius: 2px;
  margin-bottom: 12px;
}

.hero-desc-text {
  font-size: 12.5px;
  line-height: 1.55;
  color: #cbd5e1;
}

/* Hero Bottom Section */
.hero-bottom-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* 6 Module Tiles Row */
.hero-module-tiles-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.hero-mod-tile {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 10px 4px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.hero-mod-tile:hover {
  background: rgba(30, 58, 138, 0.7);
  border-color: rgba(0, 229, 255, 0.4);
  transform: translateY(-2px);
}

.mod-tile-icon {
  width: 18px;
  height: 18px;
  color: var(--color-brand-orange);
  margin-bottom: 4px;
}

.mod-tile-label {
  font-size: 10px;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
}

/* 3 Metrics Bar */
.hero-metrics-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(10, 25, 55, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.hero-metric-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.metric-svg {
  width: 16px;
  height: 16px;
  color: #38bdf8;
  flex-shrink: 0;
}

.metric-text-col {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.metric-val {
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
}

.metric-label {
  font-size: 9.5px;
  font-weight: 600;
  color: #94a3b8;
}

.metric-separator {
  width: 1px;
  height: 20px;
  background-color: rgba(255, 255, 255, 0.15);
}

/* Bottom Nation Skyline & Slogan */
.hero-bottom-nation {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.monument-skyline-svg {
  width: 180px;
  height: 22px;
}

.nation-text-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #94a3b8;
}

.nation-orange-dash {
  display: inline-block;
  width: 16px;
  height: 2.5px;
  background-color: var(--color-brand-orange);
  border-radius: 2px;
}


/* ==========================================================================
   RIGHT PANEL: AUTHENTICATION FORM
   ========================================================================== */
.auth-form-panel {
  background-color: var(--color-card-bg);
  padding: 28px 34px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Header Top Row */
.auth-header-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.auth-brand-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-identity-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.auth-brand-logo-img {
  height: 36px;
  width: auto;
  max-width: 145px;
  object-fit: contain;
  display: block;
}

.brand-erp-badge {
  font-size: 8.5px;
  font-weight: 800;
  color: #0056b3;
  letter-spacing: 0.12em;
  margin-top: 4px;
}

.brand-v-divider {
  width: 1px;
  height: 32px;
  background-color: #cbd5e1;
}

.brand-tagline-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #64748b;
  line-height: 1.25;
}

.tagline-highlight {
  color: #0f172a;
}

.tagline-orange-bar {
  width: 14px;
  height: 2px;
  background-color: var(--color-brand-orange);
  border-radius: 1px;
  margin-top: 2px;
}

.auth-header-admin {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
}

.admin-label {
  color: #64748b;
}

.admin-link-btn {
  background: none;
  border: none;
  color: #2563eb;
  font-weight: 700;
  font-size: 11px;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}

.admin-link-btn:hover {
  color: #1d4ed8;
}

/* Form Heading */
.auth-title-group {
  margin-bottom: 12px;
}

.auth-heading {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.3px;
  margin-bottom: 2px;
}

.auth-subheading {
  font-size: 12px;
  color: #64748b;
}

/* 6 Quick Role Switcher Tabs (Balanced 3x2 Grid) */
.role-tabs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.role-tab-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 8px 10px;
  min-height: 42px;
  background-color: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.role-tab-btn:hover {
  border-color: #94a3b8;
  background-color: #f8fafc;
}

.role-tab-btn.active {
  border-color: var(--color-brand-orange);
  color: var(--color-brand-orange);
  background-color: #fff9f5;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.12);
}

.role-tab-btn .role-tab-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: inherit;
}

.tab-active-indicator {
  display: none;
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 2.5px;
  background-color: var(--color-brand-orange);
  border-radius: 2px 2px 0 0;
}

.role-tab-btn.active .tab-active-indicator {
  display: block;
}

/* Form Body */
.auth-form-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-field-group {
  display: flex;
  flex-direction: column;
}

.form-field-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 5px;
  line-height: 1.2;
}

/* Structured Horizontal Header Row for Password (Fix for Image 2) */
.form-field-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 5px;
}

.form-field-header-row .form-field-label {
  margin-bottom: 0;
}

.link-forgot-btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: #2563eb;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  line-height: 1.2;
  transition: color var(--transition-fast);
}

.link-forgot-btn:hover {
  color: #1d4ed8;
}

/* Field Wrapper & Input */
.form-field-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background-color: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  height: 44px;
  transition: all var(--transition-fast);
}

.form-field-wrapper:hover {
  border-color: #cbd5e1;
}

.form-field-wrapper:focus-within {
  background-color: #ffffff;
  border-color: var(--color-input-focus-border);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-field-wrapper.has-error {
  background-color: #ffffff;
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

/* Lucide Input Leading Icon */
.field-leading-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 12px;
  padding-right: 2px;
  color: #64748b;
  pointer-events: none;
  flex-shrink: 0;
  transition: color var(--transition-fast);
}

.form-field-wrapper:focus-within .field-leading-icon {
  color: #2563eb;
}

.lucide-input-icon {
  width: 17px;
  height: 17px;
}

.form-field-input {
  flex: 1;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  padding: 0 8px;
  font-size: 13px;
  font-weight: 500;
  color: #0f172a;
}

.form-field-input::placeholder {
  color: #94a3b8;
  font-size: 12.5px;
  font-weight: 400;
}

/* Input Helper Action Buttons */
.field-clear-btn {
  background: none;
  border: none;
  padding: 0 10px;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast);
}

.field-clear-btn:hover {
  color: #1e293b;
}

.lucide-clear-icon {
  width: 15px;
  height: 15px;
}

.pwd-toggle-action {
  background: none;
  border: none;
  padding: 0 12px;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast);
}

.pwd-toggle-action:hover {
  color: #0f172a;
}

.pwd-toggle-action .lucide-icon {
  width: 17px;
  height: 17px;
}

.field-error-text {
  font-size: 11px;
  font-weight: 500;
  color: var(--color-error);
  min-height: 13px;
  margin-top: 2px;
}

/* Keep Me Signed In Checkbox */
.remember-me-row {
  display: flex;
  align-items: center;
  margin: 1px 0 2px;
}

.checkbox-container {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.custom-checkbox {
  width: 16px;
  height: 16px;
  border: 1.5px solid #cbd5e1;
  border-radius: 4px;
  background-color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.checkbox-container:hover .custom-checkbox {
  border-color: #94a3b8;
}

.checkbox-container input:checked ~ .custom-checkbox {
  background-color: var(--color-brand-orange);
  border-color: var(--color-brand-orange);
}

.checkbox-container input:checked ~ .custom-checkbox::after {
  content: '';
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-bottom: 2px;
}

.checkbox-text {
  font-size: 12px;
  font-weight: 500;
  color: #475569;
}

/* Primary Orange Action Button */
.btn-primary-orange {
  width: 100%;
  height: 46px;
  background-color: var(--color-brand-orange);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-fast);
  box-shadow: 0 3px 8px rgba(250, 110, 40, 0.3);
  margin-top: 2px;
}

.btn-primary-orange:hover {
  background-color: var(--color-brand-orange-hover);
  box-shadow: 0 4px 14px rgba(250, 110, 40, 0.4);
}

.btn-primary-orange:active {
  transform: translateY(1px);
}

.lucide-btn-icon {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn-primary-orange:hover .lucide-btn-icon {
  transform: translateX(3px);
}

.btn-spinner-disc {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.btn-primary-orange.is-loading .btn-text-holder,
.btn-primary-orange.is-loading .lucide-btn-icon {
  display: none;
}

.btn-primary-orange.is-loading .btn-spinner-disc {
  display: block;
}

/* OR CONTINUE WITH Separator */
.or-separator-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0;
}

.or-line {
  flex: 1;
  height: 1px;
  background-color: #e2e8f0;
}

.or-text {
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.06em;
}

/* Secondary Action Row: QR Login & Web OTP */
.alt-login-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn-outline-blue {
  height: 40px;
  background-color: #ffffff;
  color: var(--color-accent-blue);
  border: 1.5px solid #bfdbfe;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.btn-outline-blue .lucide-icon {
  width: 15px;
  height: 15px;
}

.btn-outline-blue:hover {
  background-color: var(--color-accent-blue-light);
  border-color: var(--color-accent-blue);
  color: var(--color-accent-blue-hover);
}

/* Card Bottom Trust & Support Row */
.auth-card-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
  font-size: 11px;
}

.trust-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #475569;
  font-weight: 600;
}

.trust-pill-badge svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.help-support-text {
  color: #64748b;
  font-weight: 500;
}

.link-support-btn {
  background: none;
  border: none;
  color: #2563eb;
  font-weight: 600;
  font-size: 11px;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.link-support-btn:hover {
  color: #1d4ed8;
}

/* PAGE GLOBAL FOOTER */
.page-global-footer {
  width: 100%;
  max-width: 1140px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding: 0 4px;
  font-size: 11px;
  color: #64748b;
  font-weight: 500;
}

.footer-tagline-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-dash-line {
  width: 24px;
  height: 1px;
  background-color: #cbd5e1;
}

.footer-tagline-text {
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #475569;
}


/* ==========================================================================
   MODALS & DIALOG OVERLAYS
   ========================================================================== */
/* Universal SVG constraints */
svg {
  flex-shrink: 0;
}

.lucide-icon {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  flex-shrink: 0 !important;
}

.lucide-icon-sm {
  width: 15px !important;
  height: 15px !important;
  min-width: 15px !important;
  min-height: 15px !important;
  flex-shrink: 0 !important;
}

.lucide-icon-lg {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  flex-shrink: 0 !important;
}

.text-blue {
  color: var(--color-accent-blue);
}

.dialog-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 16px;
  animation: fadeIn 0.2s ease;
}

.dialog-modal-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: var(--shadow-dialog);
  padding: 24px 22px;
  text-align: center;
  animation: modalScale 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.dialog-ticket-card {
  max-width: 560px;
  text-align: left;
  padding: 20px 24px;
}

.dialog-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.dialog-close-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.dialog-close-btn svg {
  width: 16px;
  height: 16px;
}

.dialog-icon-shield {
  width: 40px;
  height: 40px;
  background: #fff3ec;
  color: var(--color-brand-orange);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.dialog-icon-shield svg {
  width: 20px;
  height: 20px;
}

.dialog-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

.dialog-description {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.4;
  margin-bottom: 14px;
}

.dialog-btn {
  margin-top: 14px;
}

/* Admin Contact Details */
.admin-contacts-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 14px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: #334155;
}

.admin-item strong {
  color: #0f172a;
}

/* QR Code Display */
.qr-code-graphic-box {
  display: flex;
  justify-content: center;
  padding: 14px;
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  border-radius: 12px;
  margin-bottom: 12px;
}

.qr-svg-matrix {
  width: 130px;
  height: 130px;
}

/* OTP Form */
.otp-boxes-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.otp-box-input {
  height: 48px;
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  outline: none;
  transition: all var(--transition-fast);
}

.otp-box-input:focus {
  background: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

/* IT Support Ticket Modal Styles */
.ticket-modal-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.ticket-modal-header .dialog-icon-shield {
  width: 38px;
  height: 38px;
  margin-bottom: 0;
  flex-shrink: 0;
}

.ticket-modal-header .dialog-icon-shield svg {
  width: 18px;
  height: 18px;
}

.ticket-preset-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  margin-bottom: 10px;
}

.preset-label {
  font-size: 10.5px;
  font-weight: 700;
  color: #64748b;
  white-space: nowrap;
}

.preset-chips {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.preset-chip-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 2px 7px;
  font-size: 10.5px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.preset-chip-btn:hover {
  background: #eff6ff;
  border-color: #2563eb;
  color: #2563eb;
}

.ticket-dialog-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ticket-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ticket-dialog-form .form-field-label {
  font-size: 11.5px;
  font-weight: 700;
  margin-bottom: 3px;
}

.ticket-dialog-form .form-field-wrapper {
  height: 38px;
}

.ticket-dialog-form .form-field-input {
  font-size: 12px;
}

.form-select-custom {
  cursor: pointer;
  padding-right: 24px;
}

.priority-pill-selector {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: 2px;
  height: 38px;
}

.priority-radio-opt {
  position: relative;
  cursor: pointer;
}

.priority-radio-opt input {
  position: absolute;
  opacity: 0;
}

.prio-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 700;
  color: #64748b;
  transition: all var(--transition-fast);
}

.priority-radio-opt input:checked + .prio-tag.low {
  background: #e0f2fe;
  color: #0369a1;
}

.priority-radio-opt input:checked + .prio-tag.med {
  background: #fef3c7;
  color: #b45309;
}

.priority-radio-opt input:checked + .prio-tag.high {
  background: #fee2e2;
  color: #b91c1c;
}

.priority-radio-opt input:checked + .prio-tag.crit {
  background: #ef4444;
  color: #ffffff;
}

.ticket-textarea {
  width: 100%;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
  font-family: inherit;
  color: #0f172a;
  outline: none;
  resize: none;
  height: 48px;
  min-height: 48px;
  max-height: 48px;
  transition: all var(--transition-fast);
}

.ticket-textarea:focus {
  background: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

/* Ticket Attachment Box Failsafe Sizing */
.ticket-attachment-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  border-radius: 8px;
  cursor: pointer;
  height: 38px;
  max-height: 38px;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.ticket-attachment-box:hover {
  background: #eff6ff;
  border-color: #2563eb;
  color: #2563eb;
}

.ticket-attachment-box svg,
.ticket-attachment-box .lucide-icon-sm {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  color: #2563eb !important;
  flex-shrink: 0 !important;
}

.ticket-attachment-box .attach-text {
  font-size: 11px;
  font-weight: 500;
  color: #64748b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticket-actions-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}

.btn-cancel-modal {
  height: 38px;
  padding: 0 14px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
}

.btn-cancel-modal:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.ticket-submit-btn {
  width: auto;
  min-width: 180px;
  height: 38px;
  font-size: 13px;
  margin-top: 0;
}

/* Ticket Success State */
.ticket-success-state {
  text-align: center;
  padding: 8px 0;
}

.ticket-success-badge {
  width: 44px;
  height: 44px;
  background: #ecfdf5;
  color: #10b981;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.ticket-success-badge svg {
  width: 22px;
  height: 22px;
}

.ticket-success-title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 3px;
}

.ticket-success-desc {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 12px;
}

.ticket-summary-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 14px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
  font-size: 11.5px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
}

.sum-label {
  color: #64748b;
  font-weight: 500;
}

.sum-val {
  font-weight: 700;
  color: #0f172a;
}

.sum-val.highlight {
  color: #2563eb;
  font-family: monospace;
  font-size: 13px;
}

.sum-badge-active {
  background: #dcfce7;
  color: #15803d;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
}

.ticket-success-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.ticket-success-actions button {
  height: 40px;
  padding: 0 16px;
}

/* Toast System */
.toast-hub {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 1000;
}

.toast-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0f172a;
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  font-size: 13px;
  font-weight: 600;
  animation: slideInRight 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-icon svg {
  width: 16px;
  height: 16px;
}

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

@keyframes modalScale {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

.hidden {
  display: none !important;
}

@media (max-width: 980px) {
  .split-auth-card {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
  .banner-showcase-panel {
    display: none;
  }
  .page-global-footer {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .role-tabs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-module-tiles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

