/* ASOCIACIÓN 1RO DE JUNIO PASSWORD RECOVERY - CSS OPTIMIZADO */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@600;700;800&display=swap");

/* ===== VARIABLES ESENCIALES ===== */
:root {
    --green-primary: #e11d48;
    --green-secondary: #be123c;
    --white: #ffffff;
    --gray-light: #cccccc;
    --gradient-main: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    --glass-dark: rgba(0, 0, 0, 0.8);
    --glass-light: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-main: 0 8px 32px rgba(0, 0, 0, 0.4);
    --font-body: "Inter", sans-serif;
    --font-heading: "Montserrat", sans-serif;
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET BÁSICO ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background: linear-gradient(135deg, #450a0a 0%, #7f1d1d 50%, #450a0a 100%);
    color: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm);
    overflow-x: hidden;
}

/* ===== BACKGROUND ===== */
.recovery-background {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.bg-shapes {
    position: absolute;
    inset: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(225, 29, 72, 0.2);
    background: transparent;
    pointer-events: none;
    animation: techFloat 12s linear infinite;
}

.shape-1 {
    width: 150px;
    height: 150px;
    top: 10%;
    left: 5%;
    border-style: dashed;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: 15%;
    right: 8%;
    border-width: 3px;
    animation-delay: 4s;
}

.shape-3 {
    width: 120px;
    height: 120px;
    top: 60%;
    left: 15%;
    border-color: rgba(239, 68, 68, 0.3);
    animation-delay: 8s;
}

.shape-4 {
    width: 180px;
    height: 180px;
    top: 25%;
    right: 20%;
    border-style: dotted;
    border-color: rgba(225, 29, 72, 0.25);
    animation-delay: 2s;
}
    bottom: 20%;
    right: 30%;
    opacity: 0.2;
}

.bg-grid {
    position: absolute;
    inset: 0;
    background-image: 
        /* Circuitos horizontales */
        linear-gradient(0deg, transparent 24%, rgba(225, 29, 72, 0.1) 25%, rgba(225, 29, 72, 0.1) 26%, transparent 27%, transparent 74%, rgba(225, 29, 72, 0.1) 75%, rgba(225, 29, 72, 0.1) 76%, transparent 77%),
        /* Circuitos verticales */
        linear-gradient(90deg, transparent 24%, rgba(225, 29, 72, 0.1) 25%, rgba(225, 29, 72, 0.1) 26%, transparent 27%, transparent 74%, rgba(225, 29, 72, 0.1) 75%, rgba(225, 29, 72, 0.1) 76%, transparent 77%),
        /* Puntos de conexión */
        radial-gradient(circle at 25% 25%, rgba(225, 29, 72, 0.3) 1px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(225, 29, 72, 0.3) 1px, transparent 2px);
    background-size: 100px 100px, 100px 100px, 100px 100px, 100px 100px;
    opacity: 0.6;
    animation: circuitFlow 20s linear infinite;
}

/* Elementos electrónicos flotantes */
.bg-grid::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        /* Chips/microprocesadores */
        linear-gradient(45deg, rgba(225, 29, 72, 0.4) 2px, transparent 2px),
        linear-gradient(-45deg, rgba(225, 29, 72, 0.4) 2px, transparent 2px);
    background-size: 60px 60px, 60px 60px;
    background-position: 0 0, 30px 30px;
    animation: chipGlow 15s ease-in-out infinite;
    opacity: 0.3;
}

/* Líneas de datos */
.bg-grid::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(90deg, transparent 0%, rgba(225, 29, 72, 0.2) 45%, rgba(225, 29, 72, 0.4) 50%, rgba(225, 29, 72, 0.2) 55%, transparent 100%);
    animation: dataFlow 8s linear infinite;
    opacity: 0.5;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.1;
    }
    25% {
        opacity: 0.2;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.15;
    }
    75% {
        opacity: 0.25;
    }
}

/* ===== CONTENEDOR PRINCIPAL ===== */
.main-recovery-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.floating-container {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-main), 0 0 30px rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.2);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
    position: relative;
    width: 100%;
}

/* ===== BRANDING IZQUIERDA ===== */
.recovery-branding {
    background: linear-gradient(135deg, #450a0a 0%, #7f1d1d 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--space-lg);
    color: var(--white);
    overflow: hidden;
}

.branding-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.gradient-mesh {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(
            circle at 30% 70%,
            rgba(255, 0, 0, 0.1) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 70% 30%,
            rgba(255, 102, 0, 0.08) 0%,
            transparent 50%
        );
}

/* ===== CÍRCULOS FLOTANTES ===== */
.floating-elements {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.float-element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        rgba(255, 0, 0, 0.15),
        rgba(255, 102, 0, 0.1)
    );
    filter: blur(30px);
    animation: floatSlow 12s ease-in-out infinite;
}

