/* =========================================================
   VALUE INVESTING CLUB — AUTH / LOGIN
   Arquivo: vic-auth.css
========================================================= */


/* =========================
   1. BASE AUTH
========================= */

.vic-auth-page,
.vic-thankyou-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: #0b0b0b;
}

.vic-auth-box,
.vic-thankyou-box {
    width: 100%;
    max-width: 760px;
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.vic-auth-box {
    max-width: 460px;
}

.vic-auth-badge,
.vic-thankyou-badge {
    display: inline-block;
    background: #7ed957;
    color: #111111;
    font-weight: 700;
    font-size: 13px;
    padding: 8px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.vic-auth-box h1,
.vic-thankyou-box h1 {
    margin: 0 0 10px;
    color: #111111;
    line-height: 1.15;
}

.vic-auth-box h1 {
    font-size: 34px;
}

.vic-thankyou-box h1 {
    font-size: 42px;
    margin-bottom: 18px;
}

.vic-auth-subtitle,
.vic-thankyou-text {
    margin: 0 0 24px;
    color: #666666;
    line-height: 1.6;
}

.vic-thankyou-text {
    font-size: 20px;
    color: #555555;
    margin-bottom: 28px;
}

.vic-auth-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vic-auth-form label {
    font-weight: 600;
    color: #222222;
    font-size: 14px;
}

.vic-auth-form input[type="text"],
.vic-auth-form input[type="password"] {
    width: 100%;
    padding: 14px 14px;
    border: 1px solid #dcdcdc;
    border-radius: 12px;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
}

.vic-auth-form input[type="text"]:focus,
.vic-auth-form input[type="password"]:focus {
    border-color: #7ed957;
    box-shadow: 0 0 0 3px rgba(126, 217, 87, 0.15);
}

.vic-auth-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    margin-top: 4px;
}

.vic-auth-button,
.vic-thankyou-button-primary,
.vic-thankyou-button-secondary {
    display: inline-block;
    border: none;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    padding: 15px 18px;
    border-radius: 12px;
    cursor: pointer;
    text-align: center;
    transition: 0.2s ease;
}

.vic-auth-button,
.vic-thankyou-button-primary {
    background: #7ed957;
    color: #111111;
}

.vic-thankyou-button-secondary {
    background: #111111;
    color: #ffffff;
}

.vic-auth-button:hover,
.vic-thankyou-button-primary:hover,
.vic-thankyou-button-secondary:hover {
    opacity: 0.95;
}

.vic-auth-links,
.vic-thankyou-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    color: #777777;
    font-size: 14px;
}

.vic-auth-links a {
    color: #111111;
    text-decoration: none;
    font-weight: 600;
}

.vic-thankyou-actions {
    justify-content: center;
    margin-top: 0;
    font-size: initial;
}

.vic-auth-alert {
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.5;
}

.vic-auth-alert-error {
    background: #fff1f1;
    color: #a12626;
    border: 1px solid #f3c5c5;
}

.vic-auth-alert-success {
    background: #eefbea;
    color: #246b2d;
    border: 1px solid #ccebc7;
}

@media (max-width: 640px) {
    .vic-auth-box,
    .vic-thankyou-box {
        padding: 24px 18px;
    }

    .vic-auth-box h1 {
        font-size: 28px;
    }

    .vic-thankyou-box h1 {
        font-size: 32px;
    }

    .vic-thankyou-text {
        font-size: 18px;
    }
}


/* =========================
   2. LOGIN CLEAN
========================= */

body.vic-login-clean-body {
    margin: 0;
    background: #ffffff;
    overflow-x: hidden;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

body.vic-login-clean-body * {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

.vic-login-clean-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #ffffff;
}

.vic-login-clean-left {
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 32px;
}

.vic-login-clean-box {
    width: 100%;
    max-width: 420px;
    text-align: center;
}

.vic-login-clean-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-bottom: 28px;
}

.vic-login-logo-mark {
    display: inline-block;
    color: #18b35f;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.vic-login-logo-text {
    display: inline-block;
    color: #111111;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.vic-login-clean-box h1 {
    margin: 0 0 8px;
    color: #333333;
    font-size: 42px;
    line-height: 1.02;
    font-weight: 850;
    letter-spacing: -0.055em;
}

.vic-login-clean-subtitle {
    margin: 0 0 28px;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: -0.015em;
}

.vic-login-clean-form {
    text-align: left;
    gap: 12px;
}

.vic-login-clean-form label {
    color: #333333;
    font-size: 13px;
    font-weight: 750;
    letter-spacing: -0.01em;
}

.vic-login-clean-form input[type="text"],
.vic-login-clean-form input[type="password"] {
    height: 54px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #111111;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.01em;
    padding: 0 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
}

.vic-login-clean-form input[type="text"]::placeholder,
.vic-login-clean-form input[type="password"]::placeholder {
    color: #a3a3a3;
}

.vic-login-clean-form input[type="text"]:focus,
.vic-login-clean-form input[type="password"]:focus {
    border-color: #18b35f;
    box-shadow: 0 0 0 4px rgba(24, 179, 95, 0.12);
}

.vic-login-clean-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 4px 0 12px;
    font-size: 13px;
    letter-spacing: -0.01em;
}

.vic-login-clean-options .vic-auth-remember {
    margin: 0;
    color: #555555;
    font-size: 13px;
}

