/* ===================================================
   MOORE FUN RENTALS — Stylesheet
   =================================================== */

/* ----- Custom Properties ----- */
:root {
  --blue:    #3FA9F5;
  --red:     #F24444;
  --yellow:  #F5C842;
  --green:   #52C252;
  --dark:    #1a1a2e;
  --text:    #333344;
  --muted:   #666680;
  --bg-light: #f9f9ff;
  --white:   #ffffff;
  --radius:  14px;
  --shadow:  0 4px 24px rgba(0,0,0,0.09);
  --transition: 0.22s ease;
}

/* ----- Reset / Base ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

/* ----- Container ----- */
.container {
  width: 90%;
  max-width: 1140px;
  margin: 0 auto;
}

/* ----- Section Titles ----- */
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

.highlight { color: var(--blue); }

/* ===================================================
   BUTTONS
   =================================================== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  border: 3px solid transparent;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(63,169,245,0.4);
}
.btn-primary:hover { background: #2d96e8; box-shadow: 0 6px 24px rgba(63,169,245,0.5); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--dark); }

.btn-sm {
  padding: 0.45rem 1.1rem;
  font-size: 0.875rem;
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 2px 10px rgba(63,169,245,0.35);
}
.btn-sm:hover { background: #2d96e8; }

.btn-full { width: 100%; text-align: center; }

/* ===================================================
   HEADER
   =================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  padding: 0.6rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo { height: 70px; width: auto; object-fit: contain; }

.main-nav ul {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.main-nav a {
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark);
  position: relative;
  padding-bottom: 2px;
  transition: color var(--transition);
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 3px;
  background: var(--blue);
  border-radius: 2px;
  transition: width var(--transition);
}

.main-nav a:hover { color: var(--blue); }
.main-nav a:hover::after { width: 100%; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: var(--dark);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===================================================
   HERO
   =================================================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--dark) 0%, #16213e 100%);
  color: var(--white);
  padding: 6rem 0 5rem;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.hero-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.25;
}

.blob-blue  { width: 420px; height: 420px; background: var(--blue);   top: -120px; right: -80px; }
.blob-yellow{ width: 300px; height: 300px; background: var(--yellow); bottom: -80px; right: 20%; }
.blob-red   { width: 260px; height: 260px; background: var(--red);    bottom: -60px; left: 5%; }
.blob-green { width: 200px; height: 200px; background: var(--green);  top: 40px;    left: 30%; }

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3rem;
  width: 100%;
}

.hero-content {
  min-width: 0;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.1rem;
}

.hero-content .highlight { color: var(--yellow); }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.82);
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-content .btn + .btn { margin-left: 1rem; }

.hero-logo-wrap {
  flex-shrink: 0;
  width: 300px;
  height: 300px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 48px rgba(0,0,0,0.35), 0 0 0 6px rgba(255,255,255,0.12);
  overflow: hidden;
  padding: 12px;
}

.hero-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ===================================================
   FEATURES
   =================================================== */
.features {
  padding: 5rem 0;
  background: var(--bg-light);
}

.features .section-title { text-align: center; margin-bottom: 0.5rem; }
.features .section-sub { text-align: center; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.6rem;
  margin-top: 2.5rem;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.feature-icon {
  width: 62px; height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: #fff;
}

.feature-icon svg { display: block; flex-shrink: 0; }

.feature-card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 0.5rem; color: var(--dark); }
.feature-card p  { font-size: 0.95rem; color: var(--muted); }

/* ===================================================
   RENTALS
   =================================================== */
.rentals {
  padding: 5rem 0;
  background: var(--white);
}

.rentals .section-title { text-align: center; margin-bottom: 0.5rem; }
.rentals .section-sub { text-align: center; }

.rentals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.8rem;
  margin-top: 0.5rem;
}

.rental-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  border: 2px solid #eef0f8;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.rental-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 36px rgba(0,0,0,0.13);
}

