﻿

.success-btn {
    background: #16a34a;
}

.fail-btn {
    background: #dc2626;
}

.warning-btn {
    background: #f59e0b;
}

/* Overlay */
.alert-overlay {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

/* Alert Box */
.alert-box {
    width: 330px;
    background: #fff;
    border-radius: 14px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    animation: slideIn 0.4s ease;
    margin-bottom: 10px;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.alert-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 26px;
    flex-shrink: 0;
}

.alert-content h3 {
    margin-bottom: 5px;
    font-size: 20px;
}

.alert-content p {
    color: #666;
    font-size: 14px;
}

/* Success */
.success .alert-icon {
    background: #16a34a;
}

/* Fail */
.fail .alert-icon {
    background: #dc2626;
}

/* Warning */
.warning .alert-icon {
    background: #f59e0b;
}
