/* ==========================================================
   🎨 BOOKERAI — VIBRANT WOW EFFECT THEME
   Polished, animated, and optimized for conversions
   ========================================================== */

/* ----------------------------------------------------------
   0. GLOBAL VARIABLES
   ---------------------------------------------------------- */
:root {
  --sky-blue: #0ea5e9;
  --teal: #14b8a6;
  --bg-light: #f0faff;
  --text-dark: #0f172a;
  --muted: #64748b;
  --white: #ffffff;
}

/* ----------------------------------------------------------
   1. BASE STYLES
   ---------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", system-ui, sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

a {
  color: var(--sky-blue);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--teal);
}

/* ----------------------------------------------------------
   2. HEADER / NAVBAR
   ---------------------------------------------------------- */
header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  height: 80px;
  background: linear-gradient(135deg, var(--sky-blue), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.25);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  padding: 0 2rem;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--white);
  gap: 0.5rem;
}

.logo-dot {
  width: 12px;
  height: 12px;
  background: var(--white);
  border-radius: 50%;
  animation: pulse 2.5s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: var(--white);
  font-weight: 500;
}
.nav-link:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.signup-link {
  background: var(--white);
  color: var(--sky-blue);
  border-radius: 0.6rem;
  padding: 0.5rem 1rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(14,165,233,0.3);
  transition: transform 0.2s, opacity 0.2s;
}
.signup-link:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* offset body to avoid header overlap */
main {
  padding-top: 90px;
}

/* ----------------------------------------------------------
   3. HERO SECTION
   ---------------------------------------------------------- */
.hero {
  position: relative;
  text-align: center;
  padding: 7rem 2rem 6rem;
  background: linear-gradient(145deg, #e0f7ff 0%, #f0fbff 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(14,165,233,0.15), transparent 60%),
              radial-gradient(circle at 70% 60%, rgba(20,184,166,0.15), transparent 60%);
  animation: floatGlow 16s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes floatGlow {
  0% { transform: translateY(0); opacity: 0.7; }
  100% { transform: translateY(-10px); opacity: 1; }
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.hero p {
  max-width: 650px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
  margin-top: 2.5rem;
  position: relative;
  z-index: 1;
}

.gradient-btn {
  background: linear-gradient(135deg, var(--sky-blue), var(--teal));
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 0.75rem;
  padding: 1rem 2rem;
  box-shadow: 0 8px 25px rgba(14,165,233,0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.gradient-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(14,165,233,0.5);
}
/* ----------------------------------------------------------
   HERO BUTTONS (unified .btn.large style)
   ---------------------------------------------------------- */
.hero-buttons .btn {
  display: inline-block;
  padding: 1rem 2.2rem;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 0.75rem;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(14,165,233,0.25);
}

/* Primary: Get Started Free */
.hero-buttons .btn.large:first-child {
  background: linear-gradient(135deg, var(--sky-blue), var(--teal));
  color: #fff;
  border: none;
}
.hero-buttons .btn.large:first-child:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(14,165,233,0.45);
}

/* Secondary: Log In */
.hero-buttons .btn.large:last-child {
  background: #fff;
  color: var(--sky-blue);
  border: 2px solid var(--sky-blue);
  box-shadow: 0 4px 15px rgba(14,165,233,0.15);
}
.hero-buttons .btn.large:last-child:hover {
  background: var(--sky-blue);
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(14,165,233,0.45);
}

/* ----------------------------------------------------------
   4. SERVICE BUBBLES — Enhanced with Images
   ---------------------------------------------------------- */
.looking-services {
  text-align: center;
  padding: 6rem 2rem 5rem;
}

.looking-services h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

/* Bubbles container */
.service-bubbles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 3rem;
}

/* Individual bubble */
.bubble {
  position: relative;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  background: linear-gradient(145deg, var(--sky-blue), var(--teal));
  box-shadow: 0 12px 25px rgba(14,165,233,0.3);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Hover lift + glow */
.bubble:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 18px 40px rgba(14,165,233,0.45);
}

/* Image inside bubble */
.bubble img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.35s ease;
}

/* Slight dark overlay for text readability */
.bubble::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 50%;
  transition: background 0.35s ease;
}

.bubble:hover img {
  opacity: 0.65;
}

.bubble:hover::after {
  background: rgba(0, 0, 0, 0.35);
}

