:root {
    --auth-primary: #6259ca;
    --auth-accent: #0ab39c;
    --auth-ink: #101828;
    --auth-muted: #667085;
    --auth-line: rgba(98, 89, 202, 0.12);
}

body.main-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 12% 18%, rgba(98, 89, 202, 0.14), transparent 30%),
        radial-gradient(circle at 88% 10%, rgba(10, 179, 156, 0.12), transparent 28%),
        linear-gradient(135deg, #f7f9ff 0%, #eef3ff 48%, #f8fbff 100%);
}

.profit-login-page {
    min-height: 100vh;
    padding: 34px 16px;
    align-items: center;
}

.profit-login-page .signpages {
    width: min(1120px, 94%);
    margin: 0 auto;
}

.profit-login-page .card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 30px;
    box-shadow: 0 28px 70px rgba(36, 35, 82, 0.14);
}

.profit-login-page .details {
    min-height: 640px;
    padding: 42px;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.18), transparent 28%),
        linear-gradient(145deg, #22215f 0%, #4a44b7 52%, #6259ca 100%);
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
}

.profit-login-page .details:before {
    display: none;
}

.login-hero-shell {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    color: #ffffff;
}

.login-hero-shell:before,
.login-hero-shell:after {
    content: '';
    position: absolute;
    z-index: -1;
    border-radius: 999px;
    opacity: 0.26;
    filter: blur(1px);
}

.login-hero-shell:before {
    width: 210px;
    height: 210px;
    right: -92px;
    top: -74px;
    background: #0ab39c;
}

.login-hero-shell:after {
    width: 160px;
    height: 160px;
    left: -92px;
    bottom: 64px;
    background: #ffffff;
}

.login-brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 34px;
}

.login-brand-row img {
    max-height: 58px;
    width: auto;
}

.login-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.86);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.login-live-pill:before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #17e7ae;
    box-shadow: 0 0 0 6px rgba(23, 231, 174, 0.14);
}

.login-hero-copy span {
    display: block;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.login-hero-copy h1 {
    max-width: 380px;
    margin: 0;
    color: #ffffff;
    font-size: 30px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.login-hero-copy p {
    max-width: 430px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
    line-height: 1.7;
}

.login-market-card {
    margin-top: 28px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 20px 50px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(14px);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.login-market-card.is-up {
    border-color: rgba(23, 231, 174, 0.42);
}

.login-market-card.is-down {
    border-color: rgba(255, 92, 117, 0.42);
}

.login-market-head,
.login-spread-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.login-market-label {
    color: rgba(255, 255, 255, 0.68);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.login-market-value {
    margin-top: 4px;
    color: #ffffff;
    font-size: 26px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.login-market-status {
    padding: 7px 10px;
    border-radius: 12px;
    background: rgba(23, 231, 174, 0.16);
    color: #c9fff0;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.login-route-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr);
    gap: 12px;
    align-items: stretch;
    margin-top: 18px;
}

.login-route-item {
    min-width: 0;
    padding: 13px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.login-route-item > span {
    display: block;
    color: rgba(255, 255, 255, 0.62);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.login-route-item strong {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    margin-top: 8px;
    color: #ffffff;
    font-size: 14px;
}

.login-route-item strong > span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.login-route-logo {
    flex: 0 0 31px;
    width: 31px;
    height: 31px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
    color: #22215f;
    font-size: 12px;
    font-weight: 900;
    overflow: hidden;
}

.login-route-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 999px;
}

.login-route-price {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    font-weight: 800;
}

.login-route-arrow {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
}

.login-spread-row {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.74);
    font-size: 12px;
    font-weight: 800;
}

.login-spread-row strong {
    color: #17e7ae;
    font-size: 14px;
}

.login-feature-grid {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.login-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.login-feature-item i {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.login-feature-item strong {
    display: block;
    color: #ffffff;
    font-size: 13px;
}

.login-feature-item p {
    margin: 3px 0 0;
    color: rgba(255, 255, 255, 0.66);
    font-size: 12px;
    line-height: 1.45;
}

.profit-login-page .login_form {
    background: #ffffff;
}

.profit-login-page .card-body {
    padding: 48px 56px;
}

.profit-login-page .form-control {
    min-height: 46px;
    border-color: rgba(16, 24, 40, 0.12);
    border-radius: 14px;
}

.profit-login-page .form-control:focus {
    border-color: rgba(98, 89, 202, 0.62);
    box-shadow: 0 0 0 3px rgba(98, 89, 202, 0.1);
}

.profit-login-page label {
    color: #344054;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.profit-login-page .btn-main-primary,
.profit-login-page .btn-primary {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #6259ca 0%, #4c43b5 100%);
    box-shadow: 0 14px 30px rgba(98, 89, 202, 0.24);
    font-weight: 800;
}

.profit-login-page .btn-outline-primary {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-weight: 800;
}

.login-mobile-note {
    display: none;
    margin: 0 0 22px;
    padding: 12px 14px;
    border-radius: 16px;
    background: #f4f7ff;
    color: #4b5565;
    font-size: 13px;
    line-height: 1.5;
}

.login-form-title {
    color: var(--auth-ink);
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.login-form-subtitle {
    color: var(--auth-muted);
    font-size: 14px;
    line-height: 1.6;
}

.login-secondary-links,
.auth-secondary-links {
    color: #667085;
    font-size: 13px;
}

.login-secondary-links a,
.auth-secondary-links a {
    color: var(--auth-primary);
    font-weight: 800;
}

.auth-empty-card {
    padding: 34px;
    border-radius: 24px;
    background: #f8faff;
    border: 1px solid var(--auth-line);
    text-align: center;
}

.auth-empty-card h4 {
    color: var(--auth-ink);
    font-size: 22px;
    font-weight: 900;
}

.auth-empty-card p {
    margin: 12px auto 0;
    max-width: 420px;
    color: var(--auth-muted);
    line-height: 1.7;
}

.verification-code-boxes {
    max-width: 410px;
}

.terms-consent-control a {
    color: var(--auth-primary);
    font-weight: 800;
}

@media (max-width: 991px) {
    .profit-login-page {
        padding: 18px 10px;
    }

    .profit-login-page .signpages {
        width: min(560px, 100%);
    }

    .profit-login-page .card {
        border-radius: 24px;
    }

    .profit-login-page .card-body {
        padding: 32px 24px;
    }

    .login-mobile-note {
        display: block;
    }
}

@media (max-width: 575px) {
    .profit-login-page .card-body {
        padding: 28px 18px;
    }

    .login-form-title {
        font-size: 21px;
    }

    .profit-login-page .btn-main-primary,
    .profit-login-page .btn-primary,
    .profit-login-page .btn-outline-primary {
        min-height: 46px;
    }
}
