/* ===== Rent Soda City — Bubbly & professional ===== */
:root {
  --pink-50: #fef6f8;
  --pink-100: #fceef2;
  --pink-200: #f8e1e7;
  --pink-300: #f2c9d4;
  --pink-400: #e9a3b5;
  --pink-500: #dc7a94;
  --pink-600: #c85a7a;
  --pink-700: #a83d5c;
  --pink-800: #8c354d;
  --pink-900: #762f43;
  --white: #ffffff;
  --cream: #fffbfc;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  --shadow-soft: 0 2px 12px rgba(200, 90, 122, 0.08);
  --shadow-bubble: 0 8px 28px rgba(200, 90, 122, 0.12);
  --shadow-card: 0 4px 20px rgba(140, 53, 77, 0.06);
  --font-heading: 'Quicksand', sans-serif;
  --font-body: 'Nunito', sans-serif;
  --header-height: 72px;
  --touch-min: 44px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--pink-900);
  background: var(--cream);
}

/* ----- Page load: pink bubbles rise from bottom (in front of hero) ----- */
.bubbles-rise {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  overflow: hidden;
}

.rise-bubble {
  position: absolute;
  bottom: -15%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--pink-200), var(--pink-400));
  opacity: 0;
  animation: bubble-rise 3.2s linear forwards;
}

.rise-bubble.r1  { left: 5%;   width: 50px;  height: 50px;  animation-delay: 0s;     }
.rise-bubble.r2  { left: 18%;  width: 70px;  height: 70px;  animation-delay: 0.2s;   }
.rise-bubble.r3  { left: 32%;  width: 40px;  height: 40px;  animation-delay: 0.4s;   }
.rise-bubble.r4  { left: 48%;  width: 85px;  height: 85px;  animation-delay: 0.1s;   }
.rise-bubble.r5  { left: 58%;  width: 55px;  height: 55px;  animation-delay: 0.35s;  }
.rise-bubble.r6  { left: 72%;  width: 65px;  height: 65px;  animation-delay: 0.15s;  }
.rise-bubble.r7  { left: 85%;  width: 45px;  height: 45px;  animation-delay: 0.3s;   }
.rise-bubble.r8  { left: 12%;  width: 35px;  height: 35px;  animation-delay: 0.5s;   }
.rise-bubble.r9  { left: 65%;  width: 48px;  height: 48px;  animation-delay: 0.25s;  }
.rise-bubble.r10 { left: 42%;  width: 60px;  height: 60px;  animation-delay: 0.45s;  }
.rise-bubble.r11 { left: 3%;   width: 38px;  height: 38px;  animation-delay: 0.08s;  }
.rise-bubble.r12 { left: 25%;  width: 58px;  height: 58px;  animation-delay: 0.28s;  }
.rise-bubble.r13 { left: 38%;  width: 72px;  height: 72px;  animation-delay: 0.52s;  }
.rise-bubble.r14 { left: 52%;  width: 42px;  height: 42px;  animation-delay: 0.12s;  }
.rise-bubble.r15 { left: 62%;  width: 78px;  height: 78px;  animation-delay: 0.38s;  }
.rise-bubble.r16 { left: 78%;  width: 52px;  height: 52px;  animation-delay: 0.18s;  }
.rise-bubble.r17 { left: 92%;  width: 44px;  height: 44px;  animation-delay: 0.55s;  }
.rise-bubble.r18 { left: 8%;   width: 62px;  height: 62px;  animation-delay: 0.32s;  }
.rise-bubble.r19 { left: 22%;  width: 36px;  height: 36px;  animation-delay: 0.05s;  }
.rise-bubble.r20 { left: 68%;  width: 56px;  height: 56px;  animation-delay: 0.42s;  }
.rise-bubble.r21 { left: 15%;  width: 46px;  height: 46px;  animation-delay: 0.22s;  }
.rise-bubble.r22 { left: 45%;  width: 68px;  height: 68px;  animation-delay: 0.48s;  }
.rise-bubble.r23 { left: 55%;  width: 34px;  height: 34px;  animation-delay: 0.02s;  }
.rise-bubble.r24 { left: 75%;  width: 74px;  height: 74px;  animation-delay: 0.35s;  }
.rise-bubble.r25 { left: 88%;  width: 40px;  height: 40px;  animation-delay: 0.58s;  }
.rise-bubble.r26 { left: 28%;  width: 54px;  height: 54px;  animation-delay: 0.15s;  }
.rise-bubble.r27 { left: 35%;  width: 64px;  height: 64px;  animation-delay: 0.62s;  }
.rise-bubble.r28 { left: 50%;  width: 48px;  height: 48px;  animation-delay: 0.25s;  }
.rise-bubble.r29 { left: 7%;   width: 70px;  height: 70px;  animation-delay: 0.4s;   }
.rise-bubble.r30 { left: 82%;  width: 32px;  height: 32px;  animation-delay: 0.1s;   }