.element-1 {
    width: 60px;
    height: 60px;
    top: 20%;
    right: 15%;
    animation-delay: 0s;
}

.element-2 {
    width: 40px;
    height: 40px;
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.element-3 {
    width: 50px;
    height: 50px;
    top: 60%;
    right: 25%;
    animation-delay: 8s;
}

@keyframes floatSlow {
    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-15px) scale(1.1);
        opacity: 0.6;
    }
}

.branding-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
}

/* ===== LOGO Y MARCA ===== */
.brand-section {
    text-align: center;
    margin-bottom: 1.5rem;
}

.logo-container {
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.logo-backdrop {
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.1), transparent);
    border-radius: 50%;
    filter: blur(20px);
}

.brand-logo {
    width: 280px;
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(0, 255, 136, 0.3));
    position: relative;
    z-index: 2;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    letter-spacing: -0.02em;
    text-align: center;
}

.brand-line {
    width: 100px;
    height: 3px;
    background: var(--gradient-main);
    margin: 0.5rem auto;
    border-radius: 2px;
}

.brand-subtitle {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    margin-top: 0.5rem;
}

/* ===== SECCIÓN DE BIENVENIDA ===== */
.welcome-section {
    text-align: center;
    margin: 1.5rem 0;
}

.welcome-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.welcome-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 1.5rem;
}

/* ===== SECCIÓN DE SEGURIDAD ===== */
.security-section {
    margin: 1rem 0 1.5rem 0;
}

.security-features {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.security-item:hover {
    background: rgba(0, 255, 136, 0.08);
    border-color: rgba(0, 255, 136, 0.2);
    transform: translateY(-1px);
}

.security-icon {
    font-size: 1.2rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 136, 0.15);
    border-radius: 50%;
    flex-shrink: 0;
}

.security-text h4 {
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.1rem;
}

.security-text p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
    line-height: 1.3;
}

/* ===== SECCIÓN SOCIAL ===== */
.social-section {
    text-align: center;
    margin-top: 1rem;
}

.social-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.social-title {
    color: var(--white);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.social-media-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    max-width: 320px;
    margin: 0 auto;
}

.social-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all var(--transition);
    min-height: 50px;
    justify-content: flex-start;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.social-link.tiktok:hover {
    border-color: #ff0050;
    box-shadow: 0 8px 25px rgba(255, 0, 80, 0.3);
}

.social-link.facebook:hover {
    border-color: #1877f2;
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.3);
}

.social-link.instagram:hover {
    border-color: #e4405f;
    box-shadow: 0 8px 25px rgba(228, 64, 95, 0.3);
}

.social-link.whatsapp:hover {
    border-color: #25d366;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.social-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 0;
    flex-shrink: 0;
}

.social-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
    transition: var(--transition);
}

.social-link:hover .social-icon svg {
    transform: scale(1.1);
}

.security-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.help-icon svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.social-link span {
    font-size: 0.8rem;
    font-weight: 500;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== FORMULARIO DERECHA ===== */
.recovery-form-section {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* ===== LÍNEAS DECORATIVAS ===== */
.form-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.line {
    position: absolute;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 102, 0, 0.3),
        transparent
    );
    height: 1px;
    width: 200px;
    animation: lineMove 8s ease-in-out infinite;
}

.line-1 {
    top: 20%;
    right: -100px;
    animation-delay: 0s;
}

.line-2 {
    top: 60%;
    left: -100px;
    animation-delay: 2s;
}

.line-3 {
    bottom: 30%;
    right: -100px;
    animation-delay: 4s;
}

@keyframes lineMove {
    0%,
    100% {
        transform: translateX(0);
        opacity: 0;
    }
    50% {
        transform: translateX(-20px);
        opacity: 1;
    }
}

/* ===== PARTÍCULAS DECORATIVAS ===== */
.form-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--orange-primary);
    border-radius: 50%;
    animation: particleFloat 6s ease-in-out infinite;
}