/* Text label */
.bubble span {
  position: relative;
  z-index: 2;
  font-size: 1.05rem;
  text-shadow: 0 2px 5px rgba(0,0,0,0.25);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .bubble {
    width: 140px;
    height: 140px;
    font-size: 0.9rem;
  }
  .service-bubbles {
    gap: 1.75rem;
  }
}


/* ----------------------------------------------------------
   SMALL BUBBLES (Trust Logos Section)
   ---------------------------------------------------------- */
.bubble-small {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: linear-gradient(145deg, rgba(14,165,233,0.15), rgba(20,184,166,0.15));
  color: var(--text-dark);
  box-shadow: 0 5px 15px rgba(14,165,233,0.15);
  margin: 0.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.bubble-small:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 25px rgba(14,165,233,0.25);
}
.logo-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  text-align: center;
}

/* ==========================================================
   FEATURES GRID — Modern Animated Cards
   ========================================================== */
.features-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 4rem 2rem;
  text-align: left;
  background: linear-gradient(180deg, #f8fdff 0%, #f0faff 100%);
  border-radius: 1.5rem;
  box-shadow: inset 0 0 30px rgba(14,165,233,0.05);
}

/* Card Styling */
.feature-card {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(14,165,233,0.08);
  border: 1.5px solid rgba(14,165,233,0.06);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Hover effect — subtle lift + glow */
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(14,165,233,0.15);
}

/* Floating gradient accent */
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(14,165,233,0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}
.feature-card:hover::before {
  opacity: 1;
}

/* Text inside cards */
.feature-card h3 {
  font-size: 1.25rem;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.feature-card p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .features-section {
    padding: 3rem 1.25rem;
    gap: 1.5rem;
  }
  .feature-card {
    padding: 1.75rem 1.25rem;
  }
  .feature-card h3 {
    font-size: 1.15rem;
  }
  .feature-card p {
    font-size: 0.95rem;
  }
}

/* ----------------------------------------------------------
   5. FOOTER
   ---------------------------------------------------------- */
footer.site-footer {
  background: #f8fcff;
  padding: 2rem;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid rgba(14,165,233,0.1);
}
/* ----------------------------------------------------------
   6. SIGNUP PAGE — Glass Card + Form Styling
   ---------------------------------------------------------- */

/* Outer wrapper: soft gradient background */
.auth-container.vibrant-auth {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(14,165,233,0.1), rgba(20,184,166,0.1));
  overflow: hidden;
}

/* Floating light glow background */
.auth-container .animated-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 35%, rgba(14,165,233,0.15), transparent 70%),
              radial-gradient(circle at 75% 65%, rgba(20,184,166,0.15), transparent 70%);
  filter: blur(100px);
  animation: floatGlowAuth 18s ease-in-out infinite alternate;
  z-index: 0;
}
@keyframes floatGlowAuth {
  0% { opacity: 0.7; transform: translateY(0); }
  100% { opacity: 1; transform: translateY(-10px); }
}

/* Glass-style signup card */
.auth-card {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(16px);
  border-radius: 1.5rem;
  padding: 3rem 2.5rem;
  box-shadow: 0 12px 40px rgba(14,165,233,0.15);
  border: 1px solid rgba(14,165,233,0.12);
  width: 100%;
  max-width: 650px;
  position: relative;
  z-index: 2;
  animation: fadeSlideUp 1.2s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}

@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Title & subtitle */
.auth-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}
.subtitle .brand {
  font-weight: 700;
  color: var(--sky-blue);
}

/* Signup form grid */
.signup-form {
  display: block;
  width: 100%;
}
.input-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem 2rem;
}
.input-group.full {
  grid-column: 1 / -1;
}

/* Labels */
.input-group label {
  font-weight: 600;
  color: var(--text-dark);
  display: block;
  margin-bottom: 0.5rem;
}

/* Inputs / Select / Textarea */
.input-group input,
.input-group select,
.input-group textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  font-family: "Poppins", system-ui, sans-serif;
  background: rgba(255,255,255,0.9);
  border: 1.5px solid rgba(14,165,233,0.15);
  border-radius: 0.65rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  outline: none;
}
.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
  border-color: var(--sky-blue);
  box-shadow: 0 0 0 3px rgba(14,165,233,0.15);
}

