/**
 * KidVenture Clubs - Marketing Site Styles
 * Modern, accessible, mobile-first design
 */

/* =============================================================================
   LOADING ANIMATION STYLES
   ============================================================================= */

/* Page loading overlay */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.3s ease-out;
}

.page-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Fun bouncing dots animation */
.loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.loader-text {
    color: #2563eb;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
}

.bouncing-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    animation: bounce 1.4s ease-in-out infinite both;
}

.dot:nth-child(1) {
    background: #ff6b6b;
    animation-delay: -0.32s;
}

.dot:nth-child(2) {
    background: #4ecdc4;
    animation-delay: -0.16s;
}

.dot:nth-child(3) {
    background: #45b7d1;
    animation-delay: 0s;
}

.dot:nth-child(4) {
    background: #96ceb4;
    animation-delay: 0.16s;
}

.dot:nth-child(5) {
    background: #feca57;
    animation-delay: 0.32s;
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0.8) translateY(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1.2) translateY(-20px);
        opacity: 1;
    }
}

/* Fun spinning elements */
.loader-elements {
    position: absolute;
    width: 200px;
    height: 200px;
}

.spinner-element {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    animation: orbit 3s linear infinite;
}

.spinner-element:nth-child(1) {
    background: #ff9ff3;
    animation-delay: 0s;
    top: 0;
    left: 50%;
}

.spinner-element:nth-child(2) {
    background: #54a0ff;
    animation-delay: -1s;
    top: 50%;
    right: 0;
}

.spinner-element:nth-child(3) {
    background: #5f27cd;
    animation-delay: -2s;
    bottom: 0;
    left: 50%;
}

@keyframes orbit {
    0% {
        transform: rotate(0deg) translateX(90px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(90px) rotate(-360deg);
    }
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.98);
    }
    100% {
        transform: scale(1);
    }
}

/* Animation Utility Classes */
.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in-down {
    animation: fadeInDown 0.5s ease-out;
}

.animate-fade-in {
    animation: fadeIn 0.4s ease-out;
}

.animate-scale-in {
    animation: scaleIn 0.4s ease-out;
}

.animate-slide-up {
    animation: slideUp 0.5s ease-out;
}

.animate-bounce-in {
    animation: bounceIn 0.6s ease-out;
}

.animate-delay-1 {
    animation-delay: 0.1s;
    animation-fill-mode: both;
}

.animate-delay-2 {
    animation-delay: 0.2s;
    animation-fill-mode: both;
}

.animate-delay-3 {
    animation-delay: 0.3s;
    animation-fill-mode: both;
}

.animate-delay-4 {
    animation-delay: 0.4s;
    animation-fill-mode: both;
}

.animate-delay-5 {
    animation-delay: 0.5s;
    animation-fill-mode: both;
}

/* Loading and State Animations */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes shimmer {
    0% {
        background-position: -468px 0;
    }
    100% {
        background-position: 468px 0;
    }
}

.loading-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.loading-spin {
    animation: spin 1s linear infinite;
}

.loading-shimmer {
    background: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
    background-size: 800px 104px;
    animation: shimmer 1.2s ease-in-out infinite;
}

/* Intersection Observer Animation Classes */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
}

.scale-in-on-scroll {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-in-on-scroll.animate {
    opacity: 1;
    transform: scale(1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 
                 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #1F2937;
    background-color: #F5F6F8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Layout utilities */
.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
}

/* EMERGENCY COMPLETE REWRITE - FORCE GRID LAYOUT */
.clubs-section {
    background: #F5F6F8;
    padding: 40px 0;
}

.clubs-grid-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.clubs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}

.club-card-wrapper {
    /* Grid item - no special styling needed */
}

@media (max-width: 800px) {
    .clubs-grid {
        grid-template-columns: 1fr 1fr !important;
    }
}

@media (max-width: 500px) {
    .clubs-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (min-width: 768px) {
    .container {
        padding: 0 24px;
    }
}

/* Header and Navigation */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    min-height: 64px;
}

.logo {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.logo:hover,
.logo:focus {
    opacity: 0.8;
    outline: 2px solid #2563EB;
    outline-offset: 2px;
    border-radius: 4px;
}

.logo-image {
    height: 40px;
    width: auto;
    max-width: 200px;
}

@media (max-width: 768px) {
    .logo-image {
        height: 32px;
        max-width: 160px;
    }
}

.nav-links {
    display: none;
    gap: 32px;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    color: #6B7280;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    padding: 8px 4px;
    border-radius: 4px;
}

.nav-link:hover,
.nav-link:focus {
    color: #2563EB;
    outline: 2px solid #2563EB;
    outline-offset: 2px;
}

.hamburger-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 3px;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    border-radius: 4px;
}

.hamburger-menu-btn:focus {
    outline: 2px solid #2563EB;
    outline-offset: 2px;
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background-color: #1F2937;
    transition: all 0.3s ease;
}

/* Hamburger Menu Overlay */
.hamburger-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(107, 114, 128, 0.95);
    z-index: 999999;
    display: none;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 0;
}

.hamburger-menu-overlay.active {
    display: flex !important;
}

.hamburger-menu-content {
    background: #FFFFFF;
    height: 100vh;
    width: 320px;
    max-width: 80vw;
    overflow-y: auto;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
    animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1000000;
    transform: translateX(0);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hamburger-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #E5E7EB;
    background-color: #F9FAFB;
}

.hamburger-menu-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1F2937;
    margin: 0;
}

.hamburger-close-btn {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    border-radius: 4px;
    color: #6B7280;
    transition: all 0.2s ease;
}

.hamburger-close-btn:hover {
    color: #1F2937;
    background-color: #F3F4F6;
}

.hamburger-close-btn:focus {
    outline: 2px solid #2563EB;
    outline-offset: 2px;
}

.hamburger-menu-body {
    padding: 0;
}

.menu-section {
    border-bottom: 1px solid #E5E7EB;
    padding: 24px;
}

.menu-section:last-child {
    border-bottom: none;
}

.menu-section-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 16px 0;
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #374151;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.menu-item:hover {
    background-color: #F3F4F6;
    color: #1F2937;
}

.menu-item:focus {
    outline: 2px solid #2563EB;
    outline-offset: 2px;
}

.menu-item.logout {
    color: #DC2626;
}

.menu-item.logout:hover {
    background-color: #FEF2F2;
    color: #B91C1C;
}

.menu-icon {
    flex-shrink: 0;
    color: #6B7280;
}

.menu-item:hover .menu-icon {
    color: #374151;
}

.menu-item.logout .menu-icon {
    color: #DC2626;
}

