/* ============================================
   FITNESS PRO — APPLE-INSPIRED LUXURY DESIGN
   Dark, Premium, Minimalist — Smooth & Cinematic
   ============================================ */

/* === ROOT VARIABLES === */
:root {
    --primary-black: #0a0a0a;
    --dark-grey: #141414;
    --medium-grey: #1e1e1e;
    --light-grey: #2a2a2a;
    --border-grey: #333333;
    --accent-gold: #d4af37;
    --accent-gold-dim: rgba(212, 175, 55, 0.15);
    --pure-white: #ffffff;
    --off-white: #f5f5f7;
    --text-grey: #86868b;
    --text-secondary: #a1a1a6;
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-apple: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.45s var(--ease-apple);

    /*
     * Measured navbar height: 0.9rem padding × 2 (28.8px) + brand font 1.25rem
     * × line-height 1.6 (32px) + Bootstrap brand padding 5px × 2 + 1px border ≈ 72px.
     * Set to 80px for a comfortable clearance buffer.
     * Change this ONE variable if the navbar height ever changes.
     */
    --navbar-height: 80px;
}

/* === GLOBAL === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--primary-black);
    color: var(--off-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.toast-container {
    padding: 1.1rem !important;
}

#appToast {
    min-width: min(92vw, 420px);
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow: 0 18px 40px rgba(0,0,0,0.42);
    font-size: 1rem;
}

#appToast .toast-header {
    padding: 0.75rem 0.95rem;
}

#appToastTitle {
    font-size: 1rem;
    letter-spacing: 0.01em;
}

#appToast .toast-body {
    padding: 0.9rem 0.95rem 1rem;
    font-size: 0.97rem;
    line-height: 1.5;
}

/* === ACCESSIBILITY === */
.skip-link {
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(-130%);
    background: var(--accent-gold);
    color: var(--primary-black);
    padding: 0.75rem 1rem;
    z-index: 3000;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    transition: transform 0.3s;
}
.skip-link:focus {
    transform: translateY(0);
    outline: 2px solid var(--pure-white);
    outline-offset: 2px;
}

/* === PAGE WRAPPER === */
/*
 * .page-main is opened by includes/header.php and closed by includes/footer.php.
 * Every page on the site renders its content inside this element, so setting
 * padding-top here is the single global fix for the fixed navbar overlap.
 * The padding-top establishes a block formatting context, which also prevents
 * margin-collapsing from the first child element breaking the clearance.
 */
.page-main {
    padding-top: var(--navbar-height);
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.08;
    color: var(--off-white);
}

h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 600; margin-bottom: 1.5rem; }
h3 { font-size: 1.4rem; font-weight: 600; margin-bottom: 0.75rem; letter-spacing: -0.01em; }

p {
    font-size: 1.05rem;
    color: var(--text-grey);
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: 0.01em;
}

/* === NAVIGATION === */
.luxury-nav {
    background-color: #0a0a0a;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0.9rem 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.luxury-nav.nav-scrolled {
    background-color: #0a0a0a;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.luxury-nav .nav-link {
    color: rgba(245, 245, 247, 0.9);
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 0.02em;
    font-weight: 400;
    transition: color 0.25s ease;
    padding: 0.4rem 0.2rem;
}

.luxury-nav .nav-link:hover,
.luxury-nav .nav-link:focus {
    color: var(--off-white);
}

.luxury-nav .nav-link.active {
    color: var(--off-white);
    font-weight: 500;
}

.navbar-toggler {
    border-color: rgba(212, 175, 55, 0.35);
}
.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.brand-logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--pure-white);
    text-decoration: none;
    text-transform: uppercase;
    transition: opacity 0.25s ease;
}
.brand-logo:hover { opacity: 0.75; color: var(--pure-white); }

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
}
.nav-links a {
    color: var(--off-white);
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 0.02em;
    transition: opacity 0.25s ease;
}
.nav-links a:hover { opacity: 0.65; }

/* === BUTTONS === */
.btn-luxury {
    background-color: transparent;
    border: 1px solid rgba(212, 175, 55, 0.7);
    color: var(--accent-gold);
    padding: 11px 28px;
    font-size: 0.88rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s var(--ease-apple),
                color 0.3s var(--ease-apple),
                border-color 0.3s var(--ease-apple),
                transform 0.3s var(--ease-spring),
                box-shadow 0.3s var(--ease-apple);
    text-decoration: none;
    display: inline-block;
    border-radius: 980px;
    position: relative;
    overflow: hidden;
}
.btn-luxury:hover {
    background-color: var(--accent-gold);
    color: var(--primary-black);
    border-color: var(--accent-gold);
    transform: scale(1.03);
    box-shadow: 0 4px 24px rgba(212, 175, 55, 0.3);
}
.btn-luxury.active {
    background-color: var(--accent-gold);
    color: var(--primary-black);
}

