/* ========================================= */
/* LOCAL FONTS SETUP (Self-Hosted)           */
/* ========================================= */

/* 1. Reggae One (Auto Deals Font) */
@font-face {
  font-family: 'Reggae One';
  src: url('../../fonts/ReggaeOne-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* 2. Fondamento (Logistics Services Font) */
@font-face {
  font-family: 'Fondamento';
  src: url('../../fonts/Fondamento-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* 3. Audiowide (Expand Subject) */
@font-face {
  font-family: 'Audiowide';
  src: url('../../fonts/Audiowide-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* 4. Cuprum (Expand Body) */
@font-face {
  font-family: 'Cuprum';
  src: url('../../fonts/Cuprum-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* 5. Exo 2 (Expand Year) */
@font-face {
  font-family: 'Exo 2';
  src: url('../../fonts/Exo2-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* 6. Federo (Expand Price) */
@font-face {
  font-family: 'Federo';
  src: url('../../fonts/Federo-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* 7. Play (Search Font) */
@font-face {
  font-family: 'Play';
  src: url('../../fonts/Play-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* 8. Amarna (Contact Font) */
@font-face {
  font-family: 'Amarna';
  src: url('../../fonts/Amarna-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ========================================= */
/* LOGISTICS THEME VARIABLES                 */
/* ========================================= */

:root {
  --font-autodeals: "Reggae One", system-ui;
  --font-logistics-services: "Fondamento", cursive;
  --font-expand-subject: "Audiowide", sans-serif;
  --font-expand-body: "Cuprum", sans-serif;
  --font-expand-year: "Exo 2", sans-serif;
  --font-expand-price: "Federo", sans-serif;
  --font-search: "Play", sans-serif;
  --font-contact: "Amarna", sans-serif; 
  --sidebar-text: #f1f1f1; /* Dark Green */
  --floating-shadow:
    0 16px 40px rgba(0, 0, 0, 0.18),
    0 6px 16px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", sans-serif;
}

html, body {
  height: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: var(--font-search);
  font-weight: 600;
}

body {
  overflow-y: auto;  /* ensure scrolling is enabled */
  background: #f4f1ec; /* smokey cream white */
}

/* HEADER BASE (REDUCED HEIGHT) */
.main-header {
  position: sticky;
  top: 16px; /* creates floating gap */
  background: #1c1c1c;

  border-radius: 70px;
  /* --- THE FIX START --- */
  min-height: auto;
  /* Bar length trimmed to 8/10 of the viewport, centered. */
  width: 80%;
  margin: 0 auto;
  /* --- THE FIX END --- */
  display: flex;

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.25),
    0 4px 12px rgba(0, 0, 0, 0.15);

  z-index: 100;
  padding-bottom: 20px;
}



.page-indicator,
.search-zone,
.header-actions {
  margin-top: 45px; /* pulls them down to center */
  margin-left: 35px;
}


.header-inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /* Stretch content to the pill's edges: the old 92%/1400px inset left
       ~1in of dead space at BOTH ends of the bar. */
    width: calc(100% - 36px);
    max-width: none;
    margin: 0 auto;
    height: 100%;
    position: relative;
    
}

/* LOGO OVERLAP (50% INTO BODY) */
.logo-zone {
  position: absolute;
  left: -65px; /* pushed back per visual tuning */
  top: -22px; /* pushes logo down */
  z-index: 100;
}

.logo-zone img {
  height: 210px;
  width: auto;
  object-fit: contain;
}

/* PAGE INDICATOR */
.page-indicator {
  margin-left: 250px; /* clears the edge-anchored logo */
  position: relative;
  padding-bottom: 6px;
  
}

.page-title {
  color: #e6b35c;
  
  display: inline-block;
  animation: slideDown 0.6s ease forwards;
  font-family: var(--font-autodeals);
  font-weight: 400;
  font-size: 20px; /* adjust freely */
  letter-spacing: 1px;
  cursor: pointer;                /* Shows the hand icon */
  transition: transform 0.3s ease; /* Makes the zoom smooth */

  
}

/* ZOOM OUT EFFECT ON HOVER */
.page-title:hover {
  transform: scale(0.92); /* Scales down to 92% (Zoom Out) */
}

.active-underline {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  
  /* Simple Gold Gradient */
  background: linear-gradient(to right, #d4af37, #f5c46b);
  
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(212,175,55,0.4);
  
  /* Smoothly return to center when mouse leaves */
  transition: transform 0.3s ease; 
}

/* When cursor is on Auto Deals, physically move the line back and forth */
.page-indicator:hover .active-underline {
  animation: moveLinePhysical 1s ease-in-out infinite;
}

@keyframes goldFlow {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 200% 0; /* Moves the gradient fully across */
  }
}

@keyframes moveLinePhysical {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(10px); /* Move right 10 pixels */
  }
  100% {
    transform: translateX(0);    /* Move back to start */
  }
}

/* SEARCH (COMPACT + ICON BACKUP) */
.search-zone {
  flex: 1;
  max-width: 400px;
  position: relative;
  border-radius: 30px;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
  pointer-events: none; /* icon is visual backup, not blocking */
}
.search-zone::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;

  background: radial-gradient(circle, #ff4d4d 30%, rgba(255,77,77,0.3) 60%, transparent 75%);
  filter: drop-shadow(0 0 6px rgba(255,77,77,0.9))
        drop-shadow(0 0 12px rgba(255,77,77,0.6));
  border-radius: 50%;
  

  offset-path: inset(0 round 30px);
  offset-distance: 0%;
  offset-rotate: auto;

  animation: searchRunner 4s linear infinite;

  pointer-events: none;
  z-index: 1;
}

.search-zone.gold-glow::before {
  background: radial-gradient(
    circle,
    #d4af37 30%,
    rgba(212,175,55,0.4) 60%,
    transparent 75%
  );

  filter: drop-shadow(0 0 6px rgba(212,175,55,0.9))
          drop-shadow(0 0 14px rgba(212,175,55,0.6));
}

.search-zone:focus-within::before {
  animation: none;
  opacity: 0;
}




.search-zone input {
  width: 100%;
  padding: 10px 16px 10px 40px; /* space for icon */
  border-radius: 24px;
  border: 1px solid #444;
  background: #2a2a2a;
  color: #fff;
  font-family: var(--font-search);
  font-weight: 400;
  font-size: 15px;
  position: relative;
  z-index: 2;
}



.search-zone input:focus {
  outline: none;
  border-color: #d4af37;
  box-shadow: 0 0 8px rgba(212,175,55,0.4);
}

/* SEARCH DROPDOWN */
.search-dropdown {
  display: none;
  position: absolute;
  top: 46px;
  width: 100%;
  background: #242424;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.6);
}

.search-dropdown.active {
  display: block;
}

.search-item {
  padding: 8px;
  color: #ddd;
}

/* ACTION BUTTONS */
/* ACTION BUTTONS - FIXED POSITION */
.header-actions {
  display: flex;
  gap: 30px;
  
  /* 1. Push all the way to the right */
  margin-left: auto; 
  
  /* 2. Reduce the gap from the edge (was 32px) */
  margin-right: 5px; 
  
  /* 3. Keep vertical alignment */
  margin-top: 45px; 
}




.nav-btn1 {
  padding: 8px 18px;
  border-radius: 0 18px 0 18px;
  background: transparent;
  border: 2px solid #d4af37;
  color: #d4af37;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-logistics-services);
  font-weight: 400;
  font-size: 16px; /* adjust freely */
  transition: transform 0.25s ease, letter-spacing 0.25s ease;

}
.nav-btn2 {
  padding: 8px 18px;
  border-radius: 18px 0 18px 0;
  background: transparent;
  border: 2px solid #d4af37;
  color: #d4af37;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-logistics-services);
  font-weight: 400;
  font-size: 16px; /* adjust freely */
  transition: transform 0.25s ease, letter-spacing 0.25s ease;

}

.nav-btn1:hover {
  /* background: #d4af37; */
  /* color: #111; */
  transform: scale(1.12);
  letter-spacing: 1px;

}
.nav-btn2:hover {
 /* background: #d4af37; */
 /* color: #111; */
 transform: scale(1.12);
  letter-spacing: 1px;

}

/* ANIMATIONS */
@keyframes underlineIn {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes slideDown {
  from { transform: translateY(-8px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes buttonPress {
  0%   { transform: scale(1.12); }
  50%  { transform: scale(0.95); }
  100% { transform: scale(1.08); }
}
@keyframes searchRunner {
  from {
    offset-distance: 0%;
  }
  to {
    offset-distance: 100%;
  }
}


/*============END===================*/

/*==========Play Card=======*/

/* ============================= */
/* NEW HERO: PLAY CARD STAGE     */
/* ============================= */

/* The main container with smoky cloud background */
.hero-play-stage {
  position: relative;
  /* Reduced max-width slightly to fit 3 cards nicely */
  max-width: 1200px;
  height: 500px; /* Fixed height for the stage */
  margin: 32px auto 0;
  
  
  /* Smoky Cream Cloud Gradient */
  background: transparent;
  
  

    
  perspective: 1000px; /* Adds depth for the 3D floating effect */
  border: none;
  overflow: hidden;

}

.stage-floor-line {
  position: absolute;
  /* Moved up slightly to make room for the heavy shadow below */
  bottom: 1px; 
  left: 10%; /* Starts 10% from left */
  width: 80%; /* Spans 80% of width (looks more like a distinct object) */
  
  /* Thicker line to look like a platform/table edge */
  height: 15px; 
  
  /* Metallic Gold Gradient surface */
  background: linear-gradient(90deg, 
    rgba(212, 175, 55, 0) 0%, 
    rgba(212, 175, 55, 1) 15%, 
    #fff 50%, 
    rgba(212, 175, 55, 1) 85%, 
    rgba(212, 175, 55, 0) 100%
  );
  
  border-radius: 100%; /* Tapered ends */
  
  /* THE HEAVY FLOATING SHADOW */
  box-shadow: 
    /* 1. The Dark Ground Shadow (Far below) */
    0 45px 25px -5px rgba(0, 0, 0, 0.6),
    /* 2. A wider, softer ambient shadow */
    0 60px 50px -10px rgba(0, 0, 0, 0.3),
    /* 3. A faint gold reflection on the "floor" below */
    0 45px 40px rgba(212, 175, 55, 0.15);
    
  z-index: 1;
}

/* Optional: A reflection spot on the floor under the center card */
.stage-floor-line::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 10px;
  background: radial-gradient(ellipse at center, rgba(212,175,55,0.25) 0%, transparent 70%);
  filter: blur(8px);
}


/* =========================================== */
/* 1. SHARED WRAPPER & CARD LOGIC (Applies to ALL) */
/* =========================================== */

/* The Wrapper determines the POSITION on the stage */
.entry-wrapper {
  position: absolute; 
  z-index: 2;
  transform-style: preserve-3d; 
  
  /* CRITICAL: This aligns ALL cards to sit above your floor line */
  /* Since your floor is at bottom: 1px, we put cards at 35px so they float above it */
  bottom: 35px; 
}

/* The Card determines the BOUNCE interaction */
.entry-wrapper .play-card {
  /* Reset internal positioning so they fit inside the wrapper */
  position: relative;
  left: auto;
  right: auto;
  transform: none; 
  opacity: 1;
  
  /* The "Springy" Bounce Transition */
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

/* Shared Hover Effect (Zoom + Lift) */
.entry-wrapper .play-card:hover {
  /* Controlled Zoom (1.05) and Lift (-12px) */
  transform: scale(1.05) translateY(-12px);
  
  /* Enhanced Shadow on Hover */
  box-shadow: 
    0 25px 45px rgba(0,0,0,0.15),
    0 10px 20px rgba(0,0,0,0.1);
    
  cursor: pointer;
}


/* =========================================== */
/* 2. SPECIFIC WRAPPER POSITIONS & ANIMATIONS  */
/* =========================================== */

/* 1. LEFT WRAPPER (Haulage) */
.wrapper-left {
  /* Position: Left side */
  left: 5%; 
  /* Bottom is handled by the shared .entry-wrapper rule (35px) */
  
  /* Start hidden */
  opacity: 0;
  transform: translateX(150%) rotateY(-10deg);
  
  /* Slide In Animation */
  animation: smoothSlideIn 1.5s cubic-bezier(0.25, 1, 0.5, 1) 0.5s forwards;
}

/* 2. CENTER WRAPPER (Parcel) - FIXED */
/* CHANGED: Now targets .wrapper-center, NOT .card-parcel */
.wrapper-center {
  /* Position: Dead Center */
  left: 50%;
  z-index: 3; /* Sit on top of the others */
  
  /* Start hidden */
  opacity: 0;
  /* Start Logic: Center X (-50%) + Offset (150vw) + Tilt */
  transform: translateX(-50%) translateX(150vw) rotateY(-10deg);
  
  /* Center Slide Animation */
  animation: smoothSlideCenter 1.2s cubic-bezier(0.25, 1, 0.5, 1) 1.8s forwards;
}

/* 3. RIGHT WRAPPER (Construction) - FIXED */
/* CHANGED: Now targets .wrapper-right, NOT .card-construction */
.wrapper-right {
  /* Position: Right side */
  right: 5%;
  
  /* Start hidden */
  opacity: 0;
  transform: translateX(150%) rotateY(-10deg);
  
  /* Slide In Animation */
  animation: smoothSlideIn 1.2s cubic-bezier(0.25, 1, 0.5, 1) 3.1s forwards;
}


/* --- KEYFRAMES (Animation Logic) --- */

/* Generic Slide In (For Left & Right) */
@keyframes smoothSlideIn {
  from {
    opacity: 0;
    transform: translateX(100vw) rotateY(-10deg); /* Start far right */
  }
  to {
    opacity: 1;
    transform: translateX(0) rotateY(0deg); /* End at natural position */
  }
}

/* Specific Slide for Center (Must maintain -50% centering) */
@keyframes smoothSlideCenter {
  from {
    opacity: 0;
    /* Math: Keep it centered (-50%) but push it off screen (+100vw) */
    transform: translateX(calc(-50% + 100vw)) rotateY(-10deg); 
  }
  to {
    opacity: 1;
    /* Return to perfect center */
    transform: translateX(-50%) rotateY(0deg);
  }
}

/* =========================================== */
/* 3. VISUAL CARD STYLES (Cleaned for Wrappers) */
/* =========================================== */

/* IMPORTANT: Disable old animations on inner cards to prevent conflicts */
.card-haulage, .card-parcel, .card-construction {
  animation: none !important;
}

/* --- GENERAL CARD LOOK (Glassmorphism) --- */
.play-card {
  /* CHANGED: Relative so it sits inside the wrapper */
  position: relative;
  width: 100%;
  height: 100%;
  
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  
  box-shadow: 
    0 15px 35px rgba(0,0,0,0.1),
    0 5px 15px rgba(0,0,0,0.05);
    
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  
  /* CHANGED: No opacity/transform here. Wrapper handles entry. */
  opacity: 1;
  transform: none;
  
  /* The Bounce Transition (Applies to ALL cards) */
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

/* --- HOVER BOUNCE (Applies to ALL cards) --- */
.play-card:hover {
  transform: scale(1.05) translateY(-12px);
  
  box-shadow: 
    0 25px 45px rgba(0,0,0,0.15),
    0 10px 20px rgba(0,0,0,0.1);
    
  cursor: pointer;
}


/* --- TEXT & CONTENT STYLING --- */
.card-content-top {
  padding: 25px 20px 0;
  text-align: center;
}
.card-content-center {
    padding: 40px 20px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.play-card h2 {
  font-family: var(--font-expand-subject);
  color: #e6b35c;
  font-size: 22px;
  margin-bottom: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.play-card p {
  font-family: var(--font-expand-body);
  color: #555;
  font-size: 14px;
  line-height: 1.4;
}

.card-img-bottom {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.card-img-bottom img {
  max-width: 90%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 5px 10px rgba(0,0,0,0.2));
}

/* DESKTOP IMAGE SIZE TUNING (Haulage left as-is = the reference) */
/* Parcel reduced 20%, Construction reduced 35%. */
/* Both bounds scaled by the same factor so object-fit:contain shrinks uniformly. */
/* Mobile (max-width:992px) overrides these later in source order, so it is unaffected. */
.card-parcel .card-img-bottom img {
  max-width: 72%;   /* 90% * 0.80 */
  max-height: 80%;  /* 100% * 0.80 */
  transform: translateX(30%); /* nudge right to center */
}
.card-construction .card-img-bottom img {
  max-width: 58.5%; /* 90% * 0.65 */
  max-height: 65%;  /* 100% * 0.65 */
  transform: translateX(35%); /* nudge right to center */
}

/* --- CARD SHAPES --- */

/* Rectangle Cards (1 & 3) */
.card-rect {
  width: 300px;
  height: 400px;
  border-radius: 30px; 
}

/* Circle Card (2) */
.card-circle {
  width: 320px; 
  height: 320px;
  border-radius: 50%; 
  /* Center alignment is handled by wrapper, this is just shape */
  margin-bottom: 40px; 
}
.circle-img-adjust {
    height: 120px; 
    margin-bottom: 20px;
}

/* --- CARD 2 TEXT ANIMATION (Keep this!) --- */
.animate-text-subject {
    opacity: 0;
    /* Starts after card arrives */
    animation: fadeInUpText 0.8s ease-out 2.8s forwards;
}
.animate-text-body {
    opacity: 0;
    /* Starts slightly after subject */
    animation: fadeInUpText 0.8s ease-out 3.2s forwards;
}

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



@media (max-width: 992px) {
    
    /* 1. Stage Container - Tighter Spacing */
    .hero-play-stage {
        height: auto;
        padding: 20px 0 60px;
        overflow: visible;
    }

    /* 2. Flex Layout - Center Everything */
    .cards-container {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .stage-floor-line { display: none; }

    /* 3. Wrapper Reset */
    .entry-wrapper {
        position: relative;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        display: flex;
        justify-content: center;
        transform: none !important; 
        animation: none; 
        opacity: 0;
    }

    /* === PYRAMID ORDERING === */
    .wrapper-center {
        order: 1;
        width: 100%;
        margin-bottom: 20px;
        animation: mobileFadeUp 0.8s ease-out forwards 0.2s;
    }

    .wrapper-left {
        order: 2;
        width: 45%; 
        animation: mobileFadeUp 0.8s ease-out forwards 0.4s;
    }

    .wrapper-right {
        order: 3;
        width: 45%;
        animation: mobileFadeUp 0.8s ease-out forwards 0.6s;
    }

    /* === PARCEL CARD STYLING (Circle) === */
    .card-circle {
        width: 240px; 
        height: 240px;
        border-radius: 50%;
        margin: 0 auto;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        position: relative; /* Essential for character positioning */
    }
    
    .card-circle .card-content-center {
        padding: 40px 15px 0; /* Prevents text hitting circle edges */
        justify-content: flex-start;
        height: auto;
    }

    .card-circle h2 {
        font-size: 18px;
        margin-bottom: 5px;
    }

    .card-circle p {
        font-size: 11px;
        line-height: 1.3;
        padding: 0 10px;
        color: #555;
    }

    .circle-img-adjust {
        height: 100px; 
        width: 100%;
        position: absolute;
        bottom: 5px; /* Pins character to bottom of circle */
        left: 0;
        margin-bottom: 0;
    }

    /* === HAULAGE & CONSTRUCTION STYLING (Rectangles) === */
    .card-rect {
        width: 90%; 
        height: 280px;
        border-radius: 20px;
    }

    .card-rect h2 { font-size: 14px; margin-bottom: 5px; }
    .card-rect p { 
        font-size: 10px; 
        line-height: 1.2; 
        -webkit-line-clamp: 3; 
        display: -webkit-box; 
        -webkit-box-orient: vertical; 
        overflow: hidden; 
	    }
	    .card-rect .card-img-bottom { height: 140px; }
	    .card-parcel .card-img-bottom img {
	        max-width: 80%;
	        max-height: 80%;
	        transform: translateX(4%);
	    }
	    .card-construction .card-img-bottom img {
	        max-width: 67%;
	        max-height: 75%;
	        transform: translateX(25%);
	    }

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

/* 4. EXTRA FIX FOR SMALL PHONES (iPhone 16e/SE size) */
@media (max-width: 480px) {
    .card-circle {
        width: 215px;
        height: 215px;
    }
    
    .card-circle .card-content-center {
        padding-top: 30px;
    }
    
    .card-circle h2 {
        font-size: 16px;
    }

    .circle-img-adjust {
        height: 90px;
    }

    .card-rect {
        height: 260px;
    }
}

/* Mobile Animation Keyframe */
@keyframes mobileFadeUp {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/*==========End========*/



/* ========================================= */
/* FLOATING TRACKING GLASS SECTION           */
/* ========================================= */

.tracking-glass-section {
  /* Spacing between Hero and Body */
  margin: 80px auto 60px;
  max-width: 1200px;
  padding: 0 20px;
  /* Ensure it sits high so shadows cast correctly */
  position: relative;
  z-index: 10;
}

/* --- THE MAIN CARD CONTAINER --- */
.tracking-glass-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px;
  border-radius: 30px;
  
  /* GLASSMORPHISM BASE */
  background: rgba(255, 255, 255, 0.6); /* Semi-transparent white */
  backdrop-filter: blur(15px); /* Heavy blur for frosted glass look */
  -webkit-backdrop-filter: blur(15px);
  
  /* METALLIC GOLD TRIM & DEEP SHADOW */
  border: 2px solid #d4af37;
  box-shadow: 
    /* The deep floating shadow onto the page */
    0 30px 60px rgba(0, 0, 0, 0.2),
    /* A subtle inner gold glow for the metallic trim feel */
    inset 0 0 20px rgba(212, 175, 55, 0.15);
    
  overflow: hidden;
  position: relative;
}

/* --- LEFT CONTENT --- */
.tracking-content-left {
  flex: 1.2; /* Takes slightly more space */
  z-index: 2;
}

.floating-heading {
  font-family: var(--font-expand-subject);
  color: #e6b35c;
  font-size: 32px;
  margin-bottom: 30px;
  letter-spacing: 1px;
  
  /* Text Shadow that makes it look like it's sitting ON the glass */
  text-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* The Realistic Input Bar */
.realistic-input-group {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.9); /* More opaque than the card */
  border-radius: 50px; /* Round edges */
  padding: 8px;
  
  /* Border and Shadow to make the INPUT float on the GLASS card */
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 
    0 10px 25px rgba(0,0,0,0.1),
    inset 0 2px 5px rgba(255,255,255,0.5); /* Inner highlight for realism */
}

.search-icon-float {
  font-size: 24px;
  color: #d4af37;
  margin-left: 15px;
}

.floating-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 15px;
  font-size: 16px;
  color: #333;
  font-family: var(--font-search);
}
.floating-input:focus {
  outline: none;
}

.floating-track-btn {
  background: linear-gradient(135deg, #d4af37, #f5c46b);
  border: none;
  color: #111;
  font-weight: 800;
  font-family: var(--font-expand-subject);
  padding: 15px 30px;
  border-radius: 40px;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
  transition: all 0.3s ease;
}

.floating-track-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.6);
}

.tracking-info-space {
  margin-top: 25px;
  color: #666;
  font-size: 14px;
  font-family: var(--font-expand-body);
  padding-left: 10px;
}

/* ========================================= */
/* TRACKING TIMELINE STYLES                  */
/* ========================================= */

.tracking-timeline {
  position: relative;
  margin-top: 20px;
  padding-left: 20px; /* Space for the line */
  border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.timeline-event {
  position: relative;
  margin-bottom: 25px;
  padding-left: 20px;
  opacity: 0; /* Animate in */
  animation: slideInRight 0.5s ease forwards;
}

/* The Dot on the line */
.timeline-dot {
  position: absolute;
  left: -26px; /* Center over the line */
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #333; /* Default gray */
  border: 2px solid #555;
  box-shadow: 0 0 0 4px #1c1c1c; /* Fake gap */
}

/* Latest/Active Event Style */
.timeline-event.latest .timeline-dot {
  background: #25d366; /* Green */
  border-color: #25d366;
  box-shadow: 0 0 10px rgba(37, 211, 102, 0.6);
}

.timeline-event.latest .event-title {
  color: #25d366;
}

/* Completed Past Events */
.timeline-event.completed .timeline-dot {
  background: #d4af37; /* Gold */
  border-color: #d4af37;
}

.event-date {
  font-size: 11px;
  color: #888;
  margin-bottom: 4px;
  font-family: var(--font-expand-year);
}

.event-title {
  font-size: 14px;
  font-weight: 700;
  color: #ccc;
  margin-bottom: 4px;
  font-family: var(--font-expand-subject);
  text-transform: uppercase;
}

.event-location {
  font-size: 13px;
  color: #aaa;
  line-height: 1.4;
}

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

/* --- RIGHT CONTENT (VISUAL) --- */
.tracking-visual-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.animated-parcel {
  max-width: 90%;
  /* Drop shadow on the parcel itself */
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.3));
  
  /* The Continuous Floating Animation */
  animation: parcelFloat 4s ease-in-out infinite;
}

/* Keyframes for the parcel bobbing up and down */
@keyframes parcelFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    /* Move up and tilt slightly */
    transform: translateY(-25px) rotate(3deg);
  }
}

/* Optional: A blur shadow under the parcel on the glass surface */
.parcel-shadow-blur {
  position: absolute;
  bottom: -10px;
  width: 60%;
  height: 20px;
  background: rgba(0,0,0,0.2);
  filter: blur(20px);
  border-radius: 50%;
  z-index: -1;
  /* Animation matches the parcel but scales instead of moving */
  animation: shadowScale 4s ease-in-out infinite;
}

@keyframes shadowScale {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(0.8); opacity: 0.4; } /* Shrinks when parcel goes up */
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
  .tracking-glass-card {
    flex-direction: column-reverse; /* Put image on top on mobile */
    padding: 30px;
    gap: 40px;
    text-align: center;
    /* NEW: Constrain the width on mobile */
    width: 90%;       /* Use 90% of the screen width */
    max-width: 800px; /* Cap it so it doesn't get huge on tablets */
    margin: 0 auto;   /* Center it horizontally */
  }
  
  .realistic-input-group {
    /* On mobile, button goes below input for space */
    flex-direction: column;
    padding: 15px;
    gap: 15px;
  }
  .search-icon-float { margin: 0; }
  .floating-input { text-align: center; width: 100%; }
  .floating-track-btn { width: 100%; }
  
	  .animated-parcel {
	    max-width: 60%; /* Smaller image on mobile */
	  }
}

@media (max-width: 768px) {
  .tracking-visual-right,
  .parcel-shadow-blur {
    display: none !important;
  }

  .tracking-glass-card {
    padding: 22px 16px;
    gap: 0;
  }
}

/*==========End =========*/


/* ========================================= */
/* VISITOR GUIDE FLOATING PANEL STYLES       */
/* ========================================= */

.guide-float-panel {
  display: flex;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 50px; /* Spacing below Tracking, above Dashboard */
  padding: 0 20px;
  position: relative;
  z-index: 10; /* Sits above everything */
}

/* --- THE GLASS CARD BASE --- */
.guide-glass-card {
  flex: 1;
  max-width: 500px;
  position: relative;
  padding: 30px;
  border-radius: 20px;
  overflow: hidden;
  
  /* THE TRANSPARENT GLASS EFFECT */
  background: rgba(20, 20, 20, 0.6); /* Dark semi-transparent */
  backdrop-filter: blur(12px);         /* Blurs the background behind it */
  -webkit-backdrop-filter: blur(12px);
  
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 15px 35px rgba(0,0,0,0.3), /* Deep shadow for floating look */
    inset 0 0 20px rgba(255,255,255,0.02); /* Inner lighting */
    
  transition: transform 0.3s ease;
}

.guide-glass-card:hover {
  transform: translateY(-5px); /* Gentle lift on hover */
}

/* --- THE GLOW BAR (Top Accent) --- */
.guide-glow-bar {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  box-shadow: 0 0 15px currentColor; /* Glows with the text color */
}

/* --- TYPOGRAPHY --- */
.guide-float-title {
  font-family: var(--font-expand-subject);
  font-size: 22px;
  margin-bottom: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  
  /* THE FLOATING TEXT EFFECT */
  text-shadow: 0 5px 10px rgba(0,0,0,0.8);
  position: relative;
}

.guide-body-text {
  font-family: var(--font-expand-body);
  font-size: 15px;
  color: #ccc;
  line-height: 1.6;
}

.guide-body-text strong {
  color: #fff;
}

/* --- THEME COLORS --- */

/* THEME 1: ELECTRIC CYAN */
.theme-cyan .guide-glow-bar { background: #00f2ff; box-shadow: 0 0 10px #00f2ff; }
.theme-cyan .guide-float-title { color: #00f2ff; }
.theme-cyan { border-top: 1px solid rgba(0, 242, 255, 0.3); }

/* THEME 2: HOT PINK */
.theme-pink .guide-glow-bar { background: #ff007f; box-shadow: 0 0 10px #ff007f; }
.theme-pink .guide-float-title { color: #ff007f; }
.theme-pink { border-top: 1px solid rgba(255, 0, 127, 0.3); }

/* THEME 3: NEON GREEN */
.theme-green .guide-glow-bar { background: #39ff14; box-shadow: 0 0 10px #39ff14; }
.theme-green .guide-float-title { color: #39ff14; }
.theme-green { border-top: 1px solid rgba(57, 255, 20, 0.3); }

/* THEME 4: ELECTRIC PURPLE */
.theme-purple .guide-glow-bar { background: #007bff; box-shadow: 0 0 10px #007bff; }
.theme-purple .guide-float-title { color: #007bff; }
.theme-purple { border-top: 1px solid rgba(0, 123, 255, 0.3); }


/* UPDATE: Tablet Adjustment for 4 Cards */
/* Ensures they look good on tablets by making a 2x2 grid */
@media (max-width: 1100px) and (min-width: 769px) {
  .guide-float-panel {
    flex-wrap: wrap;
  }
  .guide-glass-card {
    flex: 1 1 45%; /* Makes them take up 45% width each (2 per row) */
  }
}

/* --- RESPONSIVE ADJUSTMENT --- */
@media (max-width: 768px) {
  .guide-float-panel {
    flex-direction: column; /* Stack them vertically on phone */
    gap: 20px;
  }
  .guide-glass-card {
    width: 100%;
    max-width: 80%;
    margin: 0 auto;
  }
}

/* ========================================= */
/* GUIDE PANEL: 2-UP GRID (MOBILE/TABLET)    */
/* ========================================= */
@media (max-width: 920px){

.guide-float-panel{
  /* override flex */
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;                 /* tighter than 40px so 2 fit */
  max-width: 1200px;
  margin: 0 auto 50px;
  padding: 0 16px;
}

/* Make each card naturally fill its grid cell */
.guide-glass-card{
  max-width: none;           /* remove the 500px cap */
  width: 100%;
  padding: 18px;             /* smaller so it fits 2-up */
  border-radius: 18px;
}

/* Typography scale for 2-up */
.guide-float-title{
  font-size: 16px;
  margin-bottom: 10px;
  letter-spacing: 0.8px;
}

.guide-body-text{
  font-size: 13px;
  line-height: 1.55;
}

}


/* Small phones: still 2-up, but tighter */
@media (max-width: 420px){
  .guide-float-panel{
    gap: 12px;
    padding: 0 12px;
  }
  .guide-glass-card{
    padding: 14px;
    border-radius: 16px;
  }
  .guide-float-title{ font-size: 14px; }
  .guide-body-text{ font-size: 12px; }

  


}

/* Optional: Desktop layout (choose one)
   If you want 4 across on desktop, uncomment this block.
*/
/*
@media (min-width: 1024px){
  .guide-float-panel{
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
  }
}
*/

/* ========================================= */
/* SERVICE SIGNAL CARDS: ATTENTION REDESIGN  */
/* ========================================= */
.guide-float-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  max-width: 1220px;
  margin: 4px auto 52px;
  padding: 0 24px;
}

.guide-glass-card {
  max-width: none;
  min-height: 230px;
  padding: 22px 20px 20px;
  border-radius: 18px;
  isolation: isolate;
  background:
    linear-gradient(145deg, rgba(22, 22, 21, 0.96), rgba(50, 49, 45, 0.9)),
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.16), transparent 42%);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-top: 0;
  box-shadow:
    0 22px 35px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(0);
}

.guide-glass-card::before {
  content: "01";
  position: relative;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 50%;
  font-family: var(--font-search);
  font-size: 12px;
  font-weight: 800;
  color: #101010;
  background: #d4af37;
  box-shadow: 0 0 22px rgba(212, 175, 55, 0.42);
}

.guide-glass-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.12), transparent 34%),
    radial-gradient(circle at 85% 12%, currentColor 0, transparent 34%);
  opacity: 0.11;
  pointer-events: none;
  z-index: -1;
}

.guide-glass-card:hover {
  transform: translateY(-7px);
}

.guide-glow-bar {
  top: auto;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  border-radius: 0 0 18px 18px;
}

.guide-float-title {
  font-size: clamp(16px, 1.45vw, 21px);
  line-height: 1.22;
  margin-bottom: 14px;
  text-shadow: 0 7px 16px rgba(0, 0, 0, 0.75);
}

.guide-body-text {
  max-width: 24ch;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.7;
}

.guide-body-text strong {
  color: #fff;
  font-weight: 800;
}

.theme-cyan { color: #00f2ff; }
.theme-pink { color: #ff007f; }
.theme-green { color: #39ff14; }
.theme-purple { color: #2f86ff; }

.theme-cyan::before { content: "01"; background: #00f2ff; box-shadow: 0 0 22px rgba(0, 242, 255, 0.55); }
.theme-pink::before { content: "02"; background: #ff007f; box-shadow: 0 0 22px rgba(255, 0, 127, 0.55); }
.theme-green::before { content: "03"; background: #39ff14; box-shadow: 0 0 22px rgba(57, 255, 20, 0.5); }
.theme-purple::before { content: "04"; background: #2f86ff; box-shadow: 0 0 22px rgba(47, 134, 255, 0.55); }

.theme-cyan .guide-glow-bar { background: #00f2ff; box-shadow: 0 0 18px #00f2ff; }
.theme-pink .guide-glow-bar { background: #ff007f; box-shadow: 0 0 18px #ff007f; }
.theme-green .guide-glow-bar { background: #39ff14; box-shadow: 0 0 18px #39ff14; }
.theme-purple .guide-glow-bar { background: #2f86ff; box-shadow: 0 0 18px #2f86ff; }

@media (max-width: 920px) {
  .guide-float-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 8px auto 42px;
    padding: 0 14px;
  }

  .guide-glass-card {
    min-height: 205px;
    padding: 16px 14px 18px;
    border-radius: 18px;
  }

  .guide-glass-card::before {
    width: 32px;
    height: 32px;
    margin-bottom: 12px;
    font-size: 11px;
  }

  .guide-float-title {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .guide-body-text {
    font-size: 12px;
    line-height: 1.55;
  }
}

@media (max-width: 420px) {
  .guide-float-panel {
    gap: 12px;
    padding: 0 12px;
  }

  .guide-glass-card {
    min-height: 190px;
    padding: 14px 12px 16px;
  }
}
/* ============================= */
/* LEFT FILTER SIDEBAR (VERTICAL) */
/* ============================= */

.filter-sidebar {
  position: fixed;
  bottom: 24px;
  left: 80px;

  width: 400px;

  
  color: #ffffff;
  background:
    linear-gradient(
      180deg,
      rgba(40, 40, 40, 0.75),
      rgba(25, 25, 25, 0.82)
    );



  border: 1.5px solid rgba(212,175,55,0.65);
  border-radius: 22px;

  backdrop-filter: blur(8px);

  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.18),
    0 6px 16px rgba(0, 0, 0, 0.12);

  z-index: 90;

  display: flex;
  flex-direction: column;

  /* COLLAPSE CONTROL */
  max-height: 70px; /* header-only */
  overflow: hidden;

  transition:
    max-height 0.45s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.filter-sidebar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.08),
      rgba(255,255,255,0)
    );

  pointer-events: none;
}
/* ============================= */
/* FILTER CONTENT SCROLL FIX     */
/* ============================= */
.filter-content {
  /* This ensures the content takes up available space */
  flex: 1; 
  
  /* This Enables Scrolling */
  overflow-y: auto; 
  
  /* Smooth scrolling on iOS */
  -webkit-overflow-scrolling: touch; 
  
  padding: 15px;
}

/* Custom Scrollbar for the Sidebar (Gold Theme) */
.filter-content::-webkit-scrollbar {
  width: 5px;
}
.filter-content::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.3);
}
.filter-content::-webkit-scrollbar-thumb {
  background: #d4af37;
  border-radius: 10px;
}


/* EXPANDED STATE */
.filter-sidebar.expanded {
  max-height: calc(100vh - 320px);
}

/* ============================= */
/* SIDEBAR HEADER (ALWAYS VISIBLE) */
/* ============================= */

.sidebar-header {
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 12px 14px;

  border-bottom: 1px solid rgba(212,175,55,0.4);
  border-radius: 18px 18px 0 0;
  box-shadow:
    inset 0 -1px 0 rgba(212,175,55,0.25);
}

/* ========================================= */
/* SIDEBAR MOBILE SCROLL FIX                 */
/* ========================================= */

@media (max-width: 995px) {
  .filter-sidebar {
    /* Center the sidebar on mobile */
    left: 5% !important;
    width: 70% !important;
    height: auto;
    bottom: 20px;
  }

  /* When opened on mobile, make it tall enough */
  .filter-sidebar.expanded {
    max-height: 95vh !important; /* Uses 75% of screen height */
    height: auto;
  }
}




/* SEARCH INPUT */
.sidebar-search {
  flex: 1;

  padding: 8px 12px;
  border-radius: 20px;
  border: 1px solid rgba(212,175,55,0.5);

  background: rgba(20,20,20,0.9);
  color: var(--sidebar-text);
  font-family: var(--font-search);
  font-weight: 400;
  font-size: 15px;

  font-size: 14px;
}

.sidebar-search::placeholder {
  color: var(--sidebar-text);
  font-family: var(--font-search);
  font-weight: 400;
  font-size: 15px;
}

.sidebar-search:focus {
  outline: none;
  border-color: #d4af37;
}

/* TOGGLE BUTTON (UP / DOWN) */
.sidebar-toggle {
  width: 36px;
  height: 36px;

  border-radius: 50%;
  border: 2px solid #d4af37;
  background: #111;

  color: #d4af37;
  font-size: 18px;

  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow:
    0 6px 14px rgba(212,175,55,0.35),
    inset 0 1px 2px rgba(255,255,255,0.15);

  transition: transform 0.3s ease;
}
.sidebar-toggle:hover {
  transform: scale(1.08);
}

/* ROTATE ARROW WHEN EXPANDED */
.filter-sidebar.expanded .sidebar-toggle {
  transform: rotate(180deg);
}


/* ========================================= */
/* SIDEBAR SAVER DEALS STYLES                */
/* ========================================= */

/* Toggle Tabs */
.saver-toggle-wrapper {
  display: flex;
  background: #111;
  border-radius: 8px;
  padding: 4px;
  margin-bottom: 20px;
  border: 1px solid #333;
}
.saver-tab {
  flex: 1;
  background: transparent;
  border: none;
  color: #666;
  padding: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.3s;
}
.saver-tab.active {
  background: #d4af37;
  color: #000;
}

/* Content Blocks */
.saver-content-block {
  display: none;
  animation: fadeInStep 0.4s ease;
}
.saver-content-block.active {
  display: block;
}

/* Status Card */
.pool-status-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(212, 175, 55, 0.3);
  border-radius: 12px;
  padding: 15px;
}

.pool-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.pool-badge {
  background: #d4af37;
  color: #000;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
}

.pool-timer {
  font-family: monospace;
  color: #ff4d4d; /* Red for urgency */
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
}

.pool-desc {
  color: #ccc;
  font-size: 12px;
  line-height: 1.4;
  margin-bottom: 15px;
}

/* Slots Progress */
.slots-info {
  margin-bottom: 20px;
}
.slots-info span {
  font-size: 11px;
  color: #888;
  display: block;
  margin-bottom: 5px;
}
.progress-track {
  width: 100%;
  height: 6px;
  background: #222;
  border-radius: 10px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #d4af37, #f5c46b);
  border-radius: 10px;
}

/* Buttons */
.saver-btn {
  width: 100%;
  background: transparent;
  border: 1px solid #d4af37;
  color: #d4af37;
  padding: 10px;
  font-weight: 700;
  font-family: var(--font-expand-subject);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}
.saver-btn:hover {
  background: #d4af37;
  color: #000;
}
.saver-btn:disabled {
  border-color: #444;
  color: #444;
  cursor: not-allowed;
  background: transparent;
}

.pool-warning {
  color: #ff4d4d;
  font-size: 11px;
  text-align: center;
  margin-top: 10px;
  display: none; /* Hidden by default */
}

/* Next Day Perks */
.next-day-perk {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 12px;
  color: #ddd;
}
.next-day-perk i {
  color: #25d366;
}



/*===end====*/

/*===Search Button side panel*/
.filter-action {
  margin-top: auto;               /* ⬅ pushes it to the bottom */
  
  padding: 14px;
  border-top: 1px solid rgba(212,175,55,0.25);
}

.filter-search-btn {
  width: 100%;
  padding: 11px;

  border-radius: 16px;
  border: 1px solid rgba(212,175,55,0.6);

  background: linear-gradient(135deg, #d4af37, #f5c46b);
  color: #111;

  font-family: var(--font-search);
  font-weight: 700;
  font-size: 15px;

  cursor: pointer;

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.filter-search-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    0 10px 22px rgba(212,175,55,0.35);
}


/* Live Booking Feed Styles */
.live-bookings-container {
  margin-bottom: 15px;
  background: rgba(0,0,0,0.3);
  padding: 10px;
  border-radius: 6px;
  max-height: 120px;
  overflow-y: auto; /* Scrollable if list is long */
}

.feed-title {
  color: #888;
  font-size: 10px;
  margin-bottom: 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 1px solid #333;
  padding-bottom: 4px;
}

.booking-item {
  font-size: 11px;
  color: #ccc;
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: 4px;
}

.booking-item span.route {
  color: #fff;
}
.booking-item span.route i {
  color: #d4af37;
  margin: 0 3px;
}
.booking-item span.time {
  font-size: 9px;
  color: #666;
}

/* Scrollbar styling for the feed */
.live-bookings-container::-webkit-scrollbar {
  width: 4px;
}
.live-bookings-container::-webkit-scrollbar-thumb {
  background: #444; 
  border-radius: 4px;
}

/*+++++++reciept+++++++++*/

/* ========================================= */
/* DIGITAL RECEIPT STYLES                    */
/* ========================================= */

.receipt-card-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.open .receipt-card-wrapper {
  transform: scale(1);
}

/* The Paper Receipt */
.digital-receipt {
  background: #fff;
  width: 320px; /* Standard phone width friendly */
  padding: 30px 20px;
  border-radius: 5px;
  box-shadow: 0 0 50px rgba(0,0,0,0.5);
  font-family: 'Courier New', monospace; /* Receipt Font */
  color: #333;
  position: relative;
}

/* ZigZag Top/Bottom decoration (Optional CSS trick) */
.digital-receipt::before {
  content: "";
  position: absolute; top: -5px; left: 0; width: 100%; height: 10px;
  background: linear-gradient(135deg, #fff 5px, transparent 0) 0 5px,
              linear-gradient(-135deg, #fff 5px, transparent 0) 0 5px;
  background-color: transparent;
  background-size: 10px 10px;
}

.receipt-header {
  text-align: center;
  border-bottom: 2px dashed #333;
  padding-bottom: 15px;
  margin-bottom: 20px;
}
.receipt-header h2 {
  font-size: 20px;
  font-weight: 800;
  margin: 0;
  color: #000;
  font-family: 'Courier New', monospace;
}
.receipt-sub {
  font-size: 10px;
  letter-spacing: 1px;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 13px;
}
.receipt-value {
  font-weight: 700;
  text-align: right;
  max-width: 60%;
}
.receipt-value.highlight {
  background: #000;
  color: #fff;
  padding: 2px 6px;
}

.receipt-divider {
  border-bottom: 1px dashed #ccc;
  margin: 15px 0;
}

.receipt-note {
  font-size: 11px;
  margin-bottom: 15px;
  line-height: 1.3;
}

.payment-status-box {
  background: #eee;
  text-align: center;
  padding: 8px;
  font-weight: 800;
  font-size: 12px;
  border: 1px solid #ddd;
  margin-bottom: 10px;
}

.validation-msg {
  text-align: center;
  font-size: 11px;
  color: #d4af37; /* Gold Warning */
  font-weight: 700;
  background: #111;
  padding: 5px;
  border-radius: 4px;
}

.receipt-footer {
  text-align: center;
  font-size: 10px;
  margin-top: 20px;
  color: #777;
}

/* Action Buttons */
.receipt-actions {
  display: flex;
  gap: 15px;
}
.btn-download {
  background: #d4af37;
  color: #000;
  border: none;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-search);
}
.btn-close-receipt {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-family: var(--font-search);
}

@media (max-width: 768px) {
  .receipt-card-wrapper {
    gap: 12px;
    transform: scale(0.82);
  }

  .modal-overlay.open .receipt-card-wrapper {
    transform: scale(0.82);
  }

  .digital-receipt {
    width: min(280px, calc(100vw - 44px));
    padding: 20px 15px;
  }

  .receipt-header {
    padding-bottom: 10px;
    margin-bottom: 13px;
  }

  .receipt-header h2 {
    font-size: 16px;
  }

  .receipt-sub {
    font-size: 9px;
  }

  .receipt-row {
    margin-bottom: 8px;
    font-size: 11px;
  }

  .receipt-divider {
    margin: 10px 0;
  }

  .receipt-note {
    font-size: 10px;
    margin-bottom: 10px;
  }

  .validation-msg {
    font-size: 10px;
  }

  .receipt-footer {
    font-size: 9px;
    margin-top: 12px;
  }

  .receipt-actions {
    gap: 10px;
  }

  .btn-download,
  .btn-close-receipt {
    padding: 8px 14px;
    font-size: 12px;
  }
}

/* === PRINT SETTINGS (Crucial for Download as PDF) === */
@media print {
  body * {
    visibility: hidden; /* Hide everything */
  }
  #receiptModal, #receiptModal * {
    visibility: visible; /* Show only modal */
  }
  .receipt-actions, .modal-close-btn {
    display: none !important; /* Hide buttons in PDF */
  }
  .modal-overlay {
    position: absolute;
    left: 0; top: 0;
    background: #fff; /* White background for print */
  }
  .digital-receipt {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}

/* Bank Details Box on Receipt */
.bank-details-box {
  border-top: 2px dashed #333;
  border-bottom: 2px dashed #333;
  padding: 10px 0;
  margin: 15px 0;
  text-align: center;
  background: #f9f9f9;
}
.bank-title {
  font-weight: 800;
  margin-bottom: 5px;
  font-size: 12px;
  text-decoration: underline;
}
.bank-details-box p {
  margin: 2px 0;
  font-size: 12px;
  color: #000;
}


/*+++++++END+++++++++*/


/*============perfect end ===========*/

/* --- Floating WhatsApp --- */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366; /* Original WA Color */
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 35px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* --- Main Footer --- */
.main-footer {
  background: rgba(20, 20, 20, 0.95);
  color: #fff;
  padding: 60px 40px 20px;
  margin-top: 80px;
  border-top: 1px solid rgba(255, 215, 0, 0.1); /* Subtle gold border */
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-section h3, .footer-section h4 {
  color: #ffd700; /* Matching your gold accent */
  font-family: 'Audiowide', sans-serif;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.footer-section p {
  line-height: 1.6;
  color: #ccc;
  font-size: 0.95rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #ffd700;
}

.footer-bottom {
  text-align: center;
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.85rem;
  color: #777;
}

/* Ensure the WhatsApp button stays above footer on mobile */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 30px;
  }
}

/* ========================================= */
/* MOBILE FOOTER: 20% REDUCTION & 2-COL LAYOUT */
/* ========================================= */
@media (max-width: 768px) {
  /* 1. Reduce overall footer height and spacing */
  .main-footer {
    padding: 35px 20px 15px; /* Reclaiming vertical space */
    margin-top: 40px;         /* Reduced from 80px */
  }

  /* 2. Create the side-by-side layout for links and contact */
  .footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;               
  }

  /* Brand section stays full width at top */
 .footer-section:nth-child(1) {
  flex: 0 0 100%;
  margin-bottom: 15px;
  text-align: center; /* This centers all text inside the block */
  display: flex;
  flex-direction: column;
  align-items: center; /* This ensures the heading itself is centered */
}

.footer-section:nth-child(1) h3 {
  width: 100%;
  max-width: 280px; /* Optional: Constrains width to force the "cut" exactly how you want it */
  margin: 0 auto 10px;
  line-height: 1.3;
}

  /* Quick Links and Contact split the row 50/50 */
  .footer-section:nth-child(2),
  .footer-section:nth-child(3) {
    flex: 1;                 
    min-width: 140px;        
  }

  /* 3. Scale down text and titles by 20% */
  .footer-section h3 {
    font-size: 18px; 
    margin-bottom: 10px;
  }

  .footer-section h4 {
    font-size: 15px; 
    margin-bottom: 12px;
  }

  .footer-section p, 
  .footer-section ul li, 
  .footer-section ul li a {
    font-size: 13px;         /* Tighter font for mobile columns */
    margin-bottom: 6px;      
  }

  .footer-bottom {
    margin-top: 25px;        /* Reclaiming space at the very bottom */
    padding-top: 15px;
    font-size: 11px;
  }
}



/* This is where the Body is starting from */


/* ============================================== */
/* LOGISTICS DASHBOARD (Clean Build)              */
/* ============================================== */

/* Main Wrapper */
.logistics-body-wrapper {
  padding: 40px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.logistics-dashboard {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

/* ================================================== */
/* PREMIUM HAULAGE CONSOLE (Wizard & Forms)           */
/* ================================================== */

/* --- 1. MAIN CONTAINER --- */
.haulage-console {
  flex: 2;
  background: #1c1c1c;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  position: relative;
  overflow: hidden;
  min-height: 400px; /* Ensure height doesn't collapse */
}

/* Header */
.console-header { margin-bottom: 25px; }
.console-heading {
  color: #e6b35c;
  font-family: var(--font-expand-subject);
  font-size: 24px;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}
.accent-bar {
  width: 50px;
  height: 3px;
  background: #e6b35c;
  border-radius: 4px;
}

/* --- 2. STEPPER (Progress Bar) --- */
.booking-stepper {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  border-bottom: 1px solid #333;
  padding-bottom: 12px;
}
.step-item {
  position: relative;
  color: #666;
  font-size: 13px;
  font-weight: 500;
  padding-bottom: 8px;
  transition: color 0.3s;
}
.step-item.active {
  color: #d4af37;
  font-weight: 700;
}
/* The Gold Underline */
.active-indicator {
  position: absolute;
  bottom: -13px; /* Sits on the border line */
  left: 0;
  width: 100%;
  height: 2px;
  background: #d4af37;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
  animation: slideBar 0.3s ease;
}
@keyframes slideBar { from { width: 0; } to { width: 100%; } }


/* --- 3. INTERFACE SPLIT (Layout) --- */
.interface-split {
  display: flex;
  gap: 30px;
}

/* Left: Visual Zone */
.visual-zone {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Sticky keeps the image visible while scrolling long forms */
  position: sticky;
  top: 20px;
  height: fit-content;
}
.vehicle-render {
  width: 100%;
  max-width: 350px;
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.6));
  transition: opacity 0.3s ease;
}

/* Right: Form Zone */
.form-zone {
  flex: 1.2;
}


/* --- 4. WIZARD STEP LOGIC --- */
.wizard-step {
  display: none; /* Hide all steps by default */
  animation: fadeInStep 0.5s ease;
}
.wizard-step.active-step {
  display: block; /* Show only active step */
}
@keyframes fadeInStep {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}


/* --- 5. VEHICLE CARDS (Step 1) --- */
.vehicle-selector-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}
.vehicle-card {
  position: relative;
  cursor: pointer;
}
.vehicle-card input { display: none; }

.card-interior {
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 20px 5px;
  text-align: center;
  transition: all 0.3s ease;
  color: #888;
}
.card-icon {
  font-size: 36px;
  display: block;
  margin-bottom: 8px;
  color: #555;
  transition: color 0.3s;
}
.card-label {
  font-family: var(--font-expand-subject);
  font-size: 12px;
  letter-spacing: 1px;
}

/* Active State */
.vehicle-card input:checked + .card-interior {
  background: linear-gradient(135deg, rgba(212,175,55,0.15), rgba(0,0,0,0));
  border-color: #d4af37;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.3);
}
.vehicle-card input:checked + .card-interior .card-icon {
  color: #d4af37;
}


/* --- 6. FORM INPUTS & BUTTONS (Steps 2, 3, 4) --- */

/* Route Switcher */
.route-switcher {
  display: flex;
  background: #0f0f0f;
  padding: 4px;
  border-radius: 8px;
  border: 1px solid #333;
  margin-bottom: 25px;
}
.switch-option {
  flex: 1;
  text-align: center;
  padding: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #555;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.3s;
}
.switch-option input { display: none; }
.switch-option:has(input:checked) {
  background: #d4af37;
  color: #000;
}

/* Input Fields */
.field-label {
  color: #ccc;
  font-size: 12px;
  margin-bottom: 6px;
  display: block;
  font-family: var(--font-expand-body);
}
.req { color: #ff4d4d; font-weight: bold; }

.log-input {
  width: 100%;
  background: #222;
  border: 1px solid #333;
  padding: 12px 15px;
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
  margin-bottom: 15px;
  font-family: var(--font-search);
}
.log-input:focus {
  border-color: #d4af37;
  outline: none;
}

/* Select Styling */
.select-wrapper { position: relative; margin-bottom: 15px; }
.select-wrapper i {
  position: absolute;
  right: 15px; top: 50%;
  transform: translateY(-50%);
  color: #d4af37;
  pointer-events: none;
}

/* Split Rows */
.row-split { display: flex; gap: 15px; }
.half-box { flex: 1; }

/* Sub-Headers */
.sub-header {
  color: #e6b35c;
  font-family: var(--font-expand-subject);
  margin-bottom: 15px;
  border-bottom: 1px solid #333;
  padding-bottom: 5px;
  font-size: 16px;
}

/* --- 7. BUTTONS --- */
.nav-buttons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}
.btn-back {
  background: transparent;
  border: 1px solid #555;
  color: #888;
  padding: 12px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-family: var(--font-expand-subject);
  transition: all 0.3s;
}
.btn-back:hover { border-color: #fff; color: #fff; }

.next-btn, .submit-btn {
  width: 100%;
  background: transparent;
  border: 1px solid #d4af37;
  color: #fff;
  padding: 14px;
  border-radius: 30px;
  font-family: var(--font-expand-subject);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}
.next-btn:hover, .submit-btn:hover {
  background: #d4af37;
  color: #000;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}
.submit-btn {
  background: #d4af37;
  color: #000;
}


/* --- 8. TRAILER WARNING --- */
.trailer-warning-box {
  width: min(100%, 305px);
  margin-top: 16px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.42);
  padding: 10px 14px;
  border-radius: 16px;
  color: #d4af37;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
}
.trailer-warning-box i {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(212, 175, 55, 0.14);
  font-size: 16px;
}
.trailer-warning-box p {
  margin: 0;
  color: #f0d37b;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.trailer-warning-box span {
  display: block;
  margin-top: 2px;
  font-weight: 500;
  font-size: 10px;
  color: #cfc7b1;
  text-transform: none;
  letter-spacing: 0;
}
@keyframes shakeWarning {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

/* ========================================= */
/* EASY BOOKING: REIMAGINED CONSOLE          */
/* ========================================= */
.haulage-console {
  background:
    linear-gradient(145deg, rgba(14, 14, 13, 0.98), rgba(30, 29, 27, 0.97)),
    radial-gradient(circle at 78% 18%, rgba(212, 175, 55, 0.12), transparent 42%);
  border-color: rgba(212, 175, 55, 0.42);
  border-radius: 22px;
  box-shadow:
    0 22px 44px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.haulage-console::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(212, 175, 55, 0.28), transparent 26%, transparent 74%, rgba(212, 175, 55, 0.14));
  opacity: 0.22;
  pointer-events: none;
}

.console-header,
.booking-stepper,
.interface-split {
  position: relative;
  z-index: 1;
}

.console-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.accent-bar {
  align-self: flex-end;
  width: 84px;
  height: 2px;
  background: linear-gradient(to right, #e6b35c, transparent);
}

.booking-stepper {
  gap: 10px;
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 24px;
}

.step-item {
  flex: 1;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  text-align: center;
  background: rgba(255, 255, 255, 0.025);
}

.step-item.active {
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.55);
}

.active-indicator {
  display: none;
}

.interface-split {
  align-items: center;
}

.visual-zone {
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.08), transparent 62%);
  border-radius: 18px;
  padding: 18px;
}

.vehicle-render {
  max-width: 305px;
}

.vehicle-render.vehicle-render--trailer {
  max-width: 198px;
}

.vehicle-selector-group {
  gap: 12px;
}

.card-interior {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}

.next-btn,
.submit-btn {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}


/* --- 9. RESPONSIVE --- */
@media (max-width: 992px) {
  .haulage-console { flex-direction: column; }
  .interface-split { flex-direction: column; }
  .visual-zone { position: relative; top: 0; margin-bottom: 20px; }
  .vehicle-render { max-width: 250px; }


  /* ==================================== */
    /* FIX 2: EASY BOOKING CONSOLE (WIZARD) */
    /* ==================================== */

    /* 1. Unlock the Container Width */
    .logistics-body-wrapper {
        padding: 15px; /* Reduced from 40px to give more room */
        width: 100%;
        overflow-x: hidden; /* Prevent horizontal scroll */
    }

    .logistics-dashboard {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center; /* This forces the box to Center */
        gap: 40px;
    }

    /* 2. Make the Booking Box Big & Centered */
    .haulage-console {
        width: 100%;       /* Force full available width */
        height: auto;
        max-width: 700px;  /* Stop it from getting TOO wide on tablets */
        margin: 0 auto;    /* Auto margins = Perfect Center */
        padding: 25px 20px; /* Increase internal space */
        min-height: 550px; /* Force a decent height */
    }

    /* 3. Fix the Input Fields (Make them touch-friendly) */
    .log-input, .select-wrapper select {
        height: 50px; /* Taller inputs for mobile fingers */
        font-size: 16px; /* Larger text */
    }

    /* 4. Fix the "Next Step" Buttons */
	    .next-btn, .submit-btn {
	        padding: 18px; /* Bigger button area */
	    }
}

@media (max-width: 600px) {
  .logistics-body-wrapper {
    padding: 10px 12px;
  }

  .logistics-dashboard {
    gap: 24px;
  }

  .haulage-console {
    width: 100%;
    max-width: 520px;
    padding: 16px 14px;
    border-radius: 20px;
    min-height: auto;
  }

  .console-header {
    margin-bottom: 14px;
  }

  .console-heading {
    font-size: 16px;
    line-height: 1.25;
    margin-bottom: 0;
  }

  .accent-bar {
    width: 50px;
    margin-top: 6px;
  }

  .booking-stepper {
    gap: 7px;
    margin-bottom: 14px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .booking-stepper::-webkit-scrollbar {
    display: none;
  }

  .step-item {
    flex: 0 0 auto;
    font-size: 9px;
    padding: 7px 8px;
    white-space: nowrap;
  }

  .interface-split {
    gap: 12px;
  }

  .visual-zone {
    margin-bottom: 0;
    padding: 8px;
  }

  .vehicle-render {
    max-width: 175px;
  }

  .vehicle-render.vehicle-render--trailer {
    max-width: 105px;
  }

  .trailer-warning-box {
    margin-top: 6px;
    padding: 6px 8px;
    border-radius: 9px;
  }

  .trailer-warning-box i {
    font-size: 13px;
    margin-bottom: 2px;
  }

  .trailer-warning-box p {
    font-size: 9px;
    line-height: 1.2;
  }

  .trailer-warning-box span {
    font-size: 8px;
  }

  .vehicle-selector-group {
    gap: 8px;
    margin-bottom: 14px;
  }

  .card-interior {
    padding: 11px 3px;
    border-radius: 12px;
  }

  .card-icon {
    font-size: 23px;
    margin-bottom: 5px;
  }

  .card-label {
    font-size: 10px;
  }

  .log-input,
  .select-wrapper select {
    height: 40px;
    min-height: 40px;
    padding: 9px 11px;
    font-size: 13px;
    margin-bottom: 10px;
  }

  textarea.log-input {
    height: auto;
    min-height: 76px;
  }

  .route-switcher {
    margin-bottom: 14px;
  }

  .switch-option {
    padding: 8px;
    font-size: 11px;
  }

  .field-label {
    font-size: 11px;
    margin-bottom: 5px;
  }

  .sub-header {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .row-split {
    flex-direction: column;
    gap: 0;
  }

  .nav-buttons {
    flex-direction: row;
    align-items: stretch;
    gap: 10px;
    margin-top: 12px;
  }

  .btn-back {
    width: 46px;
    flex: 0 0 46px;
    padding: 0;
    border-radius: 14px;
    font-size: 0;
    position: relative;
  }

  .btn-back::before {
    content: "←";
    font-size: 20px;
    line-height: 1;
    color: #d4af37;
    font-family: var(--font-search);
  }

  .next-btn,
  .submit-btn {
    flex: 1 1 auto;
    width: auto;
    padding: 11px;
    border-radius: 14px;
    font-size: 12px;
  }
}

/*-======END=====----*/


/* --- SECTOR B: WIDGETS (Right 35%) --- */
.logistics-widgets {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 100%;
  /* This limits the width so it doesn't stretch too far */
  max-width: 700px; 
        
  /* This ensures it sits perfectly in the middle */
  margin: 0 auto;
}

.widget-box {
  background: #1c1c1c;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  padding: 20px;
}

.widget-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.widget-head h3 {
  color: #d4af37;
  font-family: var(--font-expand-subject);
  font-size: 16px;
  margin: 0;
}
.widget-icon-lg {
  font-size: 28px;
  color: #d4af37;
}

.widget-input {
  width: 100%;
  background: #252525;
  border: 1px solid #333;
  padding: 10px 12px;
  border-radius: 6px;
  color: #ddd;
  margin-bottom: 12px;
  font-size: 13px;
}

.bike-box .widget-input {
  min-height: 42px;
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01)),
    #242424;
  border-color: rgba(255,255,255,0.075);
  color: #f3f0ea;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.035);
}

.bike-box .widget-input:focus {
  border-color: rgba(212, 175, 55, 0.55);
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 0 0 3px rgba(212, 175, 55, 0.1);
}

.widget-input.is-field-invalid,
.premium-pickup-trigger.is-field-invalid {
  border-color: #ff4d4d !important;
  box-shadow: 0 0 0 3px rgba(255, 77, 77, 0.12);
}

.widget-select-wrapper {
  position: relative;
  margin-bottom: 12px;
}
.select-caret {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  pointer-events: none;
}
.widget-input option {
  background: #222;
  color: #fff;
}

.premium-native-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  margin: 0 !important;
}

.premium-pickup-trigger {
  appearance: none;
  border: 1px solid rgba(212, 175, 55, 0.24);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012)),
    #242424;
  color: #f4efe6;
  border-radius: 12px;
  min-height: 58px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.045);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.premium-pickup-trigger:hover,
.premium-pickup-trigger:focus-visible {
  border-color: rgba(212, 175, 55, 0.58);
  background:
    linear-gradient(135deg, rgba(212,175,55,0.12), rgba(255,255,255,0.018)),
    #242424;
  outline: none;
}

.premium-pickup-trigger:active {
  transform: translateY(1px);
}

.premium-pickup-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
  flex: 1;
}

.premium-pickup-title {
  font-family: var(--font-expand-subject);
  font-size: 12px;
  color: #f5f0e8;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.premium-pickup-subtitle {
  font-size: 10px;
  font-weight: 700;
  color: rgba(245, 240, 232, 0.48);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.premium-pickup-trigger.is-empty .premium-pickup-title {
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  color: rgba(245, 240, 232, 0.78);
}

.premium-pickup-trigger i {
  flex: 0 0 auto;
  color: #d4af37;
  font-size: 18px;
}

.premium-pickup-trigger.is-open {
  border-color: rgba(212, 175, 55, 0.7);
  box-shadow: 0 12px 32px rgba(0,0,0,0.24), inset 0 1px 0 rgba(255,255,255,0.055);
}

.premium-pickup-menu {
  position: fixed;
  z-index: 99999;
  overflow: hidden;
  border-radius: 16px;
  background:
    radial-gradient(circle at 30% 0%, rgba(212,175,55,0.10), transparent 42%),
    #141416;
  border: 1px solid rgba(212,175,55,0.24);
  box-shadow: 0 22px 55px rgba(0,0,0,0.42);
  animation: premiumPickupDrop .16s ease-out;
}

.premium-pickup-menu .premium-pickup-head {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.075);
}

.premium-pickup-menu .premium-pickup-head h3 {
  font-size: 12px;
  color: #d4af37;
  text-transform: uppercase;
}

.premium-pickup-menu .premium-pickup-list {
  max-height: inherit;
  overflow-y: auto;
  padding: 4px 12px 8px;
}

.premium-pickup-menu .premium-pickup-option {
  min-height: 58px;
  padding: 10px 0;
  gap: 10px;
}

.premium-pickup-menu .premium-pickup-option-copy {
  gap: 3px;
}

.premium-pickup-menu .premium-pickup-option-copy strong {
  font-size: 13px;
}

.premium-pickup-menu .premium-pickup-option-copy small {
  font-size: 10.5px;
}

.premium-pickup-menu .premium-pickup-soon {
  padding: 5px 9px;
  font-size: 9px;
}

@keyframes premiumPickupDrop {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.premium-pickup-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.premium-pickup-head h3 {
  margin: 0;
  color: #fff8ec;
  font-family: var(--font-expand-subject);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.15;
}

.premium-pickup-list {
  max-height: calc(min(78vh, 720px) - 104px);
  overflow-y: auto;
  padding: 10px 24px 24px;
}

.premium-pickup-option {
  width: 100%;
  min-height: 72px;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: transparent;
  color: #fff8ec;
  padding: 15px 0;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  cursor: pointer;
}

.premium-pickup-option:last-child {
  border-bottom: 0;
}

.premium-pickup-option-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
  flex: 1;
}

.premium-pickup-option-copy strong {
  color: #fff8ec;
  font-family: var(--font-expand-subject);
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.12;
}

.premium-pickup-option-copy small {
  color: rgba(255,255,255,0.44);
  font-size: clamp(12px, 1.55vw, 16px);
  font-weight: 800;
  line-height: 1.25;
}

.premium-pickup-option i {
  color: #d4af37;
  opacity: 0;
  font-size: 20px;
}

.premium-pickup-option.is-selected i {
  opacity: 1;
}

.premium-pickup-option.is-disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.premium-pickup-soon {
  flex: 0 0 auto;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.48);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.btn-book-bike {
  width: 100%;
  background: #d4af37;
  color: #111;
  border: none;
  padding: 12px;
  border-radius: 20px;
  font-weight: 800;
  font-family: var(--font-expand-subject);
  cursor: pointer;
  margin-top: 5px;
}
.btn-book-bike:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/*----========ENd-======of previous css=== */

/* ========================================= */
/* SIDEBAR WIDGET UPDATES (Bike Form)        */
/* ========================================= */

/* Centered Header */
.widget-head-centered {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 12px;
  row-gap: 4px;
  text-align: left;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 14px;
  position: relative;
}

.widget-head-centered::after {
  content: "FAST DISPATCH";
  grid-column: 2;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 3px 8px;
  border-radius: 999px;
  color: #d4af37;
  background: rgba(212,175,55,0.09);
  border: 1px solid rgba(212,175,55,0.22);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.6px;
}

.floating-img-wrapper {
  grid-row: 1 / span 2;
  height: 54px;
  width: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0;
}

.floating-img-wrapper picture {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Reuse the Parcel Float Animation for the Bike */
.animated-bike {
  height: 100%;
  max-height: 54px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(0,0,0,0.48));
  /* Floating animation */
  animation: parcelFloat 3s ease-in-out infinite;
}

.widget-head-centered h3 {
  color: #d4af37;
  font-family: var(--font-expand-subject);
  font-size: 15px;
  line-height: 1.15;
  letter-spacing: 0.8px;
  margin: 0;
}

/* Form Sections */
.form-section-group {
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px dashed rgba(255,255,255,0.1); /* Separator line */
}

.section-label {
  color: #e6b35c;
  font-size: 12px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: var(--font-expand-subject);
}

.bike-field-hint,
.bike-step-alert {
  font-size: 11px;
  line-height: 1.45;
  font-weight: 700;
}

.bike-field-hint {
  margin: -4px 0 9px;
  color: rgba(245, 240, 232, 0.48);
}

.bike-step-alert {
  display: none;
  margin: 0 0 10px;
  padding: 9px 11px;
  color: #ffd36a;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 10px;
}

.bike-step-alert.is-visible {
  display: block;
}

/* Textarea styling */
.note-area {
  resize: none; /* Prevent manual resizing */
  height: 54px;
  font-family: var(--font-search);
}

/* Fragile Radio Toggle */
.fragile-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01)),
    #242424;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.075);
}

.bike-referral-fragile-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.bike-referral-fragile-row .fragile-wrapper,
.bike-referral-fragile-row .widget-input {
  min-height: 42px;
  margin-bottom: 0;
}

.bike-referral-fragile-row .fragile-title {
  min-width: 0;
  font-size: 12px;
}

.bike-referral-fragile-row .radio-toggle-group {
  gap: 6px;
}

.bike-referral-fragile-row .radio-btn span {
  padding: 4px 8px;
  font-size: 10px;
}

.bike-referral-fragile-row .referral-feedback {
  margin-top: 4px;
}

.fragile-title {
  color: #ccc;
  font-size: 13px;
}

.radio-toggle-group {
  display: flex;
  gap: 10px;
}

.radio-btn {
  cursor: pointer;
  position: relative;
}

.radio-btn input {
  display: none; /* Hide real radio button */
}

.radio-btn span {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  background: #333;
  color: #777;
  transition: all 0.3s;
  font-weight: 700;
}

/* Styling when selected */
.radio-btn input:checked + span {
  color: #000;
}
/* Yes becomes Red/Warning color when checked */
.radio-btn input[value="yes"]:checked + span {
  background: #ff4d4d;
}
/* No becomes Gold when checked (Default) */
.radio-btn input[value="no"]:checked + span {
  background: #d4af37;
}

/* Legal Disclaimer */
.legal-disclaimer {
  text-align: center;
  font-size: 11px;
  color: #ff4d4d; /* Red warning color */
  margin-top: 15px;
  opacity: 0.8;
}

/*---=========Extra--==========*/

/* ========================================= */
/* EXPRESS BIKE INTERNAL 3-STEP SLIDER       */
/* ========================================= */

/* Keep fix isolated to the bike widget only */
.bike-box{
  position: relative;
  overflow: visible;
  border-color: rgba(212,175,55,0.14);
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 0%, rgba(212,175,55,0.08), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.006)),
    #191919;
  box-shadow:
    0 20px 44px rgba(0,0,0,0.34),
    inset 0 1px 0 rgba(255,255,255,0.035);
}

.bike-widget-body{
  display: flex;
  flex-direction: column;
}

/* Top mini stepper */
.bike-mini-stepper{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  padding-bottom: 0;
  border-bottom: 0;
}

.bike-mini-step{
  position: relative;
  flex: 1;
  text-align: center;
  color: rgba(245,240,232,0.38);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.25px;
  text-transform: uppercase;
  padding: 8px 7px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 999px;
  background: rgba(255,255,255,0.025);
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.bike-mini-step.active{
  color: #d4af37;
  border-color: rgba(212,175,55,0.42);
  background: rgba(212,175,55,0.08);
}

.bike-mini-line{
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -1px;
  width: auto;
  height: 2px;
  background: #d4af37;
  border-radius: 999px;
  box-shadow: 0 0 8px rgba(212,175,55,0.45);
}

.bike-form-viewport{
  position: relative;
  min-height: 0;
  height: auto;
  overflow: visible;
}

/* Each slide lives inside same card space */
.bike-form-step{
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(30px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    visibility 0s linear 0.35s;
  
  display: flex;
  flex-direction: column;
  height: auto;
  z-index: 0;
}

.bike-form-step.active-bike-step{
  position: relative;
  inset: auto;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    visibility 0s linear 0s;
  z-index: 2;
}

/* Keep the form fixed in the card; the page handles any scrolling. */
.bike-section-group{
  flex: 0 0 auto;
  overflow: visible;
  padding-right: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.bike-step-actions .btn-book-bike{
  flex: 1;
  margin-top: 0;
}

/* Tighten Step 1 and Step 2 only */
#bike-step-1 .bike-section-group,
#bike-step-2 .bike-section-group{
  flex: 0 0 auto;
  overflow-y: visible;
  padding-right: 0;
}

#bike-step-1 .form-section-group,
#bike-step-2 .form-section-group{
  margin-bottom: 0;
  padding-bottom: 0;
}

#bike-step-1 .bike-step-actions,
#bike-step-2 .bike-step-actions{
  margin-top: 6px;
}

/* Cleaner inline state/city row */
.bike-row-inline{
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  position: relative;
}

.bike-row-inline .premium-pickup-trigger {
  flex: 1 1 0;
  min-width: 0;
}

.bike-row-inline .premium-pickup-trigger:first-of-type {
  flex: 0 0 min(42%, 210px);
}

/* Step buttons */
.bike-step-actions{
  display: flex;
  gap: 5px;
  margin-top: 14px;
}

.bike-step-actions-single{
  justify-content: flex-end;
}

.bike-nav-btn{
  appearance: none;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 11px 18px;
  min-height: 44px;
  font-family: var(--font-expand-subject);
  font-size: 12px;
  letter-spacing: 0.6px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.bike-nav-btn:hover{
  transform: translateY(-1px);
}

.bike-back-btn{
  flex: 1;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(245,240,232,0.7);
}

.bike-back-btn:hover{
  border-color: #999;
  color: #fff;
}

.bike-next-btn{
  flex: 1;
  background: #d4af37;
  color: #111;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(212,175,55,0.16);
}

.bike-next-btn:hover{
  box-shadow: 0 10px 22px rgba(212,175,55,0.28);
}

/* Final submit keeps your existing backend button class */
.bike-step-actions .btn-book-bike{
  flex: 1;
  margin-top: 0;
}

/* Confirm panel */
.bike-confirm-group{
  overflow: visible;
  padding-right: 0;
}

.bike-confirm-card{
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 14px;
}

.bike-confirm-block h5{
  color: #d4af37;
  font-family: var(--font-expand-subject);
  font-size: 12px;
  letter-spacing: 0.7px;
  margin-bottom: 10px;
}

.bike-confirm-block p{
  color: #d5d5d5;
  font-size: 12px;
  line-height: 1.55;
  margin-bottom: 8px;
  word-break: break-word;
}

.bike-confirm-block p strong{
  color: #fff;
  font-weight: 700;
}

.bike-confirm-divider{
  height: 1px;
  margin: 14px 0;
  background: linear-gradient(to right, transparent, rgba(212,175,55,0.45), transparent);
}

.bike-confirm-question{
  margin-top: 16px;
  background: rgba(212,175,55,0.08);
  border: 1px solid rgba(212,175,55,0.18);
  color: #e6c873;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  font-weight: 700;
}

/* Mobile */
@media (max-width: 992px){
  .bike-form-viewport{
    min-height: 0;
    height: auto;
  }
}

@media (max-width: 768px){
  .widget-head-centered {
    margin-bottom: 14px;
  }

  .bike-mini-stepper{
    gap: 5px;
    margin-bottom: 12px;
  }

  .bike-mini-step{
    font-size: 9px;
    letter-spacing: 0;
    padding: 7px 5px;
  }

  .bike-form-viewport{
    min-height: 0;
    overflow: visible;
    -webkit-overflow-scrolling: touch;
  }

  .bike-form-step{
    min-height: 0;
  }

  .bike-row-inline{
    flex-direction: row;
    align-items: stretch;
  }

  .bike-referral-fragile-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
  }

  .bike-referral-fragile-row .fragile-title {
    font-size: 11px;
  }

  .bike-row-inline .widget-input:first-child{
    flex: 1;
  }

  .bike-row-inline .widget-input:last-child{
    width: 120px;
    flex: 0 0 120px;
  }

  .bike-step-actions{
    position: static;
    background: transparent;
    padding-top: 0;
  }

  .bike-confirm-block p{
    font-size: 11px;
  }
}

@media (max-width: 420px){
  .bike-form-viewport{
    min-height: 0;
  }

  .bike-form-step{
    min-height: 0;
  }

  .bike-nav-btn{
    font-size: 11px;
    padding: 11px 14px;
  }

  .bike-mini-step{
    font-size: 9px;
  }
}


/*---=========End--==========*/


/* Reviews Layout */
.reviews-layout {
  display: flex;
  gap: 15px;
}
.mini-map {
  flex: 1;
  background: #e5e5e5;
  border-radius: 8px;
  height: 120px;
  position: relative;
  overflow: hidden;
  opacity: 0.9;
}
.route-line {
  position: absolute;
  top: 20%; left: 20%;
  width: 60%; height: 50%;
  border-left: 2px solid #000;
  border-bottom: 2px solid #000;
}
.map-dot {
  width: 8px; height: 8px;
  background: #000;
  border: 2px solid #d4af37;
  border-radius: 50%;
  position: absolute;
}
.d1 { top: 15%; left: 15%; }
.d2 { bottom: 25%; right: 15%; }

.review-stack {
  flex: 1.3;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review-entry {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.user-avatar {
  width: 28px; height: 28px;
  background: #d4af37;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #000;
  flex-shrink: 0;
}
.review-content .stars {
  color: #d4af37;
  font-size: 10px;
  letter-spacing: 1px;
}
.review-text {
  color: #888;
  font-size: 10px;
  line-height: 1.3;
  margin: 3px 0 0 0;
}

/* Responsive Handling */
@media (max-width: 992px) {
  .logistics-dashboard {
    flex-direction: column;
  }
  .interface-split {
    flex-direction: column;
  }
  .visual-zone {
    margin-bottom: 20px;
  }
}


/*+++++++subform+++++++++*/

/* ========================================= */
/* SAVER MODAL STYLES (Glassmorphism)        */
/* ========================================= */

/* The Background Overlay */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Dark Dim */
  backdrop-filter: blur(8px); /* Blur the page behind */
  z-index: 2000; /* Sit on top of everything */
  
  /* Flex Center the Form */
  display: flex;
  justify-content: center;
  align-items: center;
  
  /* Hidden by default */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* The Glass Card Form */
.glass-modal-content {
  background: rgba(28, 28, 28, 0.95);
  border: 1px solid #d4af37;
  border-radius: 20px;
  padding: 40px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh; /* Don't overflow screen height */
  overflow-y: auto; /* Scroll if form is long */
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.8);
  
  transform: translateY(30px);
  transition: transform 0.3s ease;
}

.modal-overlay.open .glass-modal-content {
  transform: translateY(0);
}

/* Modal Header */
.modal-header {
  text-align: center;
  margin-bottom: 25px;
}
.modal-header h2 {
  color: #d4af37;
  font-family: var(--font-expand-subject);
  font-size: 28px;
  letter-spacing: 1px;
}
.modal-accent-bar {
  width: 60px; height: 3px; background: #d4af37;
  margin: 8px auto 0;
}

/* Close Button (X) */
.modal-close-btn {
  position: absolute;
  top: 20px; right: 20px;
  background: transparent;
  border: 1px solid #444;
  color: #fff;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s;
}
.modal-close-btn:hover {
  background: #ff4d4d;
  border-color: #ff4d4d;
  transform: rotate(90deg);
}

/* Illegal Items Warning */
.illegal-warning-banner {
  background: rgba(255, 77, 77, 0.15);
  border-left: 4px solid #ff4d4d;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 30px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
.illegal-warning-banner i {
  font-size: 30px;
  color: #ff4d4d;
}
.illegal-warning-banner p {
  color: #ff4d4d;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
}
.illegal-warning-banner span {
  font-weight: 400;
  color: #ccc;
  font-size: 12px;
}

/* Form Layout Grids */
.modal-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.modal-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}
.modal-sub-header {
  color: #ccc;
  font-family: var(--font-expand-subject);
  border-bottom: 1px solid #333;
  padding-bottom: 5px;
  margin-bottom: 15px;
  font-size: 15px;
}
.tiny-note {
  display: block;
  font-size: 10px;
  color: #666;
  margin-top: -10px; /* pull closer to input */
  margin-bottom: 15px;
  font-style: italic;
}

/* Submit Button */
.saver-submit-btn {
  width: 100%;
  margin-top: 20px;
  background: linear-gradient(135deg, #d4af37, #f5c46b);
  border: none;
  padding: 16px;
  border-radius: 8px;
  font-weight: 800;
  font-family: var(--font-expand-subject);
  cursor: pointer;
  color: #000;
  font-size: 16px;
  box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
  transition: transform 0.2s;
}
.saver-submit-btn:hover {
  transform: scale(1.02);
}

#saverModal.modal-overlay {
  display: block;
  padding: 28px 34px;
  background: transparent;
  backdrop-filter: none;
  pointer-events: none;
  --saver-modal-left: auto;
  --saver-modal-top: 28px;
  --saver-modal-width: clamp(380px, 30vw, 560px);
  --saver-modal-max-height: calc(100vh - 56px);
}

#saverModal.modal-overlay.open {
  pointer-events: none;
}

#saverModal .saver-compact-panel {
  pointer-events: auto;
  position: fixed;
  left: var(--saver-modal-left);
  top: var(--saver-modal-top);
  width: var(--saver-modal-width);
  max-width: calc(100vw - 68px);
  max-height: var(--saver-modal-max-height);
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(212, 175, 55, 0.58);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012)),
    rgba(24, 24, 23, 0.98);
  box-shadow: 0 18px 52px rgba(0,0,0,0.46);
  transform: translateX(28px);
}

#saverModal.open .saver-compact-panel {
  transform: translateX(0);
}

#saverModal .modal-close-btn {
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  font-size: 17px;
  background: rgba(255,255,255,0.04);
}

#saverModal .modal-header {
  text-align: left;
  margin-bottom: 14px;
  padding-right: 42px;
}

#saverModal .modal-header h2 {
  font-size: 18px;
  letter-spacing: 0.7px;
}

#saverModal .modal-accent-bar {
  width: 44px;
  height: 2px;
  margin: 7px 0 0;
}

#saverModal .illegal-warning-banner {
  margin-bottom: 16px;
  padding: 10px 12px;
  gap: 10px;
  border-left-width: 3px;
  border-radius: 10px;
}

#saverModal .illegal-warning-banner i {
  font-size: 20px;
}

#saverModal .illegal-warning-banner p {
  font-size: 11px;
  line-height: 1.35;
}

#saverModal .illegal-warning-banner span {
  font-size: 10px;
}

#saverModal #saverForm {
  display: grid;
  gap: 10px;
}

#saverModal .modal-sub-header {
  margin: 8px 0 4px;
  padding-bottom: 5px;
  font-size: 11px;
  color: #e8c65f;
  letter-spacing: 0.45px;
}

