/* ============================================================================
   九龙科技 - 后台登录页样式
   ----------------------------------------------------------------------------
   设计语言：暗色科技 + 紫蓝渐变 + 玻璃拟态卡片
   ============================================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    height: 100%;
    font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
    color: #e2e8f0;
    -webkit-font-smoothing: antialiased;
    overflow: hidden;
}

/* 背景 */
.login-bg {
    position: fixed; inset: 0;
    background: radial-gradient(ellipse at top left, #1e3a8a 0%, #0f172a 50%, #020617 100%);
    z-index: -2;
}
.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    opacity: .6;
    z-index: -1;
    animation: floatOrb 20s ease-in-out infinite;
}
.orb-1 { width: 480px; height: 480px; background: #5b8def; top: -120px; left: -120px; }
.orb-2 { width: 380px; height: 380px; background: #8b5cf6; bottom: -100px; right: -100px; animation-delay: -7s; }
.orb-3 { width: 300px; height: 300px; background: #06b6d4; top: 40%; left: 50%; animation-delay: -14s; opacity: .4; }
@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -40px) scale(1.1); }
}

/* 主容器 */
.login-wrap {
    position: relative;
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.login-wrap > div {
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
}

/* 左侧品牌 */
.login-left {
    width: 460px; height: 580px;
    background: linear-gradient(135deg, rgba(91,141,239,.18), rgba(139,92,246,.12));
    border: 1px solid rgba(255,255,255,.08);
    border-right: none;
    border-radius: 20px 0 0 20px;
    padding: 50px 44px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #e2e8f0;
}
.brand-logo {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #5b8def, #8b5cf6);
    display: inline-flex;
    align-items: center; justify-content: center;
    font-weight: 700; color: #fff; font-size: 22px;
    box-shadow: 0 12px 32px rgba(91,141,239,.5);
    margin-bottom: 22px;
}
.brand-name { font-size: 26px; margin-bottom: 8px; font-weight: 600; }
.brand-slogan { color: #94a3b8; font-size: 14px; line-height: 1.7; }
.brand-feats {
    list-style: none;
    margin-top: 40px;
}
.brand-feats li {
    color: #cbd5e1;
    padding: 10px 0;
    font-size: 14px;
    display: flex; align-items: center;
}
.dot {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5b8def, #8b5cf6);
    margin-right: 12px;
    box-shadow: 0 0 12px rgba(91,141,239,.6);
}
.brand-foot {
    color: #64748b;
    font-size: 12px;
    text-align: left;
}

/* 右侧表单 */
.login-right {
    width: 440px; height: 580px;
    background: rgba(15, 23, 42, .65);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 0 20px 20px 0;
    padding: 50px 50px;
    display: flex; align-items: center;
}
.login-form-wrap { width: 100%; }
.form-title {
    font-size: 28px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
}
.form-sub {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 28px;
}

.login-error {
    background: rgba(239, 68, 68, .12);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, .3);
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 16px;
}

.login-form .field {
    position: relative;
    margin-bottom: 16px;
}
.login-form .field .ic {
    position: absolute;
    left: 14px; top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    display: flex; align-items: center;
}
.login-form .field input {
    width: 100%;
    height: 48px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 10px;
    color: #e2e8f0;
    font-size: 14px;
    padding: 0 14px 0 42px;
    transition: all .2s;
    font-family: inherit;
}
.login-form .field input::placeholder { color: #64748b; }
.login-form .field input:focus {
    outline: none;
    border-color: #5b8def;
    background: rgba(255, 255, 255, .07);
    box-shadow: 0 0 0 3px rgba(91, 141, 239, .15);
}

.field-captcha { display: flex; gap: 10px; align-items: center; }
.field-captcha input { padding-right: 14px; flex: 1; }
.field-captcha img {
    height: 48px; width: 120px;
    border-radius: 8px;
    cursor: pointer;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,.08);
    background: #fff;
}

.btn-login {
    width: 100%; height: 50px;
    background: linear-gradient(135deg, #5b8def 0%, #8b5cf6 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 8px;
    transition: all .2s;
    box-shadow: 0 12px 24px rgba(91, 141, 239, .35);
    letter-spacing: 1px;
    font-family: inherit;
}
.btn-login:hover { transform: translateY(-1px); box-shadow: 0 16px 32px rgba(91, 141, 239, .5); }
.btn-login:active { transform: translateY(0); }

.form-tip {
    color: #64748b;
    font-size: 12px;
    text-align: center;
    margin-top: 24px;
    line-height: 1.7;
}
.form-tip code {
    background: rgba(255,255,255,.06);
    color: #cbd5e1;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 11px;
}

@media (max-width: 920px) {
    .login-left { display: none; }
    .login-right { border-radius: 20px; width: 100%; max-width: 440px; }
}