.btn-luxury-solid {
    background-color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    color: var(--primary-black);
    padding: 11px 28px;
    font-size: 0.88rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s var(--ease-apple),
                color 0.3s var(--ease-apple),
                transform 0.3s var(--ease-spring),
                box-shadow 0.3s var(--ease-apple);
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    border-radius: 980px;
}
.btn-luxury-solid:hover {
    background-color: #c9a227;
    border-color: #c9a227;
    color: var(--primary-black);
    transform: scale(1.03);
    box-shadow: 0 4px 24px rgba(212, 175, 55, 0.4);
}

/* === SCROLL REVEAL === */
.reveal {
    opacity: 0;
    transform: translateY(48px);
    transition: opacity 0.8s var(--ease-apple),
                transform 0.8s var(--ease-apple);
    will-change: opacity, transform;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-48px);
    transition: opacity 0.8s var(--ease-apple), transform 0.8s var(--ease-apple);
    will-change: opacity, transform;
}
.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}
.reveal-right {
    opacity: 0;
    transform: translateX(48px);
    transition: opacity 0.8s var(--ease-apple), transform 0.8s var(--ease-apple);
    will-change: opacity, transform;
}
.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}
.reveal-scale {
    opacity: 0;
    transform: scale(0.94);
    transition: opacity 0.8s var(--ease-apple), transform 0.8s var(--ease-apple);
    will-change: opacity, transform;
}
.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delays for children */
.stagger > *:nth-child(1) { transition-delay: 0s; }
.stagger > *:nth-child(2) { transition-delay: 0.1s; }
.stagger > *:nth-child(3) { transition-delay: 0.2s; }
.stagger > *:nth-child(4) { transition-delay: 0.3s; }
.stagger > *:nth-child(5) { transition-delay: 0.4s; }
.stagger > *:nth-child(6) { transition-delay: 0.5s; }

/* === HERO SECTION === */
.hero-section {
    height: 100svh;
    min-height: 680px;
    /* Cancel the body padding so the hero extends edge-to-edge from the very
       top of the viewport (behind the transparent fixed navbar), matching
       the intentional full-bleed design. No other page uses this class. */
    margin-top: calc(-1 * var(--navbar-height));
    background-color: var(--primary-black);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Full-bleed video background layer */
.hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-section.video-failed .hero-bg-video {
    display: none;
}

.hero-section.video-failed::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('video_frame_start.jpg') center/cover no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(0,0,0,0.1) 0%,
        rgba(0,0,0,0.4) 50%,
        rgba(0,0,0,0.85) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
    padding: 2rem 1.5rem;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 1.4rem;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeUp 0.9s var(--ease-apple) 0.2s forwards;
}

.hero-section h1 {
    font-size: clamp(3rem, 7vw, 6.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.0;
    color: var(--pure-white);
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeUp 0.9s var(--ease-apple) 0.4s forwards;
}

.hero-section p {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    margin-bottom: 2.8rem;
    color: rgba(245, 245, 247, 0.75);
    font-weight: 300;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: heroFadeUp 0.9s var(--ease-apple) 0.6s forwards;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: heroFadeUp 0.9s var(--ease-apple) 0.8s forwards;
}

@keyframes heroFadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    animation: heroFadeUp 0.9s var(--ease-apple) 1.2s forwards;
    cursor: pointer;
}
.scroll-indicator span {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(245,245,247,0.5);
    font-weight: 500;
}
.scroll-chevron {
    width: 22px;
    height: 22px;
    border-right: 2px solid rgba(245,245,247,0.4);
    border-bottom: 2px solid rgba(245,245,247,0.4);
    transform: rotate(45deg);
    animation: chevronBounce 1.6s ease-in-out infinite;
}
@keyframes chevronBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.4; }
    50%       { transform: rotate(45deg) translateY(6px); opacity: 0.9; }
}

/* === STATS BAR === */
.stats-bar {
    background: var(--dark-grey);
    border-top: 1px solid var(--border-grey);
    border-bottom: 1px solid var(--border-grey);
    padding: 4rem 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}
.stat-item {}
.stat-number {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--off-white);
    letter-spacing: -0.03em;
    line-height: 1;
    display: block;
}
.stat-label {
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-grey);
    margin-top: 0.4rem;
    display: block;
}
.stat-divider {
    width: 1px;
    background: var(--border-grey);
    align-self: stretch;
}