#saverModal .modal-grid-3,
#saverModal .modal-grid-2 {
  gap: 10px;
}

#saverModal .modal-grid-3 {
  grid-template-columns: 1fr;
}

#saverModal .modal-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#saverModal .log-input {
  min-height: 42px;
  margin: 0;
  padding: 10px 12px;
  border-radius: 11px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.035), rgba(255,255,255,0.008)),
    #222221;
  color: #f2eee7;
  font-size: 12px;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.035);
}

#saverModal .log-input::placeholder {
  color: rgba(245,245,245,0.44);
}

#saverModal .log-input:focus {
  border-color: rgba(212,175,55,0.58);
  outline: none;
}

#saverModal .saver-field-shell {
  position: relative;
  display: block;
  min-width: 0;
}

#saverModal .saver-field-shell .log-input {
  padding-right: 24px;
}

#saverModal .saver-required-star {
  position: absolute;
  top: 50%;
  right: 11px;
  transform: translateY(-50%);
  color: #ff4d4d;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

#saverModal .saver-required-star-inline {
  color: #ff4d4d;
  font-size: 11px;
  font-weight: 900;
}

#saverModal .select-wrapper {
  margin: 0;
}

#saverModal .saver-location-grid {
  gap: 12px;
}

#saverModal .saver-location-grid .select-wrapper {
  display: grid;
  gap: 5px;
}