/* Placeholder color */
.input-group input::placeholder,
.input-group textarea::placeholder {
  color: #94a3b8;
}

/* Dropdown arrow */
.input-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%230ea5e9' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px 8px;
}

/* Textarea */
.input-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* CTA button */
button.gradient-btn.large {
  display: block;
  width: 100%;
  margin-top: 2rem;
  background: linear-gradient(135deg, var(--sky-blue), var(--teal));
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  border: none;
  border-radius: 0.75rem;
  padding: 1rem 2rem;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(14,165,233,0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
button.gradient-btn.large:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(14,165,233,0.45);
}

/* Responsive */
@media (max-width: 700px) {
  .auth-card {
    padding: 2.2rem 1.5rem;
    border-radius: 1.25rem;
  }
  .auth-title {
    font-size: 1.6rem;
  }
  .subtitle {
    font-size: 1rem;
  }
}
/* ----------------------------------------------------------
   7. LOGIN PAGE — Vibrant Glass Card + Form
   ---------------------------------------------------------- */
.auth-container.vibrant-auth {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(14,165,233,0.1), rgba(20,184,166,0.1));
  overflow: hidden;
}

/* Floating radial glows (reuse animation) */
.auth-container .animated-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 35%, rgba(14,165,233,0.15), transparent 70%),
              radial-gradient(circle at 75% 65%, rgba(20,184,166,0.15), transparent 70%);
  filter: blur(100px);
  animation: floatGlowAuth 18s ease-in-out infinite alternate;
  z-index: 0;
}

/* Glass card */
.auth-card {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(16px);
  border-radius: 1.5rem;
  padding: 3rem 2.5rem;
  box-shadow: 0 12px 40px rgba(14,165,233,0.15);
  border: 1px solid rgba(14,165,233,0.12);
  width: 100%;
  max-width: 550px;
  position: relative;
  z-index: 2;
  animation: fadeSlideUp 1.2s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}

/* Heading + subtitle */
.auth-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.auth-subtitle {
  text-align: center;
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

/* Form fields */
form.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.form-field span {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

/* Inputs */
.form-field input {
  padding: 0.9rem 1rem;
  font-size: 1rem;
  font-family: "Poppins", system-ui, sans-serif;
  background: rgba(255,255,255,0.9);
  border: 1.5px solid rgba(14,165,233,0.15);
  border-radius: 0.65rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  outline: none;
}
.form-field input:focus {
  border-color: var(--sky-blue);
  box-shadow: 0 0 0 3px rgba(14,165,233,0.15);
}
/* Add spacing between password field and login button */
.form-actions {
  margin-top: 1rem;
}

/* Login button */
button.gradient-btn.full-width {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, var(--sky-blue), var(--teal));
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  border: none;
  border-radius: 0.75rem;
  padding: 1rem 2rem;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(14,165,233,0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
button.gradient-btn.full-width:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(14,165,233,0.45);
}

/* "Create account" text link */
.signup-link-text {
  color: var(--sky-blue);
  font-weight: 600;
  text-decoration: none;
}
.signup-link-text:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 700px) {
  .auth-card {
    padding: 2.2rem 1.5rem;
  }
  .auth-title {
    font-size: 1.7rem;
  }
  .auth-subtitle {
    font-size: 1rem;
  }
}
/* ==========================================================
   DASHBOARD STYLING — BOOKERAI VIBRANT WOW THEME
   ========================================================== */

/* Section background + layout */
.dashboard {
  padding: 4rem 2rem;
  position: relative;
  color: var(--text-dark);
  background: linear-gradient(145deg, #f9feff 0%, #f1fbff 100%);
}

/* Animated background overlay */
.dashboard .animated-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(14,165,233,0.08), transparent 60%),
              radial-gradient(circle at 70% 60%, rgba(20,184,166,0.08), transparent 60%);
  z-index: 0;
  animation: floatGlow 14s ease-in-out infinite alternate;
}

/* Header */
.dash-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 1.8rem 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(14,165,233,0.1);
  position: relative;
  z-index: 1;
  margin-bottom: 2.5rem;
}

.dash-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.dash-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;               /* space between buttons */
  justify-content: center; /* center them horizontally */
  margin-top: 1.25rem;     /* breathing room above buttons */
}

