/* ==========================================================================
   Modal de Alert Personalizado (Sobrescribe alert() nativo)
   ========================================================================== */
.custom-alert-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    justify-content: center;
    align-items: center;
}

.custom-alert-content {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 25px 30px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    font-family: 'Inter', sans-serif;
}

.custom-alert-message {
    font-size: 14px;
    color: #2d3748;
    line-height: 1.5;
    margin-bottom: 20px;
    font-weight: 500;
}

.custom-alert-button {
    display: flex;
    justify-content: center;
}

.custom-alert-close-btn {
    background: linear-gradient(135deg, #4a90e2 0%, #3182ce 100%);
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 6px rgba(49, 130, 206, 0.2);
}

.custom-alert-close-btn:hover {
    background: linear-gradient(135deg, #3182ce 0%, #2b6cb0 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(49, 130, 206, 0.3);
}

.custom-alert-close-btn:active {
    transform: translateY(0);
}

/* ==========================================================================
   Modal de Confirm Personalizado (confirmWithCallback)
   ========================================================================== */
.custom-confirm-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    justify-content: center;
    align-items: center;
}

.custom-confirm-content {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 25px 30px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    font-family: 'Inter', sans-serif;
}

.custom-confirm-message {
    font-size: 14px;
    color: #2d3748;
    line-height: 1.5;
    margin-bottom: 20px;
    font-weight: 500;
}

.custom-confirm-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.custom-confirm-cancel-btn {
    background-color: #e2e8f0;
    color: #2d3748;
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.custom-confirm-cancel-btn:hover {
    background-color: #cbd5e0;
    transform: translateY(-1px);
}

.custom-confirm-ok-btn {
    background: linear-gradient(135deg, #4a90e2 0%, #3182ce 100%);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 6px rgba(49, 130, 206, 0.2);
}

.custom-confirm-ok-btn:hover {
    background: linear-gradient(135deg, #3182ce 0%, #2b6cb0 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(49, 130, 206, 0.3);
}

.custom-confirm-ok-btn:active,
.custom-confirm-cancel-btn:active {
    transform: translateY(0);
}