#saverModal .saver-location-label {
  color: rgba(232, 198, 95, 0.82);
  font-family: var(--font-expand-subject);
  font-size: 9px;
  letter-spacing: 0.45px;
  text-transform: uppercase;
}

#saverModal .premium-pickup-trigger {
  min-height: 46px;
  border-radius: 12px;
  padding: 8px 10px;
}

#saverModal .premium-pickup-title {
  font-size: 11px;
}

#saverModal .premium-pickup-subtitle {
  font-size: 9px;
}

#saverModal .fragile-wrapper {
  min-height: 42px;
  margin: 0 !important;
  padding: 8px 10px;
  border-radius: 11px;
}

#saverModal .fragile-title {
  font-size: 11px;
  font-weight: 800;
}

#saverModal .radio-toggle-group {
  gap: 6px;
}

#saverModal .radio-btn span {
  font-size: 10px;
  padding: 4px 8px;
}

#saverModal .saver-submit-btn {
  margin-top: 8px;
  min-height: 46px;
  padding: 13px;
  border-radius: 13px;
  font-size: 12px;
  letter-spacing: 0.45px;
}

#saverModal .referral-feedback {
  grid-column: 1 / -1;
  min-height: 0;
}

#saverModal .saver-referral-fragile-row {
  align-items: start;
}