/* === SECTION STYLES === */
.section {
    padding: 130px 0;
    position: relative;
}
.section-dark    { background-color: var(--dark-grey); }
.section-darker  { background-color: var(--primary-black); }
.section-medium  { background-color: var(--medium-grey); }

.luxury-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-gold);
    font-weight: 600;
    display: block;
    margin-bottom: 1rem;
}
.section-headline {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1.2rem;
    color: var(--off-white);
}
.section-body {
    font-size: 1.1rem;
    color: var(--text-grey);
    max-width: 560px;
    line-height: 1.8;
}

/* === CARDS === */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5px;
    margin-top: 3rem;
}
.card-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}
.card-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.luxury-card {
    background-color: var(--medium-grey);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 3.5rem 3rem;
    transition: transform 0.45s var(--ease-apple),
                border-color 0.45s var(--ease-apple),
                box-shadow 0.45s var(--ease-apple),
                background-color 0.45s var(--ease-apple);
    position: relative;
    overflow: hidden;
}
.luxury-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(212,175,55,0.06) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.45s var(--ease-apple);
    pointer-events: none;
}
.luxury-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.15);
    box-shadow: 0 24px 64px rgba(0,0,0,0.4);
    background-color: #222222;
}
.luxury-card:hover::after {
    opacity: 1;
}

.luxury-card-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
}
.luxury-card h3,
.luxury-card .stat-value {
    color: var(--off-white);
    margin-bottom: 0.75rem;
    font-size: 2.5rem;
    font-weight: 700;
}
.luxury-card p {
    margin-bottom: 0;
    line-height: 1.7;
    font-size: 1.2rem;
}

/* === FULL-BLEED FEATURE SECTION === */
.feature-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 520px;
}
.feature-split-media {
    background: url('https://images.unsplash.com/photo-1571019614242-c5c5dee9f50b?w=900&q=80') center/cover no-repeat;
    min-height: 400px;
    position: relative;
}
.feature-split-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.3), transparent);
}
.feature-split-content {
    background: var(--dark-grey);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5rem 4rem;
}

/* === MEMBERSHIP CTA === */
.cta-section {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1208 50%, #0a0a0a 100%);
    text-align: center;
    padding: 140px 0;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(212,175,55,0.07) 0%, transparent 70%);
    pointer-events: none;
}
.cta-section h2 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: 1.2rem;
    position: relative;
}
.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

/* === FORMS === */
.auth-shell {
    /* .page-main already clears the fixed navbar.
       This padding just adds comfortable breathing room above/below the form. */
    min-height: calc(100vh - var(--navbar-height));
    padding: 3rem 1rem 4.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.auth-shell .form-container {
    width: 100%;
    margin: 0;
}

.form-container {
    max-width: 560px;
    margin: 2rem auto;
    padding: 3.5rem;
    background-color: var(--dark-grey);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;
    box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}
.form-container h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--pure-white);
    font-size: 2rem;
}
/* Two-column form row — replaces Bootstrap row/col for consistent alignment */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
/* Single child fills the left column only */
.form-row > :only-child { grid-column: 1; }

/* Standalone form groups (e.g. login) get bottom spacing.
   Groups inside .form-row have it removed — the row handles spacing. */
.form-group { margin-bottom: 16px; }
.form-row .form-group { margin-bottom: 0; }
.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Unified input height — same padding, font-size, and border-radius for all fields */
.form-group input,
.form-group select,
.form-group textarea,
.form-control,
.form-select {
    width: 100%;
    padding: 13px 16px;
    background-color: var(--medium-grey);
    border: 1px solid var(--border-grey);
    border-radius: 10px;
    color: var(--pure-white);
    font-size: 0.95rem;
    line-height: 1.4;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: inherit;
    /* prevent browser from adding extra height on select */
    box-sizing: border-box;
}
/* Select: override OS system font — browsers ignore font-family: inherit on <select> */
.form-select,
select.form-control {
    padding-right: 2.5rem;
    font-family: -apple-system, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.95rem;
}

/* Select placeholder color — matches input placeholder rgba(255,255,255,0.30).
   :has(option[value=""]:checked) targets the select while the empty option is active. */
.form-select:has(option[value=""]:checked) {
    color: rgba(255, 255, 255, 0.30);
    -webkit-text-fill-color: rgba(255, 255, 255, 0.30);
}

