/* 抢单大厅：登录弹窗共用样式 */
.ogh-login-mask {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,.45);
    z-index: 200;
}
.ogh-login-box {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 88%;
    max-width: 20rem;
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid rgba(255,255,255,.5);
    box-shadow: 0 12px 40px rgba(0,0,0,.35);
}
.ogh-login-box h3 {
    margin: 0 0 .75rem;
    font-size: 1rem;
    text-align: center;
    color: #222;
}
.ogh-login-box input {
    width: 100%;
    height: 2.4rem;
    margin-bottom: .65rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 .6rem;
    font-size: .9rem;
    box-sizing: border-box;
}
.ogh-login-box .btn-row { display: flex; gap: .5rem; }
.ogh-login-box button {
    flex: 1;
    height: 2.4rem;
    border: none;
    border-radius: 4px;
    font-size: .9rem;
}
.ogh-login-box .btn-cancel { background: #eee; color: #666; }
.ogh-login-box .btn-submit { background: #D53F44; color: #fff; }
.ogh-login-hint {
    font-size: .75rem;
    color: #999;
    line-height: 1.4;
    margin-top: .5rem;
}
.btn-wx-login {
    display: block;
    width: 100%;
    height: 2.45rem;
    margin-bottom: .65rem;
    border: none;
    border-radius: 6px;
    background: #07c160;
    color: #fff;
    font-size: .95rem;
    font-weight: 600;
}
.ogh-login-divider {
    text-align: center;
    color: #999;
    font-size: .75rem;
    margin: .5rem 0;
}

.ogh-login-mode-tabs {
    display: flex;
    gap: .5rem;
    margin-bottom: 1rem;
    padding: .2rem;
    background: #f5f5f5;
    border-radius: 8px;
}
.ogh-login-mode-tab {
    flex: 1;
    height: 2.2rem;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #666;
    font-size: .88rem;
    cursor: pointer;
}
.ogh-login-mode-tab.is-active {
    background: #fff;
    color: #D53F44;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
.ogh-sms-panel,
.ogh-pwd-panel { display: none; }
.ogh-sms-panel.is-show,
.ogh-pwd-panel.is-show { display: block; }
.ogh-login-hint a {
    color: #D53F44;
    text-decoration: none;
    cursor: pointer;
}
.ogh-login-hint a:active { opacity: .7; }
.ogh-findpwd-link {
    margin-top: .65rem;
    font-size: .8rem;
}
.ogh-findpwd-link a {
    color: #1565c0;
    text-decoration: none;
    cursor: pointer;
}
.ogh-findpwd-link a:active { opacity: .7; }

.ogh-reg-box,
.ogh-login-box {
    padding: 1.5rem 1.25rem !important;
    max-width: 21rem;
}
.ogh-reg-box h3,
.ogh-login-box h3 {
    margin-bottom: 1.2rem;
    font-size: 1.15rem;
}
.ogh-reg-box input,
.ogh-login-box input {
    width: 100%;
    height: 2.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0 .75rem;
    font-size: .95rem;
    transition: border-color .2s;
    box-sizing: border-box;
}
.ogh-reg-box input:focus,
.ogh-login-box input:focus {
    border-color: #D53F44;
    outline: none;
}
.ogh-reg-box .code-row,
.ogh-login-box .code-row {
    display: flex;
    gap: .65rem;
    align-items: center;
    margin-bottom: 1rem;
}
.ogh-reg-box .code-row input,
.ogh-login-box .code-row input {
    flex: 1;
    margin-bottom: 0;
}
.ogh-reg-box .btn-sendcode,
.ogh-login-box .btn-sendcode {
    flex-shrink: 0;
    width: 7.5rem;
    height: 2.75rem;
    border: 1px solid #D53F44;
    border-radius: 6px;
    background: #fff;
    color: #D53F44;
    font-size: .82rem;
    white-space: nowrap;
    cursor: pointer;
}
.ogh-reg-box .btn-sendcode:disabled,
.ogh-login-box .btn-sendcode:disabled {
    background: #f5f5f5;
    color: #bbb;
    border-color: #e8e8e8;
    cursor: not-allowed;
}
.ogh-reg-box .btn-row,
.ogh-login-box .btn-row {
    display: flex;
    gap: .65rem;
    margin-top: .3rem;
}
.ogh-reg-box button,
.ogh-login-box button {
    flex: 1;
    height: 2.75rem;
    border: none;
    border-radius: 6px;
    font-size: .95rem;
    font-weight: 500;
    cursor: pointer;
}
.ogh-reg-box .btn-cancel,
.ogh-login-box .btn-cancel {
    background: #eee;
    color: #666;
}
.ogh-reg-box .btn-submit,
.ogh-login-box .btn-submit {
    background: #D53F44;
    color: #fff;
    box-shadow: 0 2px 8px rgba(213, 63, 68, .3);
}

body.ogh-login-page {
    min-height: 100vh;
    margin: 0;
    background-color: #1a2332;
    font-family: "Microsoft YaHei", sans-serif;
}
body.ogh-login-page::before {
    content: '';
    position: fixed;
    left: 0; top: 0; right: 0; bottom: 0;
    z-index: -1;
    background: url('/images/bg.jpg') no-repeat center center;
    background-size: cover;
    pointer-events: none;
}
.ogh-login-hero {
    position: relative;
    z-index: 1;
    padding: 2.4rem 1.2rem 0;
    text-align: center;
    color: #fff;
}
.ogh-login-hero h1 {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: .04em;
}
.ogh-login-hero p {
    margin: .45rem 0 0;
    font-size: .85rem;
    color: rgba(255,255,255,.72);
}
.ogh-login-mask.is-page {
    display: block;
    background: transparent;
    z-index: 10;
}
.ogh-login-mask.is-page .ogh-login-box {
    top: 42%;
}
