/* ===== CSS VARIABLES ===== */
:root {
    --sun-gold: #F5A623;
    --sun-deep: #E8841A;
    --sky-blue: #1B4F8A;
    --sky-light: #5BA4CF;
    --cream: #FEF9EF;
    --cream-dark: #F5EDD6;
    --terracotta: #C4622D;
    --forest: #2D6A4F;
    --text-dark: #1C2433;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(28,36,51,0.08);
    --shadow-md: 0 4px 20px rgba(28,36,51,0.12);
    --shadow-lg: 0 8px 40px rgba(28,36,51,0.16);
    --radius: 12px;
    --radius-lg: 20px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Lora', Georgia, serif;
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.7;
    font-size: 16px;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Fredoka', 'Comic Sans MS', cursive, sans-serif;
    font-weight: 600;
    line-height: 1.2;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== UTILITY ===== */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.mt-1{margin-top:8px}.mt-2{margin-top:16px}.mt-3{margin-top:24px}.mt-4{margin-top:32px}
.mb-1{margin-bottom:8px}.mb-2{margin-bottom:16px}.mb-3{margin-bottom:24px}.mb-4{margin-bottom:32px}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    border: none;
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
    text-decoration: none;
    line-height: 1;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: linear-gradient(135deg, var(--sun-gold), var(--sun-deep));
    color: var(--white);
    box-shadow: 0 4px 16px rgba(245,166,35,0.4);
}
.btn-primary:hover { box-shadow: 0 6px 24px rgba(245,166,35,0.55); }