/* Dropdown options — browsers only honour color + background-color on <option> */
.form-select option {
    background-color: #1e1e24;   /* matches --dark-grey / form card surface */
    color: #f5f5f7;              /* matches --off-white */
    font-size: 0.95rem;
}
.form-select option[value=""] {
    color: rgba(255, 255, 255, 0.40); /* dim the placeholder option in the list */
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(212,175,55,0.15);
}
.is-readonly {
    background-color: var(--light-grey) !important;
    cursor: not-allowed;
}
.form-control,
.form-select,
textarea.form-control {
    background-color: var(--medium-grey);
    border: 1px solid var(--border-grey);
    border-radius: 10px;
    color: var(--off-white);
    -webkit-text-fill-color: var(--off-white);
    font-family: inherit;
}
.form-control:focus,
.form-select:focus,
textarea.form-control:focus {
    background-color: var(--medium-grey);
    color: var(--pure-white);
    -webkit-text-fill-color: var(--pure-white);
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(212,175,55,0.15);
}

/* Placeholder — 0.55 opacity gives ~5.9:1 contrast on #1e1e1e (passes WCAG AA) */
.form-control::placeholder,
.form-select::placeholder,
textarea.form-control::placeholder {
    color: rgba(255, 255, 255, 0.55);
    -webkit-text-fill-color: rgba(255, 255, 255, 0.55);
    opacity: 1;
}
.form-control::-webkit-input-placeholder,
textarea.form-control::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.55);
    -webkit-text-fill-color: rgba(255, 255, 255, 0.55);
}

.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover,
.form-control:-webkit-autofill:focus,
textarea.form-control:-webkit-autofill,
textarea.form-control:-webkit-autofill:hover,
textarea.form-control:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--pure-white);
    box-shadow: 0 0 0 1000px var(--medium-grey) inset;
    transition: background-color 9999s ease-in-out 0s;
}
.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-grey);
    font-size: 0.82rem;
}

/* === REGISTRATION LIVE UI === */

