/* ==========================================================================
   CSS Custom Properties & M3 Design Tokens
   ========================================================================== */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #fdf2f4;
  --bg-surface: #ffffff;

  /* Strict High-Contrast Dark Text Tokens (Material Design 3 On-Surface & High Contrast) */
  --text-main: #0f172a;       /* Slate 900 (Darkest) */
  --text-muted: #1e293b;      /* Slate 800 (Darker for readability) */
  --text-light: #334155;      /* Slate 700 (High contrast readable secondary) */
  --text-darkest: #020617;    /* Slate 950 */

  --brand-rose: #e11d48;
  --brand-rose-dark: #be123c;
  --brand-purple: #7e22ce;
  --brand-amber: #d97706;
  --brand-emerald: #047857;
  --brand-cyan: #0e7490;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.06);
  --shadow-md: 0 3px 6px -1px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 8px 20px -4px rgba(15, 23, 42, 0.1);
  --shadow-glow: 0 4px 16px rgba(225, 29, 72, 0.2);

  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Global Resets & Typography
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  color: red; /* set your color here once */
}

/* Make all text tags take color from body */
h1, h2, h3, h4, h5, h6, p, span, div, a, li, ul, ol, strong, b, em, i {
  color: inherit;
}


html, body {
  height: 100%;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  width: 100vw;
  max-width: 100vw;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-darkest);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(18px, 2vw, 26px); line-height: 1.2; }
h2 { font-size: clamp(16px, 1.8vw, 22px); line-height: 1.25; }
h3 { font-size: clamp(14px, 1.5vw, 17px); line-height: 1.35; }
h4 { font-size: 13px; line-height: 1.4; }
h5, h6 { font-size: 12px; line-height: 1.45; }


p {
  font-size: 15px;
  color: #49454f;       /* MD3 On-Surface Variant (Secondary Dark) */
  font-weight: 400;    /* Regular Weight */
  line-height: 1.5;    /* Recommended breathing room for body text */
}



a {
  color: var(--brand-purple);
  text-decoration: none;
  font-weight: 700;
  transition: color var(--transition-fast);
}

a:hover {
  color:var(--brand-purple);
}

.d-none {
  display: none !important;
}












/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: var(--brand-rose);
  border-radius: var(--radius-full);
}

/* ==========================================================================
   Desktop Header & Global Nav
   ========================================================================== */
header {
  display: flex;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #fecdd3;
  padding: 10px 18px;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  z-index: 40;
  box-shadow: var(--shadow-sm);
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  overflow: hidden;
}

.mobile-header {
  display: none;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  overflow: hidden;
}


.brand-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--brand-rose), var(--brand-purple), var(--brand-amber));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  color: white;
  box-shadow: var(--shadow-glow);
}

.brand-title {
  min-width: 0;
  overflow: hidden;
}

.brand-title h1 {
  font-size: 16px;
  font-weight: 800;
  background: linear-gradient(to right, var(--brand-rose-dark), var(--brand-purple), #b45309);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

.brand-title p {
  font-size: 9px;
  color: var(--brand-purple);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 1px;
  white-space: nowrap;
}

.nav-buttons {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.nav-btn {
  padding: 6px 12px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid #e9d5ff;
  background: var(--bg-secondary);
  color: #581c87;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  white-space: nowrap;
  text-decoration: none;
}

.nav-btn:hover {
  background: #f3e8ff;
  color: var(--brand-purple);
}

.nav-btn.active {
  background: linear-gradient(to right, var(--brand-rose), var(--brand-amber));
  color: white;
  border: none;
  box-shadow: var(--shadow-glow);
  font-weight: 800;
}

/* ==========================================================================
   Main Layout & Panes
   ========================================================================== */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  background: var(--bg-primary);
  width: 100vw;
  max-width: 100vw;
}

.pane {
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 12px 16px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 30;
  transition: opacity var(--transition-normal);
  box-sizing: border-box;
}

.pane.hidden {
  display: none;
}

.max-container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-sizing: border-box;
}

/* ==========================================================================
   Shared Badges & Utility Components
   ========================================================================== */
.badge-green {
  display: flex;
  align-items: center;
  color: #064e3b;
  background: #ecfdf5;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid #a7f3d0;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.badge-amber {
  color: #78350f;
  background: #fffbeb;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid #fde68a;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--brand-emerald);
  animation: pulse 2s infinite;
  margin-right: 5px;
  flex-shrink: 0;
}

@keyframes pulse {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.1); }
  100% { opacity: 1; transform: scale(1); }
}

