#front-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    color: white;
}

#front-modal.active {
    display: flex !important;
}

.modal-container {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    min-height: 200px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.modal-container--forbidden {
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.success-heading {
    font-size: 2rem;
    margin-bottom: 30px;
}

#front-modal .modal-container .loading-logo img {
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

#front-modal button {
    background: white;
    color: var(--primary);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

#front-modal button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}