.menu-item.logout:hover .menu-icon {
    color: #B91C1C;
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Ensure menu appears above all content */
.hamburger-menu-overlay.active {
    display: flex !important;
    z-index: 999999 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
}

.hamburger-menu-content {
    transform: translateX(0) !important;
}

/* Hero Section */
.hero {
    padding: 48px 0 64px;
    text-align: center;
}

@media (min-width: 768px) {
    .hero {
        padding: 80px 0 96px;
    }
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(37, 99, 235, 0.1);
    color: #2563EB;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1F2937;
    text-align: center;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 2.75rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #6B7280;
    margin-bottom: 32px;
    line-height: 1.5;
    text-align: center;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

@media (max-width: 575px) {
    .hero-features {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
}

.feature-item {
    display: flex;
    align-items: center;
    color: #16A34A;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Buttons */
.cta-button,
.modal-register-btn,
.modal-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    background-color: #2563EB;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 44px;
}

/* Default club CTA button (will be overridden by theme-specific styles) */
.club-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    background-color: #2563EB;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 44px;
}

.cta-button:hover,
.cta-button:focus {
    background-color: #1d4ed8;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

/* Default club CTA button hover (will be overridden by theme-specific styles) */
.club-cta-button:hover,
.club-cta-button:focus {
    background-color: #1d4ed8;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.cta-button:focus,
.club-cta-button:focus,
.modal-register-btn:focus,
.modal-back-btn:focus {
    outline: 2px solid #2563EB;
    outline-offset: 2px;
}

.modal-back-btn {
    background-color: #6B7280;
    margin-left: 12px;
}

.modal-back-btn:hover {
    background-color: #4B5563;
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 4px 12px rgba(75, 85, 99, 0.3);
}

.modal-register-btn:disabled {
    background-color: #D1D5DB;
    color: #6B7280;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Sections */
.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 32px;
    color: #1F2937;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2rem;
        margin-bottom: 48px;
    }
}

.city-section,
.schools-section,
.clubs-section {
    padding: 48px 0;
}

/* City Cards */
.city-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

@media (min-width: 576px) {
    .city-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .city-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Center single city card when only one exists */
.city-grid:has(.city-card:first-child:last-child) {
    grid-template-columns: minmax(0, 400px);
    justify-content: center;
}

.city-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    background: #FFFFFF;
    border: 2px solid transparent;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
    min-height: 140px;
    overflow: hidden;
}

.city-card:hover,
.city-card:focus {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.city-card:focus {
    outline: 2px solid #2563EB;
    outline-offset: 2px;
}

.city-card-header {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563EB, #3B82F6);
}

.city-icon {
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.city-content {
    padding: 16px 20px 20px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.city-name {
    font-weight: 700;
    font-size: 1.125rem;
    color: #1F2937;
    margin-bottom: 4px;
}

.city-subtitle {
    font-size: 0.875rem;
    color: #6B7280;
    font-weight: 500;
}

/* Unique city themes */
.city-card--raleigh .city-card-header {
    background: linear-gradient(135deg, #DC2626, #EF4444);
}

.city-card--raleigh:hover,
.city-card--raleigh:focus {
    border-color: #DC2626;
}

.city-card--cary .city-card-header {
    background: linear-gradient(135deg, #7C3AED, #8B5CF6);
}

.city-card--cary:hover,
.city-card--cary:focus {
    border-color: #7C3AED;
}

.city-card--pittsboro .city-card-header {
    background: linear-gradient(135deg, #B45309, #D97706);
}

.city-card--pittsboro:hover,
.city-card--pittsboro:focus {
    border-color: #B45309;
}

.city-card--apex .city-card-header {
    background: linear-gradient(135deg, #059669, #10B981);
}

.city-card--apex:hover,
.city-card--apex:focus {
    border-color: #059669;
}

.city-card--wake-forest .city-card-header {
    background: linear-gradient(135deg, #1E40AF, #3B82F6);
}

.city-card--wake-forest:hover,
.city-card--wake-forest:focus {
    border-color: #1E40AF;
}

.city-card--clayton .city-card-header {
    background: linear-gradient(135deg, #7E22CE, #A855F7);
}

.city-card--clayton:hover,
.city-card--clayton:focus {
    border-color: #7E22CE;
}

/* School Cards */
.schools-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .schools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.school-card {
    display: flex;
    padding: 24px;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.school-card:hover,
.school-card:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #2563EB;
}

.school-card:focus {
    outline: 2px solid #2563EB;
    outline-offset: 2px;
}

.school-card-content {
    flex: 1;
}

.school-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1F2937;
}

.school-address {
    color: #6B7280;
    font-size: 0.875rem;
    margin-bottom: 8px;
}

.school-subtitle {
    color: #6B7280;
    font-size: 0.875rem;
    margin-bottom: 12px;
}

.school-meta {
    margin-top: auto;
}

.club-count {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    background-color: #F3F4F6;
    color: #6B7280;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
}

.school-card-arrow {
    display: flex;
    align-items: center;
    color: #6B7280;
    margin-left: 16px;
}

/* School Header */
.school-header {
    padding: 24px 0 64px;
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
    margin-bottom: 48px;
    border-bottom: 1px solid #E2E8F0;
}

@media (min-width: 768px) {
    .school-header {
        padding: 32px 0 80px;
    }
}

.breadcrumb {
    margin-bottom: 32px;
}

.breadcrumb-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6B7280;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    padding: 8px 12px;
    border-radius: 8px;
}

.breadcrumb-link:hover,
.breadcrumb-link:focus {
    color: #2563EB;
    background-color: rgba(37, 99, 235, 0.05);
    outline: 2px solid #2563EB;
    outline-offset: 2px;
}

.school-hero {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

@media (min-width: 768px) {
    .school-hero {
        text-align: left;
    }
}

.school-header-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    align-items: center;
}

@media (min-width: 768px) {
    .school-header-badges {
        flex-direction: row;
        align-items: flex-start;
    }
}

.track-ribbon {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: linear-gradient(135deg, #2563EB, #3B82F6);
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 9999px;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

.verification-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background-color: #DCFCE7;
    color: #16A34A;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 9999px;
    border: 1px solid #BBF7D0;
}

.school-name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1F2937;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .school-name {
        font-size: 2.5rem;
        margin-bottom: 32px;
    }
}

.school-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (min-width: 768px) {
    .school-details {
        flex-direction: row;
        align-items: flex-start;
        gap: 48px;
    }
}

.school-address-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.school-address-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex-shrink: 0;
}

.school-address {
    color: #6B7280;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.school-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

@media (min-width: 576px) {
    .school-features {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (min-width: 768px) {
    .school-features {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.feature-highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background-color: rgba(37, 99, 235, 0.05);
    border-radius: 12px;
    border-left: 4px solid #2563EB;
}

.feature-highlight svg {
    color: #2563EB;
    flex-shrink: 0;
}

.feature-highlight span {
    color: #1F2937;
    font-weight: 500;
    font-size: 0.95rem;
}

/* DELETED - Using CSS Grid instead */

.club-card {
    padding: 0;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    min-height: 420px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .club-card {
        min-height: 400px;
        height: auto;
        max-width: none;
        width: 100%;
    }
}

.club-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.club-header {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: white;
    margin-bottom: 0;
}

.club-header--piano {
    background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%);
}

.club-header--guitar {
    background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
}

.club-header--combo {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.club-header--magic {
    background: linear-gradient(135deg, #DB2777 0%, #BE185D 100%);
}

.club-content {
    padding: 20px 24px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.club-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: white !important;
    margin-right: 12px;
    flex-shrink: 0;
}

.club-icon svg,
.club-icon i {
    display: block;
    line-height: 1;
    vertical-align: middle;
}

.club-icon svg {
    color: white !important;
    fill: white !important;
}

.club-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: white !important;
    margin-bottom: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.school-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: rgba(255, 255, 255, 0.9);
    background: transparent;
    padding: 4px 0;
    font-size: 0.75rem;
    font-weight: 400;
    margin-top: 6px;
}

.school-badge svg {
    color: rgba(255, 255, 255, 0.8);
    opacity: 0.9;
}

.club-description {
    color: #6B7280;
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 16px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.4em;
}

.club-details {
    margin-bottom: 24px;
    flex: 1;
    display: grid;
    gap: 12px;
}

.club-detail {
    display: flex;
    align-items: center;
    color: #374151;
    font-size: 0.875rem;
    padding: 8px 12px;
    background: #F9FAFB;
    border-radius: 8px;
    border-left: 3px solid #E5E7EB;
    min-height: 40px;
}

.club-detail svg {
    margin-right: 10px;
    flex-shrink: 0;
    color: #6B7280;
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    top: -2px;
    transform: translateY(-1px);
}

.club-detail--grades {
    border-left-color: #3B82F6;
}

.club-detail--schedule {
    border-left-color: #10B981;
}

.club-detail--price {
    border-left-color: #F59E0B;
}

.club-detail--session {
    border-left-color: #8B5CF6;
}

.club-footer {
    margin-top: auto;
    padding: 20px 24px 24px;
}

.club-availability {
    padding: 0;
    margin: 16px -24px 20px -24px;
    width: calc(100% + 48px);
    background: rgba(34, 197, 94, 0.08);
    border-radius: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.club-availability .seats-pill {
    display: block;
    width: 100%;
    text-align: center;
    border-radius: 0;
    background: transparent;
    border: none;
}

.club-actions {
    display: flex;
    gap: 12px;
    width: 100%;
}

.club-actions .btn {
    flex: 1;
    justify-content: center;
    text-align: center;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.seats-pill {
    padding: 12px 16px;
    background-color: #DCFCE7;
    color: #16A34A;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 9999px;
    white-space: nowrap;
    border: 1px solid #BBF7D0;
}

.waitlist-pill {
    background-color: #FEF3C7 !important;
    color: #D97706 !important;
    border: 1px solid #FCD34D !important;
    font-size: 0.75rem;
    padding: 8px 12px;
}

/* Additional club CTA button styles (combined with theme-specific colors) */
.club-cta-button {
    padding: 12px 20px;
    font-size: 0.875rem;
    font-weight: 600;
    min-height: 44px;
}

.club-learn-more-btn {
    padding: 12px 20px;
    font-size: 0.875rem;
    font-weight: 500;
    min-height: 44px;
}

/* Club Color Themes */
.club-card--piano .club-icon {
    background-color: #FDF2F8;
    color: #BE185D;
}

.club-card--piano .club-name {
    color: #9D174D;
}

.club-card--guitar .club-icon {
    background-color: #F0F9FF;
    color: #0284C7;
}

.club-card--guitar .club-name {
    color: #0369A1;
}

.club-card--combo .club-icon {
    background-color: #F0FDF4;
    color: #16A34A;
}

.club-card--combo .club-name {
    color: #15803D;
}

.club-card--magic .club-icon {
    background-color: #FEF3C7;
    color: #D97706;
}

.club-card--magic .club-name {
    color: #B45309;
}

/* Registration Page */

/* Registration Layout */
.registration-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .registration-content {
        gap: 16px;
    }
}

/* Title Section - Full Width */
.form-title-section {
    width: 100%;
    text-align: center;
    margin-bottom: 8px;
}

.registration-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1F2937;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.registration-subtitle {
    font-size: 1.125rem;
    color: #6B7280;
    margin: 0;
    font-weight: 500;
}

@media (max-width: 767px) {
    .registration-title {
        font-size: 1.75rem;
    }
    
    .registration-subtitle {
        font-size: 1rem;
    }
}

/* Club Description Section - Full Width */
.club-description-section {
    width: 100%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    padding: 24px;
    border: 1px solid #F3F4F6;
}

.club-description-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1F2937;
    margin: 0 0 16px 0;
}

.club-description-text {
    color: #4B5563;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    white-space: pre-wrap; /* Preserve formatting and prevent truncation */
    word-wrap: break-word;
    max-width: none; /* Ensure no width restrictions */
}

@media (max-width: 767px) {
    .club-description-section {
        padding: 20px;
    }
    
    .club-description-title {
        font-size: 1.125rem;
        margin-bottom: 12px;
    }
    
    .club-description-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

.registration-main {
    min-height: calc(100vh - 120px);
    padding: 32px 0 64px;
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
}

.registration-header {
    margin-bottom: 48px;
}

@media (max-width: 767px) {
    .registration-header {
        margin-bottom: 32px;
    }
}

/* Form Column Layout */
.form-column {
    width: 100%;
}

/* Ensure title stays centered even inside form column */
.form-column .form-title-section {
    text-align: center;
}

/* Payment button with two-line layout */
.payment-submit-btn .button-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
}

.payment-submit-btn .button-main {
    font-size: 1rem;
    font-weight: 600;
}

.payment-submit-btn .button-price {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-top: 2px;
}

/* Club schedule section */
.club-schedule {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #E5E7EB;
}

.club-schedule h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1F2937;
    margin: 0 0 16px 0;
}

.schedule-info {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.schedule-item strong {
    color: #374151;
    font-weight: 500;
}

.upcoming-dates h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1F2937;
    margin: 0 0 12px 0;
}

.date-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

.date-list li {
    padding: 8px 12px;
    background: #F9FAFB;
    border-radius: 6px;
    color: #374151;
    font-size: 0.875rem;
}

@media (max-width: 767px) {
    .form-title-section {
        text-align: left;
        padding: 0 16px;
        margin-bottom: 24px;
    }
}

.sidebar-steps {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #E5E7EB;
}

.mobile-steps {
    display: block;
    margin-bottom: 24px;
    padding: 0;
}

.sidebar-steps {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #E5E7EB;
}

@media (min-width: 768px) {
    .mobile-steps {
        display: none;
    }
}

@media (max-width: 767px) {
    .sidebar-steps {
        display: none;
    }
}

/* Compact stepper styling for sidebar */
.sidebar-steps .registration-steps {
    gap: 8px;
}

.sidebar-steps .step {
    gap: 4px;
    font-size: 0.8125rem;
}

.sidebar-steps .step-number {
    width: 24px;
    height: 24px;
    font-size: 0.6875rem;
}

/* Payment Page Header Layout - Removed to match step 1 layout */

.registration-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    gap: 12px;
    width: 100%;
    position: relative;
}

@media (max-width: 767px) {
    .registration-steps {
        margin: 12px 0 20px 0;
        gap: 12px;
        justify-content: center;
        flex-wrap: nowrap;
    }
    
    .step {
        flex-direction: column;
        gap: 4px;
        font-size: 0.75rem;
        flex: 0 0 auto;
    }
    
    .step span {
        text-align: center;
        white-space: nowrap;
    }
}

.step {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #9CA3AF;
    font-weight: 500;
    font-size: 0.875rem;
    flex: 0 1 auto;
    min-width: 0;
}

.step.active {
    color: #2563EB;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #E5E7EB;
    color: #6B7280;
    font-weight: 600;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.step.active .step-number {
    background-color: #2563EB;
    color: white;
}

.step-divider {
    width: 32px;
    height: 2px;
    background-color: #E5E7EB;
    flex: 0 0 auto;
}

@media (max-width: 767px) {
    .step-divider {
        width: 24px;
        height: 1px;
    }
}

.registration-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1F2937;
    margin: 0 0 8px 0;
    text-align: center;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .registration-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }
}

.registration-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1F2937;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.registration-subtitle {
    color: #6B7280;
    font-size: 1.125rem;
    margin: 0;
}

@media (max-width: 767px) {
    .registration-title {
        font-size: 1.5rem;
        text-align: center;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .registration-subtitle {
        font-size: 1rem;
        text-align: center;
    }
}

.registration-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 768px) {
    .registration-content {
        display: grid;
        grid-template-columns: 1fr 380px;
        gap: 32px;
        align-items: start;
    }
    
    /* Make header sections span full width */
    .registration-content .form-title-section,
    .registration-content .club-description-section {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1024px) {
    .registration-content {
        max-width: 1000px;
        grid-template-columns: 1fr 400px;
        gap: 48px;
    }
}

.registration-form {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    padding: 32px;
    margin-top: 0;
}

.registration-sidebar {
    display: none;
}

@media (min-width: 768px) {
    .registration-sidebar {
        display: block;
        background: white;
        border-radius: 16px;
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
        padding: 24px;
        position: sticky;
        top: 32px;
    }
    
    /* Step 1 (registration form page) - align with parent information form */
    .registration-step-1 .registration-content .registration-sidebar {
        margin-top: 0px; /* Align with the top of the form to match Parent Information */
    }
    
    /* Step 2 (payment page) - align with registration summary section */
    .registration-step-2 .registration-content .registration-sidebar {
        margin-top: 160px; /* Align with Registration Summary section */
    }
    
    /* Step 3 (account setup page) - align with account information form */
    .registration-step-3 .registration-content .registration-sidebar {
        margin-top: 0px; /* Align with the top of the form box */
    }
    
    .registration-form {
        margin-bottom: 0;
    }
}

@media (max-width: 767px) {
    .registration-form {
        padding: 24px;
        margin: 0;
    }
    
    .registration-content {
        padding: 0 16px;
        flex-direction: column;
    }
    
    /* Hide desktop sidebar on mobile */
    .registration-sidebar {
        display: none !important;
    }
    
    /* Show mobile payment section */
    .mobile-payment-section {
        display: block !important;
        margin-top: 32px;
        background: white;
        border-radius: 16px;
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
        padding: 32px;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        overflow: visible !important;
    }
}

/* Hide mobile payment section on desktop */
.mobile-payment-section {
    display: none;
}

@media (min-width: 768px) {
    .mobile-payment-section {
        display: none !important;
    }
}

.sidebar-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1F2937;
    margin: 0 0 16px 0;
}

.club-summary {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E5E7EB;
}

.club-summary h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1F2937;
    margin: 0 0 8px 0;
}

.club-summary p {
    color: #6B7280;
    margin: 0;
    font-size: 0.9rem;
}

.mobile-only {
    display: block;
}

@media (min-width: 768px) {
    .mobile-only {
        display: none;
    }
}

.form-section {
    margin-bottom: 40px;
}

.form-section:last-of-type {
    margin-bottom: 32px;
}

.form-section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 24px;
    padding-bottom: 8px;
    border-bottom: 2px solid #F3F4F6;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
    font-size: 0.95rem;
}

.form-input,
.form-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-color: white;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-input.error,
.form-select.error {
    border-color: #DC2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-input::placeholder {
    color: #9CA3AF;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

.form-error {
    margin-top: 8px;
    color: #DC2626;
    font-size: 0.875rem;
    font-weight: 500;
    display: none;
}

.form-message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-weight: 500;
    display: none;
}

.form-message.error {
    background-color: #FEF2F2;
    border: 1px solid #FECACA;
    color: #DC2626;
}

.form-message.success {
    background-color: #F0FDF4;
    border: 1px solid #BBF7D0;
    color: #16A34A;
}

.form-actions {
    padding-top: 24px;
    border-top: 1px solid #F3F4F6;
}

.form-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #2563EB, #3B82F6);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.form-submit-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #1D4ED8, #2563EB);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

.form-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.form-submit-btn .spinning {
    animation: spin 1s linear infinite;
}

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

/* Multiple Children Forms */
.children-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.add-child-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: #EBF4FF;
    color: #2563EB;
    border: 2px solid #DBEAFE;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.add-child-btn:hover {
    background-color: #DBEAFE;
    border-color: #93C5FD;
}

.child-form {
    background-color: #F8FAFC;
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    position: relative;
}

.child-form:last-child {
    margin-bottom: 0;
}

.child-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.child-form-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1F2937;
    margin: 0;
}

.remove-child-btn {
    display: none;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background-color: #FEF2F2;
    color: #DC2626;
    border: 1px solid #FECACA;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.remove-child-btn:hover {
    background-color: #FECACA;
    border-color: #FCA5A5;
}

.pricing-summary {
    background-color: #F0FDF4;
    border: 2px solid #BBF7D0;
    border-radius: 12px;
    padding: 20px;
    margin-top: 24px;
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.pricing-row.total {
    border-top: 2px solid #BBF7D0;
    padding-top: 16px;
    margin-top: 8px;
    font-weight: 600;
    font-size: 1.125rem;
}

.pricing-label {
    color: #15803D;
    font-weight: 500;
}

.pricing-value {
    color: #166534;
    font-weight: 600;
}

/* Setup Password Page */
.setup-password-page {
    max-width: 600px;
    margin: 0 auto;
    padding: 32px 0;
}

.setup-header {
    text-align: center;
    margin-bottom: 48px;
}

.success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.setup-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 16px;
}

.setup-subtitle {
    font-size: 1.125rem;
    color: #6B7280;
    line-height: 1.6;
}

.setup-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    padding: 32px;
}

.registration-summary {
    background: #F8FAFC;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
}

.registration-summary h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 16px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #E5E7EB;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item .label {
    font-weight: 500;
    color: #6B7280;
}

.summary-item .value {
    font-weight: 600;
    color: #1F2937;
}

.password-setup-form {
    margin-top: 24px;
}

.password-requirements {
    background: #F3F4F6;
    border-radius: 8px;
    padding: 16px;
    margin-top: 8px;
    font-size: 0.875rem;
}

.password-requirements p {
    margin: 0 0 8px 0;
    font-weight: 500;
    color: #374151;
}

.password-requirements ul {
    margin: 0;
    padding-left: 16px;
    color: #6B7280;
}

.password-requirements li {
    margin-bottom: 4px;
    transition: color 0.2s ease;
}

/* Confirmation Page */
.confirmation-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 0;
}

.confirmation-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
}

.confirmation-number {
    background: #F0FDF4;
    border: 2px solid #BBF7D0;
    border-radius: 8px;
    padding: 16px;
    text-align: right;
}

.confirmation-number .label {
    font-size: 0.875rem;
    color: #166534;
    font-weight: 500;
}

.confirmation-number .number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #166534;
}

.confirmation-grid {
    display: grid;
    gap: 32px;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .confirmation-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.confirmation-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 16px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px solid #F3F4F6;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item .label {
    font-weight: 500;
    color: #6B7280;
    margin-right: 16px;
}

.info-item .value {
    font-weight: 600;
    color: #1F2937;
    text-align: right;
}

.status-confirmed {
    color: #10B981 !important;
}

.next-steps {
    margin: 48px 0;
}

.next-steps h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 24px;
}