.rental-img {
  height: 220px;
  overflow: hidden;
  background: #f0f2fa;
  flex-shrink: 0;
}

.rental-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.35s ease;
}

.rental-card:hover .rental-img img {
  transform: scale(1.05);
}

.rental-info {
  padding: 1.1rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.rental-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.6rem;
  align-self: flex-start;
}

.badge-slide  { background: var(--blue); }
.badge-bounce { background: var(--green); }
.badge-combo  { background: var(--red); }

.rental-info h3 {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: auto;
  padding-bottom: 1rem;
}

.rental-info p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

/* Centered "Book Now" button in rental cards */
.btn-book {
  align-self: center;
  padding: 0.5rem 1.6rem;
  font-size: 0.875rem;
}

.rentals-note {
  text-align: center;
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.rentals-note a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
}

/* ===================================================
   CONTACT
   =================================================== */
.contact {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f0f8ff 0%, #fff8e7 100%);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.contact-text .section-title { margin-bottom: 0.75rem; }

.contact-text p {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.97rem;
  color: var(--text);
  font-weight: 600;
}

.contact-details li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-details svg { flex-shrink: 0; color: var(--blue); }

.contact-details a { color: var(--blue); text-decoration: underline; }

/* Form */
.contact-form {
  background: var(--white);
  border-radius: calc(var(--radius) * 1.5);
  padding: 2.4rem 2rem;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.1rem;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.req { color: var(--red); }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.72rem 1rem;
  border: 2px solid #dde0f0;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.97rem;
  color: var(--text);
  background: var(--bg-light);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(63,169,245,0.18);
  background: var(--white);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--red);
}

.field-error {
  font-size: 0.78rem;
  color: var(--red);
  font-weight: 700;
  margin-top: 0.25rem;
  min-height: 1rem;
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-success {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.97rem;
  display: none;
}

.form-success.show {
  display: block;
  background: #e8fbe8;
  color: #267a26;
  border: 2px solid #a8e6a8;
}

/* ===================================================
   FOOTER
   =================================================== */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo { height: 64px; width: auto; border-radius: 8px; opacity: 0.92; }

.footer-copy { font-size: 0.85rem; }

.footer-fb {
  color: rgba(255,255,255,0.7);
  transition: color var(--transition), transform var(--transition);
  display: flex;
  align-items: center;
}

.footer-fb:hover { color: var(--blue); transform: scale(1.15); }

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 900px) {
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    padding: 1.2rem 1.5rem 1.5rem;
    z-index: 99;
  }

  .main-nav.open { display: block; }

  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .site-header { position: relative; }

  .hero { padding: 4rem 0 3.5rem; }
  .hero-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .hero-sub { max-width: 100%; }
  .hero-logo-wrap { width: 200px; height: 200px; order: -1; }
  .hero-content .btn + .btn { margin-left: 0; margin-top: 0.8rem; }

  .form-row { grid-template-columns: 1fr; }

  .contact-form { padding: 1.6rem 1.2rem; }

  .footer-inner { justify-content: center; text-align: center; }
  .footer-logo { margin: 0 auto; }
}

@media (max-width: 600px) {
  .rentals-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .rental-img { height: 160px; }
  .rental-info { padding: 0.8rem 0.9rem 1rem; }
  .rental-info h3 { font-size: 1rem; padding-bottom: 0.75rem; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .rentals-grid  { grid-template-columns: 1fr; }
  .rental-img    { height: 200px; }
}

/* ===================================================
   ABOUT US
   =================================================== */
.about {
  padding: 5.5rem 0;
  background: var(--white);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.about-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.13);
  aspect-ratio: 4 / 5;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s ease;
}

.about-img-wrap:hover .about-img { transform: scale(1.03); }

.about-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  background: rgba(63,169,245,0.1);
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.about-text .section-title { margin-bottom: 1rem; }

.about-text p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.about-cta { margin-top: 0.25rem; }