@keyframes bubble-rise {
  0% {
    transform: translateY(0) translateX(0) scale(0.6);
    opacity: 0;
  }
  5% {
    opacity: 0.55;
  }
  85% {
    opacity: 0.45;
  }
  100% {
    transform: translateY(-120vh) translateX(0) scale(1.1);
    opacity: 0;
  }
}

/* ----- Main content above bubble animation ----- */
main {
  position: relative;
  z-index: 2;
}

/* ----- Floating nav pill ----- */
.nav-pill {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0.4rem 0.5rem 0.4rem 1rem;
  background: rgba(255, 251, 252, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--pink-200);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-bubble);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: var(--touch-min);
  height: var(--touch-min);
  padding: 10px;
  margin-right: 0.25rem;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--pink-700);
  cursor: pointer;
  transition: background 0.2s;
}
.nav-toggle:hover {
  background: var(--pink-100);
}
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s, opacity 0.25s;
}

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

.nav a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--pink-700);
  text-decoration: none;
  border-radius: var(--radius-full);
  padding: 0.5rem 1rem;
  transition: color 0.2s, background 0.2s;
}

.nav a:hover {
  color: var(--pink-600);
  background: var(--pink-100);
}

.nav a.active {
  color: var(--white);
  background: var(--pink-600);
}

/* ----- Client-side page switching ----- */
.page-view {
  display: none;
}

.page-view.is-active {
  display: block;
}

/* ----- Hero (logo left, text right) ----- */
.hero {
  position: relative;
  min-height: 70vh;
  padding: 5.5rem 1.5rem 3rem 1.5rem;
  background: linear-gradient(168deg, var(--pink-100) 0%, var(--pink-200) 50%, var(--pink-100) 100%);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  overflow: hidden;
}

.hero-bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.bubble.b1 { width: 100px; height: 100px; top: 12%; left: 6%; }
.bubble.b2 { width: 64px;  height: 64px;  top: 58%; left: 10%; }
.bubble.b3 { width: 52px;  height: 52px;  top: 22%; right: 14%; }
.bubble.b4 { width: 88px;  height: 88px;  bottom: 12%; right: 6%; }
.bubble.b5 { width: 44px;  height: 44px;  top: 72%; right: 22%; }
.bubble.b6 { width: 60px;  height: 60px;  top: 18%; left: 38%; }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  justify-items: center;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 60vh;
}

.hero-logo {
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.hero-logo-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-bubble);
}

.hero-content {
  text-align: left;
  max-width: 420px;
  padding: 1rem;
}

.hero h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  line-height: 1.2;
  color: var(--pink-800);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.hero-tagline {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--pink-700);
  margin: 0 0 1.5rem;
  opacity: 0.95;
}

.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-full);
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.btn-primary {
  background: var(--pink-500);
  color: var(--white);
  box-shadow: var(--shadow-soft);
  min-height: var(--touch-min);
  padding: 0.75rem 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary:hover {
  box-shadow: var(--shadow-bubble);
  background: var(--pink-600);
}

/* ----- Inventory ----- */
.inventory {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.25rem 1.5rem 3.5rem;
}

.inventory-header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.inventory-header h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.65rem;
  color: var(--pink-800);
  margin: 0 0 0.3rem;
  letter-spacing: -0.02em;
}

.inventory-subtitle {
  font-size: 0.95rem;
  color: var(--pink-600);
  margin: 0;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.35rem;
}

.tile {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--pink-100);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}

.tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-bubble);
  border-color: var(--pink-200);
}

.tile-image {
  aspect-ratio: 4 / 5;
  background: var(--pink-100);
  overflow: hidden;
}

.tile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tile-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.tile-carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.tile-carousel-slide.is-active {
  opacity: 1;
}

.tile-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  border-radius: var(--radius-full);
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--pink-800);
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  z-index: 2;
}

.tile-carousel-prev {
  left: 0.5rem;
}