/* optional: better layout on small screens */
@media (max-width: 600px) {
  .dash-actions button,
  .dash-actions a {
    flex: 1 1 100%;
    text-align: center;
  }
}

/* Primary Gradient Button (Copy booking link) */
.dash-actions .btn-primary.gradient-btn {
  background: linear-gradient(135deg, var(--sky-blue), var(--teal));
  color: #fff;
  border: none;
  border-radius: 0.65rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(14,165,233,0.25);
  transition: all 0.25s ease;
}

.dash-actions .btn-primary.gradient-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14,165,233,0.35);
}
.animated-bg { pointer-events: none; }


/* Small size adjustment */
.dash-actions .small {
  font-size: 0.9rem;
  padding: 0.6rem 1.25rem;
}

.dash-actions .btn-secondary {
  background: #fff;
  color: var(--sky-blue);
  border: 1.5px solid var(--sky-blue);
  border-radius: 0.65rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.dash-actions .btn-secondary:hover {
  background: var(--sky-blue);
  color: #fff;
  box-shadow: 0 6px 16px rgba(14,165,233,0.3);
}

/* Quick Insights Grid */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.insight-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem 1.8rem;
  text-align: center;
  box-shadow: 0 8px 25px rgba(14,165,233,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(14,165,233,0.15);
}

.insight-card h4 {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.insight-card p {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--sky-blue);
}

/* ==========================================================
   APPOINTMENTS TABLE — Scrollable + Mobile-Friendly
   ========================================================== */
.appointments-card {
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(14,165,233,0.08);
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  max-height: 420px; /* Limit section height to trigger scrolling */
  overflow: hidden;
  position: relative;
}

.appointments-card h3 {
  margin-bottom: 1rem;
  color: var(--text-dark);
  font-weight: 700;
  flex-shrink: 0;
}

/* ✅ Scroll container that supports touch + smooth momentum */
.table-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* iOS smooth scroll fix */
  border-radius: 0.6rem;
  border: 1px solid rgba(14,165,233,0.08);
  background: #fcfeff;
}

/* ✅ Ensure scroll area has defined height on mobile */
@media (max-width: 768px) {
  .table-scroll {
    max-height: 55vh; /* Adjust scroll height for smaller screens */
  }
}

/* Scrollbar styling */
.table-scroll::-webkit-scrollbar {
  height: 10px;
  width: 10px;
}
.table-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--sky-blue), var(--teal));
  border-radius: 1rem;
}
.table-scroll::-webkit-scrollbar-track {
  background: rgba(240,250,255,0.7);
}

/* Table layout */
.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

/* Cells + headers */
.table th,
.table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(14,165,233,0.08);
  white-space: nowrap;
}

.table th {
  color: var(--muted);
  font-weight: 600;
  position: sticky;
  top: 0;
  background: #f9feff;
  z-index: 2;
}

/* ✅ Link & hover styles */
.table td a {
  color: var(--sky-blue);
  text-decoration: none;
}
.table td a:hover {
  text-decoration: underline;
}

/* ✅ Cancel button styling */
.cancel-btn {
  background: #fff;
  color: var(--teal);
  border: 1.5px solid var(--teal);
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  font-weight: 600;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.cancel-btn:hover {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 6px 14px rgba(20,184,166,0.3);
}


/* ==========================================================
   HOURS EDITOR — Vibrant WOW Theme (Centered + Mobile Fix)
   ========================================================== */

/* Center container for both hours + promo card */
/* ✅ Only target inner sections, not the top-level dashboard */
.dashboard > section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

/* ✅ Vibrant-auth only affects login/signup pages now */
.auth-container.vibrant-auth {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

section.dashboard.vibrant-auth {
  display: block !important;
  overflow: visible !important;
  height: auto !important;
}

.hours-card,
.promo-card {
  width: 100%;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* HOURS CARD */
.hours-card {
  background: linear-gradient(135deg, #ffffff 0%, #f0fbff 100%);
  padding: 2rem 1.5rem;
  border-radius: 1.25rem;
  box-shadow: 0 10px 35px rgba(14,165,233,0.08);
  margin: 1.5rem auto;
  position: relative;
  overflow: visible; /* ✅ Fix cutoff */
}


.hours-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(14,165,233,0.08), transparent 60%),
              radial-gradient(circle at 80% 70%, rgba(20,184,166,0.08), transparent 60%);
  animation: subtleFloat 12s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes subtleFloat {
  0% { transform: translateY(0); opacity: 0.7; }
  100% { transform: translateY(-8px); opacity: 1; }
}

.hours-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.hours-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* "Copy Monday" Button */
.copy-all {
  background: linear-gradient(135deg, var(--sky-blue), var(--teal));
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 0.6rem;
  padding: 0.6rem 1.2rem;
  box-shadow: 0 6px 18px rgba(14,165,233,0.25);
  cursor: pointer;
  transition: all 0.25s ease;
}
.copy-all:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(20,184,166,0.35);
}

/* GRID LAYOUT */
.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  justify-content: center;
}

@media (max-width: 600px) {
  .hours-grid {
    grid-template-columns: 1fr;
    width: 100%;
  }
}

/* INDIVIDUAL DAY CARDS */
.day-editor {
  background: rgba(255,255,255,0.9);
  border: 1.5px solid rgba(14,165,233,0.15);
  border-radius: 1rem;
  padding: 1.2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-align: center;
  position: relative;
}

.day-editor:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(14,165,233,0.15);
}

