/* ============================================================
   投资沧州·云向导 - 企业用户登录页样式
   ============================================================ */

.login-wrap {
    min-height: calc(100vh - 60px - 96px);
    background:
        radial-gradient(ellipse 50% 60% at 90% 0%, rgba(94, 214, 240, .18) 0%, rgba(94, 214, 240, 0) 70%),
        radial-gradient(ellipse 50% 70% at 0% 100%, rgba(46, 111, 232, .12) 0%, rgba(46, 111, 232, 0) 70%),
        linear-gradient(160deg, #eaf2ff 0%, #f7fafd 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 46px 16px;
}

.login-card {
    width: 430px;
    max-width: 100%;
    background: #fff;
    border: 1px solid #eef2f8;
    border-radius: 14px;
    box-shadow: 0 16px 44px rgba(30, 80, 180, .13);
    padding: 38px 42px 30px;
}

/* 品牌区 */
.login-brand { text-align: center; margin-bottom: 26px; }

.login-logo {
    display: inline-flex;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(120deg, #1c47c4, #2f8fe9);
    color: #fff;
    font-size: 23px;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(47, 111, 232, .35);
}

.login-brand h1 { font-size: 21px; font-weight: 700; color: #222; margin-top: 14px; letter-spacing: 1px; }

.login-brand p { font-size: 12px; color: #9aa3b5; margin-top: 6px; letter-spacing: 2px; }

/* 登录方式切换 */
.login-tabs { display: flex; border-bottom: 1px solid #eef1f6; }

.login-tabs .tab {
    flex: 1;
    text-align: center;
    padding: 11px 0;
    font-size: 15px;
    color: #667;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color .2s, border-color .2s;
    user-select: none;
}

.login-tabs .tab:hover { color: #2f6fe8; }

.login-tabs .tab.active { color: #2f6fe8; font-weight: 600; border-bottom-color: #2f6fe8; }

/* 消息提示 */
.msg-tip {
    display: none;
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 9px 13px;
    font-size: 13px;
    margin-top: 16px;
    line-height: 1.5;
}

.msg-tip.show { display: block; }

.msg-tip.show.ok { background: #ecfdf5; color: #0a9c66; border-color: #c6f2de; }

/* 输入框 */
.login-field {
    display: flex;
    align-items: center;
    border: 1px solid #dfe5ef;
    border-radius: 8px;
    margin-top: 16px;
    padding: 0 14px;
    height: 46px;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}

.login-field:focus-within { border-color: #2f6fe8; box-shadow: 0 0 0 3px rgba(47, 111, 232, .1); }

.field-icon { width: 20px; color: #9aa3b5; margin-right: 10px; font-size: 15px; flex-shrink: 0; }

.login-field input {
    flex: 1;
    border: 0;
    outline: none;
    height: 100%;
    font-size: 14px;
    color: #333;
    min-width: 0;
    background: transparent;
}

.login-field input::placeholder { color: #aab2c2; }

.code-btn {
    border: 0;
    background: none;
    color: #2f6fe8;
    cursor: pointer;
    white-space: nowrap;
    font-size: 13px;
    padding: 0 0 0 10px;
    border-left: 1px solid #eef1f6;
    height: 22px;
}

.code-btn:disabled { color: #aab2c2; cursor: not-allowed; }

/* 协议 */
.login-agree {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    font-size: 12px;
    color: #889;
    margin-top: 16px;
    line-height: 1.6;
    cursor: pointer;
}

.login-agree input { margin-top: 2px; accent-color: #2f6fe8; cursor: pointer; }

.login-agree a { color: #2f6fe8; }

/* 提交按钮 */
.btn-submit {
    width: 100%;
    height: 46px;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(100deg, #2e6fe8, #3d85ee);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 6px;
    margin-top: 20px;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(47, 111, 232, .28);
    transition: transform .2s, box-shadow .2s, opacity .2s;
}

.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(47, 111, 232, .36); }

.btn-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* 底部提示 */
.login-tip { text-align: center; color: #9aa3b5; font-size: 12px; margin-top: 18px; }

.login-tip span { color: #2f6fe8; }

.login-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px;
    font-size: 12.5px;
}
.login-foot a { color: #2f6fe8; text-decoration: none; }
.login-foot a:hover { text-decoration: underline; }
.login-foot span { color: #9aa3b5; }

/* 布局登录态按钮 */
.login-user {
    color: rgba(255, 255, 255, .88);
    font-size: 13px;
    max-width: 200px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.login-user i { margin-right: 6px; font-size: 13px; }
