/* ===== PALETA VINTAGE PRINCIPAL ===== */
:root {
    --primary: #8B5E3C;        /* Café cálido retro */
    --primary-dark: #593825;   /* Café oscuro */
    --primary-light: #B08D6B;  /* Café claro */

    --accent: #C25454;         /* Rojo retro suave */
    --accent-dark: #A14343;    /* Rojo oscuro */
    --accent-soft: #ECDCC7;    /* Crema papel antiguo */

    --vibrant-1: #B44242;      /* Rojo quemado vibrante */
    --vibrant-2: #8B5E3C;      /* Café rojizo */
    --vibrant-3: #A28B5C;      /* Beige oliva retro */

    --bg-light: #F4EDE3;       /* Crema suave */
    --bg-light-alt: #E8D9C8;   /* Crema cálido */
    
    --text-dark: #2B1E14;      /* Café chocolate oscuro */
    --text-muted: #6A574B;     /* Café grisáceo suave */
    --text-light: #8A7866;     /* Café medio */

    --card-bg: #F8F3EB;        /* Crema muy claro */
    --white: #FFFFFF;
    --black: #1C1715;          /* Negro vintage suave */

    --shadow: 0 10px 25px rgba(75, 45, 20, 0.18);
    --shadow-hover: 0 15px 35px rgba(75, 45, 20, 0.28);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    min-height: 100vh;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 20px;
}

/* Fondo con elementos vintage */
body::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 94, 60, 0.08) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    z-index: 0;
}

body::after {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(194, 84, 84, 0.06) 0%, transparent 70%);
    bottom: -80px;
    left: -80px;
    z-index: 0;
}

/* CONTENEDOR PRINCIPAL */
.reset-container {
    width: 1000px;
    max-width: 95%;
    height: 650px;
    max-height: 90vh;
    background: var(--white);
    border-radius: 25px;
    display: flex;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1;
}

/* PANEL IZQUIERDO - DISCO DE VINILO */
.reset-left {
    width: 45%;
    background: linear-gradient(135deg, 
        var(--primary-light) 0%, 
        var(--primary) 40%, 
        var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 60px;
}

/* Contenedor del disco */
.vinyl-container {
    position: absolute;
    left: -350px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.vinyl-container.move-right {
    left: -300px;
}

/* Disco de vinilo grande - medio disco visible */
.vinyl-large {
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: 
        radial-gradient(circle at 50% 50%, 
            #1a1a1a 0%, 
            #2a2a2a 8%, 
            #1a1a1a 15%,
            #000 40%,
            #1a1a1a 60%,
            #000 100%);
    border: 15px solid #2a2a2a;
    position: relative;
    box-shadow: 
        20px 0 40px rgba(0,0,0,0.6),
        inset 0 0 50px rgba(255,255,255,0.1);
    animation: rotate 25s linear infinite;
}

/* Detalles del disco */
.vinyl-large::before {
    content: "";
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: 
        radial-gradient(circle at 30% 30%, 
            var(--accent) 0%, 
            var(--accent-dark) 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    box-shadow: 
        0 0 15px rgba(194, 84, 84, 0.8),
        inset 0 0 10px rgba(255,255,255,0.2);
    border: 3px solid rgba(255,255,255,0.1);
}

/* Líneas del disco */
.vinyl-large::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: 
        repeating-radial-gradient(
            circle at 50% 50%,
            transparent 0,
            transparent 8px,
            rgba(255,255,255,0.05) 8px,
            rgba(255,255,255,0.05) 9px
        );
    animation: rotate 20s linear infinite reverse;
}

/* Etiqueta del disco */
.vinyl-details {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    text-align: center;
}

.vinyl-label {
    background: var(--accent);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.75rem;
    box-shadow: 
        0 0 20px rgba(194, 84, 84, 0.6),
        inset 0 0 10px rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.1);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.vinyl-label span:first-child {
    font-family: 'Playfair Display', serif;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.vinyl-label span:last-child {
    font-size: 0.6rem;
    opacity: 0.9;
}

/* Animación de rotación */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* PANEL DERECHO - FORMULARIO */

.reset-right {
    width: 55%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.form-container {
    width: 100%;
    max-width: 400px;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    pointer-events: none;
}

.form-container.active {
    opacity: 1;
    transform: translateY(-50%) scale(1);
    pointer-events: all;
}

.form-container:not(.active) {
    opacity: 0;
    transform: translateY(-50%) scale(0.95);
}

/* Títulos */
.reset-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    color: var(--primary);
    margin-bottom: 12px;
    text-align: center;
    letter-spacing: 1px;
    transition: var(--transition);
}

.reset-subtitle {
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.05rem;
    line-height: 1.5;
    transition: var(--transition);
}

/* FORMULARIO */
.reset-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* INPUTS */
.input-group {
    width: 100%;
    display: flex;
    align-items: center;
    border-bottom: 2px solid var(--accent-soft);
    padding-bottom: 12px;
    gap: 15px;
    transition: var(--transition);
    position: relative;
}

.input-group:focus-within {
    border-bottom-color: var(--accent);
    transform: translateY(-2px);
}

.input-group i {
    color: var(--accent);
    font-size: 1.2rem;
    width: 20px;
    transition: var(--transition);
}

.input-group:focus-within i {
    transform: scale(1.1);
}

.input-group input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 1.05rem;
    background: transparent;
    color: var(--text-dark);
    padding: 5px 0;
    transition: var(--transition);
}

.input-group input::placeholder {
    color: var(--text-light);
    transition: var(--transition);
}

.input-group input:focus::placeholder {
    opacity: 0.5;
}

/* TIMER PARA REENVÍO DE CÓDIGO */
.timer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: -15px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

#countdown {
    font-weight: 600;
    color: var(--accent);
}

.resend-btn {
    background: none;
    border: none;
    color: var(--accent);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.resend-btn:hover:not(:disabled) {
    color: var(--accent-dark);
    text-decoration: underline;
}

.resend-btn:disabled {
    color: var(--text-light);
    cursor: not-allowed;
}

/* INDICADOR DE FUERZA DE CONTRASEÑA */
.password-strength {
    margin-top: -10px;
}

.strength-bar {
    width: 100%;
    height: 6px;
    background: var(--accent-soft);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.strength-fill {
    height: 100%;
    width: 0%;
    border-radius: 3px;
    transition: var(--transition);
}

.strength-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* BOTÓN RESET */
.btn-reset {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    padding: 16px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: var(--transition);
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 20px rgba(139, 94, 60, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-reset:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 94, 60, 0.4);
}

.btn-reset:active {
    transform: translateY(-1px);
}

.btn-reset::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.6s;
}

.btn-reset:hover::before {
    left: 100%;
}

/* INDICADOR DE PROGRESO */
.progress-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: auto;
}

.progress-step.current-step {
    background-color: var(--primary-dark);
    color: white;
}


.progress-step {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
}

.progress-step.active {
    background: var(--accent);
    color: white;
    transform: scale(1.1);
}

.progress-step.completed {
    background: var(--primary);
    color: white;
}

/* BOTÓN VOLVER A INICIO */
.back-home {
    position: absolute;
    bottom: 30px;
    left: 25px;
    background: var(--accent);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: var(--transition);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 10px;
}

.back-home:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
}