.day-editor h4 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
  font-weight: 600;
}

/* Toggle + Time Inputs */
.toggle-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}

.day-toggle {
  width: 40px;
  height: 22px;
  border-radius: 12px;
  background: rgba(14,165,233,0.2);
  position: relative;
  cursor: pointer;
  transition: background 0.25s ease;
}
.day-toggle::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.25s ease;
}
.day-toggle.active {
  background: linear-gradient(135deg, var(--sky-blue), var(--teal));
}
.day-toggle.active::after {
  transform: translateX(18px);
}

.time-inputs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
}

.time-inputs input[type="time"] {
  border: 1.5px solid rgba(14,165,233,0.15);
  border-radius: 0.5rem;
  padding: 0.5rem 0.7rem;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.time-inputs input[type="time"]:focus {
  border-color: var(--sky-blue);
  box-shadow: 0 0 6px rgba(14,165,233,0.25);
}

/* COLLAPSIBLE EFFECT */
.hours-collapse {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s ease;
}
.hours-collapse.active {
  max-height: none;
}



/* Edit Button - matches your gradient theme */
.edit-hours-btn {
  background: linear-gradient(135deg, var(--sky-blue), var(--teal));
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 0.6rem;
  padding: 0.6rem 1.2rem;
  box-shadow: 0 6px 18px rgba(14,165,233,0.25);
  cursor: pointer;
  transition: all 0.25s ease;
}
.edit-hours-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(20,184,166,0.35);
}

/* Save Check Icon */
.save-check {
  font-size: 1.1rem;
  margin-top: 0.6rem;
  color: var(--teal);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.day-editor.saved .save-check {
  opacity: 1;
}


/* Toast message */
.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--sky-blue);
  color: #fff;
  padding: 0.9rem 1.5rem;
  border-radius: 0.65rem;
  font-weight: 500;
  box-shadow: 0 8px 20px rgba(14,165,233,0.3);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ----------------------------------------------------------
   8. FIND A PROFESSIONAL — Search Form + Hero
   ---------------------------------------------------------- */

/* Hero section */
.find-hero {
  text-align: center;
  padding: 6rem 2rem 4rem;
  background: linear-gradient(145deg, #e0f7ff 0%, #f0fbff 100%);
  position: relative;
  overflow: hidden;
}

.find-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 35%, rgba(14,165,233,0.15), transparent 70%),
              radial-gradient(circle at 75% 65%, rgba(20,184,166,0.15), transparent 70%);
  z-index: 0;
  animation: floatGlow 16s ease-in-out infinite alternate;
}

.find-hero .hero-inner {
  position: relative;
  z-index: 1;
}