.particle-1 {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.particle-2 {
    top: 60%;
    right: 30%;
    animation-delay: 1.5s;
}

.particle-3 {
    bottom: 40%;
    left: 30%;
    animation-delay: 3s;
}

.particle-4 {
    top: 80%;
    right: 20%;
    animation-delay: 4.5s;
}

@keyframes particleFloat {
    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-10px) scale(1.2);
        opacity: 0.8;
    }
}

.form-container {
    width: 100%;
    position: relative;
    z-index: 2;
}

.form-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.form-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* ===== INPUTS ===== */
.input-group {
    margin-bottom: 1rem;
    position: relative;
}

.input-label {
    display: block;
    color: var(--green-primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    z-index: 2;
}

.form-input {
    width: 100%;
    padding: 0.9rem 1rem 0.9rem 3rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 0.9rem;
    font-family: var(--font-body);
    transition: all var(--transition);
    outline: none;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-input:focus {
    border-color: var(--green-primary);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 2px rgba(0, 255, 136, 0.1);
}

.form-input.error {
    border-color: var(--red-primary);
    background: rgba(255, 0, 0, 0.05);
}

.form-input.success {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.05);
}

.input-error {
    color: var(--red-primary);
    font-size: 0.75rem;
    margin-top: 0.3rem;
    display: none;
}

.input-error.show {
    display: block;
}

.input-help {
    margin-top: 0.5rem;
}

.input-help p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    line-height: 1.4;
}

.input-help strong {
    color: var(--green-primary);
}

/* ===== REQUISITOS DE CONTRASEÑA ===== */
.password-requirements {
    margin-top: 0.8rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
}

.requirements-title {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.requirements-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.requirement {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color var(--transition);
}

.requirement::before {
    content: "○";
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    transition: all var(--transition);
}

.requirement.met {
    color: #22c55e;
}

.requirement.met::before {
    content: "✓";
    color: #22c55e;
    font-weight: 600;
}

/* ===== BOTÓN RECOVERY ===== */
.recovery-button {
    width: 100%;
    padding: 1rem;
    background: var(--gradient-main);
    border: none;
    border-radius: var(--radius-sm);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all var(--transition);
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.recovery-button::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: left 0.5s;
}

.recovery-button:hover::before {
    left: 100%;
}

.recovery-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.4);
}

.recovery-button:active {
    transform: translateY(0);
}

.recovery-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.button-text {
    display: inline-block;
}

.button-loader {
    display: none;
}

.recovery-button.loading .button-text {
    display: none;
}

.recovery-button.loading .button-loader {
    display: inline-block;
}

.loader-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* ===== MENSAJES DE ALERTA ===== */
.alert {
    padding: 0.8rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.85rem;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
}

.alert-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.alert-message {
    flex: 1;
    line-height: 1.4;
}

/* ===== FOOTER DEL FORMULARIO ===== */
.form-footer {
    margin-top: 1rem;
    text-align: center;
}

/* ===== ACCIONES DE ÉXITO ===== */
.success-actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.btn-secondary,
.btn-tertiary {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition);
    text-align: center;
}

.btn-secondary {
    background: var(--gradient-main);
    color: var(--white);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
}

.btn-tertiary {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-tertiary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    transform: translateY(-1px);
}