.btn-sky { background: var(--sky-blue); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-sky:hover { background: #15406f; }

.btn-outline { background: transparent; color: var(--sky-blue); border: 2px solid var(--sky-blue); }
.btn-outline:hover { background: var(--sky-blue); color: var(--white); }

.btn-forest { background: var(--forest); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-danger { background: #dc3545; color: var(--white); }
.btn-sm { padding: 8px 20px; font-size: 0.875rem; }
.btn-lg { padding: 18px 48px; font-size: 1.125rem; }
.btn-white { background: var(--white); color: var(--sun-deep); font-weight: 700; }

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 16px 0;
    transition: background 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
    background: rgba(254,249,239,0.97);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(8px);
}
.navbar-inner { display: flex; align-items: center; justify-content: space-between; }
.navbar-brand {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.5rem; font-weight: 700;
    color: var(--sky-blue);
    display: flex; align-items: center; gap: 8px;
}
.navbar-brand .sun-icon { color: var(--sun-gold); font-size: 1.6rem; }
.navbar-nav { display: flex; align-items: center; gap: 32px; list-style: none; }
.navbar-nav a {
    font-family: 'Fredoka', sans-serif;
    font-size: 1rem; font-weight: 500;
    color: var(--text-dark);
    transition: color 0.2s;
}
.navbar-nav a:hover { color: var(--sky-blue); }

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    background: linear-gradient(160deg, #FEF9EF 0%, #FEE9C4 40%, #FDDFA8 70%, #F5C97A 100%);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    position: relative; overflow: hidden;
    padding: 120px 24px 100px;
    text-align: center;
}
.hero-hebrew {
    position: absolute;
    font-size: clamp(120px, 28vw, 400px);
    font-family: 'Arial Hebrew', 'David', serif;
    color: rgba(245,166,35,0.07);
    font-weight: 700;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none; user-select: none;
    white-space: nowrap; line-height: 1;
}
.sun-svg {
    position: absolute;
    top: -5%; left: 50%;
    transform: translateX(-50%);
    width: min(700px, 100vw);
    height: min(700px, 100vw);
    opacity: 0.14;
    pointer-events: none;
}
.hero-content { position: relative; z-index: 2; max-width: 820px; }
.hero-pretitle {
    font-family: 'Fredoka', sans-serif;
    font-size: 1rem; color: var(--terracotta);
    letter-spacing: 3px; text-transform: uppercase;
    margin-bottom: 16px;
}
.hero-title {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(3.5rem, 11vw, 7.5rem);
    font-weight: 700; color: var(--sky-blue);
    line-height: 1; margin-bottom: 12px;
    text-shadow: 0 2px 30px rgba(27,79,138,0.08);
}
.hero-title .sun-word { color: var(--sun-deep); }
.hero-subtitle {
    font-family: 'Lora', serif;
    font-size: clamp(1.05rem, 2.5vw, 1.3rem);
    color: var(--text-dark); opacity: 0.8;
    margin-bottom: 10px; font-style: italic;
}
.hero-dates {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.1rem; color: var(--terracotta);
    margin-bottom: 44px; font-weight: 500;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-hills {
    position: absolute; bottom: 0; left: 0; right: 0; line-height: 0;
}

/* ===== SECTIONS ===== */
.section { padding: 88px 0; }
.section-title {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--sky-blue); margin-bottom: 12px;
}
.section-subtitle {
    font-size: 1.05rem; color: var(--text-dark);
    opacity: 0.72; max-width: 580px;
    margin: 0 auto 52px; line-height: 1.7;
}

/* ===== CAMP PHOTO BANNER ===== */
.camp-photo-section {
    background-image: url('https://static.wixstatic.com/media/d85f7e_b30b2747cb374197aaf03ba8e3fa8f39~mv2.jpeg/v1/fill/w_1665,h_686,al_c,q_85,usm_0.66_1.00_0.01,enc_auto/d85f7e_b30b2747cb374197aaf03ba8e3fa8f39~mv2.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 380px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.camp-photo-overlay {
    position: relative;
    text-align: center;
    padding: 60px 24px;
    background: rgba(27, 79, 138, 0.55);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}
.camp-photo-quote {
    font-family: 'Lora', serif;
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-style: italic;
    color: #fff;
    margin: 0;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
    max-width: 700px;
    line-height: 1.4;
}

/* ===== ABOUT ===== */
.about-section { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-text p { margin-bottom: 18px; font-size: 1.05rem; line-height: 1.8; }
.about-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.highlight-card {
    background: var(--cream); border-radius: var(--radius);
    padding: 24px; text-align: center;
    border: 2px solid var(--cream-dark);
    transition: transform 0.2s, border-color 0.2s;
}
.highlight-card:hover { transform: translateY(-4px); border-color: var(--sun-gold); }
.highlight-icon { font-size: 2.5rem; margin-bottom: 8px; display: block; }
.highlight-card h4 { font-size: 1rem; color: var(--sky-blue); margin-bottom: 4px; }
.highlight-card p { font-size: 0.875rem; opacity: 0.7; margin: 0; }

/* ===== WEEKS GRID ===== */
.weeks-section { background: var(--cream); }
.weeks-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 52px; }
.week-card {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 30px 26px; box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--sun-gold);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative; overflow: hidden;
}
.week-card::before {
    content: ''; position: absolute; top: 0; right: 0;
    width: 80px; height: 80px;
    background: linear-gradient(135deg, transparent 50%, rgba(245,166,35,0.07) 50%);
}
.week-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.week-card:nth-child(2) { border-top-color: var(--sky-light); }
.week-card:nth-child(3) { border-top-color: var(--terracotta); }
.week-card:nth-child(4) { border-top-color: var(--forest); }
.week-card:nth-child(5) { border-top-color: var(--sky-light); }
.week-card:nth-child(6) { border-top-color: var(--terracotta); }

.week-card-label {
    font-family: 'Fredoka', sans-serif;
    font-size: 0.72rem; text-transform: uppercase;
    letter-spacing: 2px; color: var(--terracotta);
    margin-bottom: 6px;
}
.week-card h3 { font-size: 1.5rem; color: var(--sky-blue); margin-bottom: 6px; }
.week-card-dates { font-size: 0.875rem; color: var(--text-dark); opacity: 0.65; margin-bottom: 18px; }
.week-card-price {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.85rem; font-weight: 700; color: var(--sun-deep);
}
.week-card-price span { font-size: 0.875rem; color: var(--text-dark); opacity: 0.55; font-weight: 400; }

/* Short week badge */
.week-badge {
    display: inline-block;
    background: var(--cream-dark);
    color: var(--terracotta);
    font-family: 'Fredoka', sans-serif;
    font-size: 0.7rem; font-weight: 600;
    padding: 2px 10px; border-radius: 50px;
    letter-spacing: 0.5px; margin-left: 6px;
    vertical-align: middle;
}

/* ===== FEATURES ===== */
.features-section { background: var(--sky-blue); color: var(--white); }
.features-section .section-title { color: var(--white); }
.features-section .section-subtitle { color: rgba(255,255,255,0.78); }
.features-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 36px; margin-top: 52px; }
.feature-item { text-align: center; }
.feature-icon {
    width: 76px; height: 76px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; margin: 0 auto 18px;
    border: 2px solid rgba(255,255,255,0.18);
    transition: background 0.2s, transform 0.2s;
}
.feature-item:hover .feature-icon { background: rgba(255,255,255,0.18); transform: scale(1.08); }
.feature-item h3 { font-size: 1.2rem; margin-bottom: 8px; color: var(--sun-gold); }
.feature-item p { font-size: 0.9rem; opacity: 0.82; line-height: 1.65; }

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--sun-gold) 0%, var(--sun-deep) 100%);
    padding: 88px 0; text-align: center;
    position: relative; overflow: hidden;
}
.cta-section::before {
    content: '☀'; position: absolute;
    font-size: 380px; opacity: 0.05;
    top: -80px; right: -60px; line-height: 1;
    pointer-events: none;
}
.cta-section h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--white); margin-bottom: 16px; }
.cta-section p {
    color: rgba(255,255,255,0.88); font-size: 1.1rem;
    margin-bottom: 40px; max-width: 500px;
    margin-left: auto; margin-right: auto;
}

