/* ===== RRC LOGIN PAGE STYLES ===== */

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #7A1F1F 0%, #A52A2A 50%, #8B3A3A 100%);
    min-height: 100vh;
    padding: 20px;
    position: relative;
}

/* Back Button - Top Left */
.back-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 40px;
    background: #D4AF37;
    color: #2C2C2C;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    background: #B8941F;
}

/* Top Navigation - Welcome/Sign In */
.top-nav {
    position: absolute;
    top: 10px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    z-index: 1000;
}

.welcome-text {
    color: white;
    font-weight: bold;
    font-size: 16px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-login-btn {
    background: none;
    border: none;
    color: #D4AF37;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    padding: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: color 0.3s ease;
}

.nav-login-btn:hover {
    color: #FFF;
}

/* Login Container */
.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

/* Login Card */
.login-card {
    max-width: 550px;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

/* Header Section - Department Name & Portal Title */
.login-header {
    background: linear-gradient(135deg, #7A1F1F 0%, #A52A2A 100%);
    padding: 50px 40px 40px 40px;
    text-align: center;
    position: relative;
}

.department-name {
    font-size: 36px;
    font-weight: bold;
    color: white;
    margin-top: 20px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.portal-title {
    font-size: 22px;
    color: white;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Decorative Divider */
.header-divider {
    height: 4px;
    background: linear-gradient(90deg,
        transparent 0%,
        #D4AF37 20%,
        #D4AF37 80%,
        transparent 100%);
    margin: 0 auto;
    width: 70%;
    border-radius: 2px;
    box-shadow: 0 2px 6px rgba(212, 175, 55, 0.4);
}

/* Sign In Section Title */
.signin-section {
    background: linear-gradient(135deg, rgba(122, 31, 31, 0.05) 0%, rgba(165, 42, 42, 0.05) 100%);
    padding: 30px 40px 10px 40px;
}

.signin-title {
    font-size: 24px;
    color: #2C2C2C;
    text-align: center;
    margin-bottom: 5px;
}

.signin-subtitle {
    font-size: 14px;
    color: #636e72;
    text-align: center;
}

.trademark {
    font-size: 12px;
    vertical-align: super;
}

/* Form Section */
.login-body {
    padding: 30px 40px 40px 40px;
}

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

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #2C2C2C;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-input:focus {
    outline: none;
    border-color: #D4AF37;
    background: white;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.form-input::placeholder {
    color: #adb5bd;
    font-style: italic;
}

/* Remember Me Checkbox */
.remember-section {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.remember-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #D4AF37;
}

.remember-label {
    font-size: 15px;
    color: #2d3436;
    cursor: pointer;
    user-select: none;
}

/* Sign In Button */
.login-button {
    width: 100%;
    padding: 18px;
    background: #D4AF37;
    color: #2C2C2C;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: bold;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    background: #B8941F;
}

.login-button:active {
    transform: translateY(0);
}

/* Forgot Password Link */
.forgot-password {
    text-align: center;
    margin-top: 20px;
}

.forgot-password a {
    color: #A52A2A;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.forgot-password a:hover {
    color: #7A1F1F;
    text-decoration: underline;
}

/* Divider */
.form-divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.form-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #e9ecef;
}

.divider-text {
    background: white;
    padding: 0 15px;
    color: #636e72;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

/* Create Account Link */
.create-account {
    text-align: center;
}

.create-account a {
    color: #A52A2A;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.create-account a:hover {
    color: #D4AF37;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .back-btn {
        top: 10px;
        left: 10px;
        width: 70px;
        height: 36px;
        font-size: 12px;
    }

    .top-nav {
        top: 10px;
        right: 10px;
    }
     .top-nav2 {
        position: relative !important;
        top: 1px;
        right: 0px;
        align-items: center;
        padding: 0px;
        margin-top:-20px;
        margin-right:-20px;
    }

    .welcome-text {
        font-size: 14px;
    }

    .nav-login-btn {
        font-size: 14px;
    }

    .login-card {
        margin: 10px;
        border-radius: 20px;
    }

    .login-header {
        padding: 40px 25px 30px 25px;
    }

    .department-name {
        font-size: 28px;
        letter-spacing: 1px;
    }

    .portal-title {
        font-size: 18px;
    }

    .signin-section {
        padding: 25px 25px 10px 25px;
    }

    .signin-title {
        font-size: 20px;
    }

    .login-body {
        padding: 25px;
    }

    .form-label {
        font-size: 12px;
    }

    .form-input {
        padding: 14px 16px;
        font-size: 15px;
    }

    .login-button {
        padding: 16px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .department-name {
        font-size: 24px;
    }

    .portal-title {
        font-size: 16px;
    }

    .signin-title {
        font-size: 18px;
    }
}


/* ===== RRC FOOTER STYLES ===== */

.footer {
    background: linear-gradient(135deg, #7A1F1F 0%, #A52A2A 100%);
    color: white;
    padding: 50px 30px 25px 30px;
    margin-top: 80px;
    text-align: center;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
}

/* Branding Section */
.footer-branding {
    margin-bottom: 30px;
}

.footer-operated-by {
    display: block;
    font-size: 15px;
    font-style: italic;
    opacity: 0.95;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    font-weight: 300;
}

.footer-logo {
    height: 100px;
    max-width: 90%;
    background: white;
    padding: 15px 30px;
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.footer-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

/* Decorative Divider */
.footer-divider {
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(212, 175, 55, 0.5) 20%,
        #D4AF37 50%,
        rgba(212, 175, 55, 0.5) 80%,
        transparent 100%);
    margin: 30px auto;
    width: 60%;
    border-radius: 2px;
}

/* Copyright Section */
.footer-copyright {
    font-size: 14px;
    margin: 25px 0;
    opacity: 0.9;
    line-height: 1.6;
}

.footer-year {
    font-weight: 600;
}

/* PWA Install Section */
.footer-install {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-install-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #D4AF37;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.install-pwa-btn {
    background: white;
    color: #A52A2A;
    border: 2px solid white;
    padding: 14px 35px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.install-pwa-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: #D4AF37;
    color: #2C2C2C;
    border-color: #D4AF37;
}

.install-pwa-btn:active {
    transform: translateY(-1px);
}

.install-help-link {
    display: block;
    color: white;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.9;
    transition: all 0.3s ease;
    margin-top: 12px;
}

.install-help-link:hover {
    opacity: 1;
    text-decoration: underline;
    color: #D4AF37;
}

/* Links Section (Optional - if you want to add navigation links) */
.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.footer-link {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
    transition: all 0.3s ease;
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: #D4AF37;
    transition: width 0.3s ease;
}

.footer-link:hover {
    opacity: 1;
    color: #D4AF37;
}

.footer-link:hover::after {
    width: 100%;
}

/* Social Media Icons (Optional) */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 25px 0;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-icon:hover {
    background: #D4AF37;
    color: #2C2C2C;
    transform: translateY(-3px);
    border-color: #D4AF37;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer {
        padding: 40px 20px 20px 20px;
        margin-top: 60px;
    }

    .footer-logo {
        height: 80px;
        padding: 12px 20px;
    }

    .footer-operated-by {
        font-size: 14px;
    }

    .footer-copyright {
        font-size: 13px;
    }

    .install-pwa-btn {
        padding: 12px 28px;
        font-size: 15px;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 30px 15px 15px 15px;
    }

    .footer-logo {
        height: 70px;
    }

    .footer-divider {
        width: 80%;
    }

    .install-pwa-btn {
        width: 100%;
        max-width: 280px;
    }
}

  /* Container for all program cards */
        .programs-container {
            max-width: 900px;
            margin: 0 auto;
            padding: 40px 20px;
            display: flex;
            flex-direction: column;
            gap: 30px;
        }

        /* Individual Program Card */
        .program-card {
            background: white;
            border-radius: 20px;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
	    margin-bottom:20px;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .program-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
        }

        /* Program Header */
        .program-header {
            background: linear-gradient(135deg, #A52A2A 0%, #7A1F1F 100%);
            padding: 30px;
            text-align: center;
        }

        .program-name {
            color: white;
            font-size: 28px;
            font-weight: bold;
            margin: 0;
            letter-spacing: 0.5px;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }

        /* Progress Section */
        .progress-section {
            padding: 40px 30px;
            background: linear-gradient(to bottom, #f8f9fa 0%, white 100%);
        }

        .progress-steps {
            display: flex;
            align-items: center;
            justify-content: space-between;
            max-width: 600px;
            margin: 0 auto;
        }

        /* Individual Progress Step */
        .progress-step {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 12px;
            flex: 0 0 auto;
            position: relative;
        }

        .step-circle {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: white;
            border: 4px solid #dfe2e5;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            font-weight: bold;
            color: #adb5bd;
            transition: all 0.4s ease;
            position: relative;
            z-index: 2;
        }

        .step-number {
            display: block;
        }

        .step-check {
            display: none;
            width: 28px;
            height: 28px;
            color: white;
        }

        .step-label {
            font-size: 14px;
            font-weight: 600;
            color: #636e72;
            text-align: center;
            max-width: 100px;
            line-height: 1.3;
        }

        /* Completed Step */
        .progress-step.completed .step-circle {
            background: linear-gradient(135deg, #D4AF37 0%, #B8941F 100%);
            border-color: #D4AF37;
            color: white;
        }

        .progress-step.completed .step-number {
            display: none;
        }

        .progress-step.completed .step-check {
            display: block;
        }

        .progress-step.completed .step-label {
            color: #2d3436;
        }

        /* Active Step */
        .progress-step.active .step-circle {
            background: linear-gradient(135deg, #A52A2A 0%, #7A1F1F 100%);
            border-color: #A52A2A;
            color: white;
            animation: pulse 2s infinite;
        }

        .progress-step.active .step-label {
            color: #A52A2A;
            font-weight: 700;
        }

        @keyframes pulse {
            0%, 100% {
                box-shadow: 0 0 0 0 rgba(165, 42, 42, 0.4);
            }
            50% {
                box-shadow: 0 0 0 10px rgba(165, 42, 42, 0);
            }
        }

        /* Progress Connector Lines */
        .progress-connector {
            flex: 1;
            height: 4px;
            background: #dfe2e5;
            margin: 0 -10px;
            position: relative;
            top: -30px;
            z-index: 1;
            transition: background 0.4s ease;
        }

        .progress-connector.completed {
            background: linear-gradient(90deg, #D4AF37 0%, #B8941F 100%);
        }

        /* Video Section */
        .video-section {
            padding: 20px 30px;
        }

        .video-placeholder {
            width: 100%;
            aspect-ratio: 16 / 9;
            background: linear-gradient(135deg, #2d3436 0%, #636e72 100%);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        }

        .placeholder-content {
            text-align: center;
            color: white;
        }

        .play-icon {
            width: 80px;
            height: 80px;
            opacity: 0.8;
            margin-bottom: 15px;
            filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
        }

        .placeholder-content p {
            font-size: 18px;
            font-weight: 600;
            opacity: 0.9;
            margin: 0;
        }

        /* For actual video embed, add this class to your iframe/video element */
        .video-embed {
            width: 100%;
            height: 100%;
            border: none;
            border-radius: 16px;
        }

        /* Action Section */
        .action-section {
            padding: 20px 30px 35px 30px;
            text-align: center;
        }

        .schedule-btn {
            display: flex;
	    flex-direction:column;
            align-items: center;
	    margin:0 auto;
            justify-content: center;
            gap: 10px;
            padding: 18px 40px;
            background: #D4AF37;
            color: #2C2C2C;
            border: none;
            border-radius: 50px;
            font-size: 16px;
            font-weight: bold;
            font-family: inherit;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
            box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
        }

        .schedule-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
            background: #B8941F;
        }

        .schedule-btn:active {
            transform: translateY(-1px);
        }

        .btn-icon {
            width: 24px;
            height: 24px;
        }

        /* Disabled state */
        .schedule-btn:disabled {
            background: #e9ecef;
            color: #adb5bd;
            cursor: not-allowed;
            box-shadow: none;
        }

        .schedule-btn:disabled:hover {
            transform: none;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .programs-container {
                padding: 20px 15px;
            }

            .program-card {
                border-radius: 16px;
            }

            .program-header {
                padding: 25px 20px;
            }

            .program-name {
                font-size: 24px;
            }

            .progress-section {
                padding: 30px 20px;
            }

            .progress-steps {
                max-width: 100%;
            }

            .step-circle {
                width: 50px;
                height: 50px;
                font-size: 18px;
            }

            .step-check {
                width: 24px;
                height: 24px;
            }

            .step-label {
                font-size: 12px;
                max-width: 80px;
            }

            .video-section {
                padding: 15px 20px;
            }

            .action-section {
                padding: 15px 20px 30px 20px;
            }

            .schedule-btn {
                padding: 16px 32px;
                font-size: 16px;
                width: 100%;
                max-width: 500px;
            }
        }

        @media (max-width: 480px) {
            .program-name {
                font-size: 20px;
            }

            .progress-section {
                padding: 25px 15px;
            }

            .step-circle {
                width: 45px;
                height: 45px;
                font-size: 16px;
                border-width: 3px;
            }

            .step-check {
                width: 20px;
                height: 20px;
            }

            .step-label {
                font-size: 11px;
                max-width: 70px;
            }

            .progress-connector {
                margin: 0 -5px;
                top: -28px;
            }

            .play-icon {
                width: 60px;
                height: 60px;
            }

            .placeholder-content p {
                font-size: 16px;
            }

            .schedule-btn {
                padding: 14px 28px;
                font-size: 15px;
                gap: 8px;
            }

            .btn-icon {
                width: 20px;
                height: 20px;
            }
        }


	 /* ===== RRC TRAINING LOCATION BOOKING STYLES ===== */

        /* Reset & Body */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #7A1F1F 0%, #A52A2A 50%, #8B3A3A 100%);
            min-height: 100vh;
            padding: 20px;
        }

        /* Container */
        .locations-container {
            max-width: 900px;
            margin: 0 auto;
            padding: 40px 20px;
            display: flex;
            flex-direction: column;
            gap: 25px;
        }

        .page-title {
            color: white;
            font-size: 32px;
            font-weight: bold;
            text-align: center;
            margin-bottom: 20px;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        }

        /* Location Card */
        .location-card {
            background: white;
            border-radius: 16px;
            box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
            overflow: hidden;
            transition: all 0.3s ease;
	    margin-bottom: 25px;
        }

        .location-card:hover {
            box-shadow: 0 8px 35px rgba(0, 0, 0, 0.2);
        }

        /* Card Header - Always Visible */
        .location-header {
            padding: 25px 30px;
            background: linear-gradient(to bottom, #f8f9fa 0%, white 100%);
            cursor: pointer;
            user-select: none;
            display: flex;
            justify-content: space-between;
            align-items: center;
	    gap:15px;
            border-bottom: 2px solid #e9ecef;
            transition: background 0.3s ease;
        }
	@media (max-width: 768px) {
    .add-class-btn {
        font-size: 12px;
        padding: 8px 12px;
	margin-bottom:10px;
    }
}

        .location-header:hover {
            background: linear-gradient(to bottom, #f0f1f3 0%, #fafafa 100%);
        }

        .location-info {
            flex: 1;
        }

        .location-name {
            font-size: 22px;
            font-weight: bold;
            color: #A52A2A;
            margin-bottom: 8px;
        }

        .location-address {
            font-size: 15px;
            color: #636e72;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .address-icon {
            width: 16px;
            height: 16px;
            color: #A52A2A;
        }

        .next-available {
            display: inline-block;
            background: rgba(212, 175, 55, 0.15);
            color: #8B7635;
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 13px;
            font-weight: 600;
        }

        .expand-toggle {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #A52A2A;
            font-weight: 600;
            font-size: 15px;
        }

        .expand-arrow {
            width: 24px;
            height: 24px;
            transition: transform 0.3s ease;
        }

        .location-card.expanded .expand-arrow {
            transform: rotate(180deg);
        }

	.add-class-btn {
    padding: 10px 20px;
    background: #D4AF37;
    color: #2C2C2C;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    flex-shrink: 0;
}

.add-class-btn:hover {
    background: #B8941F;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    z-index:999;
}
        /* Card Body - Expandable */
        .location-body {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease;
        }

        .location-card.expanded .location-body {
            max-height: 1800px;
	    
        }

        .booking-content {
            padding: 30px;
        }

        /* Date Selection Section */
	.date-section {
     max-height: 300px;  /* Adjust as needed */
    overflow-y: auto;
    margin-bottom: 20px;
}

        .section-label {
            font-size: 14px;
            font-weight: 700;
            color: #2C2C2C;
            margin-bottom: 15px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .date-buttons {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
            gap: 10px;
        }

        .date-btn {
            padding: 15px 10px;
            background: #f8f9fa;
            border: 2px solid #e9ecef;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
        }

        .date-btn:hover {
            background: #e9ecef;
            border-color: #D4AF37;
        }

        .date-btn.selected {
            background: linear-gradient(135deg, #D4AF37 0%, #B8941F 100%);
            border-color: #D4AF37;
            color: white;
        }

        .date-day {
            font-size: 13px;
            font-weight: 600;
            color: #636e72;
            margin-bottom: 4px;
        }

        .date-btn.selected .date-day {
            color: rgba(255, 255, 255, 0.9);
        }

        .date-date {
            font-size: 16px;
            font-weight: bold;
            color: #2d3436;
        }

        .date-btn.selected .date-date {
            color: white;
        }

        /* Time Slots Section */
.time-section {
    display: none;
    margin-bottom: 25px;
    animation: slideDown 0.3s ease;
    /* max-height: calc(90vh - 400px);  /* Leave 300px for header, dates, and buttons */
    max-height:300px;
    overflow-y: auto;
    flex-shrink: 1;
}

        .time-section.active {
            display: block;
        }

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

	.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
    /*max-height: 400px;
     */
    overflow-y: auto;
}

        .time-slot-btn {
            padding: 14px 10px;
            background: white;
            border: 2px solid #e9ecef;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
        }

        .time-slot-btn:hover {
            border-color: #A52A2A;
            background: rgba(165, 42, 42, 0.05);
        }

        .time-slot-btn.selected {
            background: linear-gradient(135deg, #A52A2A 0%, #7A1F1F 100%);
            border-color: #A52A2A;
            color: white;
        }

        .slot-time {
            font-size: 16px;
            font-weight: bold;
            color: #2d3436;
            margin-bottom: 3px;
        }

        .time-slot-btn.selected .slot-time {
            color: white;
        }

        .slot-availability {
            font-size: 11px;
            color: #636e72;
            font-weight: 600;
        }

        .time-slot-btn.selected .slot-availability {
            color: rgba(255, 255, 255, 0.85);
        }

        /* Confirm Button */
        .confirm-section {
            display: none;
            text-align: center;
            padding-top: 10px;
            border-top: 2px solid #e9ecef;
        }

        .confirm-section.active {
            display: block;
            animation: slideDown 0.3s ease;
        }

        .confirm-booking-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            padding: 16px 40px;
            background: #D4AF37;
            color: #2C2C2C;
            border: none;
            border-radius: 50px;
            font-size: 17px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
            box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
        }

        .confirm-booking-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
            background: #B8941F;
        }

        .confirm-icon {
            width: 20px;
            height: 20px;
        }

        /* Confirmation Modal */
        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.6);
            z-index: 1000;
            align-items: center;
            justify-content: center;
            animation: fadeIn 0.3s ease;
        }

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

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

        .modal {
            background: white;
            border-radius: 20px;
            max-width: 500px;
            width: 90%;
            box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
            animation: slideUp 0.3s ease;
        }

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

        .modal-header {
            background: linear-gradient(135deg, #A52A2A 0%, #7A1F1F 100%);
            padding: 25px 30px;
            border-radius: 20px 20px 0 0;
        }

        .modal-title {
            color: white;
            font-size: 24px;
            font-weight: bold;
            text-align: center;
            margin: 0;
        }

        .modal-body {
            padding: 30px;
        }

        .confirmation-details {
            background: #f8f9fa;
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 25px;
        }

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

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

        .detail-label {
            font-size: 14px;
            font-weight: 600;
            color: #636e72;
        }

        .detail-value {
            font-size: 15px;
            font-weight: bold;
            color: #2d3436;
            text-align: right;
        }

        .modal-actions {
            display: flex;
            gap: 12px;
        }

        .modal-btn {
            flex: 1;
            padding: 14px;
            border: none;
            border-radius: 12px;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .cancel-btn {
            background: #e9ecef;
            color: #2d3436;
        }

        .cancel-btn:hover {
            background: #dfe2e5;
        }

        .confirm-btn {
            background: #D4AF37;
            color: #2C2C2C;
            box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
        }

        .confirm-btn:hover {
            background: #B8941F;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
        }

        /* Responsive */
        @media (max-width: 768px) {
            .locations-container {
                padding: 20px 10px;
            }

            .page-title {
                font-size: 26px;
            }

            .location-header {
                padding: 20px;
                flex-direction: column;
                align-items: flex-start;
                gap: 12px;
            }

            .expand-toggle {
                align-self: flex-end;
            }

            .location-name {
                font-size: 20px;
            }

            .booking-content {
                padding: 20px;
            }

            .date-buttons {
                grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
            }

            .time-slots {
                grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
            }

            .modal-body {
                padding: 20px;
            }

            .modal-actions {
                flex-direction: column;
            }
        }

        @media (max-width: 480px) {
            .date-buttons {
                grid-template-columns: repeat(2, 1fr);
            }

            .time-slots {
                grid-template-columns: repeat(2, 1fr);
            }
        }

	/* ===== ADD CLASS FORM CARD STYLES ===== */

.add-class-form-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    margin-bottom: 30px;
    display: none; /* Hidden by default */
}

.add-class-form-card.active {
    display: block;
    animation: slideDown 0.3s ease;
}

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

.add-class-header {
    background: linear-gradient(135deg, #A52A2A 0%, #7A1F1F 100%);
    padding: 25px 30px;
    color: white;
}

.add-class-title {
    font-size: 22px;
    font-weight: bold;
    margin: 0;
}

.add-class-location {
    font-size: 16px;
    margin-top: 8px;
    opacity: 0.95;
}

.add-class-body {
    padding: 30px;
}

.form-row {
    margin-bottom: 20px;
}

.form-row-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #2C2C2C;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-row-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-row-input:focus {
    outline: none;
    border-color: #D4AF37;
    background: white;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-row-input[type="number"] {
    -moz-appearance: textfield;
}

.form-row-input[type="number"]::-webkit-inner-spin-button,
.form-row-input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.form-row-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f8f9fa;
    cursor: pointer;
}

.form-row-select:focus {
    outline: none;
    border-color: #D4AF37;
    background: white;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #e9ecef;
}

.form-btn {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cancel-form-btn {
    background: #e9ecef;
    color: #2d3436;
}

.cancel-form-btn:hover {
    background: #dfe2e5;
    transform: translateY(-2px);
}

.save-form-btn {
    background: #D4AF37;
    color: #2C2C2C;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.save-form-btn:hover {
    background: #B8941F;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* Two column layout for date/time on desktop */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .add-class-body {
        padding: 20px;
    }

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

    .form-actions {
        flex-direction: column;
    }
}

.delete-class-btn {
    background-color: #bd2130; /* Red */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display:none;
    text-transform: uppercase;
}

.delete-class-btn:hover {
    background-color: #c82333; /* Darker red on hover */
}

.delete-class-btn:active {
    background-color: #bd2130; /* Even darker when clicked */
}

.cancel-btn {
    background-color: #bd2130;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 15px;
}

.cancel-btn:hover {
    background-color: #c82333;
}
.registered-class-card {
    background: linear-gradient(135deg, #D4AF69 0%, #C5A05B 50%, #B08D4F 100%);
    border: 2px solid #B08D4F;
    border-radius: 12px;
    padding: 20px;
    margin: 15px 0;
    box-shadow: 0 4px 15px rgba(197, 160, 91, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.registered-header h3 {
    margin: 0 0 15px 0;
    color: #2d2d2d;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

.registered-details {
    margin-bottom: 15px;
    color: #333;
}

.registered-class-card {
    border-radius: 12px;
    margin: 15px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.registered-header {
    background: linear-gradient(135deg, #8B1F1F 0%, #A52A2A 100%);
    padding: 20px;
}

.registered-header h3 {
    margin: 0;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.registered-details {
    background: #ffffff;
    padding: 20px;
    color: #333;
}

.class-info, .location-info {
    margin-bottom: 15px;
}

.cancel-enrollment-btn {
    background-color: #bd2130;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    margin-top: 10px;
}

.cancel-enrollment-btn:hover {
    background-color: #c82333;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.class-info, .location-info {
    margin-bottom: 10px;
}

.cancel-enrollment-btn {
    background-color: #bd2130;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.cancel-enrollment-btn:hover {
    background-color: #c82333;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.program-title-header{
    color: #D4AF37;
    margin: 0 0 10px 0;
    padding-bottom: 8px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
    font-size: 26px;
    font-weight: 700;
    border-bottom: 3px solid rgba(176, 141, 79, 0.5);
     text-shadow: 0 0 1px #E0E0E0,
                 0 0 1px #E0E0E0;
		 text-shadow: 0 0 1px #CCCCCC,    /* Outline blur 1 */
             0 0 1px #000,    /* Outline blur 2 (doubles the effect) */
             0 2px 4px rgba(0, 0, 0, 0.4),  /* Drop shadow */
             0 0 20px rgba(255, 255, 255, 0.1);  /* Glow */
}
/* Navigation Menu - Hamburger Only */
.nav-container {
    position: absolute;
    top: 50px;
    right: 5px;
    margin-top:10px;
    z-index: 100;
}

.hamburger-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: white;
    border: 2px solid #C5A05B;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: #C5A05B;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav-menu {
    position: absolute;
    top: 55px;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    border: 2px solid #C5A05B;
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    min-width: 180px;
    z-index: 1000;
    display: none;
}

.nav-menu.active {
    display: block;
    max-height: 400px;
    padding: 8px 0;
}

.nav-menu li {
    margin: 0;
}

.nav-link {
    display: block;
    padding: 12px 20px;
    color: #2C2C2C;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
}

.nav-link:hover, .nav-link.active {
     background: linear-gradient(135deg, #D4AF69 0%, #C5A05B 100%);  
    color: #2C2C2C;
}

@media (max-wdith: 768px){
        .search-filters {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: left !important;
        width: auto !important;
        gap: 10px !important;
    }
}

/* CONTACT CARD */
.contact-card {
    background: #ffffff;
    border-radius: 12px;
    margin: 15px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.contact-header {
    background: linear-gradient(135deg, #2C2C2C 0%, #1a1a1a 100%);
    padding: 20px;
}

.contact-header h3 {
    margin: 0;
    color: #D4AF37;
    font-size: 24px;
    font-weight: 700;
}

.contact-details {
    background: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.contact-info {
    color: #333;
}

.contact-programs {
    padding: 20px;
}

.contact-programs h4 {
    margin: 0 0 15px 0;
    color: #2C2C2C;
    font-size: 18px;
}

.program-enrollment {
    background: #f8f9fa;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    border-left: 4px solid #D4AF37;
}

.scheduled-badge {
    display: inline-block;
    background: #28a745;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    margin: 5px 0;
}

.not-scheduled-badge {
    display: inline-block;
    background: #6c757d;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    margin: 5px 0;
}
/* Pagination Controls */
.pagination-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    margin: 20px 0;
}

.page-btn {
    width: 44px;
    height: 44px;
    border: 2px solid #C5A05B;
    background: white;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2C2C2C;
}

.page-btn:hover {
    background: linear-gradient(135deg, #D4AF69 0%, #C5A05B 100%);
    border-color: #B08D4F;
    color: #2C2C2C;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(197, 160, 91, 0.3);
}

.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.page-btn:disabled:hover {
    background: white;
    border-color: #C5A05B;
    color: #2C2C2C;
    box-shadow: none;
}

.page-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #2C2C2C;
    font-weight: 600;
}

.page-label {
    color: #D2691E;
}

.page-input {
    width: 60px;
    height: 44px;
    text-align: center;
    border: 2px solid #C5A05B;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #2C2C2C;
    background: white;
    transition: all 0.3s ease;
}

/* Remove number input spinners */
.page-input::-webkit-inner-spin-button,
.page-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.page-input[type=number] {
    -moz-appearance: textfield; /* Firefox */
    appearance: textfield;
}

.page-input:focus {
    outline: none;
    border-color: #D4AF37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.page-total {
    color: #D2691E;
    white-space: nowrap;
}

/*.page-total span {
    color: #2C2C2C;
    font-weight: bold;
}
*/

