/* 登录 / 注册 左右分栏弹层 & passport 页 */
.auth-modal .modal-dialog {
    width: 920px;
    max-width: 94vw;
    margin: 40px auto;
}
.auth-modal .modal-content {
    border: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(40, 56, 110, 0.18);
}
.auth-modal .modal-body {
    padding: 0;
}
.auth-modal-close {
    position: absolute;
    right: 14px;
    top: 12px;
    z-index: 5;
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    font-size: 22px;
    line-height: 1;
    color: #8a93a8;
    opacity: 0.85;
}
.auth-modal-close:hover {
    opacity: 1;
    color: #333;
}

.auth-shell {
    display: flex;
    min-height: 520px;
    background: #fff;
}

/* 左栏卖点 */
.auth-aside {
    position: relative;
    width: 48%;
    padding: 36px 34px 28px;
    color: #1f2a44;
    background:
        radial-gradient(circle at 12% 18%, rgba(120, 168, 255, 0.35), transparent 42%),
        radial-gradient(circle at 88% 12%, rgba(170, 140, 255, 0.28), transparent 40%),
        radial-gradient(circle at 70% 88%, rgba(110, 190, 255, 0.22), transparent 45%),
        linear-gradient(160deg, #eef4ff 0%, #f4f0ff 48%, #eaf6ff 100%);
    overflow: hidden;
}
.auth-aside:before,
.auth-aside:after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.auth-aside:before {
    width: 180px;
    height: 180px;
    right: -40px;
    top: 120px;
    background: rgba(255, 255, 255, 0.35);
}
.auth-aside:after {
    width: 120px;
    height: 120px;
    left: -30px;
    bottom: 40px;
    background: rgba(120, 160, 255, 0.18);
}
.auth-aside-brand {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
}
.auth-aside-brand img {
    height: 36px;
    width: auto;
    display: block;
}
.auth-aside-brand span {
    font-size: 18px;
    font-weight: 700;
    color: #243356;
    letter-spacing: 0.02em;
}
.auth-aside-eyebrow {
    position: relative;
    z-index: 1;
    font-size: 12px;
    color: #4d6fd6;
    margin-bottom: 12px;
    letter-spacing: 0.04em;
}
.auth-aside-title {
    position: relative;
    z-index: 1;
    margin: 0 0 12px;
    font-size: 26px;
    line-height: 1.35;
    font-weight: 700;
    color: #1a2440;
}
.auth-aside-desc {
    position: relative;
    z-index: 1;
    margin: 0 0 24px;
    font-size: 13px;
    line-height: 1.7;
    color: #5b677f;
}
.auth-aside-list {
    position: relative;
    z-index: 1;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.auth-aside-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.auth-check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f7dff, #7a5cff);
    position: relative;
}
.auth-check:after {
    content: '';
    position: absolute;
    left: 6px;
    top: 4px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.auth-aside-list strong {
    display: block;
    font-size: 14px;
    color: #243356;
    margin-bottom: 2px;
}
.auth-aside-list span {
    font-size: 12px;
    color: #6b778f;
    line-height: 1.5;
}
.auth-aside-stats {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 10px;
    margin-top: 28px;
}
.auth-stat {
    flex: 1;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 12px 14px;
    box-shadow: 0 8px 20px rgba(80, 110, 180, 0.08);
}
.auth-stat strong {
    font-size: 13px;
    color: #2a3a5f;
    font-weight: 600;
}

/* 右栏表单 */
.auth-panel {
    width: 52%;
    padding: 40px 42px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
}
.auth-panel-title {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 700;
    color: #1a2440;
}
.auth-panel-sub {
    margin: 0 0 18px;
    font-size: 13px;
    color: #8a93a8;
}
.auth-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    padding: 12px 14px;
    border-radius: 12px;
    color: #fff;
    font-size: 13px;
    background: linear-gradient(90deg, #4f7dff 0%, #7a5cff 100%);
    box-shadow: 0 10px 24px rgba(90, 110, 230, 0.25);
}
.auth-banner-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.auth-banner-icon:before {
    content: '';
    width: 12px;
    height: 8px;
    border: 2px solid #fff;
    border-top: 0;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 -4px 0 -2px #fff;
}

.auth-field {
    margin-bottom: 14px;
}
.auth-label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    color: #6b778f;
}
.auth-label .req {
    color: #e25c5c;
    margin-left: 2px;
}
.auth-input,
.auth-panel .form-control {
    height: 42px;
    border: 1px solid #e4e8f0;
    border-radius: 10px;
    background: #fff;
    box-shadow: none;
    font-size: 14px;
    color: #243356;
    padding: 8px 12px;
}
.auth-input:focus,
.auth-panel .form-control:focus {
    border-color: #7a8dff;
    box-shadow: 0 0 0 3px rgba(95, 120, 255, 0.12);
}
.auth-input-row {
    display: flex;
    gap: 8px;
}
.auth-input-row .form-control {
    flex: 1;
}
.auth-sms-btn {
    flex-shrink: 0;
    height: 42px;
    min-width: 108px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(90deg, #4f7dff, #6d6aff);
    font-size: 13px;
    padding: 0 12px;
}
.auth-sms-btn:hover,
.auth-sms-btn:focus {
    color: #fff;
    opacity: 0.92;
}
.auth-sms-btn[disabled] {
    opacity: 0.65;
    cursor: not-allowed;
}

.auth-extra {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4px 0 16px;
    font-size: 12px;
    color: #6b778f;
}
.auth-extra label {
    font-weight: normal;
    margin: 0;
    cursor: pointer;
}
.auth-extra a {
    color: #4f7dff;
}
.auth-agree {
    margin: 4px 0 16px;
    font-size: 12px;
    color: #6b778f;
}
.auth-agree label {
    font-weight: normal;
    margin: 0;
    cursor: pointer;
}
.auth-agree a {
    color: #4f7dff;
}

.auth-submit {
    width: 100%;
    height: 46px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    background: linear-gradient(90deg, #4f7dff 0%, #7a5cff 100%);
    box-shadow: 0 12px 24px rgba(90, 110, 230, 0.28);
}
.auth-submit:hover,
.auth-submit:focus {
    color: #fff;
    opacity: 0.95;
}
.auth-switch {
    margin-top: 16px;
    text-align: center;
    font-size: 13px;
    color: #8a93a8;
}
.auth-switch a {
    color: #4f7dff;
    margin-left: 4px;
}

/* passport 整页 */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    background:
        radial-gradient(circle at 10% 20%, rgba(120, 168, 255, 0.25), transparent 40%),
        radial-gradient(circle at 90% 10%, rgba(170, 140, 255, 0.2), transparent 38%),
        #f3f5fb;
}
.auth-page-card {
    width: 920px;
    max-width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(40, 56, 110, 0.14);
    background: #fff;
}
.auth-page-card .auth-shell {
    min-height: 560px;
}
.auth-page-home {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    font-size: 13px;
    color: #5b677f;
}
.auth-page-home:hover {
    color: #4f7dff;
    text-decoration: none;
}

@media (max-width: 860px) {
    .auth-modal .modal-dialog {
        width: 94vw;
        margin: 20px auto;
    }
    .auth-shell,
    .auth-page-card .auth-shell {
        flex-direction: column;
        min-height: 0;
    }
    .auth-aside,
    .auth-panel {
        width: 100%;
    }
    .auth-aside {
        padding: 24px 22px 18px;
    }
    .auth-aside-title {
        font-size: 20px;
    }
    .auth-aside-stats {
        margin-top: 18px;
    }
    .auth-panel {
        padding: 28px 22px 24px;
    }
}
