/* Google Fonts - PT Sans Caption */
@import url('https://fonts.googleapis.com/css2?family=PT+Sans+Caption:wght@400;700&display=swap');

/* SAPFORCE Theme Variables */
:root {
  --font-sans: 'PT Sans Caption', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition-speed: 0.3s;
  
  /* Color Palette - Light Mode */
  --bg-top: #ffffff;
  --bg-bottom: #f3f5f6;
  --bg-pill: #f1f2f4;
  --text-primary: #000000;
  --text-secondary: #555c68;
  --text-muted: #8c96a3;
  --accent: #c2f82c; /* SAPFORCE Lime Green */
  --accent-text: #000000;
  --border-color: #e5e8eb;
  
  /* Shadow & Glow */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] {
  /* Color Palette - Dark Mode */
  --bg-top: #0b0e14;
  --bg-bottom: #141822;
  --bg-pill: #1f2532;
  --text-primary: #ffffff;
  --text-secondary: #a0aec0;
  --text-muted: #718096;
  --accent: #c2f82c; /* Same Neon Lime Green */
  --accent-text: #000000;
  --border-color: #242b3a;
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
}

/* Reset & Global */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-bottom);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 17px;
  transition: background-color var(--transition-speed), color var(--transition-speed);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 2px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* Header Section (Upper part is White, bottom part is Greyish) */
header {
  background-color: var(--bg-top);
  padding: 24px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  transition: background-color var(--transition-speed), border-color var(--transition-speed);
  position: relative;
  z-index: 10;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 80px;
  width: auto;
  display: block;
}

/* Pill Navigation - Strictly 2px border radius */
.nav-pill {
  background-color: var(--bg-pill);
  padding: 6px 12px;
  border-radius: 2px;
  display: flex;
  list-style: none;
  gap: 8px;
  transition: background-color var(--transition-speed);
}

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.1rem; /* Increased size */
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color var(--transition-speed), color var(--transition-speed);
}

.nav-link:hover {
  background-color: var(--bg-top);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.login-btn {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.1rem; /* Increased size */
  font-weight: 700;
  cursor: pointer;
  transition: opacity var(--transition-speed);
}

.login-btn:hover {
  opacity: 0.7;
}

.get-started-btn {
  background-color: var(--bg-pill);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.1rem; /* Increased size */
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color var(--transition-speed), transform 0.1s;
  cursor: pointer;
}

.get-started-btn:hover {
  background-color: var(--text-primary);
  color: var(--bg-top);
}

.get-started-btn:active {
  transform: scale(0.97);
}

/* Theme Toggle */
.theme-toggle-btn {
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 44px;
  height: 44px;
  border-radius: 2px; /* Set to 2px */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition-speed), background-color var(--transition-speed);
}

.theme-toggle-btn:hover {
  background-color: var(--bg-pill);
}

.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Main Area Layout */
.hero-wrapper {
  background-color: var(--bg-top);
  padding: 40px 0 100px 0; /* Removed side padding to allow edge-to-edge flow */
  position: relative;
  border-bottom: 1px solid var(--border-color);
  transition: background-color var(--transition-speed), border-color var(--transition-speed);
  overflow: hidden;
}

/* Massive background typography like SAPFORCE. */
.bg-brand-text {
  font-size: 16.5vw; /* Increased from 11vw to fill screen length */
  font-weight: 700;
  color: var(--text-primary);
  opacity: 0.08;
  line-height: 0.8;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  user-select: none;
  pointer-events: none;
  text-align: center;
  width: 100%;
  white-space: nowrap;
}

/* Lower Section Area */
.content-wrapper {
  background-color: var(--bg-bottom);
  padding: 80px;
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 60px;
  width: 100%;
  align-items: start;
  flex: 1;
  padding-bottom: 60px; /* clean spacing above static footer */
  position: relative;
}

