/*
 * LAHUOR 登录页 —— 高档极简版（2026-09-19）
 * 设计原则：大留白、细线条、单色；去动画、去渐变、去投影。
 * 左栏纯黑 + 大字品牌；右栏白底 + 下划线输入框 + 纯橙按钮。
 */

:root {
    --login-brand: #FF6A00;
    --login-brand-deep: #E85D00;
    --login-ink: #111111;
    --login-muted: #888888;
    --login-line: #E5E5E5;
    --login-dark: #0B1220;
    --login-dark-2: #0F1B2D;
}

html, body { min-height: 100%; }

body.signin {
    min-height: 100vh;
    margin: 0;
    color: var(--login-ink);
    background: #fff !important;
    letter-spacing: 0;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif;
}

.signinpanel {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

.signinpanel .row {
    display: flex;
    min-height: 100vh;
    margin: 0;
}

.signinpanel .col-sm-7,
.signinpanel .col-sm-5 { float: none; }

/* ===== 左栏：深空蓝 + 静态细网格 + 静态橙色光环（无动画，零开销） ===== */
.signinpanel .col-sm-7 {
    position: relative;
    width: 58%;
    min-height: 100vh;
    padding: 0;
    display: flex;
    align-items: center;
    background:
        /* 角落橙色辉光 */
        radial-gradient(circle at 78% 22%, rgba(255, 106, 0, 0.16), transparent 38%),
        /* 细网格线（静态） */
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(160deg, var(--login-dark) 0%, var(--login-dark-2) 100%) !important;
    background-size: auto, 48px 48px, 48px 48px, auto;
}

/* 静态橙色光环装饰（不旋转，纯静态定位） */
.signinpanel .col-sm-7::before {
    content: "";
    position: absolute;
    right: -140px;
    top: 50%;
    width: 520px;
    height: 520px;
    margin-top: -260px;
    border-radius: 50%;
    border: 1px solid rgba(255, 106, 0, 0.18);
    box-shadow:
        inset 0 0 80px rgba(255, 106, 0, 0.06),
        0 0 0 90px rgba(255, 106, 0, 0.03),
        0 0 0 180px rgba(255, 106, 0, 0.02);
    pointer-events: none;
}

.signinpanel .signin-info {
    position: relative;
    z-index: 1;
    width: min(560px, 80%);
    padding: 80px;
    color: #fff;
}

.signinpanel .logopanel { margin-bottom: 40px; }

.signinpanel .logopanel h1 {
    margin: 0;
    color: #fff;
    font-size: 52px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -1px;
}

.signinpanel .logopanel h1::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    margin-top: 24px;
    border-radius: 0;
    background: var(--login-brand);
}

.signinpanel .signin-info h4 {
    margin: 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.signinpanel .signin-info h4 strong {
    color: #fff;
    font-weight: 600;
}

/* 隐藏所有装饰性 tech-* 元素（HTML 里实际没引用，兜底） */
.tech-grid, .tech-scan, .tech-ring, .tech-path, .tech-node, .tech-card { display: none !important; }

/* ===== 右栏：纯白 + 下划线表单 ===== */
.signinpanel .col-sm-5 {
    width: 42%;
    min-height: 100vh;
    padding: 56px 6.5vw;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff !important;
}

.signinpanel form {
    width: min(360px, 100%);
    padding: 0 !important;
    margin: 0;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.signinpanel form h4 {
    margin: 0;
    color: var(--login-ink);
    font-size: 26px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.signinpanel form p {
    margin: 8px 0 40px;
    color: var(--login-muted);
    font-size: 14px;
}

/* 下划线式输入框 */
.signinpanel .form-control {
    display: block;
    width: 100%;
    height: 46px;
    margin-bottom: 24px;
    padding: 8px 0 8px 36px;
    color: var(--login-ink);
    font-size: 15px;
    background-color: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid var(--login-line) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none;
    transition: border-color 0.18s ease;
}

.signinpanel .form-control:focus {
    border-bottom-color: var(--login-brand) !important;
    box-shadow: none !important;
}

.signinpanel .form-control::placeholder { color: #B0B0B0; }

.signinpanel .uname {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23999'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: 0 center !important;
    background-size: 18px !important;
}

.signinpanel .pword {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23999'%3E%3Cpath d='M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: 0 center !important;
    background-size: 18px !important;
}

.signinpanel .code {
    padding-left: 0;
    background-image: none !important;
}

/* 验证码图片 */
.signinpanel .imgcode {
    height: 46px;
    border: 1px solid var(--login-line);
    border-radius: 6px;
    cursor: pointer;
}

/* 记住我 */
.checkbox-custom {
    position: relative;
    margin: 4px 0 32px;
    padding: 0;
    color: var(--login-muted);
}

.checkbox-custom input[type="checkbox"] {
    position: absolute;
    width: 16px;
    height: 16px;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.checkbox-custom label {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding-left: 26px;
    color: var(--login-muted);
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    user-select: none;
}

.checkbox-custom label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 16px;
    height: 16px;
    border: 1px solid var(--login-line);
    border-radius: 6px;
    background: #fff;
    transform: translateY(-50%);
    transition: all 0.15s ease;
}

.checkbox-custom input[type="checkbox"]:checked + label::before {
    background: var(--login-brand);
    border-color: var(--login-brand);
}

.checkbox-custom input[type="checkbox"]:checked + label::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 50%;
    width: 5px;
    height: 9px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: translateY(-58%) rotate(45deg);
}

/* 登录按钮：纯橙、无渐变、无阴影、小圆角 */
.signinpanel .btn-success {
    width: 100%;
    height: 48px;
    padding: 0 24px !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 2px;
    border: 0 !important;
    border-radius: 6px !important;
    background: var(--login-brand) !important;
    box-shadow: none !important;
    transition: background 0.15s ease;
}

.signinpanel .btn-success:hover,
.signinpanel .btn-success:focus {
    background: var(--login-brand-deep) !important;
    box-shadow: none !important;
    transform: none !important;
}

label.error {
    display: block;
    margin: -16px 0 16px;
    color: #c81e1e;
    font-size: 12px;
}

/* 底部 */
.signup-footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    z-index: 2;
    padding: 0 22px;
    color: rgba(255, 255, 255, 0.35);
    font-size: 12px;
    text-align: center;
}

.signup-footer .pull-left {
    float: none !important;
    text-align: center;
}

/* 响应式 */
@media screen and (max-width: 992px) {
    .signinpanel .row { display: block; min-height: 100vh; }
    .signinpanel .col-sm-7 { display: none; }
    .signinpanel .col-sm-5 { width: 100%; padding: 48px 28px; }
    .signup-footer { color: #aaa; }
}

@media screen and (max-width: 480px) {
    .signinpanel .col-sm-5 { padding: 32px 20px; }
    .signinpanel form h4 { font-size: 22px; }
}

/* ===== 覆盖 ocpx-minimal.css 对登录页的干扰 ===== */
.signinpanel {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
.signinpanel .signin-info h1,
.signinpanel .logopanel h1 {
    color: #fff !important;
}
.signinpanel .signin-info h4 {
    color: rgba(255,255,255,0.55) !important;
}
.signinpanel .signin-info h4 strong {
    color: #fff !important;
}