/* Username / field availability indicator */
.input-status {
    font-size: 0.78rem;
    margin-top: 0.35rem;
    min-height: 1.1em;
    display: block;
}
.input-status.checking { color: var(--text-secondary); }
.input-status.available { color: #4ade80; }
.input-status.taken     { color: #f87171; }

/* Section label with extra top spacing (Account Security) */
.form-section-label--spaced { margin-top: 1.5rem; }

/*
 * Password section — explicit 2-column, 2-row grid.
 *
 * Column 1: password field (row 1) + confirm field (row 2)
 * Column 2: requirements panel spans both rows, sits beside both fields
 *
 * This gives perfect vertical alignment without margin hacks.
 */
.password-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    column-gap: 16px;
    row-gap: 12px;
    margin-top: 12px;
}

/* Explicit grid placement for each child */
.pw-password-group {
    grid-column: 1;
    grid-row: 1;
}
.pw-confirm-group {
    grid-column: 1;
    grid-row: 2;
}
.pw-requirements {
    grid-column: 2;
    grid-row: 1 / 3;    /* span both field rows */
    align-self: stretch; /* stretch to fill top-of-password to bottom-of-confirm */
    margin-top: 26px;    /* label height (≈0.82rem × 1.5 line-height + 6px margin) */
}

/* Label style — matches .form-group label exactly */
.pw-label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Strength bar sits 8px below the input */
.pw-strength-wrap {
    margin-top: 8px;
}
.pw-strength-track {
    height: 5px;
    background: var(--border-grey);
    border-radius: 3px;
    overflow: hidden;
}
.pw-strength-bar {
    height: 100%;
    width: 0;
    border-radius: 3px;
    transition: width 0.3s ease, background-color 0.3s ease;
}
/* Strength label — color driven by JS class */
.pw-strength-label {
    font-size: 0.75rem;
    margin-top: 4px;
    font-weight: 600;
    min-height: 1em;
    letter-spacing: 0.04em;
    transition: color 0.3s ease;
}
.pw-strength-label.strength-weak   { color: #ef4444; }
.pw-strength-label.strength-medium { color: #f59e0b; }
.pw-strength-label.strength-strong { color: #4ade80; }

/* Requirements panel styling (placement handled by grid above) */
.pw-requirements {
    background: var(--medium-grey);
    border: 1px solid var(--border-grey);
    border-radius: 10px;
    padding: 12px 14px;
}
.pw-requirements-title {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.pw-req-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.pw-req-list li {
    font-size: 0.79rem;
    color: var(--text-grey);
    padding: 3px 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s ease;
}
.pw-req-list li .req-icon {
    font-style: normal;
    font-size: 0.78rem;
    width: 1em;
    flex-shrink: 0;
    color: var(--border-grey);
    transition: color 0.2s ease;
}
.pw-req-list li.met       { color: #4ade80; }
.pw-req-list li.met .req-icon   { color: #4ade80; }
.pw-req-list li.unmet     { color: #f87171; }
.pw-req-list li.unmet .req-icon { color: #f87171; }

/* Confirm password match message */
.pw-match-msg {
    font-size: 0.78rem;
    display: block;
    transition: color 0.2s ease;
    /* No min-height or margin-top when empty — prevents the confirm row
       from being taller than the input, which would make the requirements
       box stretch past the confirm password bottom */
}
.pw-match-msg.match,
.pw-match-msg.no-match {
    margin-top: 5px; /* only add space when there is actually a message */
}
.pw-match-msg.match    { color: #4ade80; }
.pw-match-msg.no-match { color: #f87171; }

/* === REGISTER PAGE — PREMIUM UPGRADES === */

/* Icon badge above title */
.register-icon-badge {
    width: 54px;
    height: 54px;
    margin: 0 auto 1.25rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

/* Form header block — used on Login, Register, Forgot Password, Reset Password */
.register-header {
    text-align: center;
    margin-bottom: 1.75rem;
}
.register-header h1,
.register-header h2 {
    font-size: 3.6rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    margin-bottom: 0.4rem;
    color: var(--pure-white);
}
.register-header .register-subtitle {
    font-size: 0.9rem;
    color: var(--text-grey);
    margin: 0;
    letter-spacing: 0.01em;
}

/* Fieldset reset — used in register.php to group form sections semantically */
.form-fieldset {
    border: none;
    margin: 0;
    padding: 0;
    min-width: 0;
}

/* Section divider label */
.form-section-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--accent-gold);
    margin: 0.5rem 0 1rem;
}
.form-section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(212, 175, 55, 0.3), transparent);
}

/* Password field — wrapper for show/hide button */
.pw-field-wrap {
    position: relative;
}
.pw-field-wrap .form-control {
    padding-right: 3rem;
}
.pw-toggle {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 4px 2px;
    cursor: pointer;
    color: var(--text-grey);
    font-size: 1rem;
    line-height: 1;
    transition: color 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}
.pw-toggle:hover { color: var(--off-white); }
.pw-toggle:focus-visible {
    outline: 2px solid var(--accent-gold);
    border-radius: 4px;
}
.eye-icon {
    display: block;
    width: 18px;
    height: 18px;
    pointer-events: none;
}

/* Premium CTA button */
.btn-register-cta {
    display: block;
    width: 100%;
    padding: 15px 28px;
    margin-top: 1.75rem;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    color: #0a0a0a;
    background: linear-gradient(135deg, #d4af37 0%, #c9a227 60%, #b8931f 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.25s var(--ease-spring),
                box-shadow 0.3s var(--ease-apple),
                filter 0.25s ease;
    position: relative;
    overflow: hidden;
}
.btn-register-cta:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.45),
                0 2px 8px rgba(0, 0, 0, 0.3);
    filter: brightness(1.07);
}
.btn-register-cta:active:not(:disabled) {
    transform: translateY(0) scale(0.99);
    box-shadow: 0 2px 12px rgba(212, 175, 55, 0.3);
}
.btn-register-cta:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
/* Loading spinner inside button */
.btn-spinner {
    display: none;
    width: 15px;
    height: 15px;
    border: 2px solid rgba(0, 0, 0, 0.25);
    border-top-color: #0a0a0a;
    border-radius: 50%;
    animation: btn-spin 0.65s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
    margin-bottom: 2px;
}
.btn-register-cta.loading .btn-spinner { display: inline-block; }
.btn-register-cta.loading .btn-label   { opacity: 0.8; }
@keyframes btn-spin { to { transform: rotate(360deg); } }

/* Microcopy below CTA */
.cta-microcopy {
    text-align: center;
    font-size: 0.74rem;
    color: var(--text-grey);
    margin-top: 0.65rem;
    letter-spacing: 0.02em;
}

/* "Already a member?" footer — softer than main CTA */
.register-footer-link {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
    font-size: 0.88rem;
    color: var(--text-grey);
}
.register-footer-link a {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s ease;
}
.register-footer-link a:hover { opacity: 0.75; }

/* === FOOTER === */
footer {
    background-color: var(--primary-black);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 4rem 0 3rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-grey);
    margin-top: 1rem;
    max-width: 280px;
    line-height: 1.7;
}
.footer-col-title {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 1.2rem;
}
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.footer-links a {
    color: var(--text-grey);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.25s ease;
}
.footer-links a:hover { color: var(--off-white); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-bottom p {
    color: var(--text-grey);
    font-size: 0.82rem;
    letter-spacing: 0.03em;
}

/* === UTILITIES === */
.text-center  { text-align: center; }
.text-gold    { color: var(--accent-gold); }
.gold-accent  { color: var(--accent-gold); }
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
}
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }

/* === DASHBOARD === */
.dashboard-container { padding: 3rem 0; }
.dashboard-header { margin-bottom: 3rem; }
.dashboard-header h1 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    letter-spacing: -0.03em;
}
.dashboard-header p { font-size: 1.1rem; margin-top: 0.75rem; }
.dashboard-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 4rem;
}

.filter-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    align-items: center;
}
.filter-btn {
    background-color: var(--medium-grey);
    border: 1px solid var(--border-grey);
    color: var(--text-secondary);
    padding: 9px 22px;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s var(--ease-apple);
    border-radius: 980px;
    font-weight: 500;
    font-family: inherit;
}
.filter-btn:hover,
.filter-btn.active {
    background-color: var(--accent-gold);
    color: var(--primary-black);
    border-color: var(--accent-gold);
    box-shadow: 0 2px 12px rgba(212,175,55,0.3);
}

/* === ACTIVITY CARDS === */
.activity-card {
    background-color: var(--dark-grey);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 14px;
    padding: 1.1rem 1.2rem;
    margin-bottom: 1.2rem;
    display: grid;
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr) auto;
    gap: 1.3rem;
    align-items: center;
    transition: transform 0.35s var(--ease-apple),
                border-color 0.35s var(--ease-apple),
                box-shadow 0.35s var(--ease-apple);
}
.activity-media {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    aspect-ratio: 16 / 10;
    background: var(--medium-grey);
}
.activity-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s var(--ease-apple);
}
.activity-card:hover .activity-media img {
    transform: scale(1.04);
}

