﻿#modals {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

#modals:has(> .active) {
    opacity: 1;
    pointer-events: all;
}

.redirect-alert {
    max-width: 500px;
    width: 100%;
    background: white;
    box-shadow: 0 5px 25px rgba(0,0,0,0.3);
    transform: translateY(0);
    transition: transform 0.4s;
    padding: 20px 30px;
}

.redirect-alert.active {
    transform: translateY(-20px);
}

.redirect-alert .alert-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.redirect-alert .alert-btn {
    display: block;
    width: fit-content;
    text-decoration: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 12px 30px;
}

.redirect-alert .btn-neutral {
    background: #0a83bb;
    color: white;
}

.redirect-alert .btn-neutral:hover {
    background: #6cb5d6;
}

.redirect-alert .btn-warning {
    background: #ffffff;
    color: white;

}

.redirect-alert .btn-warning:hover {
    background: #ffffff;
}