.steps-grid {
    display: grid;
    gap: 24px;
}

@media (min-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.step-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    padding: 24px;
    text-align: center;
}

.step-icon {
    width: 48px;
    height: 48px;
    background: #EFF6FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #2563EB;
}

.step-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 8px;
}

.step-card p {
    color: #6B7280;
    font-size: 0.875rem;
    line-height: 1.5;
}

.action-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 48px;
}

.primary-button, .secondary-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.primary-button {
    background: #2563EB;
    color: white;
    border: 2px solid #2563EB;
}

.primary-button:hover {
    background: #1D4ED8;
    border-color: #1D4ED8;
}

.secondary-button {
    background: white;
    color: #374151;
    border: 2px solid #D1D5DB;
}

.secondary-button:hover {
    background: #F9FAFB;
    border-color: #9CA3AF;
}

@media (max-width: 768px) {
    .action-buttons {
        flex-direction: column;
    }
    
    .confirmation-header {
        flex-direction: column;
        gap: 16px;
    }
    
    .confirmation-number {
        text-align: center;
    }
}

/* Payment Page */
.payment-content {
    display: grid;
    gap: 32px;
    width: 100%;
}

@media (min-width: 768px) {
    .payment-content {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
        max-width: 1200px;
        margin: 0 auto;
    }
}