.activity-card:hover {
    transform: translateY(-3px);
    border-color: rgba(212, 175, 55, 0.2);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.activity-info h2,
.activity-info h3 { color: var(--pure-white); margin-bottom: 0.6rem; font-size: 1.15rem; }
.activity-meta {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 1rem;
}
/* --text-secondary (#a1a1a6) gives ~7:1 contrast on card bg — passes WCAG AA */
.activity-meta span { color: var(--text-secondary); font-size: 0.88rem; }
.activity-meta .gold-accent { font-size: 1.4rem; font-weight: 600; }
.activity-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 0.6rem;
}
.activity-actions.single-action {
    justify-content: center;
}
.activity-actions form { margin: 0; }

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 5px 11px;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.04);
    color: var(--off-white);
    backdrop-filter: blur(6px);
}
.status-upcoming {
    color: #f5df95;
    background: linear-gradient(135deg, rgba(212,175,55,0.24), rgba(212,175,55,0.1));
    border-color: rgba(212,175,55,0.52);
}
.status-full {
    color: #ffd2b8;
    background: linear-gradient(135deg, rgba(160,70,36,0.32), rgba(88,34,18,0.24));
    border-color: rgba(219,121,84,0.48);
}
.status-past {
    color: #b7bac2;
    background: linear-gradient(135deg, rgba(52,56,64,0.55), rgba(36,38,44,0.48));
    border-color: rgba(108,114,126,0.44);
}

.activity-actions .btn-luxury-solid {
    min-width: 126px;
    text-align: center;
}
.activity-actions .btn-luxury-solid[disabled],
.activity-actions .btn-luxury-solid[aria-disabled="true"] {
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 1;
}
.activity-actions .btn-luxury-solid[disabled]:hover,
.activity-actions .btn-luxury-solid[aria-disabled="true"]:hover {
    transform: none;
    box-shadow: none;
}

/* === ACTIVITY DETAIL PAGE === */
.activity-premium-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(1200px 520px at 10% -8%, rgba(212,175,55,0.18), transparent 60%),
        radial-gradient(900px 460px at 92% 10%, rgba(132,95,22,0.2), transparent 58%),
        linear-gradient(180deg, #0d0d0f 0%, #0a0a0b 42%, #090909 100%);
}

.activity-premium-topbar {
    margin-bottom: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.activity-premium-crumb {
    color: rgba(245,245,247,0.68);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.activity-detail-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(290px, 360px);
    gap: 1.7rem;
    align-items: start;
}

.activity-detail-main {
    background: linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
    border: 1px solid rgba(212,175,55,0.22);
    border-radius: 22px;
    padding: 1.45rem;
    box-shadow: 0 22px 56px rgba(0,0,0,0.46);
    backdrop-filter: blur(4px);
}

.activity-gallery-main {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.16);
    background: var(--medium-grey);
    aspect-ratio: 16 / 9;
}

.activity-gallery-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.activity-gallery-sheen {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(130deg, rgba(255,255,255,0.26) 0%, rgba(255,255,255,0) 34%),
        linear-gradient(180deg, rgba(0,0,0,0.02) 50%, rgba(0,0,0,0.5) 100%);
}