/* Left Panel - SAPFORCE Inspired GST Features & Descriptive Texts */
.left-panel {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.stats-badge {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stats-avatars {
  display: flex;
}

.avatar-circle {
  width: 38px;
  height: 38px;
  border-radius: 2px; /* Set to 2px */
  border: 2px solid var(--bg-bottom);
  background-color: var(--text-muted);
  margin-right: -4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
}

.avatar-1 { background-color: #2b6cb0; }
.avatar-2 { background-color: #319795; }
.avatar-3 { background-color: #b7791f; }

.stats-text {
  font-size: 1.05rem; /* Increased size */
  color: var(--text-secondary);
}

.stats-number {
  font-size: 1.5rem; /* Increased size */
  font-weight: 700;
  color: var(--text-primary);
}

/* Dotted descriptive text bottom-left */
.left-brand-desc {
  font-size: 1.3rem; /* Increased size */
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.5;
  border-bottom: 2px dotted var(--text-muted);
  padding-bottom: 24px;
}

/* List with numbered layout on the left: Verification /01 */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  transition: color var(--transition-speed), border-color var(--transition-speed);
}

.feature-item:hover {
  color: var(--text-primary);
  border-color: var(--text-primary);
}

.feature-name {
  font-size: 1.2rem; /* Increased size */
  font-weight: 700;
  color: var(--text-secondary);
  transition: color var(--transition-speed);
}

.feature-item:hover .feature-name {
  color: var(--text-primary);
}

.feature-num {
  font-size: 1.1rem; /* Increased size */
  color: var(--text-muted);
  font-weight: 400;
}

/* Center / Right Coming Soon Panel */
.coming-soon-panel {
  background-color: var(--bg-top);
  border: 1px solid var(--border-color);
  border-radius: 2px; /* Set to 2px */
  padding: 56px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: background-color var(--transition-speed), border-color var(--transition-speed), box-shadow var(--transition-speed);
}

.coming-soon-badge {
  font-size: 0.95rem; /* Increased size */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background-color: var(--bg-pill);
  color: var(--text-primary);
  padding: 6px 16px;
  border-radius: 2px; /* Set to 2px */
  margin-bottom: 24px;
}

.coming-soon-panel h2 {
  font-size: 2.75rem; /* Increased size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.coming-soon-panel h2 span {
  color: var(--accent);
  background-color: #000000;
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 2px; /* Set to 2px */
}

[data-theme="dark"] .coming-soon-panel h2 span {
  background-color: #ffffff;
  color: #000000;
}

.coming-soon-text {
  font-size: 1.2rem; /* Increased size */
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.6;
}

/* Pre-Launch Integration Status Widget (Replaces countdown timer) */
.pipeline-container {
  width: 100%;
  max-width: 520px;
  background-color: var(--bg-pill);
  border: 1px solid var(--border-color);
  border-radius: 2px; /* Set to 2px */
  padding: 24px;
  margin-bottom: 40px;
  text-align: left;
  transition: background-color var(--transition-speed), border-color var(--transition-speed);
}

.pipeline-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pipeline-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pipeline-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.pipeline-status {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 2px; /* Set to 2px */
  min-width: 90px;
  text-align: center;
}

.status-active {
  background-color: var(--text-primary);
  color: var(--bg-top);
}

.status-testing {
  background-color: var(--accent);
  color: var(--accent-text);
}

.status-pipeline {
  border: 1px solid var(--text-muted);
  color: var(--text-secondary);
}

.pipeline-label {
  font-size: 1.05rem; /* Increased size */
  color: var(--text-secondary);
  font-weight: 700;
}

/* Subscription Form */
.subscribe-form {
  width: 100%;
  max-width: 480px;
}

.form-row {
  display: flex;
  background-color: var(--bg-pill);
  border-radius: 2px; /* Set to 2px */
  padding: 6px;
  border: 1px solid var(--border-color);
  transition: background-color var(--transition-speed), border-color var(--transition-speed);
}

.form-row:focus-within {
  border-color: var(--text-primary);
  background-color: var(--bg-top);
}

.email-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-family: var(--font-sans);
  font-size: 1.1rem; /* Increased size */
  color: var(--text-primary);
  padding: 10px 20px;
}

.email-input::placeholder {
  color: var(--text-muted);
}

.submit-btn {
  background-color: var(--text-primary);
  color: var(--bg-top);
  border: none;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.1rem; /* Increased size */
  padding: 10px 28px;
  border-radius: 2px; /* Set to 2px */
  cursor: pointer;
  transition: opacity var(--transition-speed);
}

.submit-btn:hover {
  opacity: 0.8;
}

.form-msg {
  font-size: 0.95rem; /* Increased size */
  min-height: 20px;
  margin-top: 12px;
  text-align: left;
  padding-left: 20px;
}

.form-msg.error {
  color: #e53e3e;
}

.form-msg.success {
  color: #38a169;
}

/* Modals Overlay (General Options details) */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-card {
  background-color: var(--bg-top);
  border: 1px solid var(--border-color);
  width: 90%;
  max-width: 500px;
  border-radius: 2px; /* Set to 2px */
  padding: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: modalSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalSlide {
  from { transform: translateY(15px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.8rem; /* Increased size */
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: var(--text-primary);
}

.modal-card h3 {
  font-size: 1.6rem; /* Increased size */
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.modal-card p {
  color: var(--text-secondary);
  font-size: 1.1rem; /* Increased size */
  line-height: 1.6;
  margin-bottom: 20px;
}

.modal-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-bullet-list li {
  font-size: 1.05rem; /* Increased size */
  color: var(--text-secondary);
  position: relative;
  padding-left: 20px;
}

.modal-bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 2px; /* Set to 2px */
  background-color: var(--accent);
}

/* Static Fixed Footer */
footer {
  position: relative;
  margin-top: auto;
  height: 48px;
  background-color: var(--bg-top);
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.0rem; /* Increased size */
  color: var(--text-secondary);
  z-index: 90;
  font-weight: 700;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.01);
  transition: background-color var(--transition-speed), border-color var(--transition-speed);
}

.footer-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-divider {
  width: 1px;
  height: 12px;
  background-color: var(--border-color);
}

.footer-highlight {
  background-color: var(--text-primary);
  color: var(--bg-top);
  padding: 2px 8px;
  border-radius: 2px; /* Set to 2px */
  font-size: 0.95rem; /* Increased size */
  font-weight: 700;
}

/* Cookie consent banner above footer */
.cookie-banner {
  position: fixed;
  bottom: 64px;
  left: 50%;
  transform: translateX(-50%) translateY(150px);
  width: calc(100% - 160px);
  max-width: 900px;
  background-color: var(--bg-top);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  border-radius: 2px; /* Set to 2px */
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  z-index: 95;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
  opacity: 0;
  pointer-events: none;
}

.cookie-banner.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-text {
  font-size: 1.0rem; /* Increased size */
  color: var(--text-secondary);
}

.cookie-actions {
  display: flex;
  gap: 8px;
}

.cookie-btn {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem; /* Increased size */
  padding: 8px 18px;
  border-radius: 2px; /* Set to 2px */
  cursor: pointer;
  transition: opacity var(--transition-speed);
}

.cookie-btn-decline {
  background-color: var(--bg-pill);
  border: none;
  color: var(--text-primary);
}

.cookie-btn-accept {
  background-color: var(--text-primary);
  border: none;
  color: var(--bg-top);
}

.cookie-btn:hover {
  opacity: 0.8;
}

/* Mobile Bottom Tab Navigation - Hidden on desktop */
.mobile-bottom-nav {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  header, .hero-wrapper {
    padding-left: 40px;
    padding-right: 40px;
  }
  
  .content-wrapper {
    padding: 40px;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 60px;
  }
  
  .cookie-banner {
    width: calc(100% - 40px);
    border-radius: 2px;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
  }
  
  .cookie-actions {
    justify-content: flex-end;
  }
}

@media (max-width: 768px) {
  /* Header clean-up for small viewports */
  header {
    padding: 16px 20px;
  }
  
  .logo-img {
    height: 52px; /* Scaled down logo on mobile to prevent clipping */
  }

  .nav-pill {
    display: none; /* Hide main navbar menu, replaced by bottom bar */
  }
  
  .header-right .login-btn,
  .header-right .get-started-btn {
    display: none; /* Hide CTA buttons to prevent crowding */
  }
  
  .hero-wrapper {
    padding: 30px 16px 60px 16px;
  }
  
  .bg-brand-text {
    font-size: 15vw; /* Slightly smaller watermark for mobile scales */
  }
  
  .content-wrapper {
    padding: 30px 16px 200px 16px; /* Extra bottom space for bottom bar + footer */
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .coming-soon-panel {
    padding: 32px 16px;
  }
  
  .coming-soon-panel h2 {
    font-size: 2.1rem;
  }
  
  .coming-soon-text {
    font-size: 1.1rem;
    margin-bottom: 24px;
  }

  /* GST pipeline adjustments on mobile */
  .pipeline-container {
    padding: 16px;
  }

  .pipeline-label {
    font-size: 0.95rem;
  }
  
  .form-row {
    flex-direction: column;
    background: none;
    border: none;
    gap: 10px;
  }
  
  .email-input {
    background-color: var(--bg-pill);
    border: 1px solid var(--border-color);
    border-radius: 2px;
    padding: 14px 20px;
    font-size: 1.05rem;
  }
  
  .submit-btn {
    padding: 14px;
    font-size: 1.05rem;
  }

  /* Floating mobile bottom navigation bar */
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 56px; /* Positioned directly above the 48px fixed footer */
    left: 16px;
    right: 16px;
    height: 64px;
    background-color: var(--bg-top);
    border: 1px solid var(--border-color);
    border-radius: 2px;
    box-shadow: var(--shadow-lg);
    z-index: 99;
    justify-content: space-around;
    align-items: center;
    padding: 0 8px;
    transition: background-color var(--transition-speed), border-color var(--transition-speed);
  }

  .mobile-nav-item {
    background: none;
    border: none;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 100%;
    cursor: pointer;
    font-family: var(--font-sans);
    text-decoration: none;
    transition: color var(--transition-speed);
  }

  .mobile-nav-item:hover, .mobile-nav-item:focus {
    color: var(--text-primary);
  }

  .mobile-nav-icon {
    width: 22px;
    height: 22px;
    margin-bottom: 2px;
    stroke: currentColor;
  }

  .mobile-nav-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  /* Center raised menu item - strictly 2px border radius */
  .mobile-nav-item.center-raised {
    position: relative;
    flex: 0 0 54px;
    height: 54px;
    margin-top: -28px; /* Raised layout */
    background-color: var(--accent);
    color: var(--accent-text) !important;
    border: 1px solid var(--border-color);
    border-radius: 2px;
    box-shadow: 0 6px 12px rgba(194, 248, 44, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  }

  .mobile-nav-item.center-raised:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(194, 248, 44, 0.4);
  }

  .mobile-nav-item.center-raised .raised-btn-inner {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-nav-item.center-raised .mobile-nav-icon {
    width: 26px;
    height: 26px;
    margin-bottom: 0;
  }

  /* Position cookie banner above the mobile tab bar to prevent overlay clashes */
  .cookie-banner {
    bottom: 128px; /* sits directly above the bottom nav */
    width: calc(100% - 32px);
  }
}

/* ==========================================================================
   KYC DIALOGS & WIDGETS (Maximum 2px Border Radius & Large Fonts)
   ========================================================================== */
.kyc-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 20px;
}

.kyc-modal-card {
  background-color: var(--bg-top);
  border: 1px solid var(--border-color);
  width: 100%;
  max-width: 720px;
  border-radius: 2px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  animation: modalSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.kyc-header {
  padding: 24px 32px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.kyc-header h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
}

.kyc-steps-indicator {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 700;
}

.kyc-body {
  padding: 32px;
  max-height: 70vh;
  overflow-y: auto;
}

.kyc-step {
  display: none;
  flex-direction: column;
  gap: 20px;
}

.kyc-step.active {
  display: flex;
}

.kyc-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 600px) {
  .kyc-grid-2 {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

.kyc-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.kyc-form-group label {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.kyc-input, .kyc-select {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 2px;
  background-color: var(--bg-pill);
  color: var(--text-primary);
  outline: none;
  width: 100%;
  transition: border-color var(--transition-speed);
}

.kyc-input:focus, .kyc-select:focus {
  border-color: var(--text-primary);
  background-color: var(--bg-top);
}

.kyc-input[readonly] {
  background-color: var(--bg-pill);
  opacity: 0.7;
  color: var(--text-muted);
  cursor: not-allowed;
}

/* Map selector style */
.map-container-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.map-coords {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 700;
}

#map-selector {
  height: 220px;
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: 2px;
}

.kyc-footer {
  padding: 24px 32px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  gap: 16px;
}

.kyc-btn {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 2px;
  cursor: pointer;
  transition: opacity var(--transition-speed);
}

.kyc-btn-secondary {
  background-color: var(--bg-pill);
  border: none;
  color: var(--text-primary);
}

.kyc-btn-primary {
  background-color: var(--text-primary);
  border: none;
  color: var(--bg-top);
}

.kyc-btn:hover {
  opacity: 0.8;
}

.kyc-status-badge {
  display: inline-block;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 2px;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.status-pending {
  background-color: #fef3c7;
  color: #d97706;
}

[data-theme="dark"] .status-pending {
  background-color: rgba(217, 119, 6, 0.15);
  color: #fbbf24;
}

.status-approved {
  background-color: #d1fae5;
  color: #059669;
}

[data-theme="dark"] .status-approved {
  background-color: rgba(5, 150, 105, 0.15);
  color: #34d399;
}

.status-rejected {
  background-color: #fee2e2;
  color: #dc2626;
}

[data-theme="dark"] .status-rejected {
  background-color: rgba(220, 38, 38, 0.15);
  color: #f87171;
}

/* User Profile Modal layout adjustments */
.profile-modal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.profile-section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.profile-details-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.profile-details-table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 1.05rem;
}

.profile-details-table td.label {
  font-weight: 700;
  color: var(--text-secondary);
  width: 35%;
}

.profile-details-table td.value {
  color: var(--text-primary);
}

/* Orders Table */
.orders-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.orders-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.orders-table th, .orders-table td {
  padding: 12px;
  border-bottom: 1px solid var(--border-color);
  font-size: 1rem;
}

.orders-table th {
  font-weight: 700;
  color: var(--text-secondary);
  background-color: var(--bg-pill);
}

/* Leaflet Zoom Controls override to match 2px border radius */
.leaflet-bar {
  border-radius: 2px !important;
  border: 1px solid var(--border-color) !important;
  box-shadow: none !important;
}

.leaflet-bar a {
  border-radius: 2px !important;
  border-bottom: 1px solid var(--border-color) !important;
  background-color: var(--bg-top) !important;
  color: var(--text-primary) !important;
}

.leaflet-bar a:hover {
  background-color: var(--bg-pill) !important;
}

/* ==========================================================================
   ADMIN PORTAL SPECIFIC STYLES
   ========================================================================== */
.admin-body {
  background-color: var(--bg-bottom);
  color: var(--text-primary);
  min-height: 100vh;
}

.admin-header {
  background-color: var(--bg-top);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-title {
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-container {
  display: grid;
  grid-template-columns: 350px 1fr;
  min-height: calc(100vh - 80px);
}

@media (max-width: 900px) {
  .admin-container {
    grid-template-columns: 1fr;
  }
}

.admin-sidebar {
  background-color: var(--bg-top);
  border-right: 1px solid var(--border-color);
  overflow-y: auto;
  padding: 20px;
}

.admin-sidebar h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.admin-user-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
}

.admin-user-item {
  padding: 16px;
  border: 1px solid var(--border-color);
  border-radius: 2px;
  background-color: var(--bg-pill);
  cursor: pointer;
  transition: border-color var(--transition-speed), background-color var(--transition-speed);
}

.admin-user-item:hover, .admin-user-item.active {
  border-color: var(--text-primary);
  background-color: var(--bg-top);
}

.admin-user-name {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.admin-user-email {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  word-break: break-all;
}

.admin-detail-panel {
  padding: 40px;
  overflow-y: auto;
}

.admin-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
  margin-bottom: 32px;
}

@media (max-width: 600px) {
  .admin-detail-header {
    flex-direction: column;
    gap: 16px;
  }
}

.admin-detail-title h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.admin-detail-email {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.admin-actions {
  display: flex;
  gap: 12px;
}

.admin-btn {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 2px;
  cursor: pointer;
  border: none;
  transition: opacity var(--transition-speed);
}

.admin-btn-approve {
  background-color: var(--text-primary);
  color: var(--bg-top);
}

.admin-btn-reject {
  background-color: #dc2626;
  color: #ffffff;
}

.admin-btn-resubmit {
  background-color: var(--bg-pill);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.admin-btn:hover {
  opacity: 0.8;
}

.admin-section {
  background-color: var(--bg-top);
  border: 1px solid var(--border-color);
  border-radius: 2px;
  padding: 24px;
  margin-bottom: 24px;
}

.admin-section-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}

.admin-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 600px) {
  .admin-grid-2 {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

.admin-info-item {
  margin-bottom: 12px;
}

.admin-info-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.admin-info-value {
  font-size: 1.1rem;
  color: var(--text-primary);
}

/* Admin Auth login box styling */
.admin-login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-bottom);
}

.admin-login-box {
  background-color: var(--bg-top);
  border: 1px solid var(--border-color);
  border-radius: 2px;
  padding: 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-lg);
}

.admin-login-box h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
}

.admin-login-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  text-align: center;
}

.admin-login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.admin-login-btn {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 14px;
  background-color: var(--text-primary);
  color: var(--bg-top);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: opacity var(--transition-speed);
}

.admin-login-btn:hover {
  opacity: 0.8;
}

/* Merged Double-Pane Card Layout */
.merged-dashboard-card {
  width: 100%;
  align-self: stretch;
  padding: 56px;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr 1px 1.1fr;
  gap: 56px;
  min-height: auto;
  align-items: start;
}

.merged-divider {
  width: 1px;
  background-color: var(--border-color);
  align-self: stretch;
}

@media (max-width: 1024px) {
  .merged-dashboard-card {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 36px;
  }
  .merged-divider {
    width: 100%;
    height: 1px;
  }
}