.app-footer-card {
  background: #fdf2f4;
  border: 1px solid #fecdd3;
  border-radius: var(--radius-lg);
  padding: 16px;
  text-align: center;
  margin-top: 16px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  width: 100%;
  box-sizing: border-box;
}

.app-footer-card p {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   Mobile Navigation
   ========================================================================== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  border-top: 1.5px solid #fecdd3;
  padding: 8px 8px;
  justify-content: space-around;
  z-index: 50;
  box-shadow: 0 -6px 20px rgba(0,0,0,0.04);
  box-sizing: border-box;
  width: 100vw;
  max-width: 100vw;
}

.mob-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  color: #475569;
  transition: color var(--transition-fast);
  text-decoration: none;
}

.mob-nav-btn.active {
  color: var(--brand-rose-dark);
}

.mob-nav-btn span:first-child {
  font-size: 18px;
}

.mob-nav-btn span:last-child {
  font-size: 14px;
  font-weight: 600;
  margin-top: 1px;
}

/* ==========================================================================
   Full Page Loader & Spinners
   ========================================================================== */
#page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#page-loader.fade-out,
#page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-text {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-muted, #6b7280);
  letter-spacing: 0.05em;
}

.logo-spinner-container {
  position: relative;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-spinner-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  border-top-color: var(--brand-rose, #e11d48);
  border-right-color: var(--brand-purple, #7e22ce);
  border-bottom-color: var(--brand-amber, #d97706);
  border-radius: 50%;
  animation: spinLogo 1.2s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

.logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

@keyframes spinLogo {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ====Shared Header & Sub-Header UI Components ======== */
.md3-app-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(225, 29, 72, 0.15);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.gradient-text {
  background: linear-gradient(to right, var(--brand-rose-dark, #be123c), var(--brand-purple, #7e22ce), #b45309);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}


.back-arrow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-surface-subtle, #f3f4f6);
  color: var(--text-main, #1f2937);
  transition: all 0.2s ease;
  text-decoration: none;
}

.back-arrow-btn:hover {
  background: var(--brand-rose-light, #ffe4e6);
  color: var(--brand-rose, #e11d48);
}

.back-arrow-btn-mob {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--bg-surface-subtle, #f3f4f6);
  color: var(--text-main, #1f2937);
  text-decoration: none;
}




.mobile-actions {font-size:14px;color:#c0c4d0;}










/* Desktop Dropdown Menu */
.desktop-dropdown {
  position: relative;
  display: inline-block;
}

.desktop-dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  background-color: #ffffff;
  min-width: 190px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.12);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 0;
  z-index: 50;
}

.desktop-dropdown:hover .desktop-dropdown-content {
  display: block;
}

.desktop-dropdown-content a {
  color: #334155;
  padding: 8px 14px;
  text-decoration: none;
  display: block;
  font-size: 13px;
  font-weight: 600;
}

.desktop-dropdown-content a:hover {
  background-color: #f8fafc;
  color: #e11d48;
}

.dropdown-header {
  display: block;
  padding: 4px 14px;
  font-size: 10px;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.desktop-dropdown-content hr {
  border: 0;
  border-top: 1px solid #f1f5f9;
  margin: 4px 0;
}

/* Mobile Drawer Overlay */
.mob-more-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 1100;
  display: none;
}

.mob-more-overlay.active {
  display: block;
}

.mob-more-drawer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  padding: 16px 20px 24px;
  max-height: 75vh;
  overflow-y: auto;
}

.drawer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}

.drawer-title {
  font-weight: 700;
  font-size: 15px;
  color: #0f172a;
}

.drawer-close {
  background: none;
  border: none;
  font-size: 22px;
  color: #64748b;
  cursor: pointer;
}

.drawer-group {
  margin-bottom: 12px;
}
.group-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6c757d;
  padding: 0.5rem 0.75rem;
  font-weight: 500;
  margin-bottom: 6px;
}
.drawer-item {
    display: flex;
    align-items: center;
    justify-content: space-between; 
    padding: 0.9rem 0.85rem; 
    font-size: 0.95rem;
    color: #212529;
    text-decoration: none;
    border-bottom: 1px solid #f1f3f5; 
    transition: background-color 0.15s ease;
}
.drawer-chevron {
    font-size: 0.8rem;
    color: #adb5bd; 
}
.drawer-item:last-child {
    border-bottom: none;
}
.drawer-item:active {
    background-color: #f8f9fa;
}
.drawer-item i {
    font-size: 1.1rem;
    color: #495057;
    display: inline-flex;
    align-items: center;
    width: 1.5rem; 
}

















/* ==========================================================================
   Media Queries for Responsive Layouts
   ========================================================================== */
@media (max-width: 768px) {
  header { 
    display: none; 
  }

  .mobile-header {
    display: flex;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #fecdd3;
    padding: 8px 12px;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    z-index: 40;
    box-shadow: var(--shadow-sm);
    width: 100vw;
    max-width: 100vw;
    box-sizing: border-box;
    overflow: hidden;
  }

  .mobile-bottom-nav { 
    display: flex; 
  }

  main { 
    padding-bottom: 65px; 
    width: 100vw; 
    max-width: 100vw; 
  }

  .pane {
    padding: 10px;
    box-sizing: border-box;
    overflow-x: hidden;
    width: 100vw;
    max-width: 100vw;
  }

  .max-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    gap: 12px;
  }
}


/*-----quick links */
/* ==========================================================================
   Horizontal Quick Links Scrolling Bar
   ========================================================================== */

.quick-links-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 0 16px 0;
  margin-bottom: 20px;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.quick-link-card {
  background: linear-gradient(-225deg, #D6E8F8 0%, #F8D6F0 100%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  padding: 14px 18px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 200px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}

.quick-link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.quick-link-icon {
  font-size: 20px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 8px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quick-link-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.quick-link-title {
  font-weight: 600;
  font-size: 15px;
  color: #1d1b20;
  line-height: 1.2;
}

.quick-link-sub {
  font-size: 11px;
  color: #49454f;
  margin-top: 2px;
}

/*----feature-card---*/
.feature-card {
   display: block; 
   cursor: default;
   margin-bottom: 20px;
   background: #ffffff; 
   border: 1px solid #e5e7eb;
   padding:8px 12px;
   border-radius:16px;
    
}


/*----input---*/
/* This automatically styles every text-based input globally */
input[type="text"],
input[type="search"],
input[type="email"],
input[type="password"],
input[type="number"],
select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1.5px solid #e7e5e4;
    font-size: 16px;
    outline: none;
    background: #fafaf9;
    font-weight: 600;
    color: #111827;
    box-sizing: border-box;
    transition: all 0.2s ease-in-out;
}

/* Placeholder styling */
input::placeholder {
    color: #a8a29e;
    font-weight: 500;
}

/* Focus state globally */
input[type="text"]:focus,
input[type="search"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
select:focus {
    border-color: #d97706;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.12);
}

label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #444746;

}









/* ==========================================
   Universal Dropdown (Select) Style System
   ================================          */
select {
    width: 100%;
    padding: 12px 36px 12px 14px; /* Extra right padding for the custom dropdown arrow */
    border-radius: 12px;
    border: 1.5px solid #e7e5e4;
    font-size: 16px;
    outline: none;
    background-color: #fafaf9;
    font-weight: 600;
    color: #111827;
    box-sizing: border-box;
    transition: all 0.2s ease-in-out;
    
    /* Custom clean dropdown arrow */
    appearance: none;
    -webkit-appearance: none;
    -moz-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='%2378716c' stroke-width='2.5' 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 14px center;
    background-size: 16px;
    cursor: pointer;
}

/* Focus and Active State (Matching your inputs) */
select:focus {
    border-color: #d97706;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.12);
    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='%23d97706' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
}

/* Disabled State */
select:disabled {
    background-color: #f5f5f4;
    color: #78716c;
    cursor: not-allowed;
}

/* Option styling for modern browsers */
select option {
    background-color: #ffffff;
    color: #111827;
    padding: 10px;
    font-weight: 600;
}

 /* ==========================================================================
   Universal Header Consistency: Home & Subpage Layout System
   ========================================================================== */

/* Shared container for both Home (Logo + Brand) and Subpages (Back + Title) */
header .brand-container,
.mobile-header .brand-container {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 38px;
    min-width: 0;
}

/* Universal box for Left Icon (❤️ Home) and Left Button (← Back) */
.brand-icon-box, 
.universal-back-btn {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: var(--radius-md) !important;
    box-sizing: border-box;
}
/* Home Page Left Icon Styling */
.brand-icon-box {
    background: var(--bg-secondary, #fdf2f4) !important;
    border: 1px solid #fecdd3 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Constrain the PNG logo size inside the box */
.brand-icon-box img {
    width: 24px;   /* Adjust this value to fit your layout */
    height: 24px;  /* Keep it equal to width for square logos */
    object-fit: contain;
}



/* Link buttton --*/
   /* Post Details Link Button Styling */
                .post-details-link {
                    display: inline-flex;
                    align-items: center;
                    gap: 6px;
                    margin-top: 6px;
                    margin-bottom: 8px;
                    padding: 6px 10px;
                    border-radius: 6px;
                    font-size: 14px;
                    font-weight: 500;
                    text-decoration: none;
                    text-transform: capitalize;
                    background: var(--bg-secondary, #fdf2f4) !important;
                    border: 1px solid #fecdd3 !important;
                    color: var(--brand-rose-dark, #be123c) !important;
                }
                .post-details-link:hover {
                    background: var(--brand-rose, #e11d48) !important;
                    color: white !important;
                }





/* Subpage Left Back Button Styling */
.universal-back-btn {
    background: var(--bg-secondary, #fdf2f4) !important;
    border: 1px solid #fecdd3 !important;
    color: var(--brand-rose-dark, #be123c) !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
    
}

.universal-back-btn:hover {
    background: var(--brand-rose, #e11d48) !important;
    color: white !important;
}

/* Universal Text/Title Box for Both States */
.brand-title-box {
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 34px;
}

/* Universal Title Typography (Forces exact same height, font size, and vertical center) */
.brand-title-box h1,
.brand-title-box .mob-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Desktop variation for titles */
@media (min-width: 769px) {
    .md3-app-bar .brand-title-box h1 {
        font-size: 16px !important;
    }
}

/* Subtitle for Home Desktop View */
.brand-title-box p {
    font-size: 9px;
    color: var(--brand-purple);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: -4px 0 0 0 !important;
    white-space: nowrap;
    line-height: 1;
}









/*------------*/
.wa-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 12px;
    background-color: #fff; /* Ensure clean white background */
}

/* Fix for custom global theme styles overriding select dropdown arrows */
select.wa-input {
    -webkit-appearance: menulist; /* Restores standard browser dropdown behavior */
    -moz-appearance: menulist;
    appearance: menulist;
    background-image: none !important; /* Removes any conflicting global background arrows */
}

.chat-bubble {
        background: #ffffff;
        border-radius: 7.5px;
        box-shadow: 0 1px 0.5px rgba(0,0,0,0.13);
        padding: 8px 10px;
        margin-bottom: 12px;
        position: relative;
        max-width: 88%;
        word-wrap: break-word;
    }
    .chat-bubble::after {
        content: "";
        position: absolute;
        top: 0;
        left: -8px;
        width: 0;
        height: 0;
        border: 8px solid transparent;
        border-right-color: #ffffff;
        border-top: 0;
    }
    .float-post-btn {
        position: fixed;
        bottom: 74px;
        right: 14px;
        background: #25D366;
        color: white;
        padding: 14px 14px 10px 14px;
        border-radius: 16px;
        
        
        box-shadow: 0 4px 10px rgba(0,0,0,0.3);
        border: none;
        cursor: pointer;
        z-index: 1000;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .modal-overlay {
        display: none;
        position: fixed;
        top: 0; left: 0; width: 100%; height: 100%;
        background: rgba(0,0,0,0.6);
        z-index: 2000;
        justify-content: center;
        align-items: center;
        padding: 16px;
    }
    .modal-content {
        background: #fff;
        width: 100%;
        max-width: 440px;
        border-radius: 12px;
        padding: 20px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    }
    .wa-input {
        width: 100%;
        padding: 10px 12px;
        border: 1px solid #d1d5db;
        border-radius: 8px;
        font-size: 16px;
        margin-bottom: 12px;
        background-color: #fff;
    }
    /* Clears out conflicting global styles/arrows on dropdowns */
    select.wa-input {
        -webkit-appearance: menulist;
        -moz-appearance: menulist;
        appearance: menulist;
        background-image: none !important;
    }
    
    
  /* ==========================================================================
   Route Modal Component Styles (Professional Neutral Theme)
   Prefix: route-
   ========================================================================== */

/* Modal Overlay */
.route-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 16px;
}

/* Modal Content Container */
.route-modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 85vh;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    color: #1d1b20;
}

/* Modal Header */
.route-modal-header {
    background: #ffffff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid #e5e7eb;
    color: #1d1b20;
}

.route-modal-header-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    padding-right: 12px;
}

.route-modal-number {
    display: inline-block;
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    color: #1d1b20;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    width: fit-content;
}

.route-modal-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: #1d1b20;
}

.route-modal-close-btn {
    background: none;
    border: none;
    color: #4b5563;
    font-size: 24px;
    cursor: pointer;
    font-weight: 600;
    line-height: 1;
}

.route-modal-close-btn:hover {
    color: #1d1b20;
}

/* Modal Body */
.route-modal-body {
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    color: #1d1b20;
}

.route-modal-meta {
    padding: 16px;
    background: #f9fafb;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    border-bottom: 1px solid #e5e7eb;
}

.route-modal-stops {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Modal Footer */
.route-modal-footer {
    padding: 16px;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
    text-align: right;
}

.route-modal-action-btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 13px;
}

.route-modal-action-btn:hover {
    background: #1d4ed8;
}






/*------  */
.route-number{
    background: #fef3c7; 
    color: #1d1b20; 
    border: 1px solid #fde68a; 
    padding: 6px 20px;
    border-radius: 12px; 
    font-size: 26px; 
    font-weight: 700; 
    letter-spacing: -0.02em; 
    display: inline-block; 
    box-shadow: 0 2px 6px rgba(217, 119, 6, 0.12);
}


.route-name{
    margin: 0; 
    color: #111827;
    font-size: 16px; 
    font-weight: 600;
    line-height: 1.4; 
    text-align:     center;
    width: 100%;
}


.badge-1{
   font-size: 12px; color: #92400e; font-weight: 800; background: #fef3c7; border: 1px solid #fde68a; padding: 5px 12px; border-radius: 20px; display: inline-flex; align-items: center; gap: 5px;
}

.badge-2{font-size: 12px; color: #374151; font-weight: 700; background: #f3f4f6; border: 1px solid #e5e7eb; padding: 5px 12px; border-radius: 20px; display: inline-flex; align-items: center; gap: 5px;}


.board-pill{background: #d97706; color: white; font-size: 10px; padding: 2px 7px; border-radius: 4px; font-weight: 800;}

.alight-pill{background: #059669; color: white; font-size: 10px; padding: 2px 7px; border-radius: 4px; font-weight: 800;}


.view-btn-1{margin-top:12px;width: 100%; background: #fffbeb; color: #b45309; border: 1px solid #fde68a; padding: 10px; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; box-shadow: var(--shadow-sm); transition: background 0.2s;
    }

.submit-btn{width: 100%; background: linear-gradient(135deg, #d97706, #b45309); color: white; border: none; padding: 13px 20px; border-radius: 12px; font-weight: 800; font-size: 13.5px; cursor: pointer; box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25); display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 4px; transition: transform 0.2s;}


.transit-search-card{
    background: #ffffff; border: 1px solid #fde68a; border-radius: 20px; padding: 24px; box-shadow: 0 4px 20px -4px rgba(217, 119, 6, 0.08); display: flex; flex-direction: column; gap: 20px;
}

.icon-44{width: 44px; height: 44px; background: #fef3c7; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; border: 1px solid #fde68a;}
  
  
  
  .clear-btn {
        position: absolute;
        right: 12px;
        background: none;
        border: none;
        color: #a8a29e;
        font-size: 16px;
        font-weight: 800;
        cursor: pointer;
        padding: 0;
        display: none;
        line-height: 1;
        transition: color 0.2s;
    }
    .clear-btn:hover {
        color: #57534e;
    }
    
     