#saverModal .saver-referral-fragile-row .referral-feedback {
  margin-top: 4px;
}

#saverModal .saver-item-description-label {
  margin-bottom: -4px;
}

#saverModal #scheduleFields {
  margin-bottom: 6px !important;
  padding: 10px !important;
  border-radius: 12px !important;
}

@media (max-width: 1100px) {
  #saverModal.modal-overlay {
    padding: 18px;
    --saver-modal-width: min(420px, 44vw);
  }

  #saverModal .saver-compact-panel {
    max-width: calc(100vw - 36px);
  }
}

@media (max-width: 768px) {
  #saverModal.modal-overlay {
    align-items: flex-end;
    padding: 12px;
    background: rgba(0,0,0,0.28);
    pointer-events: none;
  }

  #saverModal .saver-compact-panel {
    left: 12px;
    right: 12px;
    top: auto;
    bottom: 12px;
    width: auto;
    max-width: none;
    max-height: 78vh;
    border-radius: 20px;
    transform: translateY(24px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 14px;
  }

  #saverModal.open .saver-compact-panel {
    transform: translateY(0);
  }

  #saverModal .modal-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
  }

  #saverModal .modal-header,
  #saverModal .illegal-warning-banner {
    flex: 0 0 auto;
  }

  #saverModal #saverForm {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-right: 2px;
  }

  #saverModal .saver-submit-btn {
    position: sticky;
    bottom: 0;
    z-index: 4;
    margin-top: 10px;
    box-shadow:
      0 -14px 20px rgba(24,24,23,0.92),
      0 8px 22px rgba(212,175,55,0.24);
  }

  #saverModal #scheduleFields {
    margin-bottom: 4px !important;
    padding: 5px !important;
    border-radius: 10px !important;
  }

  #saverModal #scheduleFields .modal-sub-header {
    margin: 0 0 5px !important;
    font-size: 10px;
  }

  #saverModal #scheduleFields .modal-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  #saverModal #scheduleFields .tiny-note {
    margin-bottom: 3px !important;
    font-size: 8px;
    letter-spacing: 0.45px;
  }

  #saverModal #scheduleFields .log-input {
    min-height: 34px;
    padding: 6px 8px;
    font-size: 11px;
  }

  #saverModal .modal-grid-3,
  #saverModal .modal-grid-2 {
    grid-template-columns: 1fr;
  }

  #saverModal .saver-location-grid,
  #saverModal .saver-referral-fragile-row,
  #saverModal .saver-delivery-contact-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  #saverModal .saver-referral-fragile-row .fragile-wrapper {
    min-height: 42px;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .modal-grid-3, .modal-grid-2 {
    grid-template-columns: 1fr; /* Stack inputs on mobile */
  }
}