.payment-section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 24px;
}

/* Payment Summary */
.summary-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    padding: 24px;
    margin-bottom: 24px;
}

.summary-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #F3F4F6;
}

.summary-club-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 4px;
}

.summary-school {
    color: #6B7280;
    margin: 0;
}

.summary-details {
    margin-bottom: 24px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #F3F4F6;
}

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

.summary-label {
    color: #6B7280;
    font-weight: 500;
}

.summary-value {
    color: #1F2937;
    font-weight: 500;
    text-align: right;
}

.summary-children {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: right;
}

.child-summary {
    color: #1F2937;
    font-weight: 500;
    font-size: 0.9rem;
}

.summary-pricing {
    padding-top: 16px;
    border-top: 2px solid #F3F4F6;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.price-row.total {
    padding-top: 16px;
    border-top: 1px solid #E5E7EB;
    font-weight: 600;
    font-size: 1.125rem;
}

.price-label {
    color: #374151;
}

.price-value {
    color: #1F2937;
    font-weight: 600;
}

/* Payment Form */
.payment-form-section {
    display: flex;
    flex-direction: column;
}

.stripe-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 64px 32px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #E5E7EB;
    border-top: 4px solid #2563EB;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

.stripe-loading p {
    color: #6B7280;
    margin: 0;
    font-weight: 500;
}

