html,
body {
    min-height: 100%;
}

.ybt-auth-body {
    background: var(--ybt-bg);
}

.ybt-auth-page,
.ybt-auth-page * {
    box-sizing: border-box;
}

.ybt-auth-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 72px;
}

.ybt-auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, 468px);
    gap: 24px;
    align-items: stretch;
}

.ybt-auth-hero {
    position: relative;
    overflow: hidden;
    min-height: 680px;
    border-radius: 32px;
    background: linear-gradient(135deg, #edf3ff 0%, #f7faff 48%, #eef4ff 100%);
    border: 1px solid rgba(65, 95, 255, 0.08);
    box-shadow: 0 24px 64px rgba(17, 24, 39, 0.08);
}

.ybt-auth-hero::before,
.ybt-auth-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.ybt-auth-hero::before {
    width: 360px;
    height: 360px;
    top: -140px;
    right: -80px;
    background: rgba(65, 95, 255, 0.12);
}

.ybt-auth-hero::after {
    width: 320px;
    height: 320px;
    left: -120px;
    bottom: -120px;
    background: rgba(255, 255, 255, 0.82);
}

.ybt-auth-hero-inner {
    position: relative;
    z-index: 1;
    height: 100%;
    padding: 56px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ybt-auth-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(65, 95, 255, 0.1);
    color: var(--ybt-blue);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

.ybt-auth-title {
    max-width: 540px;
    margin: 24px 0 18px;
    font-size: 50px;
    line-height: 1.14;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--ybt-dark);
}

.ybt-auth-subtitle {
    max-width: 540px;
    margin: 0;
    font-size: 15px;
    line-height: 1.9;
    color: var(--ybt-text-light);
}

.ybt-auth-highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 42px;
}

.ybt-auth-highlight {
    padding: 20px 22px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(17, 24, 39, 0.06);
    box-shadow: 0 16px 36px rgba(17, 24, 39, 0.06);
}

.ybt-auth-highlight strong {
    display: block;
    margin-bottom: 8px;
    color: var(--ybt-dark);
    font-size: 16px;
    font-weight: 600;
}

.ybt-auth-highlight span {
    display: block;
    color: var(--ybt-text-light);
    font-size: 13px;
    line-height: 1.8;
}

.ybt-auth-meta {
    display: flex;
    gap: 14px;
    margin-top: 28px;
}

.ybt-auth-meta-item {
    flex: 1;
    min-width: 0;
    padding: 18px 20px;
    border-radius: 24px;
    background: rgba(12, 18, 33, 0.86);
    color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 20px 42px rgba(17, 24, 39, 0.14);
}

.ybt-auth-meta-item strong {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.ybt-auth-meta-item span {
    display: block;
    font-size: 12px;
    line-height: 1.8;
}

.ybt-auth-panel {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.ybt-auth-card {
    width: 100%;
    background: #fff;
    border-radius: 32px;
    padding: 38px 36px 34px;
    border: 1px solid rgba(17, 24, 39, 0.06);
    box-shadow: 0 24px 60px rgba(17, 24, 39, 0.08);
}

.ybt-auth-card-head {
    margin-bottom: 28px;
}

.ybt-auth-card-title {
    margin: 14px 0 10px;
    font-size: 32px;
    line-height: 1.2;
    color: var(--ybt-dark);
    font-weight: 700;
}

.ybt-auth-form-desc {
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 1.8;
    color: var(--ybt-text-light);
}

.login_tab {
    display: flex;
    gap: 28px;
    margin: 0;
}

.login_label {
    position: relative;
    padding-bottom: 12px;
    color: #b3bdd1;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.label_active {
    color: var(--ybt-dark) !important;
    border-bottom-color: var(--ybt-blue) !important;
}

.login_form_box,
.reg_form_box {
    width: 100%;
}

.ybt-auth-field-label {
    display: block;
    margin-bottom: 10px;
    color: var(--ybt-dark);
    font-size: 13px;
    font-weight: 600;
}

.form_input_div {
    margin-bottom: 18px;
}

.form_input {
    width: 100%;
    height: 54px;
    border: 1.5px solid var(--ybt-border);
    border-radius: 18px;
    background: #fff;
    padding: 0 18px;
    font-size: 15px;
    color: var(--ybt-text);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.form_input::placeholder {
    color: #a1aac0;
}

.form_input:focus {
    border-color: var(--ybt-blue);
    box-shadow: 0 0 0 4px rgba(65, 95, 255, 0.08);
}

.form_input_code_div {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    margin-bottom: 18px;
}

.form_input_code_div .form_input {
    flex: 1;
    min-width: 0;
}

.code {
    flex: 0 0 132px;
    width: 132px !important;
    height: 54px !important;
    border-radius: 18px;
    border: 1.5px solid rgba(65, 95, 255, 0.2);
    background: rgba(65, 95, 255, 0.06);
    color: var(--ybt-blue);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.code:hover {
    border-color: var(--ybt-blue);
    background: rgba(65, 95, 255, 0.1);
}

.user_login_submit {
    width: 100%;
    height: 54px;
    margin-top: 10px;
    border: none;
    border-radius: 999px;
    background: var(--ybt-blue);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 18px 36px rgba(65, 95, 255, 0.18);
}

.user_login_submit:hover {
    background: var(--ybt-blue-hover);
    transform: translateY(-1px);
}

.login-tool {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
}

.login-tool a {
    color: var(--ybt-blue) !important;
    font-size: 14px !important;
    text-decoration: none !important;
}

.login-tool a:hover {
    text-decoration: underline !important;
}

.user_word {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 18px 0 0;
    color: var(--ybt-text-light);
}

.user_word span {
    margin: 0 !important;
    color: inherit;
    font-size: 13px;
    line-height: 1.8;
}

.user_word a {
    color: var(--ybt-blue) !important;
}

.user_word .agree {
    width: 18px !important;
    height: 18px !important;
    margin-top: 2px;
    accent-color: var(--ybt-blue);
}

.ybt-auth-form-divider {
    height: 1px;
    margin: 26px 0 0;
    background: linear-gradient(90deg, rgba(17, 24, 39, 0), rgba(17, 24, 39, 0.08), rgba(17, 24, 39, 0));
}

.ybt-auth-footnote {
    margin-top: 18px;
    color: var(--ybt-text-light);
    font-size: 13px;
    line-height: 1.8;
}

@media (max-width: 1280px) {
    .ybt-auth-page {
        padding-left: 16px;
        padding-right: 16px;
    }

    .ybt-auth-hero-inner {
        padding: 44px;
    }

    .ybt-auth-title {
        font-size: 42px;
    }
}
