* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

*::-webkit-scrollbar { display: none; }

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Light.ttf') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: 'Poppins', sans-serif;
    background: #ffffff;
    color: #111111;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

/* ── Header / Nav ── */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: 68px;
    display: flex;
    align-items: center;
    padding: 0 40px;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.18s ease;
}

.header:hover { opacity: 0.75; }
.header:active { opacity: 0.5; }

.header .big {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #111111;
    letter-spacing: -0.02em;
    line-height: 1;
}

.header .bite {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: rgba(0,0,0,0.25);
    letter-spacing: -0.02em;
    line-height: 1;
}

.login-container {
    min-height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 88px 24px 60px;
    overflow-x: hidden;
}

.login-container .loginframe {
    background: #ffffff;
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    animation: fadeInUp 0.5s ease both;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.login-container .loginframe .loginlabel {
    font-family: 'Poppins', sans-serif;
    font-size: 2.4rem;
    color: #111111;
    text-align: center;
    margin-bottom: 36px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
}

.login-container .loginframe .usernamegroup,
.login-container .loginframe .passwordgroup {
    width: 100%;
    margin-bottom: 10px;
    display: flex;
    position: relative;
}

.login-container .loginframe .usernamegroup input,
.login-container .loginframe .passwordgroup input {
    width: 100%;
    height: 52px;
    background: #f7f7f7;
    border: none;
    border-radius: 50px;
    padding: 0 48px 0 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: #111111;
    outline: none;
    transition: background 0.18s ease, box-shadow 0.18s ease;
}

.login-container .loginframe .usernamegroup input:focus,
.login-container .loginframe .passwordgroup input:focus {
    background: #f0f0f0;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.1);
}

.login-container .loginframe .usernamegroup input::placeholder,
.login-container .loginframe .passwordgroup input::placeholder {
    color: #aaaaaa;
    font-size: 0.93rem;
}

.login-container .loginframe .loginbutton {
    width: 100%;
    height: 52px;
    background: #111111;
    border: none;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    transition: background 0.18s ease, transform 0.18s ease;
}

.login-container .loginframe .loginbutton:hover { background: #333333; transform: translateY(-1px); }
.login-container .loginframe .loginbutton:active { background: #111111; transform: translateY(0); }

.login-container .loginframe .register-link {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    margin-top: 28px;
    font-size: 0.9rem;
    color: #888888;
    font-weight: 400;
}

.login-container .loginframe .registerbutton {
    font-family: 'Poppins', sans-serif;
    color: #111111;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.18s ease;
}

.login-container .loginframe .registerbutton:hover { opacity: 0.65; }

.login-container .loginframe input::placeholder {
    color: #aaaaaa;
    font-size: 0.93rem;
}

/* ── Remember Me ── */
.remember-me-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0 16px;
    width: 100%;
}

.remember-me-group input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: #f7f7f7;
    border: none;
    cursor: pointer;
    position: relative;
    transition: background 0.18s ease;
    flex-shrink: 0;
}

.remember-me-group input[type="checkbox"]:hover { background: #ebebeb; }
.remember-me-group input[type="checkbox"]:checked { background: #111111; }

.remember-me-group input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.remember-me-group label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: #666666;
    cursor: pointer;
    user-select: none;
}

.remember-me-group label:hover { color: #111111; }
.remember-me-group input[type="checkbox"]:focus { outline: none; box-shadow: 0 0 0 2px rgba(0,0,0,0.1); }

/* ── Responsive ── */
@media (max-width: 768px) {
    .header { padding: 0 20px; }
    .login-container { padding: 88px 16px 60px; }
    .login-container .loginframe .loginlabel { font-size: 2rem; }
}

@media (max-width: 480px) {
    .login-container .loginframe .loginlabel { font-size: 1.8rem; margin-bottom: 24px; }
}









/* ==================== FOOTER ==================== */
.site-footer {
    background: #111;
    color: #fff;
    padding: 80px 40px 40px;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 64px;
}
.footer-brand h2 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 8px;
}
.footer-brand h2 span:last-child {
    color: rgba(255,255,255,0.3);
    font-weight: 400;
}
.footer-tagline {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.4);
    margin: 0;
    font-weight: 400;
    line-height: 1.6;
}
.footer-col-title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-bottom: 20px;
}
.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
    margin: 0;
}
.footer-links-list a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.18s ease;
}
.footer-links-list a:hover { color: #fff; }
.footer-divider {
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin-bottom: 32px;
}
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-copy {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.3);
    font-weight: 400;
}
.footer-legal {
    display: flex;
    gap: 24px;
}
.footer-legal a {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.3);
    text-decoration: none;
    transition: color 0.18s ease;
}
.footer-legal a:hover { color: rgba(255,255,255,0.7); }
@media (max-width: 1100px) {
    .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 600px) {
    .site-footer { padding: 60px 20px 32px; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ==================== V40 LOGIN MODERN (business_main style) ==================== */
html,
body {
    background: #ffffff !important;
}

body {
    font-family: 'Poppins', sans-serif !important;
    color: #111111 !important;
}

.header {
    height: 68px !important;
    padding: 0 40px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
}

.header .big,
.header .bite {
    font-size: 1.5rem !important;
    letter-spacing: -0.02em !important;
}

.header-badge {
    margin-left: 10px;
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 10px;
    border-radius: 999px;
    background: #111111;
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.login-container {
    padding: 108px 24px 48px !important;
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative;
}

.login-container::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1000px, 90vw);
    height: 340px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.login-container .loginframe {
    max-width: 460px !important;
    width: 100% !important;
    background: #f7f7f7 !important;
    border-radius: 32px !important;
    padding: 30px !important;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.05);
    z-index: 1;
}

.login-container .loginframe .loginlabel {
    font-size: 2.1rem !important;
    margin-bottom: 18px !important;
    letter-spacing: -0.04em !important;
}

.login-subtitle {
    text-align: center;
    margin: -6px 0 18px;
    color: #8e8e8e;
    font-size: 0.9rem;
    line-height: 1.6;
}

.login-meta {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 0 0 14px;
    flex-wrap: wrap;
}

.meta-pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: #666666;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.login-container .loginframe .usernamegroup,
.login-container .loginframe .passwordgroup {
    margin-bottom: 10px !important;
}

.login-container .loginframe .usernamegroup input,
.login-container .loginframe .passwordgroup input {
    height: 52px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    background: #ffffff !important;
    color: #111111 !important;
    padding: 0 48px 0 16px !important;
    font-size: 0.95rem !important;
}

.login-container .loginframe .usernamegroup input:focus,
.login-container .loginframe .passwordgroup input:focus {
    border-color: #111111 !important;
    box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08) !important;
    background: #ffffff !important;
}