/*+++++end+++++*/

/* ========================================= */
/* HEADER UPDATES & MOBILE MENU              */
/* ========================================= */

/* 1. Make Search Invisible but keep space */
.invisible-mode {
  visibility: hidden; /* Hides it but keeps the layout gap */
  pointer-events: none; /* Prevents clicking */
}

/* 2. Hide Mobile Elements on Desktop */
.mobile-nav-trigger, .mobile-menu-overlay {
  display: none;
}

/* ========================================= */
/* MOBILE VIEW STYLES                        */
/* ========================================= */
/* ========================================= */
/* MOBILE RESPONSIVENESS & MENU (FIXED)      */
/* ========================================= */

@media (max-width: 768px) {
  /* Hide the Header Search Bar on small screens */
  .search-zone {
    display: none;
  }
}

/* ========================================= */
/* MOBILE MENU REDESIGN                      */
/* ========================================= */

@media (max-width: 992px) {

  /* 1. HEADER LAYOUT FIX */
  .main-header {
    width: auto; /* cancel the desktop 80% trim on mobile */
    margin: 10px 16px;
    height: 70px; /* Fixed height for stability */
    display: flex;
    align-items: center;
    justify-content: center; /* Centers the inner content */
    padding-bottom: 0;
    z-index: 1000;
  }

  .header-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Pushes Logo Left, Menu Right */
    padding: 0 10px;
    position: static;
  }

  /* Hide Desktop Elements */
  .header-actions, .search-zone { display: none !important; }

  /* 2. LOGO RESIZING & POSITIONING */
  .logo-zone {
    position: relative;
    top: auto; left: auto; /* Reset absolute positioning */
    display: flex;
    align-items: center;
    margin-left: -55px; /* Slight left pull (10px further back) */
    margin-top: 5px;    /* nudged down */
  }

  .logo-zone img {
    height: 125px; /* Much smaller to fit inside header */
    width: auto;
    object-fit: contain;
    margin-top: 30px; /* Nudge down */
  }

  /* 3. PAGE TITLE CENTERED (THE FIX) */
  .page-indicator {
    position: absolute;
    left: 50%;
    transform: translateX(-50%); /* Dead center */
    margin: 0; /* REMOVES THE 280px PUSH */
    padding: 0;
    white-space: nowrap;
    top: 24px;
    width: auto;
  }

  .page-title {
    font-size: 16px;
    letter-spacing: 1px;
    color: #d4af37;
  }
  
  /* Hide the underline on mobile for cleaner look */
  .active-underline { display: none; }

  /* 4. CIRCULAR MENU BUTTON */
  .mobile-nav-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; 
    height: 40px;
    background: transparent;
    border: 2px solid #d4af37;
    border-radius: 50%; /* Makes it a circle */
    cursor: pointer;
    z-index: 1100;
    transition: all 0.3s ease;
    
    /* Ensure it stays to the right */
    position: relative; 
    right: auto;
    top: auto;
    transform: none;
  }

  /* Hamburger Lines */
  .hamburger-lines {
    width: 20px;
    height: 14px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .line {
    display: block;
    height: 2px;
    width: 100%;
    background: #d4af37;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.2s;
  }

  /* ANIMATION: TURN TO 'X' WHEN ACTIVE */
  .mobile-nav-trigger.active {
    background: #d4af37; /* Optional: Fill circle when active */
  }
  .mobile-nav-trigger.active .line { background: #1c1c1c; } /* Lines turn dark */
  
  .mobile-nav-trigger.active .line1 {
    transform: rotate(45deg);
    position: absolute;
    top: 6px;
  }
  .mobile-nav-trigger.active .line2 { opacity: 0; }
  .mobile-nav-trigger.active .line3 {
    transform: rotate(-45deg);
    position: absolute;
    top: 6px;
  }

  /* 5. THE FLOATING CARD MENU (EXACT LOOK) */
  .mobile-menu-overlay {
    /* VISIBILITY CONTROL */
    display: block; 
    
    position: fixed;
    top: 100px; /* Below the header */
    left: 50%;
    transform: translateX(-50%) translateY(-20px); /* Centered horizontal, slightly up */
    
    width: 280px; /* Fixed width like the card */
    background: rgba(28, 28, 28, 0.98);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 999;
  }

  .mobile-menu-overlay.menu-active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }

  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .m-link {
    font-family: "Exo 2", sans-serif; /* Matches the clean look */
    font-size: 14px;
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 15px;
  }

  /* GOLD SQUARE BULLETS */
  .m-link::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    border: 1.5px solid #d4af37; /* Hollow gold square */
    background: transparent;
    flex-shrink: 0;
  }

  .m-link:hover {
    color: #d4af37;
  }
}