@media (max-width: 860px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-img-wrap {
    aspect-ratio: 16 / 9;
    max-height: 360px;
  }
}

/* ===================================================
   BOOKING WIZARD
   =================================================== */

.booking {
  padding: 5rem 0;
  background: linear-gradient(160deg, #eef6ff 0%, #fff8e7 60%, #f0fff4 100%);
}

.booking-header { text-align: center; margin-bottom: 2.5rem; }
.booking-header .section-title { margin-bottom: 0.4rem; }

.booking-contact-details {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 600;
  margin-top: 0.8rem;
}
.booking-contact-details a { color: var(--blue); text-decoration: underline; }

/* ----- Step Indicator ----- */
.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 2.5rem;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #dde0f0;
  color: var(--muted);
  font-weight: 900;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #dde0f0;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  position: relative;
  z-index: 1;
}

.step-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  white-space: nowrap;
  transition: color var(--transition);
}

.step-item.active .step-circle {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(63,169,245,0.2);
}
.step-item.active .step-label { color: var(--blue); }

.step-item.completed .step-circle {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.step-item.completed .step-label { color: var(--green); }

.step-connector {
  flex: 1;
  max-width: 80px;
  height: 3px;
  background: #dde0f0;
  margin-bottom: 20px;
  transition: background var(--transition);
}
.step-connector.completed { background: var(--green); }

/* ----- Wizard card ----- */
.wizard-card {
  background: var(--white);
  border-radius: calc(var(--radius) * 1.5);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  max-width: 720px;
  margin: 0 auto;
  animation: wizardFadeIn 0.3s ease;
}

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

.wizard-step-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.wizard-step-sub {
  color: var(--muted);
  font-size: 0.97rem;
  margin-bottom: 1.5rem;
  margin-top: -0.75rem;
}

.wizard-date-group { max-width: 320px; }

.wizard-check-btn { margin-top: 0.5rem; }

.wizard-back-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--blue);
  cursor: pointer;
  text-decoration: underline;
  margin-bottom: 1.2rem;
  display: inline-block;
  transition: color var(--transition);
}
.wizard-back-btn:hover { color: #2d96e8; }

/* ----- Loading spinner ----- */
.wizard-spinner {
  display: none;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}
.wizard-spinner.active { display: flex; }

.spinner-ring {
  width: 22px;
  height: 22px;
  border: 3px solid #dde0f0;
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

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

.wizard-error {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--red);
  background: #fff0f0;
  border: 2px solid #ffd0d0;
  display: none;
}
.wizard-error.active { display: block; }

/* ----- Availability grid ----- */
.availability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.avail-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid #eef0f8;
  background: var(--white);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  user-select: none;
}

.avail-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,0.12); }

.avail-card.selected {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(63,169,245,0.25), 0 6px 22px rgba(0,0,0,0.1);
}

.avail-card.selected::after {
  content: '✓';
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
  font-size: 0.85rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.avail-card.unavailable {
  filter: grayscale(1);
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.avail-card .avail-img {
  height: 150px;
  overflow: hidden;
  background: #f0f2fa;
  position: relative;
}

.avail-card .avail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
}

.avail-card:hover .avail-img img { transform: scale(1.05); }

/* "Booked" ribbon overlay */
.avail-card.unavailable .avail-img::after {
  content: 'Booked';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.65);
  color: #fff;
  font-weight: 900;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  z-index: 2;
}

.avail-card .avail-info {
  padding: 0.8rem 1rem 1rem;
}

.avail-card .avail-info h4 {
  font-size: 1rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.wizard-next-wrap {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.5rem;
}

/* ----- Summary pill ----- */
.booking-summary-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #eef6ff;
  border: 2px solid rgba(63,169,245,0.3);
  border-radius: 50px;
  padding: 0.45rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.summary-inflatable { color: var(--blue); }
.summary-divider     { color: var(--muted); }
.summary-date        { color: var(--text); }

/* ----- Success state ----- */
.wizard-success-card { text-align: center; padding: 3rem 2rem; }

.wizard-success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.25rem;
}

