/* =========================================================
   FORGOT PASSWORD - POLTRADERS
   CSS COMPLETAMENTE RECONSTRUIDO
========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #efb810;
    --primary-hover: #d4a00e;
    --bg-dark: #0a0a0b;
    --bg-card: rgba(255, 255, 255, 0.04);
    --border: rgba(255, 255, 255, 0.08);
    --text: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.55);
    --error: #ff6b6b;
    --success: #00e676;
    --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Glow de fondo */
body::before {
    content: '';
    position: fixed;
    top: -20%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(239, 184, 16, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    bottom: -20%;
    right: -10%;
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, rgba(239, 184, 16, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ======================
   LAYOUT
====================== */
.center {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

/* ======================
   CARD
====================== */
.glassv2 {
    background: var(--bg-card);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 48px 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.glassv2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(239, 184, 16, 0.4), transparent);
}

/* ======================
   LOGO
====================== */
.login-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
}

.login-logo img {
    height: 75px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(239, 184, 16, 0.25));
    transition: transform 0.3s ease;
}

.login-logo img:hover {
    transform: scale(1.05);
}

/* ======================
   TÍTULOS
====================== */
.glassv2 h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.5;
}

/* ======================
   MENSAJES
====================== */
.error {
    background: rgba(255, 107, 107, 0.12);
    border: 1px solid rgba(255, 107, 107, 0.25);
    color: var(--error);
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 0.92rem;
    margin-bottom: 24px;
}

.success {
    background: rgba(0, 230, 118, 0.12);
    border: 1px solid rgba(0, 230, 118, 0.25);
    color: var(--success);
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 0.95rem;
    margin-bottom: 24px;
    font-weight: 500;
    line-height: 1.5;
}

/* ======================
   FORMULARIO
====================== */
form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

input[type="email"] {
    width: 100%;
    padding: 15px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    color: var(--text);
    font-size: 0.98rem;
    font-family: inherit;
    transition: all 0.25s ease;
    outline: none;
}

input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

input[type="email"]:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 0 0 3px rgba(239, 184, 16, 0.15);
}

button[type="submit"] {
    margin-top: 6px;
    padding: 15px;
    background: var(--primary);
    color: #000;
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.25s ease;
}

button[type="submit"]:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(239, 184, 16, 0.3);
}

button[type="submit"]:active {
    transform: translateY(0);
}

/* ======================
   LINKS
====================== */
.links {
    margin-top: 28px;
}

.links p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.links a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.links a:hover {
    color: #ffd34d;
    text-decoration: underline;
}

/* ======================
   FOOTER
====================== */
footer {
    text-align: center;
    padding: 24px 20px;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.82rem;
    position: relative;
    z-index: 1;
}

/* ======================
   RESPONSIVE
====================== */
@media (max-width: 480px) {
    .glassv2 {
        padding: 36px 24px;
        border-radius: 22px;
    }

    .login-logo img {
        height: 50px;
    }

    .glassv2 h2 {
        font-size: 1.25rem;
    }
}