/* ========================================= */
/* HIDE MOBILE ELEMENTS ON DESKTOP           */
/* ========================================= */

@media (min-width: 993px) {
  .mobile-menu-overlay, 
  .mobile-nav-trigger {
    display: none !important;
  }
}

/* ========================================= */
/* TABLET / IPAD PRO FIX (1024px)            */
/* ========================================= */

@media screen and (max-width: 1024px) {
  /* Hides the search bar on iPad Pro to prevent layout break */
  .search-zone {
    display: none !important;
  }

  /* Pushes the buttons to the right */
  .header-actions {
    margin-left: auto; 
  }
}

/* Ensure it's hidden on Desktop */
@media (min-width: 993px) {
    .mobile-menu-overlay {
        display: none !important;
    }
}





/* ========================================= */
/* REVIEWS SECTION STYLES                    */
/* ========================================= */

.reviews-section {
  position: relative;
  height: 500px; /* Tall enough for the circle and float */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 80px;
  background: #f4f1ec; /* Match body bg */
}

/* Background Map (Faded) */
.reviews-bg-map {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 800px;
  opacity: 0.08; /* Very subtle watermark */
  pointer-events: none;
  z-index: 0;
}
.reviews-bg-map img {
  width: 100%;
  height: auto;
}

.reviews-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.reviews-stage {
  position: relative;
  width: 350px;
  height: 350px;
}

/* --- THE CIRCULAR REVIEW CARD --- */
.review-circle-card {
  position: absolute;
  top: 0; left: 0;
  width: 350px; 
  height: 350px;
  border-radius: 50%;
  
  /* Glassmorphism */
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.4); /* Gold Border */
  
  box-shadow: 
    0 15px 40px rgba(0,0,0,0.1),
    0 0 0 10px rgba(255, 255, 255, 0.2); /* Outer Ring Effect */

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px;
  
  /* Animation State: Hidden by default */
  opacity: 0;
  transform: translateX(100px) scale(0.9);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  pointer-events: none;
}

/* ACTIVE STATE (Center Stage) */
.review-circle-card.active {
  opacity: 1;
  transform: translateX(0) scale(1);
  z-index: 10;
}

/* EXIT STATE (Sliding Left) */
.review-circle-card.exit {
  opacity: 0;
  transform: translateX(-150px) scale(0.9) rotate(-10deg);
}

/* CONTENT STYLING */
.rev-header {
  margin-top: 20px;
}
.rev-name {
  color: #d4af37;
  font-family: var(--font-expand-subject);
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.rev-location {
  display: block;
  font-size: 12px;
  color: #666;
  font-weight: 700;
  margin-top: 2px;
}

.rev-body {
  margin: 15px 0;
}
.rev-text {
  font-family: var(--font-expand-body);
  font-size: 15px;
  color: #333;
  font-style: italic;
  line-height: 1.4;
  margin-bottom: 8px;
}
.rev-stars {
  color: #d4af37;
  font-size: 14px;
  letter-spacing: 3px;
}

/* FLOATING IMAGE AT BOTTOM */
.rev-img-wrapper {
  margin-top: auto; /* Push to bottom */
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid #fff;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  transform: translateY(20px); /* Hangs slightly off visually */
}
.rev-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .review-circle-card {
    width: 300px;
    height: 300px;
  }
}


/* ========================================= */
/* REVIEW INPUT STYLES                       */
/* ========================================= */

/* The Ghost Button */
.btn-write-review {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 50;
  background: rgba(28,28,28,0.8);
  border: 1px solid #d4af37;
  color: #d4af37;
  padding: 8px 15px;
  border-radius: 20px;
  cursor: pointer;
  font-family: var(--font-expand-subject);
  font-size: 12px;
  transition: all 0.3s ease;
}
.btn-write-review:hover {
  background: #d4af37;
  color: #000;
}

