/* =====================================================
   auth.css — Estilos Premium para Verificación y Registro
   ===================================================== */

.auth-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    background: var(--cream);
    min-height: 100vh;
}

.auth-card {
    background: #fff;
    width: 100%;
    max-width: 460px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    padding: 50px;
    border: 1px solid var(--border);
}

.auth-card-registro {
    max-width: 600px;
}

/* --- HEADER --- */
.auth-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--ch);
    margin-bottom: 8px;
}

.auth-header h1 em {
    color: var(--red);
    font-style: italic;
}

/* --- INPUTS DE TEXTO --- */
.auth-label-small {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--lgray);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.auth-input {
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    border: 1.5px solid var(--border2);
    background: #f8fafc;
    transition: 0.3s;
    font-size: 15px;
    color: var(--ch);
}

.auth-input:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 4px rgba(176, 37, 36, 0.08);
    background: #fff;
    outline: none;
}

/* --- ALERTA DE INFORMACIÓN (MODO CONSULTA) --- */
.info-alert-progen {
    background: #fff9f2;
    border: 1px solid #ffe8cc;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.info-alert-icon {
    color: #f08c00;
    flex-shrink: 0;
}

.info-alert-text {
    font-size: 13px;
    color: #855d28;
    line-height: 1.5;
}

.info-alert-text b,
.info-alert-text strong {
    color: #5c3e17;
}

/* --- CARGA DE ARCHIVOS (FILE UPLOADS) --- */
.file-upload-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.form-control-progen {
    display: block;
    width: 100%;
    padding: 12px 12px 12px 45px;
    /* Espacio para el icono a la izquierda */
    font-size: 13px;
    color: var(--lgray);
    background-color: #f8fafc;
    border: 1.5px dashed var(--border2);
    border-radius: 12px;
    transition: 0.3s;
    cursor: pointer;
}

.form-control-progen:hover {
    border-color: var(--red);
    background-color: #fff;
}

.file-icon {
    position: absolute;
    left: 18px;
    color: var(--lgray);
    pointer-events: none;
}

/* Personalización del botón interno del navegador */
.form-control-progen::file-selector-button {
    background: var(--ch);
    color: #fff;
    border: none;
    padding: 4px 12px;
    border-radius: 6px;
    margin-right: 10px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    transition: 0.2s;
}

.form-control-progen::file-selector-button:hover {
    background: var(--red);
}

/* --- BOTONES DE ACCIÓN --- */
.btn-progen-primary {
    background: var(--red);
    color: white !important;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 18px;
    border-radius: 50px;
    border: none;
    transition: 0.3s;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-progen-primary:hover {
    background: #901e1d;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(176, 37, 36, 0.2);
}

.btn-skip-progen {
    background: transparent;
    border: none;
    color: var(--lgray);
    font-size: 13px;
    font-weight: 600;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    cursor: pointer;
    text-decoration: none;
}

.btn-skip-progen:hover {
    color: var(--ch);
}

/* --- ANIMACIÓN --- */
.animate-in {
    animation: fadeInUp 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- RESPONSIVO --- */
@media (max-width: 576px) {
    .auth-card {
        padding: 30px 20px;
    }

    .auth-header h1 {
        font-size: 1.8rem;
    }
}