.find-hero h1 {
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.find-hero p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Form container */
.find-form {
  padding: 3rem 2rem 6rem;
  display: flex;
  justify-content: center;
}

.find-form form {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  padding: 2rem 2.5rem;
  border-radius: 1.25rem;
  box-shadow: 0 10px 25px rgba(14,165,233,0.15);
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

/* Labels and inputs */
.find-form label {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1rem;
  gap: 0.5rem;
}

.find-form input,
.find-form select {
  padding: 0.9rem 1rem;
  border-radius: 0.65rem;
  border: 1.5px solid rgba(14,165,233,0.15);
  background: rgba(255,255,255,0.9);
  font-size: 1rem;
  font-family: "Poppins", system-ui, sans-serif;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  outline: none;
}

.find-form input:focus,
.find-form select:focus {
  border-color: var(--sky-blue);
  box-shadow: 0 0 0 3px rgba(14,165,233,0.15);
}

/* Placeholder */
.find-form input::placeholder {
  color: #94a3b8;
}

/* Submit button */
.find-form button.gradient-btn {
  background: linear-gradient(135deg, var(--sky-blue), var(--teal));
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  border: none;
  border-radius: 0.75rem;
  padding: 1rem 2rem;
  cursor: pointer;
  margin-top: 0.5rem;
  box-shadow: 0 8px 25px rgba(14,165,233,0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.find-form button.gradient-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(14,165,233,0.45);
}

/* Responsive */
@media (max-width: 700px) {
  .find-hero {
    padding: 5rem 1.5rem 3rem;
  }
  .find-hero h1 {
    font-size: 1.9rem;
  }
  .find-form form {
    padding: 1.8rem 1.5rem;
  }
}

/* ----------------------------------------------------------
   6. RESPONSIVE
   ---------------------------------------------------------- */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .service-bubbles {
    gap: 1.5rem;
  }
}
.premium-section {
  margin-top: 1.5rem;
  text-align: center;
}

.btn-premium {
  background: transparent;
  border: 2px solid var(--teal);
  color: var(--teal);
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-premium:hover {
  background: linear-gradient(to right, var(--sky-blue), var(--teal));
  color: #fff;
}

.premium-drop {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1rem;
  animation: fadeIn 0.4s ease;
}

.hidden {
  display: none;
}

.plan-summary {
  background: rgba(255, 255, 255, 0.05);
  padding: 0.8rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}
/* Floating "See Demo" Button */
.floating-demo-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: linear-gradient(to right, var(--sky-blue), var(--teal));
  color: #fff;
  font-weight: 600;
  padding: 0.9rem 1.6rem;
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(14,165,233,0.25);
  text-decoration: none;
  transition: all 0.3s ease;
  z-index: 999;
}

.floating-demo-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 35px rgba(14,165,233,0.35);
}
.floating-demo-btn {
  animation: pulseGlow 3s infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(14,165,233,0.4);
  }
  50% {
    box-shadow: 0 0 35px rgba(14,165,233,0.8);
  }
}
/* ----------------------------------------------------------
   PREMIUM DROP — Animated WOW Expansion
   ---------------------------------------------------------- */
#premiumDrop {
  overflow: hidden;
  transform: translateY(-10px);
  opacity: 0;
  max-height: 0;
  transition: all 0.5s ease;
}

#premiumDrop:not(.hidden) {
  opacity: 1;
  transform: translateY(0);
  max-height: 800px; /* enough space to expand */
}

/* Shimmer hover effect for buttons */
.gradient-btn, .gradient-btn-outline {
  position: relative;
  overflow: hidden;
}

.gradient-btn::after, .gradient-btn-outline::after {
  content: "";
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: 0;
  height: 0;
  background: radial-gradient(circle closest-side, rgba(255,255,255,0.4), transparent);
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: width 0.3s ease, height 0.3s ease;
}

.gradient-btn:hover::after, .gradient-btn-outline:hover::after {
  width: 200px;
  height: 200px;
}

/* Loading spinner for mock payment flow */
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(14,165,233,0.2);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
/* PROMO CARD — Vibrant WOW Refined */
/* PROMO CARD — Vibrant WOW Refined (Readable Version) */
.promo-card {
  position: relative;
  background: linear-gradient(145deg, rgba(255,255,255,0.85), rgba(240,250,255,0.9));
  border-radius: 1.25rem;
  padding: 2rem;
  margin-top: 2rem;
  box-shadow: 0 10px 35px rgba(14,165,233,0.15),
              0 0 60px rgba(20,184,166,0.1);
  overflow: hidden;
  border: 1.5px solid rgba(14,165,233,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(10px);
}

.promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(14,165,233,0.25),
              0 0 70px rgba(20,184,166,0.15);
}