/* ===== FOOTER ===== */
.footer { background: var(--text-dark); color: rgba(255,255,255,0.72); padding: 52px 0 32px; text-align: center; }
.footer-brand { font-family: 'Fredoka', sans-serif; font-size: 1.6rem; color: var(--sun-gold); margin-bottom: 10px; }
.footer p { font-size: 0.9rem; margin-bottom: 6px; }
.footer a { color: var(--sky-light); }
.footer-copy {
    margin-top: 28px; padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.8rem; opacity: 0.45;
}

/* ===== REGISTER PAGE ===== */
.register-page { background: var(--cream); min-height: 100vh; padding-top: 80px; }
.register-header {
    background: linear-gradient(135deg, var(--sky-blue) 0%, #1a5fa8 100%);
    padding: 52px 0 68px; color: var(--white);
    text-align: center; position: relative; overflow: hidden;
}
.register-header::after {
    content: ''; position: absolute; bottom: -1px; left: 0; right: 0;
    height: 44px; background: var(--cream);
    clip-path: ellipse(55% 100% at 50% 100%);
}
.register-header h1 { font-size: 2.5rem; color: var(--white); margin-bottom: 8px; }
.register-header p { color: rgba(255,255,255,0.82); font-size: 1.05rem; }

.register-body { padding: 40px 0 88px; }
.register-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }

/* Form cards */
.form-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); margin-bottom: 24px; overflow: hidden; }
.form-card-header {
    background: linear-gradient(135deg, var(--sky-blue), #2166b2);
    color: var(--white); padding: 20px 28px;
    display: flex; align-items: center; gap: 12px;
}
.form-card-header h2 { font-size: 1.3rem; color: var(--white); }
.form-card-header .card-icon { font-size: 1.4rem; opacity: 0.9; }
.form-card-body { padding: 28px; }

/* Form fields */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-row.three-col { grid-template-columns: 1fr 1fr 1fr; }
.form-row.full { grid-template-columns: 1fr; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
    font-family: 'Fredoka', sans-serif;
    font-size: 0.875rem; font-weight: 600;
    color: var(--sky-blue); letter-spacing: 0.2px;
}
.form-label .optional { color: #aaa; font-weight: 400; font-size: 0.78rem; }
.form-control {
    padding: 11px 16px;
    border: 2px solid var(--cream-dark);
    border-radius: 8px;
    font-family: 'Lora', serif;
    font-size: 0.95rem; color: var(--text-dark);
    background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
}
.form-control:focus {
    outline: none;
    border-color: var(--sky-light);
    box-shadow: 0 0 0 3px rgba(91,164,207,0.15);
}
.form-control.is-invalid { border-color: #e53e3e; }
select.form-control {
    cursor: pointer; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231B4F8A' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}

/* Camper cards */
.camper-card {
    background: var(--white); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm); margin-bottom: 20px;
    overflow: hidden; border: 2px solid transparent;
    transition: border-color 0.2s;
    animation: slideIn 0.3s ease;
}
@keyframes slideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.camper-card:hover { border-color: var(--cream-dark); }
.camper-card-header {
    color: var(--white); padding: 16px 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.camper-card:nth-child(odd) .camper-card-header { background: linear-gradient(135deg, #F5A623, #E8841A); }
.camper-card:nth-child(even) .camper-card-header { background: linear-gradient(135deg, #C4622D, #a8522a); }
.camper-card-title { font-family: 'Fredoka', sans-serif; font-size: 1.1rem; font-weight: 600; }
.camper-remove-btn {
    background: rgba(255,255,255,0.22); border: none; color: white;
    width: 30px; height: 30px; border-radius: 50%; cursor: pointer;
    font-size: 1rem; display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
}
.camper-remove-btn:hover { background: rgba(255,255,255,0.38); }
.camper-card-body { padding: 24px; }

/* Week toggles */
.weeks-label {
    font-family: 'Fredoka', sans-serif;
    font-size: 0.875rem; font-weight: 600;
    color: var(--sky-blue); margin-bottom: 12px; display: block;
}
.week-toggles { display: flex; flex-wrap: wrap; gap: 10px; }
.week-toggle { position: relative; }
.week-toggle input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; }
.week-toggle label {
    display: flex; flex-direction: column; align-items: center;
    padding: 10px 18px; border: 2px solid var(--cream-dark);
    border-radius: 50px; cursor: pointer;
    transition: all 0.2s;
    font-family: 'Fredoka', sans-serif;
    font-size: 0.875rem; font-weight: 600;
    color: var(--text-dark); background: var(--cream);
    line-height: 1.2;
}
.week-toggle label .week-dates-small {
    font-family: 'Lora', serif; font-size: 0.68rem;
    font-weight: 400; color: #999; margin-top: 2px;
}
.week-toggle input:checked + label {
    background: var(--sky-blue); border-color: var(--sky-blue);
    color: var(--white); box-shadow: 0 2px 10px rgba(27,79,138,0.28);
}
.week-toggle input:checked + label .week-dates-small { color: rgba(255,255,255,0.72); }

/* Add camper */
.add-camper-btn {
    background: linear-gradient(135deg, var(--sun-gold), var(--sun-deep));
    color: var(--white); border: none;
    padding: 14px 28px; border-radius: 50px;
    font-family: 'Fredoka', sans-serif; font-size: 1rem; font-weight: 600;
    cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 4px 16px rgba(245,166,35,0.3);
}
.add-camper-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(245,166,35,0.42); }

/* Pricing sidebar */
.pricing-sidebar { position: sticky; top: 100px; }
.pricing-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.pricing-card-header { background: linear-gradient(135deg, var(--forest), #3a8a65); color: var(--white); padding: 22px 24px; }
.pricing-card-header h3 { font-size: 1.2rem; color: var(--white); margin-bottom: 2px; }
.pricing-card-header p { font-size: 0.84rem; opacity: 0.78; }
.pricing-card-body { padding: 24px; }
.pricing-line {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 0; border-bottom: 1px solid var(--cream-dark); font-size: 0.9rem;
}
.pricing-line:last-of-type { border-bottom: none; }
.pricing-line-label { color: var(--text-dark); opacity: 0.7; }
.pricing-line-value { font-family: 'Fredoka', sans-serif; font-weight: 600; color: var(--sky-blue); }
.pricing-total {
    margin-top: 16px; padding: 18px;
    background: var(--cream); border-radius: var(--radius);
    display: flex; justify-content: space-between; align-items: center;
    border: 2px solid var(--sun-gold);
}
.pricing-total-label { font-family: 'Fredoka', sans-serif; font-size: 1rem; font-weight: 600; color: var(--text-dark); }
.pricing-total-value { font-family: 'Fredoka', sans-serif; font-size: 1.85rem; font-weight: 700; color: var(--sun-deep); }

/* Payment section */
.payment-section { margin-top: 24px; }
.payment-section h4 {
    font-family: 'Fredoka', sans-serif; font-size: 0.85rem;
    color: var(--sky-blue); margin-bottom: 12px;
    text-transform: uppercase; letter-spacing: 1px;
}
#paypal-button-container { min-height: 48px; }
.defer-section {
    margin-top: 18px; padding-top: 16px;
    border-top: 1px dashed var(--cream-dark); text-align: center;
}
.defer-btn {
    background: none; border: none; color: #999; font-size: 0.85rem;
    cursor: pointer; text-decoration: underline; font-family: 'Lora', serif;
    transition: color 0.2s;
}
.defer-btn:hover { color: var(--terracotta); }
.defer-warning {
    display: none; background: #fff5f5;
    border: 2px solid #feb2b2; border-radius: var(--radius);
    padding: 16px; margin-top: 14px;
    font-size: 0.84rem; color: #c53030; line-height: 1.55;
}
.defer-warning.show { display: block; }
.defer-confirm-btn {
    margin-top: 12px; background: var(--terracotta);
    color: white; border: none; padding: 10px 20px;
    border-radius: 50px; font-family: 'Fredoka', sans-serif;
    font-size: 0.9rem; cursor: pointer; width: 100%;
    font-weight: 600; transition: background 0.2s;
}
.defer-confirm-btn:hover { background: #a8522a; }
.field-error { color: #e53e3e; font-size: 0.8rem; margin-top: 4px; }
.error-banner {
    background: #fff5f5; border: 2px solid #feb2b2;
    border-radius: var(--radius); padding: 16px 20px;
    margin-bottom: 24px; color: #c53030; font-size: 0.9rem; display: none;
}
.error-banner.show { display: block; }

/* ===== CONFIRMATION PAGES ===== */
.confirmation-page {
    min-height: 100vh; background: var(--cream);
    padding: 100px 0 80px; display: flex; align-items: center;
}
.confirmation-card {
    background: var(--white); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); padding: 52px 48px;
    text-align: center; max-width: 660px; margin: 0 auto;
}
.confirmation-icon { font-size: 4.5rem; margin-bottom: 16px; display: block; }
.confirmation-card h1 { font-size: 2.2rem; color: var(--sky-blue); margin-bottom: 12px; }
.confirmation-card > p { color: var(--text-dark); opacity: 0.78; margin-bottom: 14px; font-size: 1rem; }
.confirmation-details {
    background: var(--cream); border-radius: var(--radius);
    padding: 24px; margin: 24px 0; text-align: left;
}
.confirmation-details h3 { font-size: 0.9rem; color: var(--sky-blue); margin-bottom: 14px; text-transform: uppercase; letter-spacing: 1px; }
.camper-summary { border-bottom: 1px solid var(--cream-dark); padding: 10px 0; }
.camper-summary:last-child { border-bottom: none; }
.camper-summary strong { color: var(--text-dark); display: block; }
.camper-summary small { color: #888; font-size: 0.82rem; }
.deferred-warning-box {
    background: #fffbeb; border: 2px solid var(--sun-gold);
    border-radius: var(--radius); padding: 20px;
    margin: 24px 0; font-size: 0.9rem; color: var(--text-dark); line-height: 1.6;
}

/* ===== ADMIN ===== */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
    width: 260px; background: var(--sky-blue); color: var(--white);
    flex-shrink: 0; display: flex; flex-direction: column;
    position: fixed; top: 0; bottom: 0; left: 0; z-index: 50;
}
.admin-sidebar-brand { padding: 28px 24px 24px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.admin-sidebar-brand h1 { font-size: 1.3rem; color: var(--sun-gold); margin-bottom: 2px; }
.admin-sidebar-brand p { font-size: 0.75rem; opacity: 0.55; font-family: 'Lora', serif; }
.admin-nav { padding: 16px 0; flex: 1; }
.admin-nav a {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 24px; font-family: 'Fredoka', sans-serif;
    font-size: 0.95rem; color: rgba(255,255,255,0.72);
    transition: background 0.2s, color 0.2s;
}
.admin-nav a:hover, .admin-nav a.active { background: rgba(255,255,255,0.1); color: var(--white); }
.admin-nav a .nav-icon { font-size: 1.1rem; width: 20px; text-align: center; }
.admin-sidebar-footer { padding: 16px 24px; border-top: 1px solid rgba(255,255,255,0.1); }
.admin-content { margin-left: 260px; flex: 1; background: #f4f6f9; min-height: 100vh; }
.admin-topbar {
    background: var(--white); padding: 18px 32px;
    border-bottom: 1px solid #e8ecf0;
    display: flex; align-items: center; justify-content: space-between;
}
.admin-topbar h2 { font-size: 1.35rem; color: var(--text-dark); }
.admin-main { padding: 32px; }

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-bottom: 32px; }
.stat-card {
    background: var(--white); border-radius: var(--radius);
    padding: 24px; box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--sky-blue);
}
.stat-card:nth-child(2) { border-left-color: var(--forest); }
.stat-card:nth-child(3) { border-left-color: var(--sun-gold); }
.stat-card:nth-child(4) { border-left-color: var(--terracotta); }
.stat-value { font-family: 'Fredoka', sans-serif; font-size: 2.4rem; font-weight: 700; color: var(--sky-blue); line-height: 1; margin-bottom: 6px; }
.stat-card:nth-child(2) .stat-value { color: var(--forest); }
.stat-card:nth-child(3) .stat-value { color: var(--sun-deep); }
.stat-card:nth-child(4) .stat-value { color: var(--terracotta); }
.stat-label { font-family: 'Fredoka', sans-serif; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1px; color: #999; }

/* Filter tabs */
.filter-tabs { display: inline-flex; gap: 4px; background: var(--white); padding: 6px; border-radius: 50px; box-shadow: var(--shadow-sm); margin-bottom: 24px; }
.filter-tab {
    padding: 8px 24px; border-radius: 50px;
    font-family: 'Fredoka', sans-serif; font-size: 0.9rem; font-weight: 600;
    color: #888; cursor: pointer; text-decoration: none; transition: all 0.2s;
}
.filter-tab.active, .filter-tab:hover { background: var(--sky-blue); color: var(--white); }

/* Admin table */
.admin-table-wrap { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.admin-table th {
    background: #f8f9fa; padding: 14px 16px; text-align: left;
    font-family: 'Fredoka', sans-serif; font-size: 0.78rem;
    text-transform: uppercase; letter-spacing: 1px; color: #999;
    border-bottom: 1px solid #e8ecf0;
}
.admin-table td { padding: 14px 16px; border-bottom: 1px solid #f0f2f4; color: var(--text-dark); }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tbody tr { cursor: pointer; transition: background 0.15s; }
.admin-table tbody tr:hover { background: #f5f8ff; }

/* Badges */
.badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 4px 12px; border-radius: 50px;
    font-size: 0.75rem; font-weight: 600;
    font-family: 'Fredoka', sans-serif;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.badge-paid { background: #d4edda; color: #155724; }
.badge-deferred { background: #fff3cd; color: #856404; }

/* Admin detail */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.detail-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; margin-bottom: 24px; }
.detail-card-header {
    background: #f8f9fa; padding: 14px 20px;
    border-bottom: 1px solid #e8ecf0;
    font-family: 'Fredoka', sans-serif; font-size: 0.8rem;
    text-transform: uppercase; letter-spacing: 1px; color: #999;
}
.detail-card-body { padding: 20px; }
.detail-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid #f5f5f5; font-size: 0.9rem; }
.detail-row:last-child { border-bottom: none; }
.detail-row-label { color: #888; }
.detail-row-value { font-weight: 600; color: var(--text-dark); }

/* Admin login */
.admin-login-page {
    min-height: 100vh; background: var(--sky-blue);
    display: flex; align-items: center; justify-content: center; padding: 24px;
}
.admin-login-card {
    background: var(--white); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); padding: 52px 44px;
    width: 100%; max-width: 420px; text-align: center;
}
.admin-login-card h1 { font-size: 1.8rem; color: var(--sky-blue); margin-bottom: 4px; }
.admin-login-card .subtitle { color: #888; font-size: 0.9rem; margin-bottom: 36px; }

/* Alerts */
.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 20px; font-size: 0.875rem; text-align: left; }
.alert-danger { background: #fff5f5; color: #c53030; border: 1px solid #feb2b2; }
.alert-success { background: #f0fff4; color: #22543d; border: 1px solid #9ae6b4; }

/* Roster */
.roster-week { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-bottom: 24px; overflow: hidden; }
.roster-week-header {
    background: linear-gradient(135deg, var(--sky-blue), #2166b2);
    color: var(--white); padding: 16px 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.roster-week-header h3 { font-size: 1.1rem; color: var(--white); }
.roster-week-header .dates { font-family: 'Lora', serif; font-size: 0.84rem; opacity: 0.78; }
.roster-camper-count { background: rgba(255,255,255,0.2); border-radius: 50px; padding: 4px 12px; font-size: 0.8rem; font-family: 'Fredoka', sans-serif; }
.roster-list { padding: 0; list-style: none; }
.roster-list li { padding: 12px 24px; border-bottom: 1px solid #f0f2f4; display: flex; justify-content: space-between; font-size: 0.9rem; }
.roster-list li:last-child { border-bottom: none; }
.roster-empty { padding: 20px 24px; color: #bbb; font-style: italic; font-size: 0.9rem; }

/* Spinner */
.spinner { display: inline-block; width: 18px; height: 18px; border: 3px solid rgba(255,255,255,0.3); border-top-color: white; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== RESPONSIVE ===== */
@media (max-width: 1000px) {
    .features-grid { grid-template-columns: repeat(2,1fr); }
    .weeks-grid { grid-template-columns: repeat(2,1fr); }
    .about-grid { grid-template-columns: 1fr; }
    .register-layout { grid-template-columns: 1fr; }
    .pricing-sidebar { position: static; }
    .stats-grid { grid-template-columns: repeat(2,1fr); }
    .detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .weeks-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .form-row, .form-row.three-col { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .admin-sidebar { display: none; }
    .admin-content { margin-left: 0; }
    .confirmation-card { padding: 32px 20px; }
    .navbar-nav { display: none; }
}
