/* 预约挂号平台 · 后台登录（配色对齐小程序 App.vue） */
:root {
    --main-color: #5b9dff;
    --main-deep: #3a7bd5;
    --main-soft: #8dbdff;
    --page-bg: #f6f9ff;
    --card-bg: #ffffff;
    --text-primary: #24324a;
    --text-secondary: #61718c;
    --text-muted: #93a1b7;
    --border-soft: #e7eef8;
}

html,
body {
    height: 100%;
}

body.zhgh-login {
    margin: 0;
    min-height: 100%;
    font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    color: var(--text-primary);
    background:
        radial-gradient(1000px 520px at 8% -8%, #dceaff 0%, transparent 58%),
        radial-gradient(800px 460px at 100% 108%, #e8f1ff 0%, transparent 52%),
        var(--page-bg);
}

.zhgh-login * {
    box-sizing: border-box;
}

.zhgh-shell {
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
}

.zhgh-card {
    width: 880px;
    max-width: 100%;
    min-height: 480px;
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    background: var(--card-bg);
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(120, 148, 186, 0.08);
}

.zhgh-slip {
    position: relative;
    padding: 44px 40px 36px;
    background: linear-gradient(135deg, #3a7bd5 0%, #5b9dff 100%);
    color: #fff;
    overflow: hidden;
}

.zhgh-slip::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 10px;
    background-image: radial-gradient(circle at 0 8px, var(--page-bg) 6px, transparent 7px);
    background-size: 10px 22px;
    background-repeat: repeat-y;
}

.zhgh-slip::after {
    content: "";
    position: absolute;
    right: -56px;
    bottom: -56px;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
}

.zhgh-eyebrow {
    font-size: 12px;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 28px;
}

.zhgh-mark {
    width: 52px;
    height: 52px;
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.zhgh-mark span {
    width: 18px;
    height: 18px;
    position: relative;
}

.zhgh-mark span::before,
.zhgh-mark span::after {
    content: "";
    position: absolute;
    background: #fff;
    border-radius: 1px;
}

.zhgh-mark span::before {
    width: 18px;
    height: 3px;
    top: 7.5px;
    left: 0;
}

.zhgh-mark span::after {
    width: 3px;
    height: 18px;
    left: 7.5px;
    top: 0;
}

.zhgh-slip h1 {
    margin: 0 0 10px;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.35;
}

.zhgh-slip p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
    max-width: 248px;
}

.zhgh-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.zhgh-slots span {
    font-size: 12px;
    letter-spacing: 0.08em;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.zhgh-form-wrap {
    padding: 48px 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.zhgh-form-wrap h2 {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
}

.zhgh-form-wrap .zhgh-hint {
    margin: 0 0 28px;
    font-size: 13px;
    color: var(--text-secondary);
}

.zhgh-field {
    margin-bottom: 18px;
}

.zhgh-field label {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.zhgh-field input {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid var(--border-soft);
    border-radius: 4px;
    background: #fff;
    font-size: 15px;
    color: var(--text-primary);
    outline: none;
    font-family: inherit;
}

.zhgh-field input::placeholder {
    color: var(--text-muted);
}

.zhgh-field input:focus {
    border-color: var(--main-color);
    box-shadow: 0 0 0 3px rgba(91, 157, 255, 0.16);
}

.zhgh-captcha {
    display: grid;
    grid-template-columns: 1fr 108px;
    gap: 10px;
    align-items: end;
}

.zhgh-captcha img {
    width: 108px;
    height: 44px;
    display: block;
    border: 1px solid var(--border-soft);
    border-radius: 4px;
    cursor: pointer;
    background: #fff;
}

.zhgh-btn {
    display: block;
    width: 100%;
    height: 46px;
    margin-top: 10px;
    border: 0;
    border-radius: 4px;
    background: linear-gradient(90deg, #3a7bd5, #5b9dff);
    color: #fff;
    font-size: 15px;
    letter-spacing: 0.16em;
    cursor: pointer;
    font-family: inherit;
}

.zhgh-btn:hover {
    background: linear-gradient(90deg, #336fc4, #4e90f0);
}

.zhgh-btn:focus {
    outline: 2px solid var(--main-color);
    outline-offset: 2px;
}

.zhgh-foot {
    margin-top: 22px;
    font-size: 12px;
    color: var(--text-muted);
}

@media (max-width: 760px) {
    .zhgh-card {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .zhgh-slip {
        padding: 28px 24px 24px;
    }

    .zhgh-slip p {
        max-width: none;
    }

    .zhgh-form-wrap {
        padding: 28px 24px 32px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .zhgh-field input,
    .zhgh-btn {
        transition: none;
    }
}
