:root {
    --wp-admin-theme-color: #6c63ff;
    --wp-admin-theme-color-darker-10: #453fa3;
    --wp-admin-theme-color-darker-20: #322e75;
}

/* Modal Styles */
.modal-dialog-80 {
    max-width: 80% !important;
    width: 80% !important;
    margin: 0 auto;
}

.modal-content {
    border: none;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    background-color: transparent !important;
}

.modal-header {
    background: var(--wp-admin-theme-color);
    color: white;
    border-radius: 10px 10px 0 0;
    padding: 20px 25px;
}

.modal-title {
    font-weight: 600;
    font-size: 1.3rem;
}

.modal-body {
    padding: 30px 25px;
    position: relative;
    background-color: #fff;
}

.modal-banner1, .modal-banner2 {
    /*filter: blur(3px);*/
}

.modal-backdrop.show {
    opacity: 0.8 !important;
}

.form-control {
    border: 2px solid #e1e1e1;
    border-radius: 5px;
    padding: 12px 15px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: var(--wp-admin-theme-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 115, 170, 0.25);
}

.btn-primary {
    background: var(--wp-admin-theme-color);
    border-color: var(--wp-admin-theme-color);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: var(--wp-admin-theme-color-darker-10);
    border-color: var(--wp-admin-theme-color-darker-10);
    transform: translateY(-1px);
}

.alert-danger {
    background: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
    border-radius: 5px;
}

.alert-success {
    background: #d1edff;
    border-color: #bee5eb;
    color: #0c5460;
    border-radius: 5px;
}

/* Loading Overlay inside modal - Updated */
.loading-overlay {
    position: absolute;
    min-height: 200px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8); /* More transparent */
    backdrop-filter: blur(3px); /* Reduced blur */
    z-index: 10;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-content {
    text-align: center;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Countdown Styles */
.countdown-container {
    background: rgba(0, 115, 170, 0.1);
    border-radius: 8px;
    padding: 15px;
    border: 1px solid rgba(0, 115, 170, 0.2);
}

.countdown-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.countdown-timer {
    font-size: 24px;
    font-weight: bold;
    color: var(--wp-admin-theme-color);
}

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

/* Responsive */
@media (max-width: 768px) {
    .modal-dialog-80 {
        max-width: 90% !important;
        width: 90% !important;
    }

    .modal-body {
        padding: 20px 15px;
    }

    .countdown-container {
        padding: 12px;
    }

    .countdown-timer {
        font-size: 20px;
    }
}