/* THE INVISIBLE SWITCH: */
/* Add or remove this class in HTML to hide/show the button */
/*.btn-write-review.hidden { */
/*  display: none;
/*}*/

/* Modal Adjustments */
.review-modal-size {
  max-width: 500px;
}

/* Star Rating Logic (Reverse Flex for CSS Selection) */
.star-rating-group {
  display: flex;
  flex-direction: row-reverse; /* Allows hover logic to work */
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.star-rating-group input {
  display: none; /* Hide Radio Buttons */
}

.star-rating-group label {
  font-size: 30px;
  color: #444;
  cursor: pointer;
  transition: color 0.2s;
}

/* Hover & Checked States */
.star-rating-group input:checked ~ label,
.star-rating-group label:hover,
.star-rating-group label:hover ~ label {
  color: #d4af37; /* Gold */
}



@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* ========================================= */
/* MAIN BODY SAVER BUTTON STYLES             */
/* ========================================= */

.saver-trigger-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px; /* fills the empty vertical space */
  margin-bottom: 30px;
  text-align: center;
}

.trigger-hint {
  color: #888;
  font-family: var(--font-expand-body);
  font-size: 14px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-main-saver {
  background: #111;
  color: #d4af37;
  border: 1px solid #d4af37;
  padding: 15px 40px;
  border-radius: 50px;
  font-family: var(--font-expand-subject);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.2);
  transition: all 0.3s ease;
  
  /* Constant Pulse Animation */
  animation: goldPulse 2s infinite;
}

.btn-main-saver i {
  margin-right: 8px;
  font-size: 18px;
}

.btn-main-saver:hover {
  background: #d4af37;
  color: #000;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.4);
}

@keyframes goldPulse {
  0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

/* HIDE ON DESKTOP IF NEEDED */
/* If you only want this on mobile where the space is larger, uncomment below */
/*
@media (min-width: 992px) {
  .saver-trigger-zone { display: none; }
}
*/


/* The Tips Board */

/* --- INFO GUIDE SECTION --- */
.info-guide-section {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto 40px auto; /* Spacing between cards and main booking */
    padding: 0 20px;
    box-sizing: border-box;
}

.info-board-glass {
    display: flex;
    align-items: stretch; /* Makes line stretch full height */
    justify-content: space-between;
    background: #1a1a1a; /* Dark background matching your theme */
    border: 1px solid #333;
    border-radius: 16px;
    padding: 30px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    overflow: hidden;
}

/* Subtle Glow Effect behind the board */
.info-board-glass::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    opacity: 0.5;
}

/* --- COLUMNS --- */
.info-col {
    flex: 1; /* Takes equal space */
    padding: 0 20px;
}

.info-title {
    color: #d4af37; /* Oladay Gold */
    font-family: 'Poppins', sans-serif; /* Or your main font */
    font-size: 18px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    color: #ccc;
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 10px;
    padding-left: 15px;
    position: relative;
}

/* Custom Bullet Point */
.info-list li::before {
    content: '•';
    color: #d4af37;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.info-list li strong {
    color: #fff;
}

.info-list li b {
    color: #2ecc71; /* Green for prices/emphasis */
}

/* --- THE FLOATING CENTER LINE --- */
.float-line-divider {
    width: 1px;
    background: linear-gradient(to bottom, transparent, #d4af37, transparent);
    margin: 0 20px;
    opacity: 0.6;
}

@media (min-width: 769px) {
    .info-guide-section {
        max-width: 620px;
        margin: 20px auto 40px auto;
    }

    .info-card-rotator {
        position: relative;
        min-height: 310px;
    }

    .info-board-glass {
        display: block;
        padding: 26px 32px 22px;
    }

    .info-card-rotator .info-rotator-card {
        position: absolute;
        inset: 0;
        width: 100%;
        opacity: 0;
        transform: translateX(42px);
        pointer-events: none;
        transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
        will-change: opacity, transform;
    }

    .info-rotator-card.active {
        opacity: 1;
        transform: translateX(0);
        pointer-events: auto;
        z-index: 2;
    }

    .info-rotator-card.exit {
        opacity: 0;
        transform: translateX(-42px);
        pointer-events: none;
        z-index: 1;
    }

    .info-col {
        padding: 0;
    }

    .info-title {
        font-size: 17px;
        margin-bottom: 14px;
    }

    .info-list li {
        line-height: 1.65;
        margin-bottom: 8px;
    }

    .float-line-divider {
        width: 100%;
        height: 1px;
        margin: 24px 0 0;
        background: linear-gradient(to right, transparent, #d4af37, transparent);
    }

}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    .info-guide-section {
        position: relative;
        min-height: 420px;
        max-width: 520px;
        margin: 18px auto 28px;
        padding: 0 18px;
    }

    .info-board-glass {
        display: block;
        flex-direction: column;
        gap: 0;
        padding: 22px 22px 38px;
        border-radius: 20px;
        background:
            linear-gradient(145deg, rgba(16, 16, 15, 0.98), rgba(34, 33, 30, 0.96)),
            radial-gradient(circle at 88% 10%, rgba(212, 175, 55, 0.16), transparent 40%);
        border: 1px solid rgba(212, 175, 55, 0.34);
        box-shadow:
            0 16px 32px rgba(0, 0, 0, 0.24),
            inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }

    .info-card-rotator .info-rotator-card {
        position: absolute;
        inset: 0 18px auto 18px;
        width: auto;
        opacity: 0;
        transform: translateX(34px);
        pointer-events: none;
        transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
        will-change: opacity, transform;
    }

    .info-card-rotator .info-rotator-card.active {
        opacity: 1;
        transform: translateX(0);
        pointer-events: auto;
        z-index: 2;
    }

    .info-card-rotator .info-rotator-card.exit {
        opacity: 0;
        transform: translateX(-34px);
        pointer-events: none;
        z-index: 1;
    }

    .info-card-rotator .info-rotator-card::after {
        content: "●  ○";
        position: absolute;
        left: 50%;
        bottom: 14px;
        transform: translateX(-50%);
        color: #d4af37;
        font-size: 12px;
        letter-spacing: 8px;
        opacity: 0.78;
    }

    .info-card-rotator .info-rotator-card:nth-of-type(2)::after {
        content: "○  ●";
    }

    .info-title {
        font-size: 16px;
        line-height: 1.25;
        margin-bottom: 16px;
        padding-bottom: 12px;
        border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    }

    .info-title i {
        width: 30px;
        height: 30px;
        display: inline-grid;
        place-items: center;
        flex: 0 0 30px;
        border-radius: 50%;
        color: #101010;
        background: #d4af37;
        box-shadow: 0 0 18px rgba(212, 175, 55, 0.34);
    }

    .info-list li {
        font-size: 12px;
        line-height: 1.6;
        margin-bottom: 9px;
        padding-left: 16px;
    }

    .float-line-divider {
        width: 100%;
        height: 1px;
        background: linear-gradient(to right, transparent, #d4af37, transparent);
        margin: 18px 0 0;
        opacity: 0.35;
    }
    
    .info-col {
        padding: 0;
    }
}




/* ========================================= */
/* SIZE & WEIGHT SLIDER: ENTERPRISE LAYOUT   */
/* (Same HTML/JS. No new deps.)              */
/* ========================================= */

.size-guide-slider-wrapper{
  --card-radius: 20px;
  --pad-x: 0px;
  --pad-y: 0px;
  --controls-h: 0px;

  max-width: 672px;
  margin: 40px auto;
  position: relative;
  z-index: 5;

  background: #191817;
  border: 1px solid rgba(212, 175, 55, 0.78);
  border-radius: var(--card-radius);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.22);
  overflow: hidden;

  /* IMPORTANT: stop flex-centering side effects */
  display: block;
}

/* Container establishes consistent height without “random blank space” */
.size-slider-container{
  position: relative;
  width: 100%;

  min-height: clamp(182px, 18.2vw, 252px);
}

/* Slides are layered, but layout inside is grid (stable) */
.size-slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;

  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(182px, 0.9fr);
  grid-template-rows: 1fr;
  column-gap: 0;
  align-items: stretch;

  transition: opacity 0.45s ease, transform 0.45s ease;
  transform: translateY(6px);
}

.size-slide.active{
  opacity: 1;
  pointer-events: auto;
  z-index: 10;
  transform: translateY(0);
}

/* LEFT */
.slide-content-left{
  text-align: left;
  opacity: 0;
  transform: translateX(-18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  min-width: 0;
  padding: 31px 29px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.size-slide.active .slide-content-left{
  opacity: 1;
  transform: translateX(0);
}

.slide-content-left h4{
  font-family: var(--font-expand-subject);
  color: #e6b35c;
  font-size: clamp(18px, 2.1vw, 27px);
  line-height: 1.15;
  text-transform: uppercase;
  margin: 0 0 10px 0;
  letter-spacing: 0.5px;
}

.slide-content-left p{
  font-family: var(--font-expand-body);
  color: #ad4a4a;
  font-size: clamp(12px, 1.2vw, 15px);
  line-height: 1.35;
  margin: 0 0 18px 0;
}

.service-recommendation{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,211,102,0.10);
  padding: 10px 14px;
  border-radius: 999px;
  font-family: var(--font-search);
  color: #25d366;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 700;
  max-width: 100%;
  box-shadow: inset 0 0 0 2px rgba(37, 211, 102, 0.22);
}

/* RIGHT */
.slide-image-right{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;

  min-height: clamp(182px, 18.2vw, 252px);
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.8) 56%, rgba(244, 241, 236, 0.92) 100%);
  border-left: 1px solid rgba(212, 175, 55, 0.48);
}

.slide-image-right::before {
  content: "";
  position: absolute;
  width: clamp(105px, 12.6vw, 161px);
  height: clamp(105px, 12.6vw, 161px);
  border-radius: 50%;
  background: rgba(230, 179, 92, 0.14);
  filter: blur(2px);
  z-index: -1;
}

.slide-image-right img{
  display: block;
  width: min(74%, 238px);
  height: auto;
  max-height: 210px;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.45s ease, filter 0.45s ease;
}

/* Active image */
.size-slide.active .slide-image-right img{
  transform: translateX(0) scale(1);
  filter: drop-shadow(0 18px 28px rgba(0,0,0,0.28));
  opacity: 1;
}

.size-slide.active + .size-slide{
  opacity: 0;
  z-index: 1;
}
.size-slide.active + .size-slide .slide-content-left{
  opacity: 0;
}
.size-slide.active + .size-slide .slide-image-right img{
  transform: translateX(0) scale(1);
  opacity: 0;
}

/* Hide the rest */
.size-slide.active + .size-slide ~ .size-slide{
  opacity: 0 !important;
  pointer-events: none;
  z-index: 1;
}

/* Controls: pinned bottom-left, but card reserves space so it never overlaps text */
.slider-controls{
  position: absolute;
  left: var(--pad-x);
  bottom: 22px;
  display: flex;
  gap: 14px;
  z-index: 20;
}

.slider-btn{
  background: rgba(20,20,20,0.82);
  border: 2px solid #d4af37;
  color: #d4af37;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 22px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.slider-btn:hover{
  background: #d4af37;
  color: #000;
  transform: translateY(-1px);
}

/* ========================================= */
/* MOBILE: TICKET STYLE SIZE GUIDE CARD      */
/* ========================================= */
@media (max-width: 768px) {

  .size-guide-slider-wrapper {
    --card-radius: 18px;
    --pad-x: 0px;
    --pad-y: 0px;
    --controls-h: 0px;

    margin: 18px 14px 24px;
    overflow: hidden;
    background: #191817;
    border: 1px solid rgba(212, 175, 55, 0.78);
    border-radius: var(--card-radius);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
  }

  .size-slider-container {
    min-height: 178px;
  }

  .size-slide {
    grid-template-columns: minmax(0, 1.25fr) minmax(108px, 0.75fr);
    grid-template-rows: 1fr;
    column-gap: 0;
    align-items: stretch;
    padding: 0;
  }

  .slide-content-left {
    text-align: left;
    transform: none;
    margin-top: 0;
    position: relative;
    z-index: 2;
    min-width: 0;
    padding: 18px 14px 18px 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .slide-content-left h4 {
    font-size: clamp(15px, 4vw, 18px);
    line-height: 1.15;
    margin-bottom: 7px;
    color: #e6b35c;
  }

  .slide-content-left p {
    font-size: 11px;
    line-height: 1.35;
    margin-bottom: 11px;
    color: #ad4a4a;
  }

  .service-recommendation {
    align-self: flex-start;
    font-size: 9px;
    line-height: 1.25;
    padding: 7px 9px;
    border-radius: 999px;
    margin-top: 0;
    max-width: 100%;
    color: #25d366;
    background: rgba(37, 211, 102, 0.1);
    border-left: 0;
    box-shadow: inset 0 0 0 1px rgba(37, 211, 102, 0.22);
  }

  .slide-image-right {
    min-height: 178px;
    padding-top: 0;
    align-items: center;
    justify-content: center;
    isolation: isolate;
    overflow: hidden;
    background:
      radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.8) 56%, rgba(244, 241, 236, 0.92) 100%);
    border-left: 1px solid rgba(212, 175, 55, 0.38);
  }

  .slide-image-right::before {
    content: "";
    position: absolute;
    width: 106px;
    height: 106px;
    border-radius: 50%;
    background: rgba(230, 179, 92, 0.12);
    filter: blur(1px);
    z-index: -1;
  }

  .slide-image-right img {
    width: min(82%, 132px);
    max-height: 128px;
  }

  .size-slide.active + .size-slide {
    opacity: 0;
    z-index: 1;
  }

  .size-slide.active .slide-image-right img {
    transform: translateX(0) scale(1);
  }

  .slider-controls {
    display: none !important;
  }
}

/* Extra small device adjustment */
@media (max-width: 420px) {
  .page-title { 
    font-size: 15px; 
    margin-left: 40px;
  }
}

/* --- FIX FOR SCHEDULE PICKUP INPUTS --- */

#scheduleFields {
  background: rgba(20, 20, 20, 0.95) !important; /* Matches the dark modal */
  border: 1px dashed #d4af37 !important; /* Clearer gold boundary */
}

/* Styles both the Date and Time inputs */
#scheduleFields .log-input {
  background: #111 !important; /* Deep black background */
  color: #fff !important;      /* White text */
  border: 1px solid #333 !important;
  border-bottom: 2px solid #d4af37 !important; /* Gold bottom accent */
  border-radius: 4px;
  padding: 12px;
  font-family: inherit;
  width: 100%;
  appearance: none;
  -webkit-appearance: none; /* Removes iOS default rounding/styling */
}

/* This forces the native iPhone date picker to use Dark Mode */
#schedDate {
  color-scheme: dark; 
}

/* Ensures labels are clearly visible and professional */
.tiny-note {
  color: #d4af37 !important;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 5px;
}

/* Adds a nice hover effect to match your other interactive elements */
#scheduleFields .log-input:focus {
  border-color: #d4af37 !important;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
  outline: none;
}




/* =========================================
   OLADAY SMART NOTICE MODAL
   ========================================= */
.oladay-notice-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 12000;
    padding: 20px;
    animation: oladayFadeIn .25s ease;
}

.oladay-notice-card {
    width: 100%;
    max-width: 460px;
    background: linear-gradient(180deg, #0a0a0a 0%, #111 100%);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.45);
    overflow: hidden;
    color: #fff;
}

.oladay-notice-top {
    padding: 20px 22px 14px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
    background: linear-gradient(135deg, rgba(212,175,55,0.12), rgba(212,175,55,0.03));
}

.oladay-notice-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #d4af37;
    margin-bottom: 10px;
}

.oladay-notice-title {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1.25;
}

.oladay-notice-body {
    padding: 18px 22px 22px;
}

.oladay-notice-text {
    font-size: 14px;
    line-height: 1.7;
    color: #d7d7d7;
    margin-bottom: 18px;
}

.oladay-notice-help {
    background: rgba(212,175,55,0.08);
    border: 1px solid rgba(212,175,55,0.18);
    border-radius: 14px;
    padding: 14px;
    font-size: 13px;
    line-height: 1.6;
    color: #e8d8a2;
    margin-bottom: 18px;
}

.oladay-notice-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.oladay-notice-btn {
    flex: 1;
    min-width: 140px;
    height: 46px;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 800;
    letter-spacing: .4px;
    transition: transform .2s ease, opacity .2s ease;
}

