.custom-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.custom-alert-overlay.visible {
    display: flex;
    opacity: 1;
}

.custom-alert-box {
    background: white;
    border: 3px solid #000000;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: alertSlideIn 0.3s ease;
}

@keyframes alertSlideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.custom-alert-icon {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.custom-alert-icon.success {
    color: #000000;
}

.custom-alert-icon.error {
    color: #e74c3c;
}

.custom-alert-message {
    font-size: 16px;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.6;
    font-weight: 500;
}

.custom-alert-btn {
    background: #000000;
    color: white;
    border: 2px solid #000000;
    padding: 12px 40px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 120px;
}

.custom-alert-btn:hover {
    background: white;
    color: #000000;
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    .custom-alert-box {
        padding: 30px 25px;
        width: 85%;
    }
    
    .custom-alert-icon {
        font-size: 40px;
        margin-bottom: 15px;
    }
    
    .custom-alert-message {
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    .custom-alert-btn {
        padding: 10px 30px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .custom-alert-box {
        padding: 25px 20px;
        width: 90%;
        border-width: 2px;
    }
    
    .custom-alert-icon {
        font-size: 36px;
        margin-bottom: 12px;
    }
    
    .custom-alert-message {
        font-size: 13px;
        margin-bottom: 20px;
    }
    
    .custom-alert-btn {
        padding: 10px 25px;
        font-size: 12px;
        letter-spacing: 0.3px;
        min-width: 100px;
    }
}