.tile-carousel-next {
  right: 0.5rem;
}

.tile-carousel-arrow:hover {
  background: var(--white);
}

.tile-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

/* Center storefront inventory tile content on home page */
#inventory-tiles .tile-body {
  align-items: center;
  text-align: center;
}

.tile-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--pink-800);
  margin: 0;
}

.tile-price {
  font-size: 0.95rem;
  color: var(--pink-600);
  margin: 0;
}

.tile-size {
  font-size: 0.92rem;
  color: var(--pink-700);
  margin: 0;
  font-weight: 600;
}

.price-amount {
  font-weight: 700;
  color: var(--pink-700);
}

.btn-rent {
  margin-top: 0.35rem;
  background: var(--pink-200);
  color: var(--pink-800);
  width: 100%;
  min-height: var(--touch-min);
}

.btn-rent:hover {
  background: var(--pink-300);
  color: var(--pink-900);
}

/* ----- Pagination ----- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.pagination-btn {
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--pink-300);
  background: var(--white);
  color: var(--pink-700);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.pagination-btn:hover:not(:disabled) {
  background: var(--pink-100);
  color: var(--pink-800);
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-pages {
  display: flex;
  gap: 0.35rem;
}

.pagination-page {
  min-width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--pink-300);
  background: var(--white);
  color: var(--pink-700);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.pagination-page:hover {
  background: var(--pink-100);
}

.pagination-page.active {
  background: var(--pink-500);
  color: var(--white);
  border-color: var(--pink-500);
}

/* ----- Full content pages (How It Works / About Us) ----- */
.content-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 1.5rem 3rem;
}

.content-page-card {
  max-width: 1000px;
  margin: 0 auto 2rem;
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--pink-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.content-page h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2rem;
  color: var(--pink-800);
}

.content-page p {
  margin: 0;
  color: var(--pink-700);
}

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

.content-page-step {
  background: var(--pink-50);
  border: 1px solid var(--pink-100);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.content-page-step h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-heading);
  color: var(--pink-800);
}

.content-page-step p {
  margin: 0;
  font-size: 0.95rem;
}

/* ----- How it works enhancements ----- */
.how-it-works-card {
  background: linear-gradient(180deg, var(--white) 0%, var(--pink-50) 100%);
}

.how-it-works-grid {
  margin-top: 1.4rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.how-step {
  position: relative;
  padding-top: 2.2rem;
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--pink-200);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.how-step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-bubble);
}

.how-step-badge {
  position: absolute;
  top: -14px;
  left: 14px;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--pink-600);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--shadow-soft);
}

/* ----- About Us split hero ----- */
.about-us-page {
  max-width: none;
  padding: 5rem 0 2rem;
}

.about-us-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 64vh;
  background: var(--white);
}

.about-us-hero-image {
  min-height: 64vh;
}

.about-us-hero-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.about-us-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem clamp(1.2rem, 4vw, 4rem);
  max-width: 620px;
}

.about-us-hero-content h1 {
  margin: 0 0 1rem;
}

.about-us-hero-content p {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  line-height: 1.65;
}

.about-us-hero-content p:last-child {
  margin-bottom: 0;
}

.about-us-intro {
  font-weight: 700;
  color: var(--pink-800);
}

/* ----- Inner page content (rent, rental, admin) ----- */
.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 5rem 1.5rem 3rem;
}

.page-content h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--pink-800);
  margin: 0 0 0.75rem;
}

.page-content p {
  color: var(--pink-700);
  margin: 0;
}

/* ----- Rent item page ----- */
.rent-item-page {
  max-width: 980px;
}

.rent-back-link-wrap {
  margin-bottom: 0.75rem;
}

.rent-back-link {
  color: var(--pink-700);
  font-weight: 700;
  text-decoration: none;
}

.rent-back-link:hover {
  text-decoration: underline;
}

.rent-item-message {
  min-height: 1.4rem;
  margin-bottom: 0.6rem;
  color: var(--pink-700);
  font-weight: 700;
}

.rent-item-card {
  background: var(--white);
  border: 1px solid var(--pink-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 1rem;
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: 1rem 1.25rem;
}

.rent-item-media {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--pink-100);
}

.rent-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rent-item-details h1 {
  margin: 0 0 0.65rem;
}

.rent-item-meta {
  margin: 0 0 0.35rem;
  color: var(--pink-700);
}