.stripe-error {
    display: none;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: 12px;
    color: #DC2626;
}

.stripe-error .error-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.stripe-error h3 {
    margin: 0 0 8px 0;
    font-size: 1.125rem;
    font-weight: 600;
}

.stripe-error p {
    margin: 0 0 12px 0;
}

.retry-btn {
    padding: 8px 16px;
    background-color: #DC2626;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.retry-btn:hover {
    background-color: #B91C1C;
}

.payment-form {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    padding: 32px;
}

#payment-element {
    margin-bottom: 32px;
}

.payment-actions {
    padding-top: 24px;
    border-top: 1px solid #F3F4F6;
}

.payment-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #16A34A, #22C55E);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.2);
}

.payment-submit-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #15803D, #16A34A);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(22, 163, 74, 0.3);
}

.payment-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Payment Status Messages */
.payment-error {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: 12px;
    color: #DC2626;
    margin-bottom: 24px;
}

.payment-error .error-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.payment-error .error-text {
    font-weight: 500;
}

.payment-success {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 32px;
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    border-radius: 16px;
    color: #16A34A;
    text-align: center;
}

.payment-success .success-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.payment-success h3 {
    margin: 0 0 8px 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.payment-success p {
    margin: 0;
    color: #15803D;
}

/* Success Page */
.success-main {
    min-height: calc(100vh - 120px);
    padding: 48px 0 64px;
    background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
}

.success-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.success-icon-large {
    margin: 0 auto 32px;
    display: flex;
    justify-content: center;
}

.success-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 16px;
}

@media (max-width: 576px) {
    .success-title {
        font-size: 2rem;
    }
}

.success-subtitle {
    font-size: 1.25rem;
    color: #374151;
    margin-bottom: 48px;
    line-height: 1.6;
}

.success-details {
    display: grid;
    gap: 32px;
    margin-bottom: 48px;
}

@media (min-width: 768px) {
    .success-details {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
}

.success-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    padding: 32px;
    text-align: left;
}

.success-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 24px;
}

.success-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.success-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.step-icon {
    font-size: 24px;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F0FDF4;
    border-radius: 50%;
}

.step-content h3 {
    margin: 0 0 8px 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1F2937;
}

.step-content p {
    margin: 0;
    color: #6B7280;
    line-height: 1.5;
}

.info-grid {
    display: grid;
    gap: 16px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #F3F4F6;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item strong {
    color: #374151;
    font-weight: 500;
}

.info-item span {
    color: #1F2937;
    text-align: right;
    flex: 1;
    margin-left: 16px;
}

