/* 登录页样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'PingFang SC', Roboto, 'Microsoft YaHei', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: linear-gradient(135deg, #eaf0fb 0%, #f6f8fc 45%, #eef4fe 100%);
    color: #1a2332;
}

.login-box {
    width: 100%;
    max-width: 400px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 16px 48px rgba(26, 54, 102, .12);
    padding: 36px 32px 30px;
}

.login-logo {
    text-align: center;
    font-size: 40px;
    line-height: 1;
    margin-bottom: 10px;
}

.login-title {
    text-align: center;
    font-size: 21px;
    font-weight: 600;
    color: #0b1a30;
    margin-bottom: 6px;
}

.login-sub {
    text-align: center;
    font-size: 13px;
    color: #7b8ba1;
    margin-bottom: 24px;
}

.form-row {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #41536b;
    margin-bottom: 6px;
}

.input {
    width: 100%;
    padding: 11px 14px;
    font-size: 15px;
    border: 1px solid #dbe3ee;
    border-radius: 11px;
    background: #fff;
    color: #1a2332;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
    font-family: inherit;
}

.input:focus {
    border-color: #1a5bbf;
    box-shadow: 0 0 0 3px rgba(26, 91, 191, .12);
}

.input-icon {
    position: relative;
}

.input-icon .input {
    padding-right: 42px;
}

.toggle-eye {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 15px;
    padding: 6px 8px;
    border-radius: 8px;
    color: #8a9bb0;
}

.toggle-eye:hover {
    background: #f1f5fa;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 20px;
    font-size: 15px;
    font-weight: 500;
    font-family: inherit;
    border: none;
    border-radius: 11px;
    cursor: pointer;
    transition: all .18s;
}

.btn-primary {
    width: 100%;
    background: #1a5bbf;
    color: #fff;
    box-shadow: 0 6px 16px rgba(26, 91, 191, .25);
}

.btn-primary:hover {
    background: #164ea6;
}

.btn-primary[disabled] {
    opacity: .6;
    cursor: not-allowed;
}

.msg {
    margin-top: 14px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13.5px;
    display: none;
}

.msg.show {
    display: block;
}

.msg.error {
    background: #fde8e8;
    color: #a13232;
    border: 1px solid #f5c6c6;
}

.msg.success {
    background: #e3f5eb;
    color: #0e5c33;
    border: 1px solid #b8dfcb;
}

.login-foot {
    margin-top: 22px;
    text-align: center;
    font-size: 12px;
    color: #9aabc0;
}