.rent-calendar-wrap {
  margin-top: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.rent-calendar-wrap label {
  font-weight: 700;
  color: var(--pink-700);
}

.rent-calendar-wrap input {
  border: 1px solid var(--pink-200);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.7rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  width: 100%;
  max-width: 380px;
}

.rent-date-selection {
  margin: 0.25rem 0 0;
  color: var(--pink-600);
}

/* ----- Admin sign-in page ----- */
.admin-signin-section {
  max-width: 460px;
  margin: 5.5rem auto 2.5rem;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--pink-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.admin-signin-section h1 {
  margin: 0 0 0.8rem;
  font-family: var(--font-heading);
  color: var(--pink-800);
}

.admin-signin-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.admin-signin-form button[type="submit"] {
  border: none;
  border-radius: var(--radius-full);
  background: var(--pink-500);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  min-height: var(--touch-min);
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-soft);
  align-self: flex-start;
}

.admin-signin-form button[type="submit"]:hover {
  background: var(--pink-600);
  box-shadow: var(--shadow-bubble);
  transform: translateY(-1px);
}

.admin-signin-form button[type="submit"]:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ----- Admin dashboard ----- */
.admin-dashboard-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.admin-sidebar {
  background: linear-gradient(180deg, #fff 0%, #fff6f9 100%);
  border: 1px solid var(--pink-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-bubble);
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  height: fit-content;
  position: sticky;
  top: 1rem;
}

.admin-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-sidebar-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--pink-200);
  padding: 0.2rem;
}

.admin-sidebar h1 {
  font-family: var(--font-heading);
  margin: 0 0 0.15rem;
  color: var(--pink-800);
  font-size: 1.1rem;
}

.admin-sidebar-subtitle {
  margin: 0;
  color: var(--pink-600);
  font-size: 0.88rem;
}

.admin-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.admin-nav-item {
  border: 1px solid var(--pink-300);
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--pink-800);
  padding: 0.8rem 0.95rem;
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.admin-nav-item:hover {
  border-color: var(--pink-400);
  background: var(--pink-50);
  transform: translateY(-1px);
}

.admin-nav-item-active {
  background: var(--pink-200);
  border-color: var(--pink-400);
}

.admin-sidebar-footer {
  margin-top: auto;
  border-top: 1px solid var(--pink-200);
  padding-top: 0.95rem;
}

.admin-secondary-btn {
  background: var(--white);
  color: var(--pink-800);
  border: 1px solid var(--pink-300);
}

.admin-secondary-btn:hover {
  background: var(--pink-100);
}