.success-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.success-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.success-btn.primary {
    background: linear-gradient(135deg, #2563EB, #3B82F6);
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.success-btn.primary:hover {
    background: linear-gradient(135deg, #1D4ED8, #2563EB);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

.success-btn.secondary {
    background: white;
    color: #374151;
    border: 2px solid #E5E7EB;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.success-btn.secondary:hover {
    background: #F9FAFB;
    border-color: #D1D5DB;
    transform: translateY(-1px);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 16px;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 24px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    border-radius: 4px;
    color: #6B7280;
    transition: color 0.2s ease;
}

.modal-close:hover,
.modal-close:focus {
    color: #1F2937;
    outline: 2px solid #2563EB;
    outline-offset: 2px;
}

.modal-header {
    margin-bottom: 16px;
    padding-right: 40px;
}

.modal-badges {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.modal-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.modal-badge.featured {
    background-color: #FEF3C7;
    color: #D97706;
    border: 1px solid #FCD34D;
}

.modal-badge.verified {
    background-color: #DCFCE7;
    color: #16A34A;
    border: 1px solid #BBF7D0;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1F2937;
    margin: 0 0 8px 0;
}

.modal-body {
    margin-bottom: 24px;
}

.modal-text {
    color: #6B7280;
    margin-bottom: 32px;
    line-height: 1.6;
    font-size: 1rem;
}

.modal-section-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1F2937;
    margin: 0 0 16px 0;
}

.modal-highlights {
    margin-bottom: 32px;
}

.modal-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.modal-features li {
    padding: 12px 16px;
    color: #374151;
    font-weight: 500;
    background-color: #F8FAFC;
    border-radius: 8px;
    border-left: 4px solid #2563EB;
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.modal-safety {
    padding: 24px;
    background-color: #F0FDF4;
    border-radius: 12px;
    border: 1px solid #BBF7D0;
}

.safety-grid {
    display: grid;
    gap: 16px;
}

@media (min-width: 576px) {
    .safety-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.safety-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.safety-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.safety-item strong {
    display: block;
    color: #1F2937;
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 0.875rem;
}

.safety-item p {
    color: #6B7280;
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.4;
}

.modal-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.modal-register-btn {
    flex: 1;
    background: linear-gradient(135deg, #16A34A, #22C55E);
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.2);
    font-size: 1rem;
}

.modal-register-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #15803D, #16A34A);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(22, 163, 74, 0.3);
}

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

/* Empty State */
.empty-state {
    text-align: center;
    padding: 48px 24px;
    color: #6B7280;
}

.empty-state p {
    font-size: 1.125rem;
}

/* Footer */
.footer {
    background: #FFFFFF;
    border-top: 1px solid #E5E7EB;
    padding: 48px 0 24px;
    margin-top: 48px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.footer-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2563EB;
}

.footer-tagline {
    color: #6B7280;
    margin-top: 4px;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-link {
    color: #6B7280;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-link:hover,
.footer-link:focus {
    color: #2563EB;
    outline: 2px solid #2563EB;
    outline-offset: 2px;
    border-radius: 4px;
}

.footer-bottom {
    border-top: 1px solid #E5E7EB;
    padding-top: 24px;
    text-align: center;
}

.copyright {
    color: #6B7280;
    font-size: 0.875rem;
}

/* Forgot password link */
.forgot-password-link {
    color: #2563EB;
    text-decoration: none;
    font-size: 0.875rem;
    text-align: right;
    display: block;
    margin-top: 0.5rem;
    transition: color 0.2s ease;
}

.forgot-password-link:hover {
    color: #1D4ED8;
    text-decoration: underline;
}

/* Auth form improvements */
.auth-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.auth-message.success {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.auth-message.error {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

/* Focus management for accessibility */
body.modal-open {
    overflow: hidden;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .city-card,
    .school-card,
    .club-card {
        border: 2px solid #1F2937;
    }
    
    .modal-content {
        border: 2px solid #1F2937;
    }
}

/* Utility classes for dynamic state management */
.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Animation for city selection */
.city-card.selected {
    border-color: #2563EB;
    background-color: #EBF4FF;
}

/* Focus visible polyfill support */
.js-focus-visible .city-card:focus:not(.focus-visible),
.js-focus-visible .school-card:focus:not(.focus-visible),
.js-focus-visible .club-cta-button:focus:not(.focus-visible) {
    outline: none;
}

/* Waitlist styles */
.club-status-banner {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    border: 1px solid #F59E0B;
    border-radius: 12px;
    padding: 16px;
    margin: 16px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.status-text strong {
    color: #92400E;
    display: block;
    font-weight: 600;
}

.status-text p {
    color: #B45309;
    margin: 4px 0 0 0;
    font-size: 0.9rem;
}

.waitlist-info {
    background: #F8FAFC;
    border-radius: 12px;
    padding: 24px;
    margin: 16px 0;
}

.info-box h3 {
    color: #1E293B;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.info-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-box li {
    padding: 8px 0;
    color: #475569;
    font-size: 0.95rem;
}

.pricing-info {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #E2E8F0;
    color: #1E293B;
    font-weight: 600;
}

.pricing-note {
    font-size: 0.9rem;
    color: #64748B;
    margin: 4px 0 0 0;
    font-weight: normal;
}

.waitlist-submit-btn {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%) !important;
}

.waitlist-submit-btn:hover {
    background: linear-gradient(135deg, #D97706 0%, #B45309 100%) !important;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
}

/* Confirmation page styles */
.confirmation-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    margin-bottom: 24px;
}

.confirmation-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 32px;
}

.confirmation-details {
    text-align: left;
    margin: 32px 0;
}

.confirmation-steps {
    margin-top: 16px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    padding: 16px;
    background: #F8FAFC;
    border-radius: 12px;
}

.step-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.step-content h3 {
    margin: 0 0 4px 0;
    font-size: 1.1rem;
    color: #1E293B;
}

.step-content p {
    margin: 0;
    color: #64748B;
    font-size: 0.95rem;
}

.club-summary-card {
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
    text-align: left;
}

.club-summary-card h3 {
    margin: 0 0 16px 0;
    color: #1E293B;
}

.club-detail {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #F1F5F9;
}

.club-detail:last-child {
    border-bottom: none;
}

.club-detail .label {
    font-weight: 600;
    color: #475569;
}

.club-detail .value {
    color: #1E293B;
}

.next-steps {
    margin: 32px 0;
    text-align: left;
}

.next-steps-grid {
    display: grid;
    gap: 16px;
    margin-top: 16px;
}

.next-step {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #F8FAFC;
    border-radius: 12px;
}

.step-text h4 {
    margin: 0 0 4px 0;
    color: #1E293B;
    font-size: 1rem;
}

.step-text p {
    margin: 0;
    color: #64748B;
    font-size: 0.9rem;
}

.confirmation-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 32px;
}

@media (max-width: 640px) {
    .confirmation-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .confirmation-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Authentication styles */
.auth-main {
    padding: 2rem 0;
    min-height: 60vh;
}

.auth-container {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo {
    margin-bottom: 1.5rem;
}

.auth-logo-image {
    height: 60px;
    width: auto;
    max-width: 300px;
}

@media (max-width: 768px) {
    .auth-logo-image {
        height: 48px;
        max-width: 240px;
    }
}

.auth-header h1 {
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: #6b7280;
    margin: 0;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.auth-form input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s;
}

.auth-form input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.account-help-text {
    text-align: center;
    color: #6B7280;
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
    padding: 16px 20px;
    background: #F9FAFB;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
}

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

.auth-divider {
    text-align: center;
    margin: 1.5rem 0;
    color: #6b7280;
    font-size: 14px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    text-align: center;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
}

.btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.btn-secondary:hover {
    background: #e5e7eb;
}

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
}

.alert-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #16a34a;
}

/* Dashboard styles */
.dashboard-main {
    padding: 2rem 0;
    min-height: 60vh;
}

.dashboard-header {
    margin-bottom: 3rem;
}

.dashboard-header h1 {
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.dashboard-header p {
    color: #6b7280;
    margin: 0;
}

.dashboard-section {
    margin-bottom: 3rem;
}

.dashboard-section h2 {
    color: #1f2937;
    margin-bottom: 1.5rem;
}

/* Section header with child selector */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.child-selector {
    display: flex;
    align-items: center;
    gap: 8px;
}

.child-selector-label {
    font-weight: 500;
    color: #374151;
    font-size: 0.875rem;
    white-space: nowrap;
}

.child-selector-dropdown {
    padding: 8px 12px;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    background: white;
    font-size: 0.875rem;
    color: #374151;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.child-selector-dropdown:focus {
    outline: none;
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

@media (max-width: 640px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .child-selector {
        width: 100%;
        justify-content: space-between;
    }
    
    .child-selector-dropdown {
        flex: 1;
        min-width: 0;
    }
}

.registrations-grid {
    display: grid;
    gap: 1.5rem;
}

.registration-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.registration-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.registration-header h3 {
    color: #1f2937;
    margin: 0;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.status-active {
    background: #dcfce7;
    color: #16a34a;
}

.registration-details p {
    margin: 0.5rem 0;
    color: #4b5563;
}

.children-grid, .actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.child-card, .action-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s;
}

.action-card:hover {
    transform: translateY(-4px);
}

.child-card h3, .action-card h3 {
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #6b7280;
}

.empty-state h3 {
    color: #374151;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Parent Quote Styles */
.parent-quote {
    background: #f8fafc;
    border-left: 4px solid #2563eb;
    border-radius: 8px;
    flex: 1;
    padding: 20px;
    margin: 20px 0;
    position: relative;
}

.quote-icon {
    color: #2563eb;
    margin-bottom: 12px;
}

.quote-text {
    font-style: italic;
    color: #374151;
    line-height: 1.6;
    margin: 0 0 12px 0;
    font-size: 16px;
}

.quote-author {
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    font-style: normal;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .parent-quote {
        margin: 16px 0;
        padding: 16px;
    }
    
    .quote-text {
        font-size: 15px;
    }
}

/* Legal Pages Styles */
.legal-main {
    min-height: calc(100vh - 120px);
    padding: 2rem 0;
    background: #f9fafb;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.legal-header {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 3rem 2rem 2rem;
    text-align: center;
}

.legal-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.legal-date {
    opacity: 0.9;
    font-size: 1rem;
    margin: 0;
}

.legal-content {
    padding: 2rem;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    color: #1f2937;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.legal-section h3 {
    color: #374151;
    font-size: 1.125rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem 0;
}

.legal-section p {
    color: #4b5563;
    line-height: 1.7;
    margin: 0 0 1rem 0;
}

.legal-section ul {
    color: #4b5563;
    line-height: 1.6;
    margin: 0 0 1rem 0;
    padding-left: 1.5rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
}

.legal-section li strong {
    color: #1f2937;
    font-weight: 600;
}

.contact-info {
    background: #f8fafc;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
    border-left: 4px solid #2563eb;
}

.contact-info p {
    margin: 0.25rem 0;
    color: #374151;
}

.legal-footer {
    background: #f8fafc;
    padding: 2rem;
    text-align: center;
    border-top: 1px solid #e5e7eb;
}

@media (max-width: 768px) {
    .legal-header {
        padding: 2rem 1rem 1.5rem;
    }
    
    .legal-header h1 {
        font-size: 2rem;
    }
    
    .legal-content {
        padding: 1.5rem;
    }
    
    .legal-section h2 {
        font-size: 1.25rem;
    }
    
    .legal-section h3 {
        font-size: 1rem;
    }
    
    .legal-footer {
        padding: 1.5rem;
    }
}

/* Request Club Card Styles */
.request-club-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px dashed #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.request-club-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border-color: #2563eb;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.request-club-card .request-icon {
    width: 48px;
    height: 48px;
    background: #2563eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 1rem;
}

.request-club-card .school-name {
    color: #2563eb;
    font-weight: 700;
}

.request-club-card .school-location {
    color: #64748b;
    font-style: italic;
}

.request-description {
    color: #475569;
    line-height: 1.6;
    margin: 1rem 0;
}

.request-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2563eb;
    font-weight: 600;
    font-size: 14px;
}

.request-cta svg {
    transition: transform 0.2s ease;
}

.request-club-card:hover .request-cta svg {
    transform: translateX(4px);
}

/* Request Club Modal Styles */
#request-club-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 16px;
}

#request-club-modal.active {
    display: flex !important;
}

#request-club-modal .modal-content {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 0;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

#request-club-modal .modal-body {
    padding: 24px;
    max-height: calc(90vh - 140px);
    overflow-y: auto;
    overflow-x: hidden;
}

#request-club-modal .modal-body::-webkit-scrollbar {
    width: 8px;
}

#request-club-modal .modal-body::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

#request-club-modal .modal-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

#request-club-modal .modal-body::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

#request-club-modal .modal-header {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 2rem;
    margin: 0;
    border-radius: 16px 16px 0 0;
    position: relative;
}

#request-club-modal .modal-header h2 {
    color: white;
    margin: 0;
    font-size: 1.75rem;
    padding-right: 50px;
}

#request-club-modal .modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 8px;
    cursor: pointer;
    border-radius: 8px;
    color: white;
    transition: background-color 0.2s ease;
}

#request-club-modal .modal-close:hover,
#request-club-modal .modal-close:focus {
    background: rgba(255, 255, 255, 0.2);
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.form-section h3 {
    color: #1f2937;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-section h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: #2563eb;
    border-radius: 2px;
}

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #374151;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1), 0 4px 12px rgba(37, 99, 235, 0.15);
    transform: translateY(-1px);
}

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

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    #request-club-modal .modal-content {
        margin: 1rem;
        max-height: calc(100vh - 2rem);
    }
    
    #request-club-modal .modal-header {
        padding: 1.5rem;
        margin: -1.5rem -1.5rem 1.5rem -1.5rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
}