.vic-login-clean-options a {
    color: #555555;
    text-decoration: underline;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.vic-login-clean-button {
    width: 100%;
    height: 58px;
    border-radius: 10px;
    background: #18b35f;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 850;
    letter-spacing: -0.01em;
    margin-top: 4px;
}

.vic-login-clean-button:hover {
    background: #11984f;
    color: #ffffff;
    opacity: 1;
}

.vic-login-clean-register {
    margin-top: 54px;
    background: #f5f5f5;
    border-radius: 12px;
    padding: 22px 20px;
    color: #333333;
    text-align: center;
    letter-spacing: -0.01em;
}

.vic-login-clean-register strong {
    display: block;
    font-size: 15px;
    margin-bottom: 7px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.vic-login-clean-register a {
    color: #18b35f;
    text-decoration: underline;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: -0.01em;
}

.vic-login-clean-back {
    margin-top: 18px;
    text-align: center;
}

.vic-login-clean-back a {
    color: #777777;
    font-size: 13px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.vic-login-clean-back a:hover {
    color: #18b35f;
}

.vic-login-clean-right {
    position: relative;
    min-height: 100vh;
    background: #050505;
    overflow: hidden;
}

.vic-login-clean-image {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    object-fit: cover;
    display: block;
}

.vic-login-clean-box .vic-auth-alert {
    text-align: left;
}

body.vic-login-clean-body .section-footer,
body.vic-login-clean-body footer,
body.vic-login-clean-body .back-to-top,
body.vic-login-clean-body #preloader {
    display: none !important;
}

.vic-login-clean-whatsapp-link {
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.vic-login-clean-whatsapp-link .vic-login-clean-image {
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.vic-login-clean-whatsapp-link:hover .vic-login-clean-image {
    transform: scale(1.025);
    opacity: 0.96;
}

body.vic-login-clean-body .whatsapp-button {
    display: none !important;
}

@media (max-width: 900px) {
    .vic-login-clean-page {
        grid-template-columns: 1fr;
    }

    .vic-login-clean-right {
        display: none;
    }

    .vic-login-clean-left {
        min-height: 100vh;
        padding: 36px 20px;
    }

    .vic-login-clean-box {
        max-width: 440px;
    }

    .vic-login-clean-box h1 {
        font-size: 36px;
    }

    .vic-login-clean-register {
        margin-top: 34px;
    }
}

@media (max-width: 480px) {
    .vic-login-clean-left {
        padding: 28px 16px;
    }

    .vic-login-clean-box h1 {
        font-size: 32px;
    }

    .vic-login-clean-options {
        flex-direction: column;
        align-items: flex-start;
    }

    .vic-login-clean-button {
        height: 54px;
    }
}


/* =========================
   3. LOGIN — ÍCONES NOS INPUTS + OLHO DA SENHA
========================= */

.vic-login-input-wrap {
    position: relative;
    width: 100%;
}

.vic-login-input-wrap input[type="text"],
.vic-login-input-wrap input[type="password"] {
    padding-left: 52px !important;
    padding-right: 52px !important;
}

.vic-login-input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 2;
}

.vic-password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border: none;
    background: transparent;
    color: #9ca3af;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    z-index: 3;
}

.vic-password-toggle:hover {
    color: #18b35f;
}

.vic-password-toggle:focus {
    outline: none;
}

.vic-password-toggle.is-visible {
    color: #18b35f;
}

.vic-password-toggle.is-visible::after {
    content: "";
    position: absolute;
    width: 22px;
    height: 2px;
    background: currentColor;
    transform: rotate(-35deg);
    border-radius: 999px;
}

/* =========================
   ESQUECI SENHA — SEM IMAGEM LATERAL
========================= */

.vic-lost-password-page {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 100vh !important;
    background: #ffffff !important;
}

.vic-lost-password-left {
    width: 100% !important;
    min-height: 100vh !important;
    padding: 48px 20px !important;
}

body.vic-lost-password-clean-body .vic-login-clean-box {
    max-width: 520px !important;
}

body.vic-lost-password-clean-body .whatsapp-button,
body.vic-lost-password-clean-body footer,
body.vic-lost-password-clean-body .section-footer,
body.vic-lost-password-clean-body .site-footer,
body.vic-lost-password-clean-body .back-to-top,
body.vic-lost-password-clean-body #preloader {
    display: none !important;
}

/* =========================
   LOGO IMAGEM — AUTH PAGES
========================= */

.vic-login-logo-img {
    width: 120px;
    height: auto;
    object-fit: contain;
    display: block;
}

.vic-login-clean-logo {
    margin-bottom: 30px;
}

/* =========================
   REDEFINIR SENHA — SEM IMAGEM LATERAL
========================= */

.vic-reset-password-page {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 100vh !important;
    background: #ffffff !important;
}

.vic-reset-password-left {
    width: 100% !important;
    min-height: 100vh !important;
    padding: 48px 20px !important;
}

body.vic-reset-password-clean-body .vic-login-clean-box {
    max-width: 520px !important;
}

body.vic-reset-password-clean-body .whatsapp-button,
body.vic-reset-password-clean-body footer,
body.vic-reset-password-clean-body .section-footer,
body.vic-reset-password-clean-body .site-footer,
body.vic-reset-password-clean-body .back-to-top,
body.vic-reset-password-clean-body #preloader {
    display: none !important;
}