.activity-description-block {
    margin-top: 1.3rem;
}

.activity-kicker {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-gold);
    font-weight: 600;
    display: inline-block;
}

.activity-detail-title {
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    margin-bottom: 0.55rem;
}

.activity-chip-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
}

.activity-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(245,245,247,0.88);
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.08);
}

.activity-detail-copy {
    margin-bottom: 1.15rem;
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.8;
}

.activity-facts-grid {
    margin-top: 1.2rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
}

.activity-fact-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 0.78rem 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
}

.activity-fact-label {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(245,245,247,0.66);
}

.activity-fact-value {
    font-size: 0.87rem;
    line-height: 1.45;
    color: var(--off-white);
    font-weight: 500;
}

.activity-booking-panel {
    position: sticky;
    top: calc(var(--navbar-height) + 1rem);
}

.activity-booking-panel-inner {
    background: linear-gradient(175deg, rgba(17,17,18,0.95), rgba(8,8,8,0.96));
    border: 1px solid rgba(212,175,55,0.24);
    border-radius: 18px;
    padding: 1.35rem;
    box-shadow: 0 18px 48px rgba(0,0,0,0.42);
}

.activity-booking-title {
    margin-bottom: 0.55rem;
    font-size: 1.06rem;
    letter-spacing: 0.02em;
}

.activity-booking-price {
    font-size: 1.95rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--accent-gold);
    margin-bottom: 0.95rem;
}

.activity-booking-meta {
    display: flex;
    flex-direction: column;
    gap: 0.48rem;
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.activity-booking-meta strong {
    color: var(--off-white);
    font-weight: 600;
}

.activity-booking-note {
    margin: 0.9rem 0 0;
    color: rgba(245,245,247,0.72);
    font-size: 0.8rem;
    letter-spacing: 0.03em;
    border-top: 1px dashed rgba(212,175,55,0.35);
    padding-top: 0.7rem;
}

.activity-detail-actions {
    width: 100%;
}

.activity-cta {
    width: 100%;
    text-align: center;
}

/* === ABOUT: FOUNDERS === */
.founders-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}

.founder-card {
    margin-bottom: 0;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    min-height: 100%;
}

.founder-media-wrap {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    background: var(--medium-grey);
}

.founder-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.founder-content {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.founder-name {
    font-size: 1.05rem;
    margin-bottom: 0;
}

.founder-role {
    margin: 0;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-gold);
    font-weight: 600;
}

.founder-quote {
    margin: 0.2rem 0 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.65;
}

.status-btn-full {
    background: linear-gradient(135deg, #7a3118, #9a4323);
    border-color: #b7603d;
    color: #ffe5d6;
}
.status-btn-past {
    background: linear-gradient(135deg, #2f3238, #24262b);
    border-color: #565b66;
    color: #c4c7cf;
}

.admin-thumb {
    width: 74px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.12);
    display: block;
}
.admin-actions {
    min-width: 170px;
}
.admin-action-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    margin-bottom: 6px;
    text-decoration: none;
}
.admin-image-preview-wrap {
    display: flex;
    flex-direction: column;
}
.admin-image-preview {
    width: 100%;
    max-width: 340px;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.12);
}

/* === ADMIN DASHBOARD === */
.admin-panel {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 2.5rem;
    /* .page-main clears the navbar; this margin adds visual breathing room only. */
    margin-top: 2.5rem;
    padding-bottom: 4rem;
}
.admin-sidebar {
    background-color: var(--dark-grey);
    padding: 2rem;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    height: fit-content;
    position: sticky;
    /* Sticky top must clear the fixed navbar so the sidebar doesn't scroll under it. */
    top: calc(var(--navbar-height) + 1rem);
}
.admin-sidebar h3,
.admin-sidebar-label { margin-bottom: 1.5rem; color: var(--accent-gold); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }
.admin-sidebar ul { list-style: none; }
.admin-sidebar ul li { margin-bottom: 0.75rem; }
.admin-sidebar ul li a {
    color: var(--text-grey);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    transition: color 0.25s ease;
    display: block;
    padding: 0.3rem 0;
}
.admin-sidebar ul li a:hover { color: var(--off-white); }
.admin-content { padding: 0 1rem; }

.booking-management-toolbar {
    align-items: center;
    margin-bottom: 1.2rem;
}

.booking-count {
    min-width: 180px;
    color: var(--text-grey);
    font-size: 0.88rem;
    text-align: right;
}

.booking-management-footer {
    display: flex;
    justify-content: center;
    margin-top: 1.2rem;
}