.checkmark-svg {
  width: 80px;
  height: 80px;
}

.checkmark-circle {
  stroke: var(--green);
  stroke-width: 2;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  animation: stroke-draw 0.6s cubic-bezier(0.65,0,0.45,1) forwards;
}

.checkmark-check {
  stroke: var(--green);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke-draw 0.4s cubic-bezier(0.65,0,0.45,1) 0.5s forwards;
}

@keyframes stroke-draw {
  to { stroke-dashoffset: 0; }
}

.wizard-success-title {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.wizard-success-msg {
  color: var(--muted);
  font-size: 1rem;
  max-width: 440px;
  margin: 0 auto 2rem;
}

/* ===================================================
   ADMIN DASHBOARD
   =================================================== */

.admin-body {
  background: #f0f2fa;
  min-height: 100vh;
}

/* ----- Login screen ----- */
.admin-login-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.admin-login-card {
  background: var(--white);
  border-radius: calc(var(--radius) * 1.5);
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.3);
  text-align: center;
}

.admin-login-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
  margin: 0 auto 1.2rem;
  display: block;
}

.admin-login-title {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 0.3rem;
}

.admin-login-sub {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.admin-login-card .form-group { text-align: left; }

/* ----- Admin header ----- */
.admin-header {
  background: linear-gradient(90deg, #1a1a2e 0%, #16213e 100%);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}

.admin-header-inner {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.admin-header-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.admin-header-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.admin-header-title {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.01em;
}

.admin-logout-btn {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  border: 2px solid rgba(255,255,255,0.25);
  padding: 0.45rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 800;
  border-radius: 50px;
  transition: background var(--transition), color var(--transition);
}
.admin-logout-btn:hover {
  background: rgba(255,255,255,0.22);
  color: var(--white);
  transform: none;
}

/* ----- Admin main ----- */
.admin-main {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

/* ----- Stats row ----- */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 2px solid #eef0f8;
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

/* ----- Tab navigation ----- */
.admin-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #dde0f0;
  margin-bottom: 1.8rem;
  overflow-x: auto;
}

.admin-tab {
  background: none;
  border: none;
  padding: 0.85rem 1.4rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: color var(--transition), border-color var(--transition);
}

.admin-tab:hover  { color: var(--blue); }
.admin-tab.active { color: var(--blue); border-bottom-color: var(--blue); }

/* ----- Panel header ----- */
.admin-panel-header { margin-bottom: 1.5rem; }
.admin-panel-header h2 { font-size: 1.3rem; font-weight: 900; color: var(--dark); margin-bottom: 0.25rem; }
.admin-panel-sub { font-size: 0.9rem; color: var(--muted); }

/* ----- Loading / empty states ----- */
.admin-loading { text-align: center; color: var(--muted); padding: 2rem; font-size: 0.95rem; }
.admin-empty   { text-align: center; color: var(--muted); padding: 2.5rem; font-size: 1rem; font-weight: 700; }
.admin-muted   { color: var(--muted); }

/* ----- Booking request cards ----- */
.booking-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.4rem;
}

.booking-request-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 2px solid #eef0f8;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition), opacity 0.35s ease;
}

.booking-card-header {
  background: linear-gradient(90deg, #eef6ff, #f9f9ff);
  padding: 0.9rem 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eef0f8;
}

.booking-card-name { font-size: 1.05rem; font-weight: 900; color: var(--dark); }
.booking-card-date { font-size: 0.82rem; font-weight: 800; color: var(--blue); }

.booking-card-body { padding: 1rem 1.3rem; }

.booking-card-row {
  display: flex;
  gap: 0.6rem;
  font-size: 0.88rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid #f0f2fa;
}
.booking-card-row:last-child { border-bottom: none; }

.booking-card-label { font-weight: 800; color: var(--muted); min-width: 90px; flex-shrink: 0; }
.booking-card-value { color: var(--text); word-break: break-word; }
.booking-card-value a { color: var(--blue); }

.booking-card-message .booking-card-value { font-style: italic; color: var(--muted); }

.booking-card-actions {
  padding: 0.9rem 1.3rem;
  display: flex;
  gap: 0.75rem;
  border-top: 2px solid #f0f2fa;
}

/* ----- Action buttons ----- */
.admin-btn-confirm {
  background: #22c55e;
  color: var(--white);
  border-color: #22c55e;
  box-shadow: 0 2px 10px rgba(34,197,94,0.35);
  padding: 0.55rem 1.2rem;
  font-size: 0.88rem;
  flex: 1;
}
.admin-btn-confirm:hover { background: #16a34a; border-color: #16a34a; box-shadow: 0 4px 14px rgba(34,197,94,0.4); }

.admin-btn-danger {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  box-shadow: 0 2px 10px rgba(242,68,68,0.3);
  padding: 0.55rem 1.2rem;
  font-size: 0.88rem;
  flex: 1;
}
.admin-btn-danger:hover { background: #d63030; border-color: #d63030; box-shadow: 0 4px 14px rgba(242,68,68,0.4); }

.admin-btn-outline {
  background: transparent;
  color: var(--muted);
  border: 2px solid #dde0f0;
  padding: 0.55rem 1.2rem;
  font-size: 0.88rem;
}
.admin-btn-outline:hover { background: #f0f2fa; color: var(--dark); transform: none; }

.admin-btn-sm-danger {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 800;
  border-radius: 50px;
  flex-shrink: 0;
}
.admin-btn-sm-danger:hover { background: #d63030; }

/* ----- Status badges ----- */
.status-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
}

.badge-pending  { background: #fff3cd; color: #856404; }
.badge-confirmed{ background: #d1fadf; color: #166534; }
.badge-declined { background: #f0f2fa; color: #666680; }

/* ----- Upcoming tab ----- */
.upcoming-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.upcoming-row {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 2px solid #eef0f8;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0.8rem 1.3rem 0.8rem 0.8rem;
}

.upcoming-img {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  background: #f0f2fa;
  flex-shrink: 0;
}

.upcoming-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upcoming-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.upcoming-info { flex: 1; min-width: 0; }

.upcoming-name {
  font-size: 1rem;
  font-weight: 900;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.upcoming-date { font-size: 0.82rem; color: var(--blue); font-weight: 700; margin-top: 0.2rem; }

.upcoming-customer { flex: 1; min-width: 0; }
.upcoming-customer-name { font-size: 0.9rem; font-weight: 800; color: var(--dark); }
.upcoming-customer-phone { font-size: 0.8rem; color: var(--muted); margin-top: 0.2rem; }
.upcoming-customer-phone a { color: var(--blue); }

/* ----- All bookings table ----- */
.admin-table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.88rem;
}

.admin-table th {
  background: #f0f2fa;
  padding: 0.85rem 1rem;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  border-bottom: 2px solid #dde0f0;
  white-space: nowrap;
}

.admin-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #eef0f8;
  color: var(--text);
  vertical-align: middle;
}

.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #fafbff; }

/* ----- Block dates ----- */
.block-dates-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.8rem;
  align-items: start;
}

.block-dates-form-card,
.block-dates-list-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  box-shadow: var(--shadow);
  border: 2px solid #eef0f8;
}

.block-dates-form-card h3,
.block-dates-list-card h3 {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 1.2rem;
}

.block-form-msg {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
}

.block-form-success { background: #d1fadf; color: #166534; }
.block-form-error   { background: #fff0f0; color: var(--red); }

.blocked-dates-list { display: flex; flex-direction: column; gap: 0.75rem; }

.blocked-date-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f0f2fa;
  transition: opacity 0.3s ease;
}
.blocked-date-row:last-child { border-bottom: none; }

.blocked-date-info { flex: 1; min-width: 0; }
.blocked-date-date { font-size: 0.9rem; font-weight: 800; color: var(--dark); }
.blocked-date-inf  { font-size: 0.8rem; color: var(--blue); font-weight: 700; margin-top: 0.1rem; }
.blocked-date-reason { font-size: 0.78rem; color: var(--muted); margin-top: 0.15rem; font-style: italic; }

/* ----- Modals ----- */
.admin-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  padding: 1rem;
  backdrop-filter: blur(2px);
  animation: fadeIn 0.2s ease;
}

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

.admin-modal {
  background: var(--white);
  border-radius: calc(var(--radius) * 1.3);
  padding: 2rem 1.8rem;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 16px 60px rgba(0,0,0,0.25);
  animation: slideUp 0.25s ease;
}

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

.admin-modal h3 { font-size: 1.2rem; font-weight: 900; color: var(--dark); margin-bottom: 0.6rem; }
.admin-modal p  { font-size: 0.95rem; color: var(--muted); margin-bottom: 1.2rem; }

.admin-modal-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 1.4rem;
}

/* ===================================================
   RESPONSIVE — Booking wizard + Admin
   =================================================== */

@media (max-width: 900px) {
  .block-dates-layout { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .availability-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
  .step-label { display: none; }
  .step-connector { max-width: 48px; }

  .admin-stats { grid-template-columns: 1fr 1fr 1fr; gap: 0.75rem; }
  .stat-number { font-size: 1.8rem; }

  .booking-cards-grid { grid-template-columns: 1fr; }

  .admin-header-title { font-size: 0.95rem; }
}

@media (max-width: 600px) {
  .availability-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
  }

  .avail-card .avail-img { height: 120px; }

  .wizard-card { padding: 1.6rem 1.2rem; }

  .upcoming-row { flex-wrap: wrap; gap: 0.75rem; }
  .upcoming-customer { width: 100%; }

  .admin-stats { grid-template-columns: 1fr; gap: 0.75rem; }

  .admin-modal { padding: 1.5rem 1.2rem; }
  .admin-modal-actions { flex-direction: column-reverse; }
  .admin-modal-actions .btn { width: 100%; text-align: center; }

  .booking-contact-details { flex-direction: column; align-items: center; }
}

/* ===================================================
   PRICING & ANALYTICS — Additional Styles
   =================================================== */

/* Rental card price */
.rental-price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 0.75rem;
  display: block;
}

/* Availability grid price */
.avail-price {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--green);
  display: block;
  margin-top: 0.2rem;
}

/* Analytics */
.analytics-filter-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.analytics-filter-row select {
  padding: 0.55rem 1rem;
  border: 2px solid #dde0f0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--dark);
  background: var(--bg-light);
  outline: none;
}

.analytics-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.analytics-stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.stat-value {
  font-size: 2rem;
  font-weight: 900;
  color: var(--dark);
}

.analytics-section-title {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--dark);
  margin: 2rem 0 1rem;
}

.inflatable-revenue-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid #eef0f8;
}

.inflatable-revenue-row:last-child { border-bottom: none; }

.inflatable-rev-name {
  font-weight: 700;
  min-width: 160px;
  font-size: 0.9rem;
}

.inflatable-rev-bar-wrap {
  flex: 1;
  height: 10px;
  background: #eef0f8;
  border-radius: 5px;
  overflow: hidden;
}

.inflatable-rev-bar {
  height: 100%;
  background: var(--blue);
  border-radius: 5px;
  transition: width 0.6s ease;
}

.inflatable-rev-value {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--dark);
  min-width: 80px;
  text-align: right;
}

.inflatable-rev-count {
  font-size: 0.78rem;
  color: var(--muted);
  min-width: 60px;
  text-align: right;
}