.remember-me-group {
    margin: 8px 0 14px !important;
}

.remember-me-group input[type='checkbox'] {
    border-radius: 6px !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    background: #ffffff !important;
}

.remember-me-group input[type='checkbox']:checked {
    background: #111111 !important;
    border-color: #111111 !important;
}

#login-error-message {
    font-size: 0.84rem !important;
    min-height: 18px !important;
    margin-bottom: 8px !important;
}

.login-container .loginframe .loginbutton {
    height: 52px !important;
    border-radius: 999px !important;
    background: #111111 !important;
    font-size: 0.94rem !important;
    letter-spacing: 0.01em;
}

.login-container .loginframe .loginbutton:hover {
    background: #333333 !important;
}

.g_id_signin {
    margin-top: 10px;
    display: flex;
    justify-content: center;
}

.auth-divider {
    text-align: center;
    margin: 18px 0;
    position: relative;
}

.auth-divider-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
}

.auth-divider-text {
    position: relative;
    background: #f7f7f7;
    color: rgba(0, 0, 0, 0.45);
    padding: 0 14px;
    font-size: 0.85rem;
}

.forgot-row {
    text-align: center;
    margin-top: 10px;
}

.forgot-link {
    color: rgba(0, 0, 0, 0.6);
    font-size: 0.93rem;
    transition: color 0.2s ease;
}

.forgot-link:hover {
    color: #111111;
}

.login-container .loginframe .register-link {
    margin-top: 16px !important;
    font-size: 0.9rem !important;
    color: #888888 !important;
}

.login-container .loginframe .registerbutton {
    color: #111111 !important;
    font-weight: 700 !important;
}

#twofa-modal-login .modal-content,
#forgot-password-modal .modal-content,
#reset-code-modal .modal-content {
    border-radius: 24px !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 18px 56px rgba(0, 0, 0, 0.16) !important;
}

#forgot-password-modal h2,
#reset-code-modal h2,
#twofa-modal-login h2 {
    letter-spacing: -0.03em !important;
    text-transform: none !important;
}

#forgot-password-submit,
#reset-code-submit,
#twofa-login-submit {
    border-radius: 999px !important;
    background: #111111 !important;
    color: #ffffff !important;
}

#forgot-password-cancel,
#reset-code-cancel,
#twofa-login-cancel {
    border-radius: 999px !important;
}

#twofa-login-input,
#forgot-password-email,
#reset-code-input,
#reset-new-password,
#reset-confirm-password {
    border-radius: 14px !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    background: #ffffff !important;
}

#twofa-login-input:focus,
#forgot-password-email:focus,
#reset-code-input:focus,
#reset-new-password:focus,
#reset-confirm-password:focus {
    border-color: #111111 !important;
    box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08) !important;
}

@media (max-width: 768px) {
    .header {
        padding: 0 14px !important;
    }

    .header-badge {
        display: none;
    }

    .login-container {
        padding: 92px 12px 36px !important;
    }

    .login-container .loginframe {
        border-radius: 22px !important;
        padding: 20px !important;
    }

    .login-container .loginframe .loginlabel {
        font-size: 1.8rem !important;
        margin-bottom: 12px !important;
    }
}

