﻿/* =============================================
   Archivo: olvide.css
   Descripción: Estilos para página de recuperar contraseña
   Proyecto: apprint
   Autor: Copy
   Fecha: 2025-12-09
   Ubicación: /adm/cl/lib/css/olvide.css
   ============================================= */

/* Estilos específicos para página de recuperación */
.info-box {
    background: linear-gradient(135deg, #e7f3ff 0%, #cce5ff 100%);
    border: 2px solid #0066CC;
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    text-align: left;
}

    .info-box p {
        margin: 10px 0;
        color: #004085;
        font-size: 14px;
        line-height: 1.5;
    }

    .info-box ul {
        margin: 10px 0;
        padding-left: 20px;
    }

    .info-box li {
        color: #004085;
        font-size: 14px;
        margin: 5px 0;
    }

.warning-box {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 2px solid #ffc107;
    border-radius: 15px;
    padding: 15px 20px;
    margin: 20px 0;
    text-align: center;
}

    .warning-box p {
        margin: 0;
        color: #856404;
        font-size: 14px;
    }

.success-box {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 2px solid #28a745;
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
    display: none;
}

    .success-box h3 {
        color: #155724;
        margin: 0 0 15px 0;
    }

    .success-box p {
        color: #155724;
        margin: 10px 0;
        font-size: 14px;
    }

.error-box {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border: 2px solid #dc3545;
    border-radius: 15px;
    padding: 15px 20px;
    margin: 20px 0;
    text-align: center;
    display: none;
}

    .error-box p {
        margin: 0;
        color: #721c24;
        font-size: 14px;
    }

.email-status {
    display: none;
    margin-top: 8px;
    padding: 8px 15px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
}

    .email-status.validando {
        background: #fff3cd;
        border: 1px solid #ffeaa7;
        color: #856404;
        display: block;
    }

    .email-status.valido {
        background: #d4edda;
        border: 1px solid #c3e6cb;
        color: #155724;
        display: block;
    }

    .email-status.invalido {
        background: #f8d7da;
        border: 1px solid #f5c6cb;
        color: #721c24;
        display: block;
    }

.icon-large {
    font-size: 60px;
    margin-bottom: 15px;
}

/* =============================================
   POPUP OVERLAY
   ============================================= */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 9999;
    animation: fadeIn 0.3s ease-out;
}

    .popup-overlay.show {
        display: flex;
        align-items: center;
        justify-content: center;
    }

.popup-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    overflow: hidden;
    animation: slideIn 0.3s ease-out;
}

.popup-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .popup-header.success {
        background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    }

    .popup-header.warning {
        background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    }

    .popup-header.error {
        background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    }

    .popup-header h3 {
        margin: 0;
        font-size: 18px;
    }

.popup-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .popup-close:hover {
        background: rgba(255, 255, 255, 0.2);
    }

.popup-body {
    padding: 25px 20px;
    text-align: center;
}

.popup-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
}

    .popup-icon.success {
        background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    }

    .popup-icon.warning {
        background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    }

    .popup-icon.error {
        background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    }

    .popup-icon.info {
        background: linear-gradient(135deg, #0066CC 0%, #004499 100%);
    }

.popup-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: center;
}

.btn-popup {
    padding: 10px 30px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transition: all 0.3s ease;
}

    .btn-popup:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    }

/* =============================================
   ANIMACIONES
   ============================================= */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
    .info-box {
        padding: 15px;
    }

        .info-box ul {
            padding-left: 15px;
        }

    .popup-container {
        width: 95%;
        margin: 10px;
    }
}

@media (max-width: 480px) {
    .info-box p,
    .info-box li {
        font-size: 13px;
    }

    .warning-box p {
        font-size: 13px;
    }

    .icon-large {
        font-size: 50px;
    }
}
