

.alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.alert-overlay-success {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 12px;
    display: none;
    align-items: start;
    justify-content: end;
    z-index: 9999;
}

.alert-box {
    background: white;
    padding: 24px;
    border-radius: 8px;
    text-align: center;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: pop 0.25s ease-out;
}

@keyframes pop {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.alert-icon {
    margin-bottom: 10px;
    animation: bounce 0.8s ease-out;
}

.alert-icon.success {
    color: #28a745;
}

.alert-icon.mistake {
    color: #dc3545;
}

@keyframes bounce {
    0% {
        transform: translateY(50px) scale(0.3);
    }
    30% {
        transform: translateY(-25px) scale(0.6);
    }
    50% {
        transform: translateY(10px) scale(1.1);
    }
    70% {
        transform: translateY(-5px) scale(0.95);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}