﻿/* Academy Success Modal Styles */
.academy-success-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: darkgrey;
    animation: fadeIn 0.3s ease;
}

.academy-success-modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 500px;
    text-align: center;
    position: relative;
    animation: slideIn 0.4s ease;
}

.academy-success-modal-close {
    color: #aaa;
    position: absolute;
    top: 2px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    transition: color 0.2s;
}

    .academy-success-modal-close:hover {
        color: #333;
    }

.academy-success-icon {
    font-size: 60px;
    color: #4CAF50;
}

.academy-success-modal h2 {
    color: #333;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.academy-success-modal p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.academy-success-modal-button {
    background: linear-gradient(135deg, #71296D, #483F76);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(230, 126, 34, 0.3);
}

    .academy-success-modal-button:hover {
        background: linear-gradient(135deg, #483F76, #71296D);
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(230, 126, 34, 0.4);
    }

.no-scroll {
    overflow: hidden !important;
    height: 100%;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Booking Success Modal Styles */
.booking-success-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: darkgrey;
    animation: fadeIn 0.3s ease;
}

.booking-success-modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
    width: 90%;
    max-width: 500px;
    text-align: center;
    position: relative;
    animation: slideIn 0.4s ease;
    font-family: 'Montserrat', sans-serif;
}

.booking-success-modal-close {
    color: #aaa;
    position: absolute;
    top: 2px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    transition: color 0.2s;
}

    .booking-success-modal-close:hover {
        color: #333;
    }

.booking-success-icon {
    font-size: 70px;
    color: #4CAF50;
    animation: bounce 0.5s ease;
}

.booking-success-modal h2 {
    color: #333;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
    font-size: 28px;
}

.booking-success-modal p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
    font-size: 16px;
}

.booking-success-modal-button {
    background: linear-gradient(135deg, #71296D, #483F76);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(230, 126, 34, 0.3);
}

    .booking-success-modal-button:hover {
        background: linear-gradient(135deg, #483F76, #71296D);
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(230, 126, 34, 0.4);
    }

/* Responsive styles */
@media (max-width: 768px) {
    .booking-success-modal-content {
        margin: 20% auto;
        padding: 30px 20px;
        width: 85%;
    }

    .booking-success-icon {
        font-size: 60px;
    }

    .booking-success-modal h2 {
        font-size: 24px;
    }
}