.admin-chart-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.2rem;
}
.admin-chart-card {
    background-color: var(--dark-grey);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 1rem 1rem 0.8rem;
}
.admin-chart-card h3 {
    margin-bottom: 0.9rem;
    font-size: 1rem;
    color: var(--off-white);
}
.admin-chart-card-wide {
    grid-column: 1 / -1;
}
.admin-chart-wrap {
    position: relative;
    height: 320px;
}

table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; }
table th, table td { padding: 1.2rem 1rem; text-align: left; border-bottom: 1px solid var(--border-grey); }
table th {
    background-color: var(--medium-grey);
    color: var(--accent-gold);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
}
table td { color: var(--off-white); font-size: 0.9rem; }
table tr:hover td { background-color: rgba(255,255,255,0.02); }

.btn-delete {
    background-color: transparent;
    border: 1px solid rgba(224, 82, 96, 0.7);
    color: #e05260; /* lightened from #dc3545 → contrast 5.3:1 on #141414 (WCAG AA) */
    padding: 11px 28px; /* matches .btn-luxury so both action buttons are the same size */
    font-size: 0.88rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 980px;
    font-family: inherit;
    font-weight: 500;
}
.btn-delete:hover { background-color: #e05260; color: var(--pure-white); border-color: #e05260; }

/* === MARQUEE / TICKER STRIP === */
.ticker-wrap {
    overflow: hidden;
    border-top: 1px solid var(--border-grey);
    border-bottom: 1px solid var(--border-grey);
    background: var(--dark-grey);
    padding: 1.2rem 0;
    white-space: nowrap;
}
.ticker-inner {
    display: inline-flex;
    gap: 3rem;
    animation: ticker 30s linear infinite;
}
.ticker-inner:hover { animation-play-state: paused; }
.ticker-item {
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-grey);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}
.ticker-dot { color: var(--accent-gold); font-size: 0.5rem; }
@keyframes ticker {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .feature-split { grid-template-columns: 1fr; }
    .feature-split-content { padding: 3.5rem 2.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }

    .activity-card {
        grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
    }
    .activity-actions {
        grid-column: 1 / -1;
        align-items: flex-start;
        margin-top: 0.4rem;
    }

    .activity-detail-shell {
        grid-template-columns: 1fr;
    }

    .activity-facts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .activity-booking-panel {
        position: static;
    }

    .founders-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2rem; }

    .dashboard-cta { flex-direction: column; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons .btn-luxury,
    .hero-buttons .btn-luxury-solid { width: 100%; max-width: 280px; text-align: center; }

    .activity-premium-crumb {
        width: 100%;
    }

    .activity-facts-grid {
        grid-template-columns: 1fr;
    }

    .card-grid { grid-template-columns: 1fr; }
    .card-grid-2, .card-grid-3 { grid-template-columns: 1fr; }

    .activity-card { grid-template-columns: 1fr; }
    .activity-media { max-width: 100%; }
    .activity-actions { align-items: flex-start; margin-top: 1rem; }

    .founders-grid {
        grid-template-columns: 1fr;
    }

    .auth-shell {
        padding: 2rem 1rem 3rem;
        min-height: auto;
    }

    /* Stack all two-column rows on mobile */
    .form-row { grid-template-columns: 1fr; gap: 12px; }

    /* Password section: collapse to single column, restore natural flow */
    .password-section {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        row-gap: 12px;
    }
    .pw-password-group { grid-column: 1; grid-row: 1; }
    .pw-requirements   { grid-column: 1; grid-row: 2; }
    .pw-confirm-group  { grid-column: 1; grid-row: 3; }

    .admin-panel { grid-template-columns: 1fr; margin-top: 1.5rem; }
    .admin-sidebar { position: static; }
    .admin-chart-grid { grid-template-columns: 1fr; }
    .admin-chart-card-wide { grid-column: auto; }
    .admin-chart-wrap { height: 300px; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .section { padding: 80px 0; }
    .cta-section { padding: 90px 0; }
    .form-container { padding: 2.5rem 1.5rem; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
    .luxury-card { padding: 2rem 1.5rem; }
}

/* ── File input styling ─────────────────────────────────────────────────────── */
input[type="file"] {
    color: rgba(255, 255, 255, 0.75);
    font-family: inherit;
    font-size: 0.9rem;
}

input[type="file"]::-webkit-file-upload-button,
input[type="file"]::file-selector-button {
    background: #2a2a32;
    color: #f5f5f7;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px 0 0 8px;
    padding: 8px 14px;
    margin-right: 12px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease;
}

input[type="file"]::-webkit-file-upload-button:hover,
input[type="file"]::file-selector-button:hover {
    background: #c9a84c;
    color: #000;
    border-color: #c9a84c;
}
