/* ================================================
   WEEX LOGIN PAGE - STYLES
   Replica idêntica do design original
   ================================================ */

/* ==================== FONTS ==================== */
@font-face {
    font-family: 'DIN';
    src: url('fonts/4UaRrENHsxJlGDuGo1OIlJfC6l_24rlCK1Yo_Iq2vgCI.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DINCondensed';
    src: url('fonts/LDIbaomQNQcsA88c7O9yZ4KMCoOg4IA6-91aHEjcWuA_Tkn9TR_VMq2oRsWk.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DINCondensed';
    src: url('fonts/LDIbaomQNQcsA88c7O9yZ4KMCoOg4IA6-91aHEjcWuA_m079TR_VMq2oRsWk.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DINCondensed';
    src: url('fonts/LDIbaomQNQcsA88c7O9yZ4KMCoOg4IA6-91aHEjcWuA_qU79TR_VMq2oRsWk.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* ==================== RESET & BASE ==================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'PlusJakartaSans-Medium', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #000000;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

button {
    font-family: inherit;
    border: none;
    cursor: pointer;
    background: none;
    color: inherit;
}

input {
    font-family: inherit;
    border: none;
    outline: none;
    background: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

/* ==================== HEADER / NAVBAR ==================== */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #0d0d0d;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    height: 56px;
}

#main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    max-width: 100%;
    padding: 0 24px;
    gap: 24px;
    margin-top: 5px;
}

/* Nav Left */
.nav-left {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-logo {
    display: flex;
    align-items: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.logo-img {
    height: 28px;
    width: auto;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 11px;
    height: 56px;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.nav-item:hover {
    color: #D8AE15;
}

.nav-item-fees {
    gap: 6px;
}

.fees-badge {
    height: 18px;
    width: auto;
    border-radius: 4px;
}

.gold-badge {
    height: 18px;
    width: auto;
}

.chevron-down {
    width: 12px;
    height: 12px;
    opacity: 0.6;
    flex-shrink: 0;
}

/* Joker Badge */
.nav-joker {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    background-color: transparent;
    border: none;
    margin-left: 8px;
    height: 56px;
    cursor: pointer;
}

.nav-joker span {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
}

.joker-icon {
    height: 32px;
    width: auto;
}

/* Nav Right */
.nav-right {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    margin-right: -10px;
}

.nav-icon-btn:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.nav-login-text {
    display: flex;
    align-items: center;
    padding: 0 16px;
    height: 40px;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    transition: color 0.2s ease;
}

.nav-login-text:hover {
    color: #D8AE15;
}

.nav-register-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 100px;
    box-sizing: border-box;
    height: 44px;
    line-height: 44px !important;
    padding: 0 24px;
    font-size: 16px !important;
    font-weight: 400 !important;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    border: none;
    color: #000000;
    background-color: #ffffff;
    margin: 12px 8px;
    transition: opacity 0.2s ease;
}

.nav-register-btn:hover {
    opacity: 0.9;
    color: #000000;
}

/* ==================== MAIN CONTENT ==================== */
#login-page {
    padding-top: 100px;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    gap: 64px;
    padding: 40px 24px;
    margin: 0 auto;
}

/* ==================== LEFT SIDE - BANNER ==================== */
.login-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: auto;
    max-width: 480px;
    margin-top: -20px;
}

.banner-text {
    font-size: 36px;
    font-weight: 700;
    text-align: left;
    margin-bottom: 20px;
    font-style: italic;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.banner-line-1 {
    color: #D8AE15;
}

.banner-line-2 {
    color: #ffffff;
    font-size: 32px;
}

.banner-image {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    margin-top: -30px;

}

.banner-image img {
    width: 100%;
}

.protection-badge {
    display: flex;
    font-family: 'Plus Jakarta Sans', sans-serif;
    align-items: center;
    gap: 8px;
    padding: 0 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    margin-top: 40px;
    background: #000;
    width: 320px;
    height: 56px;
    justify-content: center;
    font-size: 14px;
    line-height: 18px;
    font-weight: 400;
}

.protection-badge .shield-icon {
    flex-shrink: 0;
}

.protection-badge span {
    font-size: 14px;
    font-weight: 400;
    color: #ffffff;
    white-space: nowrap;
}

/* ==================== RIGHT SIDE - LOGIN FORM ==================== */
.login-right {
    width: auto;
    max-width: 626px;
    display: flex;
    justify-content: center;
}

.login-card {
    width: 460px;
    height: auto;
    min-height: 500px;
    max-width: 626px;
    padding: 42px 32px ;
    border: 1px solid hsla(0, 0%, 100%, .12);
    border-radius: 32px;
    background-color: rgba(255, 255, 255, 0.02);
    margin-top: 20px;
}

/* Login Title */
.login-title {
    font-size: 33px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 42px;
}


/* Login Tabs */
.login-tabs {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 2px;
}

.tab-btn {
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
    padding: 0 0 6px 0;
    position: relative;
    transition: color 0.2s ease;
    background: none;
}

.tab-btn.active {
    color: #ffffff;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 4px;
}

.tab-btn:hover {
    color: rgba(255, 255, 255, 0.8);
}

.tab-btn.active:hover {
    color: #ffffff;
}

/* Form */
#login-form {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 56px;
}

.form-label {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 4px;
}

.input-wrapper {
    position: relative;
    width: 100%;
}

.form-input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    font-size: 16px;
    color: #ffffff;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    transition: border-color 0.2s ease;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.463);
    font-size: 14px;
    font-weight: 500;
}

.form-input:focus {
    border-color: #D8AE15;
}

.form-input:hover:not(:focus) {
    border-color: rgba(255, 255, 255, 0.3);
}

.input-with-icon {
    position: relative;
}

.input-with-icon .form-input {
    padding-right: 48px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    opacity: 0.5;
    transition: opacity 0.2s ease;
    cursor: pointer;
}

.toggle-password:hover {
    opacity: 0.8;
}

/* Submit Button */
.btn-submit {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 56px;
    line-height: 56px;
    border-radius: 100px !important;
    font-size: 16px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    color: #fff;
    background: #1a1a1a !important;
    border: 1px solid hsla(0, 0%, 96.1%, .2) !important;
    box-shadow: none !important;
    margin: 10px 0 0 0;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: linear-gradient(90deg, #1a1a1a 65%, rgba(216, 174, 21, 0.25) 100%) !important;
    border-color: rgba(216, 174, 21, 0.45) !important;
    filter: brightness(1.1);
}

.btn-submit.active {
    background: #ffffff !important;
    color: #000000;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 14px 0 12px;
    position: relative;
    gap: 6px;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.151);
}

.divider-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

/* Social Login Buttons */
.social-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 26px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 12px;
    height: 52px;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 22px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    transition: all 0.2s ease;
    flex: 1;
}

.social-btn:hover {
    background-color: #252525;
    border-color: rgba(255, 255, 255, 0.15);
}

.social-btn img {
    width: 20px;
    height: 20px;
}

/* Login Links */
.login-links {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: #d1d1d2;
}

.link-forgot {
    font-size: 14px;
    color: #D8AE15;
    transition: opacity 0.2s ease;
}

#btn-login {
    margin-top: 24px;
}

.link-forgot:hover {
    opacity: 0.8;
    color: #D8AE15;
}

.link-register {
    font-size: 14px;
    color: #d1d1d2;
    margin-bottom: 20px;
}

.link-register a {
    color: #D8AE15;
    font-weight: 400;
    transition: opacity 0.2s ease;
}

.link-register a:hover {
    opacity: 0.8;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 960px) {
    .nav-menu {
        display: none;
    }

    .login-container {
        flex-direction: column;
        gap: 32px;
        padding: 24px 16px;
    }

    .login-left {
        max-width: 360px;
    }

    .login-right {
        max-width: 100%;
        width: 100%;
    }

    .login-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    #main-nav {
        padding: 0 16px;
    }

    #login-page {
        align-items: flex-start;
        padding-top: 60px;
    }

    #login-banner {
        display: block;
        width: 340px;
        height: auto;
        margin-top: -40px;
    }

    .banner-text {
        font-size: 24px;
    }

    .social-login {
        gap: 10px;
    }

    .social-btn {
        padding: 0 12px;
        font-size: 13px;
    }
}

/* ==================== SCROLLBAR ==================== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #0d0d0d;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* ==================== SELECTION ==================== */
::selection {
    background-color: rgba(216, 174, 21, 0.3);
    color: #ffffff;
}