/* Accent animation layer */
.promo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(14,165,233,0.15), transparent 60%),
              radial-gradient(circle at bottom right, rgba(20,184,166,0.1), transparent 60%);
  animation: gradientMove 12s ease-in-out infinite alternate;
  opacity: 0.5;
  z-index: 0;
}

/* Header */
.promo-header {
  position: relative;
  z-index: 1;
  margin-bottom: 1.25rem;
  text-align: center;
}

.promo-header h3 {
  color: var(--text-dark);
  font-size: 1.5rem;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

.promo-header p {
  color: var(--muted);
  font-size: 1rem;
  margin-top: 0.4rem;
}

/* Input + Button */
.promo-body {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: center;
}

.promo-body input {
  flex: 1;
  min-width: 200px;
  padding: 0.9rem 1.2rem;
  border-radius: 0.75rem;
  border: 1.5px solid rgba(14,165,233,0.2);
  background: #fff;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.3px;
  outline: none;
  transition: all 0.25s ease;
}

.promo-body input::placeholder {
  color: #94a3b8;
}

.promo-body input:focus {
  border-color: var(--sky-blue);
  box-shadow: 0 0 8px rgba(14,165,233,0.25);
}

/* Button */
.promo-body button {
  background: linear-gradient(135deg, var(--sky-blue), var(--teal));
  border: none;
  border-radius: 0.75rem;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(14,165,233,0.25);
}
.promo-body button:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 35px rgba(14,165,233,0.35);
}

.promo-msg {
  margin-top: 1rem;
  font-size: 0.95rem;
  text-align: center;
  color: var(--teal);
  font-weight: 500;
}

/* Mobile */
@media (max-width: 600px) {
  .promo-card {
    padding: 1.5rem;
  }
  .promo-body {
    flex-direction: column;
  }
  .promo-body button {
    width: 100%;
  }
}

@keyframes gradientMove {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.1); opacity: 0.8; }
}

/* ==========================================================
   🔧 FINAL DASHBOARD CENTERING + SPACING FIX
   Ensures Hours + Promo sections are centered and consistent
   ========================================================== */

.dashboard {
  width: 100%;
  max-width: 100vw;
  padding: 4rem 1rem;
  margin: 0 auto;
  display: block; /* ✅ stop flex from collapsing child sections */
  overflow-x: hidden; /* ✅ prevent horizontal cutoff */
}


.hours-card,
.promo-card {
  max-width: 640px;
  width: 100%;
  margin: 1.5rem auto;
}

/* Consistent spacing between all dashboard cards */
.hours-card + .promo-card {
  margin-top: 2.5rem;
}

/* Prevent right/left cutoff on mobile */
@media (max-width: 600px) {
  .dashboard {
    padding: 3rem 1.25rem;
  }
  .hours-card,
  .promo-card {
    width: 100%;
    margin: 1.25rem auto;
  }
  input, button {
    font-size: 1rem;
  }
}

/* Subtle scroll margin so footer doesn’t overlap content */
html {
  scroll-padding-bottom: 80px;
}
/* ✅ FINAL MOBILE SCROLL FIX (BookerAI Stable Version) */
@media (max-width: 900px) {
  html, body {
    height: auto !important;
    min-height: 100vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-behavior: smooth !important;
  }

  .dashboard,
  section.dashboard,
  section.dashboard.vibrant-auth {
    display: block !important;
    position: relative !important;
    height: auto !important;
    min-height: 100vh !important;
    max-height: none !important;
    overflow: visible !important;
    padding-bottom: 3rem !important;
  }

  .hours-card,
  .promo-card {
    margin-bottom: 2.5rem !important;
  }

  .animated-bg {
    position: fixed !important;
    inset: 0 !important;
    z-index: -1 !important;
    pointer-events: none !important;
  }
}
/* --- Fix Hours Section Clipping --- */
.hours-card {
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
  transition: all 0.4s ease !important;
}
video.media-thumb {
  width: 33%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0.75rem;
  box-shadow: 0 4px 14px rgba(14,165,233,0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.3s ease;
  background: #000;
  opacity: 0.95;
  will-change: transform;
  display: block;
}

video.media-thumb:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(14,165,233,0.3);
  opacity: 1;
}
.hint-text {
  font-size: 0.85rem;
  color: rgba(15, 23, 42, 0.55); /* soft faded navy */
  font-weight: 400;
}
#promo_code {
  letter-spacing: 1px;
  font-weight: 500;
}