/* Club Requests Admin Styles */
.club-requests-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.club-request-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border-left: 4px solid #e5e7eb;
    transition: all 0.2s ease;
}

.club-request-card.status-pending {
    border-left-color: #f59e0b;
}

.club-request-card.status-approved {
    border-left-color: #10b981;
}

.club-request-card.status-declined {
    border-left-color: #ef4444;
}

.club-request-card.status-under-review {
    border-left-color: #3b82f6;
}

.club-request-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.request-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.request-header h3 {
    color: #1f2937;
    margin: 0;
    font-size: 1.25rem;
}

.request-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f3f4f6;
}

.request-details p {
    margin: 0;
    color: #4b5563;
    font-size: 14px;
}

.request-details a {
    color: #2563eb;
    text-decoration: none;
}

.request-details a:hover {
    text-decoration: underline;
}

.request-content {
    margin-bottom: 1.5rem;
}

.request-content h4 {
    color: #374151;
    font-size: 14px;
    font-weight: 600;
    margin: 1rem 0 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.request-content h4:first-child {
    margin-top: 0;
}

.request-description,
.request-notes {
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
    background: #f9fafb;
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid #e5e7eb;
}

.admin-notes {
    color: #374151;
    line-height: 1.6;
    margin: 0;
    background: #fef3c7;
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid #f59e0b;
}

.request-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 14px;
    border-radius: 6px;
}

.btn-success {
    background: #10b981;
    color: white;
    border: none;
}

.btn-success:hover {
    background: #059669;
}

.btn-danger {
    background: #ef4444;
    color: white;
    border: none;
}

.btn-danger:hover {
    background: #dc2626;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-approved {
    background: #d1fae5;
    color: #065f46;
}

.status-declined {
    background: #fee2e2;
    color: #991b1b;
}

.status-under-review {
    background: #dbeafe;
    color: #1e40af;
}

@media (max-width: 768px) {
    .request-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .request-details {
        grid-template-columns: 1fr;
    }
    
    .request-actions {
        flex-direction: column;
    }
    
    .club-request-card {
        padding: 1.5rem;
    }
}

/* Club Layout Styles */

.club-title-section {
    flex: 1;
}

.school-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 12px;
    color: #6b7280;
    background: #f3f4f6;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    margin-top: 0.25rem;
}

.school-badge svg {
    width: 10px;
    height: 10px;
    color: #9ca3af;
}

.request-badge {
    background: #fef3c7;
    color: #92400e;
}

.request-badge svg {
    color: #f59e0b;
}

.request-club-card {
    border: 2px dashed #d1d5db;
    background: #fafbfc;
    transition: all 0.2s ease;
}

.request-club-card:hover {
    border-color: #2563eb;
    background: #f8faff;
    transform: translateY(-2px);
}

.request-club-card .club-icon {
    background: #e0e7ff;
    color: #2563eb;
}

.request-club-card .club-name {
    color: #2563eb;
}

.request-cta-pill {
    background: #dbeafe;
    color: #1e40af;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.request-cta-button {
    background: #2563eb !important;
    color: white !important;
}

.request-cta-button:hover {
    background: #1d4ed8 !important;
}

/* Club Session Period Styling */
.club-session-period {
    color: #6B7280;
    font-size: 0.875rem;
}

/* Club Actions Layout */
.club-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

/* Learn More Button */
.club-learn-more-btn {
    background: transparent;
    border: 1px solid #E5E7EB;
    color: #6B7280;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.club-learn-more-btn:hover {
    background: #F9FAFB;
    border-color: #D1D5DB;
    color: #374151;
}