.admin-signout-button {
  width: 100%;
  border: 1px solid #f4c7d2;
  border-radius: var(--radius-lg);
  background: #fff3f6;
  color: #9f1d35;
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 0.8rem 0.95rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.admin-signout-button:hover {
  background: #ffe8ee;
  border-color: #eba6b8;
  transform: translateY(-1px);
}

.admin-main-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.admin-content-header {
  background: var(--white);
  border: 1px solid var(--pink-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.admin-content-header h2 {
  margin: 0;
  color: var(--pink-800);
  font-family: var(--font-heading);
}

.admin-content-header p {
  margin: 0.2rem 0 0;
  color: var(--pink-600);
}

.admin-search-row {
  background: var(--white);
  border: 1px solid var(--pink-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 0.85rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.admin-search-row label {
  font-weight: 700;
  color: var(--pink-700);
}

.admin-search-row input {
  border: 1px solid var(--pink-200);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.7rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.admin-add-item-panel {
  background: var(--white);
  border: 1px solid var(--pink-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 1rem 1.25rem;
}

.admin-add-item-panel h3 {
  margin: 0 0 0.8rem;
  color: var(--pink-800);
  font-family: var(--font-heading);
}

.admin-add-item-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 0.8rem 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-group label {
  font-weight: 700;
  color: var(--pink-700);
}

.form-group input,
.form-group select {
  border: 1px solid var(--pink-200);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.7rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  width: 100%;
}

.admin-form-span-2 {
  grid-column: 1 / -1;
}

.form-group-wide {
  align-self: start;
}

#inactive-dates-group,
#images-group {
  min-width: 0;
}

.flatpickr-calendar.inline {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.flatpickr-days,
.dayContainer {
  width: 100%;
  max-width: 100%;
}

.image-dropzone {
  border: 1px dashed var(--pink-300);
  border-radius: var(--radius-md);
  background: var(--pink-50);
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-dropzone p {
  margin: 0;
  color: var(--pink-700);
}

.image-dropzone input[type="file"] {
  display: none;
}

.image-dropzone.is-drag-over {
  border-color: var(--pink-600);
  background: var(--pink-100);
}

.image-preview-list {
  margin-top: 0.7rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.6rem;
}

.image-preview-item {
  border: 1px solid var(--pink-100);
  border-radius: var(--radius-sm);
  background: var(--white);
  overflow: hidden;
}

.image-preview-item img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
}

.image-preview-remove {
  width: 100%;
  border: none;
  border-top: 1px solid var(--pink-100);
  background: var(--pink-50);
  color: var(--pink-800);
  padding: 0.35rem 0.5rem;
  cursor: pointer;
  font-family: var(--font-body);
}

.admin-dashboard-message {
  min-height: 1.5rem;
  color: var(--pink-700);
  font-weight: 600;
}

.admin-item-actions {
  width: 100%;
  margin-top: 0.35rem;
}

.admin-inline-actions {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  flex-wrap: wrap;
}

body.admin-modal-open {
  overflow: hidden;
}

.admin-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(88, 33, 48, 0.35);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 120;
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 121;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.admin-modal-card {
  width: min(960px, 100%);
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
}

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

.admin-modal-header h3 {
  margin: 0;
}

.admin-modal-close {
  border: 1px solid var(--pink-200);
  border-radius: var(--radius-full);
  width: 2rem;
  height: 2rem;
  line-height: 1;
  background: var(--pink-50);
  color: var(--pink-800);
  cursor: pointer;
  font-size: 1.2rem;
  padding: 0;
}

.admin-error-message {
  color: #9f1d35;
}

.hidden {
  display: none;
}

/* ----- Footer ----- */
.site-footer {
  text-align: center;
  padding: 1.5rem;
  color: var(--pink-600);
  font-size: 0.9rem;
  border-top: 1px solid var(--pink-200);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--pink-700);
  font-weight: 700;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* ----- Utility: hide for pagination ----- */
.tile.hidden {
  display: none;
}

/* ----- Nav backdrop (mobile only) ----- */
.nav-backdrop {
  display: none;
}

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

  .nav-pill {
    left: 50%;
    transform: translateX(-50%);
    padding: 0.35rem 0.45rem 0.35rem 0.7rem;
  }

  .nav a {
    padding: 0.45rem 0.7rem;
    min-height: 0;
    font-size: 0.82rem;
  }

  .hero {
    min-height: auto;
    padding: 4.5rem 1rem 2.5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    min-height: 0;
  }

  .hero-logo {
    order: 1;
    padding: 0.5rem;
  }

  .hero-logo-img {
    max-height: 42vh;
    width: auto;
    max-width: 100%;
  }

  .hero-content {
    order: 2;
    text-align: center;
    max-width: none;
  }

  .hero h1 {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .hero-tagline {
    font-size: 0.95rem;
  }

  .inventory {
    padding: 1.75rem 1rem 2.5rem;
  }

  .content-page {
    padding: 5rem 1rem 2.25rem;
  }

  .about-us-page {
    padding: 4.5rem 0 1.5rem;
  }

  .about-us-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .about-us-hero-image {
    min-height: 48vh;
  }

  .about-us-hero-content {
    max-width: none;
    padding: 1.5rem 1rem 2rem;
  }

  .about-us-hero-content p {
    font-size: 1rem;
  }

  .content-page-card {
    margin: 0 0 1.25rem;
    padding: 1.1rem;
  }

  .inventory-header h2 {
    font-size: 1.45rem;
  }

  .tiles {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .tile-body {
    padding: 1rem 1.1rem;
  }

  .pagination {
    margin-top: 2rem;
    gap: 0.4rem;
  }

  .pagination-btn,
  .pagination-page {
    min-width: var(--touch-min);
    min-height: var(--touch-min);
  }

  .site-footer {
    padding: 1.25rem 1rem;
    font-size: 0.85rem;
  }

  .admin-dashboard-layout {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .admin-sidebar {
    position: static;
  }

  .admin-add-item-form {
    grid-template-columns: 1fr;
  }

  .admin-content-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .rent-item-card {
    grid-template-columns: 1fr;
  }

  .how-it-works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .tiles {
    max-width: none;
  }

  .how-it-works-grid {
    grid-template-columns: 1fr;
  }
}