/* ===== ENLACES ===== */
.back-to-login {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.login-link {
    color: var(--green-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition);
}

.login-link:hover {
    color: var(--green-secondary);
}

.resend-code {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.resend-link {
    color: var(--green-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition);
}

.resend-link:hover {
    color: var(--green-secondary);
}

.help-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.help-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.8rem;
    transition: all var(--transition);
    padding: 0.5rem 0.8rem;
    border-radius: var(--radius-sm);
}

.help-link:hover {
    color: var(--green-primary);
    background: rgba(0, 255, 136, 0.1);
    transform: translateY(-1px);
}

.help-icon {
    font-size: 1rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .floating-container {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .recovery-branding {
        min-height: 350px;
        padding: var(--space-md);
    }

    .brand-title {
        font-size: 2rem;
    }

    .brand-logo {
        width: 80px;
    }

    .recovery-form-section {
        padding: var(--space-md);
    }

    .form-title {
        font-size: 1.5rem;
    }

    .security-features {
        gap: 0.6rem;
    }

    .security-item {
        padding: 0.6rem;
    }

    .success-actions {
        gap: 0.6rem;
    }

    .help-links {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
}

@media (max-width: 480px) {
    body {
        padding: 0.5rem;
    }

    .recovery-form-section {
        padding: 1rem;
    }

    .form-title {
        font-size: 1.3rem;
    }

    .security-section {
        margin: 1rem 0;
    }

    .social-media-links {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }
}

/* ===== ANIMACIONES ADICIONALES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-container {
    animation: fadeInUp 0.6s ease-out;
}

.security-item {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.security-item:nth-child(1) {
    animation-delay: 0.1s;
}

.security-item:nth-child(2) {
    animation-delay: 0.2s;
}

.security-item:nth-child(3) {
    animation-delay: 0.3s;
}

/* ===== ELEMENTOS ROBÓTICOS ===== */
.tech-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.robot-parts {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Engranajes */
.gear {
    position: absolute;
    border: 3px solid rgba(225, 29, 72, 0.3);
    border-radius: 50%;
    animation: rotateAndMove 30s linear infinite;
}

.gear::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    border: 2px solid rgba(225, 29, 72, 0.2);
    border-radius: 50%;
}

.gear::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20%;
    height: 20%;
    background: rgba(225, 29, 72, 0.4);
    border-radius: 50%;
}

.gear-1 { width: 80px; height: 80px; top: 15%; right: 10%; animation-duration: 15s; }
.gear-2 { width: 60px; height: 60px; bottom: 20%; left: 5%; animation-duration: 20s; animation-direction: reverse; }
.gear-3 { width: 100px; height: 100px; top: 50%; left: 2%; animation-duration: 18s; animation-delay: 5s; }
.gear-4 { width: 70px; height: 70px; bottom: 10%; right: 25%; animation-duration: 22s; animation-direction: reverse; animation-delay: 8s; }

/* Placas de circuito */
.circuit-board {
    position: absolute;
    background: linear-gradient(45deg, transparent 30%, rgba(225, 29, 72, 0.1) 32%, transparent 34%, transparent 65%, rgba(225, 29, 72, 0.1) 67%, transparent 69%);
    border: 1px solid rgba(225, 29, 72, 0.2);
    animation: circuitFloat 20s ease-in-out infinite;
}

.cb-1 { width: 100px; height: 60px; top: 40%; right: 15%; transform: rotate(15deg); animation-duration: 16s; }
.cb-2 { width: 80px; height: 50px; bottom: 35%; left: 12%; transform: rotate(-20deg); animation-delay: 5s; animation-duration: 19s; }
.cb-3 { width: 120px; height: 70px; top: 10%; left: 30%; transform: rotate(45deg); animation-delay: 10s; animation-duration: 14s; }
.cb-4 { width: 90px; height: 55px; bottom: 15%; right: 40%; transform: rotate(-35deg); animation-delay: 2s; animation-duration: 21s; }

/* LEDs */
.led-indicator {
    position: absolute; width: 8px; height: 8px; background: rgba(225, 29, 72, 0.6); border-radius: 50%;
    box-shadow: 0 0 10px rgba(225, 29, 72, 0.4); animation: ledFloat 18s ease-in-out infinite;
}

.led-1 { top: 25%; left: 8%; animation-delay: 0s; animation-duration: 12s; }
.led-2 { top: 65%; right: 12%; animation-delay: 4s; background: rgba(239, 68, 68, 0.6); box-shadow: 0 0 10px rgba(239, 68, 68, 0.4); animation-duration: 14s; }
.led-3 { bottom: 30%; left: 20%; animation-delay: 8s; background: rgba(34, 197, 94, 0.6); box-shadow: 0 0 10px rgba(34, 197, 94, 0.4); animation-duration: 16s; }
.led-4 { top: 10%; right: 30%; animation-delay: 2s; background: rgba(59, 130, 246, 0.6); box-shadow: 0 0 10px rgba(59, 130, 246, 0.4); animation-duration: 10s; }
.led-5 { bottom: 10%; left: 40%; animation-delay: 6s; background: rgba(245, 158, 11, 0.6); box-shadow: 0 0 10px rgba(245, 158, 11, 0.4); animation-duration: 18s; }
.led-6 { top: 80%; right: 5%; animation-delay: 10s; background: rgba(168, 85, 247, 0.6); box-shadow: 0 0 10px rgba(168, 85, 247, 0.4); animation-duration: 13s; }

/* Ojos robot */
.robot-eye {
    position: absolute; width: 20px; height: 20px;
    background: radial-gradient(circle, rgba(225, 29, 72, 0.8) 30%, rgba(225, 29, 72, 0.4) 70%, transparent 100%);
    border-radius: 50%; border: 2px solid rgba(225, 29, 72, 0.6);
    animation: robotEyeMove 8s ease-in-out infinite; box-shadow: 0 0 15px rgba(225, 29, 72, 0.5);
}

.robot-eye::before { content: ''; position: absolute; width: 6px; height: 6px; background: rgba(255, 255, 255, 0.9); border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); animation: eyePupil 3s ease-in-out infinite; }

.re-1 { top: 20%; left: 15%; animation-delay: 0s; animation-duration: 10s; }
.re-2 { bottom: 25%; right: 20%; animation-delay: 3s; animation-duration: 12s; }
.re-3 { top: 70%; left: 45%; animation-delay: 6s; animation-duration: 14s; }

/* Data streams */
.data-stream {
    position: absolute; width: 2px; height: 80px;
    background: linear-gradient(to bottom, transparent 0%, rgba(225, 29, 72, 0.8) 20%, rgba(225, 29, 72, 0.9) 50%, rgba(225, 29, 72, 0.6) 80%, transparent 100%);
    animation: dataStreamFlow 6s linear infinite;
}

.ds-1 { top: 10%; left: 25%; animation-delay: 0s; animation-duration: 5s; }
.ds-2 { bottom: 20%; right: 35%; animation-delay: 2s; animation-duration: 7s; transform: rotate(45deg); }
.ds-3 { top: 60%; left: 60%; animation-delay: 4s; animation-duration: 6s; transform: rotate(-30deg); }

/* Tech particles */
.tech-particle {
    position: absolute; width: 4px; height: 4px; background: rgba(225, 29, 72, 0.8); border-radius: 50%;
    animation: particleSwarm 15s linear infinite; box-shadow: 0 0 5px rgba(225, 29, 72, 0.6), 0 0 10px rgba(225, 29, 72, 0.4), 0 0 15px rgba(225, 29, 72, 0.2);
}

.tp-1 { top: 5%; left: 10%; animation-delay: 0s; animation-duration: 12s; }
.tp-2 { bottom: 15%; right: 8%; animation-delay: 3s; animation-duration: 16s; background: rgba(34, 197, 94, 0.8); box-shadow: 0 0 5px rgba(34, 197, 94, 0.6), 0 0 10px rgba(34, 197, 94, 0.4); }
.tp-3 { top: 45%; left: 5%; animation-delay: 6s; animation-duration: 14s; background: rgba(59, 130, 246, 0.8); box-shadow: 0 0 5px rgba(59, 130, 246, 0.6), 0 0 10px rgba(59, 130, 246, 0.4); }
.tp-4 { bottom: 40%; right: 15%; animation-delay: 9s; animation-duration: 18s; background: rgba(245, 158, 11, 0.8); box-shadow: 0 0 5px rgba(245, 158, 11, 0.6), 0 0 10px rgba(245, 158, 11, 0.4); }
.tp-5 { top: 30%; left: 80%; animation-delay: 12s; animation-duration: 10s; background: rgba(168, 85, 247, 0.8); box-shadow: 0 0 5px rgba(168, 85, 247, 0.6), 0 0 10px rgba(168, 85, 247, 0.4); }

/* Animaciones robóticas */
@keyframes rotateAndMove { 0% { transform: translateX(0) translateY(0) rotate(0deg) scale(1); } 15% { transform: translateX(150px) translateY(-80px) rotate(54deg) scale(1.2); } 30% { transform: translateX(-120px) translateY(100px) rotate(108deg) scale(0.8); } 45% { transform: translateX(200px) translateY(60px) rotate(162deg) scale(1.1); } 60% { transform: translateX(-80px) translateY(-120px) rotate(216deg) scale(0.9); } 75% { transform: translateX(100px) translateY(-40px) rotate(270deg) scale(1.3); } 90% { transform: translateX(-150px) translateY(80px) rotate(324deg) scale(1.1); } 100% { transform: translateX(0) translateY(0) rotate(360deg) scale(1); } }

@keyframes circuitFloat { 0% { transform: translateX(0) translateY(0) rotate(15deg) scale(1); opacity: 0.3; } 12% { transform: translateX(120px) translateY(-100px) rotate(75deg) scale(1.3); opacity: 0.8; } 25% { transform: translateX(-150px) translateY(80px) rotate(-25deg) scale(0.7); opacity: 0.5; } 38% { transform: translateX(180px) translateY(120px) rotate(135deg) scale(1.1); opacity: 0.9; } 50% { transform: translateX(-100px) translateY(-150px) rotate(-75deg) scale(0.9); opacity: 0.4; } 62% { transform: translateX(200px) translateY(-60px) rotate(195deg) scale(1.4); opacity: 0.7; } 75% { transform: translateX(-180px) translateY(150px) rotate(-135deg) scale(0.8); opacity: 0.6; } 87% { transform: translateX(80px) translateY(-180px) rotate(255deg) scale(1.2); opacity: 0.8; } 100% { transform: translateX(0) translateY(0) rotate(15deg) scale(1); opacity: 0.3; } }

@keyframes ledFloat { 0% { transform: translateX(0) translateY(0) scale(1); opacity: 0.3; } 10% { transform: translateX(-200px) translateY(150px) scale(2.0); opacity: 1; } 20% { transform: translateX(250px) translateY(-120px) scale(0.5); opacity: 0.7; } 30% { transform: translateX(-180px) translateY(-200px) scale(1.8); opacity: 0.9; } 40% { transform: translateX(300px) translateY(100px) scale(0.6); opacity: 0.5; } 50% { transform: translateX(-250px) translateY(180px) scale(1.6); opacity: 1; } 60% { transform: translateX(150px) translateY(-250px) scale(0.8); opacity: 0.6; } 70% { transform: translateX(-300px) translateY(-80px) scale(1.4); opacity: 0.8; } 80% { transform: translateX(200px) translateY(220px) scale(0.7); opacity: 0.9; } 90% { transform: translateX(-100px) translateY(-180px) scale(1.5); opacity: 0.7; } 100% { transform: translateX(0) translateY(0) scale(1); opacity: 0.3; } }

@keyframes robotEyeMove { 0% { transform: translateX(0) translateY(0) scale(1); box-shadow: 0 0 15px rgba(225, 29, 72, 0.5); } 20% { transform: translateX(180px) translateY(-100px) scale(1.5); box-shadow: 0 0 25px rgba(225, 29, 72, 0.8); } 40% { transform: translateX(-150px) translateY(120px) scale(0.7); box-shadow: 0 0 10px rgba(225, 29, 72, 0.3); } 60% { transform: translateX(220px) translateY(80px) scale(1.3); box-shadow: 0 0 30px rgba(225, 29, 72, 0.9); } 80% { transform: translateX(-200px) translateY(-140px) scale(0.9); box-shadow: 0 0 20px rgba(225, 29, 72, 0.6); } 100% { transform: translateX(0) translateY(0) scale(1); box-shadow: 0 0 15px rgba(225, 29, 72, 0.5); } }

@keyframes eyePupil { 0%, 100% { transform: translate(-50%, -50%); } 25% { transform: translate(-30%, -70%); } 50% { transform: translate(-70%, -50%); } 75% { transform: translate(-50%, -30%); } }

@keyframes dataStreamFlow { 0% { transform: translateX(0) translateY(-200px) scaleY(0); opacity: 0; } 20% { transform: translateX(50px) translateY(-100px) scaleY(1); opacity: 1; } 40% { transform: translateX(-80px) translateY(0) scaleY(1.5); opacity: 0.8; } 60% { transform: translateX(120px) translateY(100px) scaleY(0.8); opacity: 0.6; } 80% { transform: translateX(-60px) translateY(180px) scaleY(1.2); opacity: 0.9; } 100% { transform: translateX(0) translateY(300px) scaleY(0); opacity: 0; } }

@keyframes particleSwarm { 0% { transform: translateX(0) translateY(0) scale(1); opacity: 0.2; } 10% { transform: translateX(-300px) translateY(200px) scale(1.8); opacity: 1; } 20% { transform: translateX(350px) translateY(-150px) scale(0.4); opacity: 0.7; } 30% { transform: translateX(-250px) translateY(-300px) scale(2.0); opacity: 0.9; } 40% { transform: translateX(400px) translateY(150px) scale(0.6); opacity: 0.5; } 50% { transform: translateX(-350px) translateY(250px) scale(1.6); opacity: 1; } 60% { transform: translateX(200px) translateY(-400px) scale(0.3); opacity: 0.6; } 70% { transform: translateX(-400px) translateY(-100px) scale(1.4); opacity: 0.8; } 80% { transform: translateX(300px) translateY(350px) scale(0.8); opacity: 0.9; } 90% { transform: translateX(-150px) translateY(-250px) scale(1.2); opacity: 0.7; } 100% { transform: translateX(0) translateY(0) scale(1); opacity: 0.2; } }