.club-learn-more-btn:focus {
    outline: 2px solid #2563EB;
    outline-offset: 2px;
}

/* Theme-specific button colors to match club headers */
.club-card--piano .club-learn-more-btn {
    background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%);
    color: white;
    border: none;
}

.club-card--piano .club-learn-more-btn:hover {
    background: linear-gradient(135deg, #6D28D9 0%, #5B21B6 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
}

.club-card--piano .club-cta-button {
    background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%);
    color: white;
}

.club-card--piano .club-cta-button:hover {
    background: linear-gradient(135deg, #6D28D9 0%, #5B21B6 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
}

.club-card--guitar .club-learn-more-btn {
    background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
    color: white;
    border: none;
}

.club-card--guitar .club-learn-more-btn:hover {
    background: linear-gradient(135deg, #B91C1C 0%, #991B1B 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.4);
}

.club-card--guitar .club-cta-button {
    background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
    color: white;
}

.club-card--guitar .club-cta-button:hover {
    background: linear-gradient(135deg, #B91C1C 0%, #991B1B 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.4);
}

.club-card--combo .club-learn-more-btn {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
    border: none;
}

.club-card--combo .club-learn-more-btn:hover {
    background: linear-gradient(135deg, #047857 0%, #065F46 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.4);
}

.club-card--combo .club-cta-button {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
}

.club-card--combo .club-cta-button:hover {
    background: linear-gradient(135deg, #047857 0%, #065F46 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.4);
}

.club-card--magic .club-learn-more-btn {
    background: linear-gradient(135deg, #DB2777 0%, #BE185D 100%);
    color: white;
    border: none;
}

.club-card--magic .club-learn-more-btn:hover {
    background: linear-gradient(135deg, #BE185D 0%, #9D174D 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(219, 39, 119, 0.4);
}

.club-card--magic .club-cta-button {
    background: linear-gradient(135deg, #DB2777 0%, #BE185D 100%);
    color: white;
}

.club-card--magic .club-cta-button:hover {
    background: linear-gradient(135deg, #BE185D 0%, #9D174D 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(219, 39, 119, 0.4);
}

.club-card--brain .club-learn-more-btn {
    background: linear-gradient(135deg, #0891B2 0%, #0E7490 100%);
    color: white;
    border: none;
}

.club-card--brain .club-learn-more-btn:hover {
    background: linear-gradient(135deg, #0E7490 0%, #155E75 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(8, 145, 178, 0.4);
}

.club-card--brain .club-cta-button {
    background: linear-gradient(135deg, #0891B2 0%, #0E7490 100%);
    color: white;
}

.club-card--brain .club-cta-button:hover {
    background: linear-gradient(135deg, #0E7490 0%, #155E75 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(8, 145, 178, 0.4);
}

/* Club Details Modal */
.club-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.club-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.club-modal-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    width: 100%;
    max-width: 32rem;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.club-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.5rem 0 1.5rem;
    border-bottom: 1px solid #E5E7EB;
    padding-bottom: 1rem;
}

.club-modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
    flex: 1;
}

.club-modal-close {
    background: transparent;
    border: none;
    color: #6B7280;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

.club-modal-close:hover {
    background: #F3F4F6;
    color: #374151;
}

.club-modal-close:focus {
    outline: 2px solid #2563EB;
    outline-offset: 2px;
}

.club-modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
    /* Custom scrollbar styling */
    scrollbar-width: thin;
    scrollbar-color: #D1D5DB #F9FAFB;
}

.club-modal-body::-webkit-scrollbar {
    width: 6px;
}

.club-modal-body::-webkit-scrollbar-track {
    background: #F9FAFB;
    border-radius: 3px;
}

.club-modal-body::-webkit-scrollbar-thumb {
    background: #D1D5DB;
    border-radius: 3px;
}

.club-modal-body::-webkit-scrollbar-thumb:hover {
    background: #9CA3AF;
}

.club-modal-icon-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.club-modal-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 8px;
    background: #F3F4F6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563EB;
    flex-shrink: 0;
}

.club-modal-basic-info {
    flex: 1;
}

.club-modal-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.25rem 0;
}

.club-modal-school {
    color: #6B7280;
    font-size: 0.875rem;
}

.club-modal-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.club-modal-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: #F9FAFB;
    border-radius: 6px;
}

.club-modal-detail strong {
    color: #374151;
    font-weight: 500;
}

.club-modal-detail span {
    color: #6B7280;
}

.club-modal-description h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.75rem 0;
}

.club-modal-description p {
    color: #6B7280;
    line-height: 1.5;
    margin: 0;
}

.club-modal-footer {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    padding: 1rem 1.5rem 1.5rem 1.5rem;
    border-top: 1px solid #E5E7EB;
}

.club-modal-close-btn {
    background: transparent;
    border: 1px solid #E5E7EB;
    color: #6B7280;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.club-modal-close-btn:hover {
    background: #F9FAFB;
    border-color: #D1D5DB;
    color: #374151;
}

.club-modal-register-btn {
    background: #2563EB;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
}

.club-modal-register-btn:hover {
    background: #1D4ED8;
}

.club-modal-register-btn:focus {
    outline: 2px solid #2563EB;
    outline-offset: 2px;
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Mobile adjustments for club modal */
@media (max-width: 640px) {
    .club-modal {
        padding: 0.5rem;
    }
    
    .club-modal-content {
        max-height: 95vh;
    }
    
    .club-modal-details-grid {
        grid-template-columns: 1fr;
    }
    
    .club-actions {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
    
    .club-learn-more-btn,
    .club-cta-button {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .club-footer {
        flex-direction: column;
        align-items: stretch;
    }
    
/* Wed Sep  3 02:15:13 AM UTC 2025 - Force cache refresh */


/* ALL FLEXBOX OVERRIDES DELETED - Using clean CSS Grid now */

/* OLD CONFLICTING RULES REMOVED */

/* Payment History Table */
.payment-history-table {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-top: 1rem;
}

.table-header {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr 1.5fr 1fr 1fr;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    font-weight: 600;
    color: #495057;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-cell {
    padding: 1rem;
    border-right: 1px solid #e9ecef;
}

.header-cell:last-child {
    border-right: none;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr 1.5fr 1fr 1fr;
    border-bottom: 1px solid #f8f9fa;
    transition: background-color 0.2s;
}

.table-row:hover {
    background: #f8f9fa;
}

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

.table-cell {
    padding: 1rem;
    border-right: 1px solid #f8f9fa;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #495057;
}

.table-cell:last-child {
    border-right: none;
}

.table-cell .amount {
    font-weight: 600;
    color: #28a745;
}

.table-footer {
    background: #f8f9fa;
    border-top: 2px solid #e9ecef;
    padding: 1rem;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.total-label {
    color: #495057;
}

.total-amount {
    color: #28a745;
    font-size: 1.25rem;
}

/* Mobile responsive for payment history */
@media (max-width: 768px) {
    .payment-history-table {
        overflow-x: auto;
    }
    
    .table-header,
    .table-row {
        min-width: 600px;
    }
    
    .header-cell,
    .table-cell {
        padding: 0.75rem 0.5rem;
        font-size: 0.8rem;
    }
}

.modal-school {
    margin: 0 0 4px 0;
    color: #6B7280;
    font-size: 0.9rem;
}