.oladay-notice-btn:hover {
    transform: translateY(-1px);
}

.oladay-notice-btn-primary {
    background: linear-gradient(135deg, #25d366, #1fb857);
    color: #08110b;
}

.oladay-notice-btn-secondary {
    background: linear-gradient(135deg, #d4af37, #f1cf68);
    color: #111;
}

.oladay-notice-btn-dark {
    background: #1a1a1a;
    color: #ddd;
    border: 1px solid rgba(255,255,255,0.08);
}

@keyframes oladayFadeIn {
    from { opacity: 0; transform: scale(.98); }
    to   { opacity: 1; transform: scale(1); }
}




/* ========================================= */
/* BOOKING VIEW BOARD                        */
/* ========================================= */

.booking-board-section{
  width: 100%;
  max-width: 1200px;
  margin: 40px auto 30px;
  padding: 0 20px;
  position: relative;
  z-index: 8;
}

.board{
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(245,166,35,.16);
  background: rgba(6,8,18,.98);
  box-shadow:
    0 48px 96px rgba(0,0,0,.72),
    0 16px 40px rgba(0,0,0,.50),
    0 0 0 1px rgba(245,166,35,.04),
    inset 0 1px 0 rgba(255,255,255,.035),
    inset 0 -1px 0 rgba(0,0,0,.4);
  overflow: hidden;
  isolation: isolate;
}

.board::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(245,166,35,.12) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: 14px 14px;
  opacity: .55;
  z-index: 0;
}

.board::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(245,166,35,.0) 10%,
    rgba(245,166,35,.22) 40%,
    rgba(245,166,35,.38) 50%,
    rgba(245,166,35,.22) 60%,
    rgba(245,166,35,.0) 90%,
    transparent 100%
  );
  box-shadow: 0 0 18px 2px rgba(245,166,35,.18);
  animation: boardScan 9s linear infinite;
  z-index: 2;
  pointer-events: none;
}

@keyframes boardScan{
  0%   { top: 0%; opacity: 0; }
  4%   { opacity: 1; }
  95%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.drop-layer{
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 12;
}

.board-inner{
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

/* header */
.board-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 22px 14px;
  border-bottom: 1px solid rgba(245,166,35,.09);
  background: rgba(3,4,10,.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

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

.brand-mark{
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-orb{
  position: relative;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.brand-orb-ring{
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(245,166,35,.35);
  animation: orbSpin 8s linear infinite;
}

.brand-orb-ring::before{
  content: "";
  position: absolute;
  top: -1px;
  left: 30%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f5a623;
  transform: translateY(-50%);
  box-shadow: 0 0 10px #f5a623, 0 0 20px rgba(245,166,35,.30);
}

@keyframes orbSpin{
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.brand-orb-core{
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,166,35,.55) 0%, rgba(245,166,35,.15) 60%, transparent 100%);
  animation: orbPulse 3s ease-in-out infinite;
}

@keyframes orbPulse{
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(.78); opacity: .6; }
}

.brand-text{
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-title{
  font-family: var(--font-expand-subject);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: #ffd166;
  line-height: 1;
}

.brand-sub{
  font-size: 8px;
  color: #475569;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.header-divider{
  width: 1px;
  height: 30px;
  background: rgba(245,166,35,.12);
  flex-shrink: 0;
}

.header-meta{
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.header-meta-label{
  font-size: 8px;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.header-meta-val{
  font-size: 11px;
  font-weight: 600;
  color: #dde4ef;
}

.header-right{
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.chip{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 7px;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  font-family: var(--font-expand-subject);
  font-size: 11px;
  white-space: nowrap;
}

.chip-live{
  background: rgba(52,211,153,.09);
  border: 1px solid rgba(52,211,153,.25);
  color: #34d399;
}

.chip-live-dot{
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: livepulse 1.6s infinite;
  flex-shrink: 0;
}

@keyframes livepulse{
  0%   { box-shadow: 0 0 0 0 rgba(52,211,153,.7); }
  60%  { box-shadow: 0 0 0 5px rgba(52,211,153,0); }
  100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); }
}

.chip-time{
  background: rgba(245,166,35,.09);
  border: 1px solid rgba(245,166,35,.22);
  color: #f5a623;
}

.chip-time-icon{
  font-size: 10px;
  opacity: .8;
}

/* metrics */
.metrics-bar{
  display: flex;
  align-items: stretch;
  padding: 0 22px;
  border-bottom: 1px solid rgba(245,166,35,.07);
  overflow-x: auto;
  scrollbar-width: none;
  background: rgba(3,4,10,.35);
}

.metrics-bar::-webkit-scrollbar{
  display: none;
}

.metric-item{
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 22px 12px 0;
  gap: 3px;
  min-width: 80px;
  border-right: 1px solid rgba(255,255,255,.04);
  flex-shrink: 0;
}

.metric-item:last-child{
  border-right: none;
  padding-right: 0;
}

.m-val{
  font-family: var(--font-expand-subject);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  color: #fff;
}

.m-val.c-amber{ color: #f5a623; }
.m-val.c-emerald{ color: #34d399; }
.m-val.c-coral{ color: #ff6b6b; }
.m-val.c-ice{ color: #4ecdc4; }

.m-lbl{
  font-size: 8px;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: .14em;
}

/* table */
.table-shell{
  flex: 1;
}

.table-wrap{
  max-height: 360px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(245,166,35,.22) transparent;
}

.table-wrap::-webkit-scrollbar{
  width: 4px;
  height: 4px;
}

.table-wrap::-webkit-scrollbar-thumb{
  background: rgba(245,166,35,.22);
  border-radius: 4px;
}

.table-wrap::-webkit-scrollbar-track{
  background: transparent;
}

.table-wrap table{
  width: 100%;
  min-width: 740px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.table-wrap thead th{
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(3,4,10,.99);
  color: #475569;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-family: var(--font-expand-subject);
  font-size: 11px;
  font-weight: 700;
  padding: 9px 12px;
  border-bottom: 1px solid rgba(245,166,35,.10);
  text-align: left;
}

.table-wrap thead th:nth-child(1){ width: 78px; }
.table-wrap thead th:nth-child(2){ width: 100px; }
.table-wrap thead th:nth-child(3){ width: 148px; }
.table-wrap thead th:nth-child(4){ width: 90px; }
.table-wrap thead th:nth-child(5){ width: 74px; }
.table-wrap thead th:nth-child(6){ width: 94px; }
.table-wrap thead th:nth-child(7){ width: 96px; }

.table-wrap tbody tr{
  transition: background .16s ease;
}

.table-wrap tbody tr:hover{
  background: rgba(245,166,35,.025);
}

.table-wrap tbody tr.newest-row{
  animation: rowIn .5s cubic-bezier(.22,1,.36,1);
}

@keyframes rowIn{
  from { opacity: 0; transform: translateY(-8px); background: rgba(245,166,35,.09); }
  to   { opacity: 1; transform: translateY(0); background: transparent; }
}

.table-wrap tbody td{
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,.028);
  vertical-align: middle;
  font-size: 10px;
  line-height: 1.3;
}

.table-wrap tbody tr[data-status="pending"] td:first-child{
  box-shadow: inset 3px 0 0 rgba(100,116,139,.55);
}
.table-wrap tbody tr[data-status="picked_up"] td:first-child{
  box-shadow: inset 3px 0 0 #f5a623;
}
.table-wrap tbody tr[data-status="in_transit"] td:first-child{
  box-shadow: inset 3px 0 0 #ff6b6b;
}
.table-wrap tbody tr[data-status="delivered"] td:first-child{
  box-shadow: inset 3px 0 0 #34d399;
}

.table-wrap tbody tr[data-status="in_transit"]{
  background: rgba(255,107,107,.012);
}
.table-wrap tbody tr[data-status="delivered"]{
  background: rgba(52,211,153,.010);
}

.order-id{
  font-weight: 700;
  color: #fff;
  font-size: 10px;
  letter-spacing: .04em;
}

.order-sub{
  font-size: 7px;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-top: 2px;
}

.svc{
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 5px;
  font-family: var(--font-expand-subject);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.svc-van{ background: rgba(52,211,153,.12); color: #34d399; border: 1px solid rgba(52,211,153,.25); }
.svc-express{ background: rgba(78,205,196,.12); color: #4ecdc4; border: 1px solid rgba(78,205,196,.25); }
.svc-pool{ background: rgba(245,166,35,.12); color: #f5a623; border: 1px solid rgba(245,166,35,.28); }
.svc-parcel{ background: rgba(167,139,250,.12); color: #a78bfa; border: 1px solid rgba(167,139,250,.28); }
.svc-nextday{ background: rgba(255,107,107,.12); color: #ff6b6b; border: 1px solid rgba(255,107,107,.28); }
.svc-trailer{ background: rgba(251,146,60,.12); color: #fb923c; border: 1px solid rgba(251,146,60,.28); }

.route-wrap{
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.route-node{
  font-size: 10px;
  color: #dde4ef;
}

.route-arrow{
  color: #f5a623;
  font-size: 10px;
  opacity: .7;
  flex-shrink: 0;
}

.dt-main{
  font-size: 10px;
  font-weight: 600;
  color: #c8d5df;
}

.dt-sub{
  font-size: 7px;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: .11em;
  margin-top: 2px;
}

.sbadge{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 5px;
  font-family: var(--font-expand-subject);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.sbadge::before{
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.s-pending{ color: #64748b; background: rgba(100,116,139,.10); border: 1px solid rgba(100,116,139,.18); }
.s-picked_up{ color: #f5a623; background: rgba(245,166,35,.09); border: 1px solid rgba(245,166,35,.22); }
.s-in_transit{ color: #ff6b6b; background: rgba(255,107,107,.09); border: 1px solid rgba(255,107,107,.22); }
.s-delivered{ color: #34d399; background: rgba(52,211,153,.09); border: 1px solid rgba(52,211,153,.22); }

.s-picked_up::before{ animation: sbpulse 1.5s infinite; }
.s-in_transit::before{ animation: sbpulse 1.2s infinite; }

@keyframes sbpulse{
  0%, 100% { box-shadow: 0 0 0 0 currentColor; }
  55%      { box-shadow: 0 0 0 4px transparent; }
}

.transit-val{
  font-size: 10px;
  color: #8896a8;
  font-weight: 500;
}

.transit-val.t-active{
  color: #f5a623;
  font-weight: 600;
}

.transit-dash{
  color: #475569;
}

/* incoming animation */
.booking-drop{
  position: absolute;
  top: -90px;
  left: var(--drop-left, 50%);
  transform: translateX(-50%);
  width: 22px;
  height: 94px;
  opacity: 0;
  pointer-events: none;
  animation: dropFall 1.9s cubic-bezier(.4,0,.2,1) forwards;
}

.booking-drop::before{
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 2px;
  height: 66px;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent 0%, var(--drop-color,#f5a623) 55%, transparent 100%);
  box-shadow: 0 0 20px 2px var(--drop-color, #f5a623);
}

.booking-drop::after{
  content: "+1";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  min-width: 32px;
  height: 18px;
  padding: 0 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-expand-subject);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .10em;
  color: #000;
  background: var(--drop-color, #f5a623);
  box-shadow:
    0 0 26px color-mix(in srgb, var(--drop-color,#f5a623) 60%, transparent),
    0 2px 6px rgba(0,0,0,.4);
}

.booking-splash{
  position: absolute;
  left: var(--drop-left, 50%);
  top: calc(var(--drop-top, 78%) + 8px);
  transform: translate(-50%,-50%) scale(.12);
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: radial-gradient(circle,
    color-mix(in srgb, var(--drop-color,#f5a623) 55%, white 14%) 0%,
    color-mix(in srgb, var(--drop-color,#f5a623) 20%, transparent) 50%,
    transparent 74%
  );
  opacity: 0;
  pointer-events: none;
  animation: splashBurst .85s cubic-bezier(.22,1,.36,1) forwards;
}

@keyframes dropFall{
  0%   { opacity: 0; transform: translateX(-50%) translateY(0) scale(.78); }
  8%   { opacity: 1; }
  84%  { opacity: 1; }
  100% { opacity: 0; transform: translateX(-50%) translateY(380px) scale(1.02); }
}

@keyframes splashBurst{
  0%   { opacity: 0; transform: translate(-50%,-50%) scale(.12); }
  32%  { opacity: .94; }
  100% { opacity: 0; transform: translate(-50%,-50%) scale(1); }
}

/* footer */
.board-footer{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 22px;
  border-top: 1px solid rgba(245,166,35,.06);
  background: rgba(3,4,10,.55);
}

.footer-text{
  font-size: 8px;
  color: #475569;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-legend{
  display: flex;
  align-items: center;
  gap: 12px;
}

.leg-item{
  display: flex;
  align-items: center;
  gap: 5px;
  color: #475569;
  font-family: var(--font-expand-subject);
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.leg-dot{
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.board,
.header-meta-val,
.footer-text,
.order-id,
.order-sub,
.route-node,
.dt-main,
.dt-sub,
.transit-val{
  font-family: var(--font-expand-body);
}

/* responsive */
@media (max-width: 900px){
  .booking-board-section{ padding: 0 14px; }
  .board-header{ padding: 12px 16px; }
  .metrics-bar{ padding: 0 16px; }
  .board-footer{ padding: 7px 16px; }
  .brand-title{ font-size: 16px; }
}

@media (max-width: 560px){
  .brand-title{ font-size: 14px; }
  .header-divider{ display: none; }
  .header-meta{ display: none; }
  .m-val{ font-size: 22px; }
  .metric-item{ min-width: 66px; padding: 10px 16px 10px 0; }
  .table-wrap thead th{ font-size: 10px; padding: 8px 10px; }
  .table-wrap tbody td{ font-size: 9px; padding: 8px 10px; }
  .footer-legend{ display: none; }

  .board{
  transform: scale(0.92);
  transform-origin: top center;
}

.booking-board-section{
  margin: 20px auto 0;
  padding: 0 8px;
}

.table-wrap table{
  min-width: 640px;
}

.svc{
  font-size: 8px;
  padding: 3px 6px;
  letter-spacing: .03em;
}

.route-node{
  font-size: 8px;
}

.route-arrow{
  font-size: 8px;
}

.order-id{
  font-size: 9px;
}

.dt-main{
  font-size: 8px;
}

.sbadge{
  font-size: 8px;
  padding: 3px 6px;
}

.transit-val{
  font-size: 8px;
}

.footer-text{
  font-size: 7px;
}
}





/* Referral input only */
.referral-input::placeholder {
  color: rgba(255, 77, 77, 0.78);
}

/* Better browser coverage */
.referral-input::-webkit-input-placeholder {
  color: rgba(255, 77, 77, 0.78);
}

.referral-input::-moz-placeholder {
  color: rgba(255, 77, 77, 0.78);
  opacity: 1;
}

.referral-input:-ms-input-placeholder {
  color: rgba(255, 77, 77, 0.78);
}

.referral-input::-ms-input-placeholder {
  color: rgba(255, 77, 77, 0.78);
}
/* ========================================= */
/* REFERRAL VALIDATION FEEDBACK              */
/* ========================================= */

#haulageReferralFeedback,
#bikeReferralFeedback,
#saverReferralFeedback {
  display: block !important;
  margin-top: 8px !important;
  min-height: 18px !important;
  font-family: var(--font-search) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
  line-height: 1.45 !important;
  color: #cfd8dc !important;
  transition: color 0.25s ease, opacity 0.25s ease !important;
}

/* Checking */
#haulageReferralFeedback.is-checking,
#bikeReferralFeedback.is-checking,
#saverReferralFeedback.is-checking {
  color: #d9b95b !important;
}

/* Valid */
#haulageReferralFeedback.is-valid,
#bikeReferralFeedback.is-valid,
#saverReferralFeedback.is-valid {
  color: #7fe6a2 !important;
  text-shadow: 0 0 6px rgba(127, 230, 162, 0.14) !important;
}

/* Invalid + Revoked */
#haulageReferralFeedback.is-invalid,
#bikeReferralFeedback.is-invalid,
#saverReferralFeedback.is-invalid,
#haulageReferralFeedback.is-revoked,
#bikeReferralFeedback.is-revoked,
#saverReferralFeedback.is-revoked {
  color: #ff7a7a !important;
}
