/* Overlay styling */
.custom-alert-overlay {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.7) !important;
    z-index: 999999 !important;
    justify-content: center !important;
    align-items: center !important;
    animation: fadeIn 0.4s ease-out !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Alert box styling */
.custom-alert-box {
    background: #ffffff !important;
    width: 400px !important;
    max-width: 90% !important;
    border-radius: 12px !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2) !important;
    overflow: hidden !important;
    text-align: center !important;
    transform: translateY(-30px) !important;
    opacity: 0 !important;
    animation: slideIn 0.4s ease-out forwards !important;
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 1000000 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Header styles for different alert types */
.custom-alert-header {
    padding: 20px !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    color: white !important;
    margin: 0 !important;
}

.custom-alert-header.info {
    background: linear-gradient(135deg, #2196F3, #1976D2) !important;
}

.custom-alert-header.success {
    background: linear-gradient(135deg, #4CAF50, #388E3C) !important;
}

.custom-alert-header.warning {
    background: linear-gradient(135deg, #FFA726, #F57C00) !important;
}

.custom-alert-header.error {
    background: linear-gradient(135deg, #EF5350, #D32F2F) !important;
}

.custom-alert-body {
    padding: 25px !important;
    font-size: 16px !important;
    color: #495057 !important;
    line-height: 1.5 !important;
    background: #ffffff !important;
    margin: 0 !important;
}

.custom-alert-footer {
    display: flex !important;
    justify-content: center !important;
    gap: 12px !important;
    padding: 20px !important;
    background: #f8f9fa !important;
    margin: 0 !important;
}

.custom-alert-footer button {
    min-width: 100px !important;
    padding: 12px 24px !important;
    border-radius: 25px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
}

.custom-alert-footer button.primary-btn {
    background: linear-gradient(135deg, #2196F3, #1976D2) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(33,150,243,0.3) !important;
}

.custom-alert-footer button.primary-btn:hover {
    background: linear-gradient(135deg, #1976D2, #1565C0) !important;
    transform: translateY(-2px) !important;
}

.custom-alert-footer button.secondary-btn {
    background: #e9ecef !important;
    color: #495057 !important;
}

.custom-alert-footer button.secondary-btn:hover {
    background: #dee2e6 !important;
    transform: translateY(-2px) !important;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0 !important;
    }
    to {
        opacity: 1 !important;
    }
}

@keyframes slideIn {
    from {
        transform: translate(-50%, -60%) !important;
        opacity: 0 !important;
    }
    to {
        transform: translate(-50%, -50%) !important;
        opacity: 1 !important;
    }
}

/* Ensure alert is above everything */
body.alert-open {
    overflow: hidden !important;
}

.custom-alert-overlay.active {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}
 