/* ==================== V50 BUYER LOGIN PREMIUM ==================== */
.page-shell {
    min-height: 100vh;
    background: #ffffff;
}

.login-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
}

.nav-logo .big { color: #111111; }
.nav-logo .bite { color: rgba(0,0,0,0.25); font-weight: 400; }

.nav-badge {
    display: inline-flex;
    align-items: center;
    background: #111111;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 50px;
    margin-left: 10px;
}

.login-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-login-nav,
.btn-start-nav {
    font-size: 0.92rem;
    border-radius: 50px;
    padding: 10px 22px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s ease, transform 0.18s ease;
}

.btn-login-nav {
    background: #f4f4f4;
    color: #111111;
    font-weight: 600;
}

.btn-start-nav {
    background: #111111;
    color: #ffffff;
    font-weight: 700;
}

.btn-login-nav:hover { background: #ebebeb; }
.btn-start-nav:hover { background: #333333; transform: translateY(-1px); }

.login-stage {
    min-height: calc(100vh - 68px);
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
    gap: 24px;
    padding: 32px 40px 56px;
}

.login-hero-panel,
.login-form-panel {
    border-radius: 32px;
}

.login-hero-panel {
    background: #f7f7f7;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 14px 34px rgba(0,0,0,0.05);
    padding: 42px;
    position: relative;
    overflow: hidden;
}

.login-hero-panel::before {
    content: '';
    position: absolute;
    top: -180px;
    right: -160px;
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, rgba(0,0,0,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.section-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #cccccc;
    display: block;
    margin-bottom: 18px;
}

.section-title {
    font-size: clamp(2.6rem, 5vw, 4.8rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
    margin-bottom: 18px;
    max-width: 8ch;
}

.section-desc {
    color: #999999;
    line-height: 1.7;
    font-size: 1.02rem;
    max-width: 56ch;
}

.login-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 34px 0 26px;
}

.login-stat-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 22px;
    border: 1px solid rgba(0,0,0,0.05);
}

.login-stat-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #cccccc;
    margin-bottom: 10px;
}

.login-stat-value {
    display: block;
    font-size: 1.55rem;
    font-weight: 700;
    color: #111111;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.login-stat-card p {
    color: #999999;
    font-size: 0.88rem;
    line-height: 1.6;
}

.login-preview-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 44px rgba(0,0,0,0.08);
    max-width: 560px;
}

.login-preview-head {
    height: 52px;
    background: #fafafa;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 18px;
}

.preview-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.preview-dot.red { background: #ff5f57; }
.preview-dot.yellow { background: #febc2e; }
.preview-dot.green { background: #28c840; }

.login-preview-url {
    flex: 1;
    height: 28px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    margin-left: 8px;
    background: #f0f0f0;
    border-radius: 8px;
    font-size: 0.75rem;
    color: #aaaaaa;
    font-weight: 500;
}

.login-preview-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.login-preview-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f7f7f7;
    border-radius: 18px;
    padding: 15px 16px;
    font-size: 0.92rem;
    font-weight: 600;
    color: #7b7b7b;
}

.login-preview-item span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.45;
    flex-shrink: 0;
}

.login-preview-item.active {
    background: #111111;
    color: #ffffff;
}

.login-form-panel {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 14px 34px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    min-height: auto !important;
    width: 100% !important;
    padding: 0 !important;
    justify-content: center !important;
    background: transparent !important;
}

.login-container::before { display: none !important; }

.login-container .loginframe {
    max-width: 430px !important;
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 14px !important;
}

.login-container .loginframe .loginlabel {
    font-size: 2.25rem !important;
    margin-bottom: 12px !important;
}

.login-subtitle {
    margin: 0 0 18px !important;
    font-size: 0.95rem;
}

.login-meta {
    justify-content: flex-start !important;
    margin-bottom: 16px !important;
}

.meta-pill {
    background: #f7f7f7 !important;
    border: 1px solid rgba(0,0,0,0.05);
    color: #777777 !important;
}

@media (max-width: 1100px) {
    .login-stage {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .login-nav {
        padding: 0 14px;
    }

    .login-stage {
        padding: 18px 14px 32px;
    }

    .login-hero-panel,
    .login-form-panel {
        border-radius: 22px;
    }

    .login-hero-panel {
        padding: 24px;
    }

    .login-form-panel {
        padding: 10px;
    }

    .login-stat-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .login-nav {
        height: auto;
        padding: 14px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .login-nav-actions {
        width: 100%;
    }

    .btn-login-nav,
    .btn-start-nav {
        flex: 1;
    }

    .section-title {
        max-width: none;
        font-size: clamp(2.2rem, 10vw, 3.2rem);
    }
}


