/* ===== ALERT PERSONALIZADO CON LOGO DE MARCA ===== */
.custom-alert-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.custom-alert-overlay.active {
    opacity: 1;
    visibility: visible;
}

.custom-alert-card {
    background: #fff;
    border-radius: 16px;
    max-width: 420px;
    width: 100%;
    padding: 0 0 24px 0;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.custom-alert-overlay.active .custom-alert-card {
    transform: scale(1);
}

.custom-alert-logo {
    width: 100%;
    padding: 24px 24px 16px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.custom-alert-logo img {
    max-width: 160px;
    max-height: 60px;
    height: auto;
    object-fit: contain;
}

.custom-alert-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 20px auto 12px;
}

.custom-alert-overlay.custom-alert-success .custom-alert-icon {
    background: #dcfce7;
    color: #16a34a;
}

.custom-alert-overlay.custom-alert-error .custom-alert-icon {
    background: #fee2e2;
    color: #dc2626;
}

.custom-alert-overlay.custom-alert-warning .custom-alert-icon {
    background: #fef3c7;
    color: #d97706;
}

.custom-alert-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 24px 8px;
}

.custom-alert-message {
    font-size: 15px;
    color: #64748b;
    line-height: 1.5;
    margin: 0 24px 24px;
}

.custom-alert-btn {
    display: inline-block;
    min-width: 140px;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.custom-alert-overlay.custom-alert-success .custom-alert-btn {
    background: #16a34a;
    color: #fff;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35);
}

.custom-alert-overlay.custom-alert-success .custom-alert-btn:hover {
    background: #15803d;
    transform: translateY(-1px);
}

.custom-alert-overlay.custom-alert-error .custom-alert-btn {
    background: #dc2626;
    color: #fff;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
}

.custom-alert-overlay.custom-alert-error .custom-alert-btn:hover {
    background: #b91c1c;
    transform: translateY(-1px);
}

.custom-alert-overlay.custom-alert-warning .custom-alert-btn {
    background: #d97706;
    color: #fff;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
}

.custom-alert-overlay.custom-alert-warning .custom-alert-btn:hover {
    background: #b45309;
    transform: translateY(-1px);
}
