/* 后台登录页 */
html, body {
    height: 100%;
    margin: 0;
}

body.login-body {
    font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    background: #f6f7f9;
    color: #1f2430;
}

.login-wrap {
    display: flex;
    min-height: 100vh;
}

/* 左侧：人物插画（占比更大，不是左右等分） */
.login-visual {
    flex: 1 1 62%;
    background: #fff url("../img/viggoz-avatar.png") center center no-repeat;
    background-size: contain;
}

/* 右侧：登录表单 */
.login-panel {
    flex: 1 1 38%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 40px;
    background: #f6f7f9;
    border-left: 1px solid #eceef1;
}

.login-card {
    width: 100%;
    max-width: 360px;
}

.login-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.login-brand .brand-mark {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #95cd62, #68b828);
    box-shadow: 0 4px 12px rgba(104, 184, 40, .32);
}

.login-brand .brand-mark svg {
    width: 23px;
    height: 23px;
    fill: #fff;
}

.login-brand .brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.login-brand .brand-name {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .2px;
}

.login-brand .brand-sub {
    margin-top: 2px;
    font-size: 11px;
    letter-spacing: 3px;
    color: #979ba3;
}

.login-title {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 600;
}

.login-desc {
    margin: 0 0 28px;
    font-size: 13px;
    color: #6b7280;
}

.login-tips {
    min-height: 20px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #e5484d;
}

.login-field {
    margin-bottom: 16px;
}

.login-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #4b5563;
}

.login-field .form-control {
    height: 44px;
    padding: 0 14px;
    font-size: 14px;
    color: #111827;
    background: #fff;
    border: 1px solid #e2e5ea;
    border-radius: 10px;
    box-shadow: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.login-field .form-control:focus {
    border-color: #68b828;
    box-shadow: 0 0 0 3px rgba(104, 184, 40, .15);
    outline: none;
}

.login-field .form-control::placeholder {
    color: #a8adb6;
}

.captcha-row {
    display: flex;
    gap: 10px;
}

.captcha-row .form-control {
    flex: 1;
}

.captcha-row img {
    width: 108px;
    height: 44px;
    border: 1px solid #e2e5ea;
    border-radius: 10px;
    cursor: pointer;
    object-fit: cover;
}

.login-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 2px 0 22px;
    font-size: 13px;
    color: #4b5563;
}

.login-row label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-weight: 400;
    cursor: pointer;
}

.login-row input[type="checkbox"] {
    margin: 0;
    accent-color: #68b828;
}

.btn-login {
    width: 100%;
    height: 46px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #fff;
    background: linear-gradient(135deg, #95cd62, #68b828);
    border: 0;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(104, 184, 40, .28);
    transition: transform .15s ease, box-shadow .15s ease;
}

.btn-login:hover,
.btn-login:focus {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(104, 184, 40, .35);
    outline: none;
}

.login-footer {
    margin-top: 28px;
    font-size: 12px;
    color: #a3a8b0;
}

@media (max-width: 900px) {
    .login-visual {
        display: none;
    }

    .login-panel {
        flex-basis: 100%;
        border-left: 0;
    }
}
