/**
 * JM66 登录页：蓝白配色，左侧平台简介 + 右侧登录卡片
 */
html, body {
    height: 100%;
}
body.jm66-signin {
    margin: 0;
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 55%, #f0f7ff 100%);
    overflow-x: hidden;
}

/* ========== 整体布局 ========== */
.jm66-login-wrap {
    display: flex;
    min-height: 100vh;
    align-items: stretch;
}

/* ========== 左侧：平台简介 ========== */
.jm66-login-left {
    flex: 1 1 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 8%;
    background: linear-gradient(160deg, #1e3a8a 0%, #2563eb 55%, #3b82f6 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}
.jm66-login-left::before {
    content: "";
    position: absolute;
    right: -120px;
    top: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}
.jm66-login-left::after {
    content: "";
    position: absolute;
    left: -80px;
    bottom: -160px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}
.jm66-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}
.jm66-brand img {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #ffffff;
    padding: 6px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}
.jm66-brand h1 {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0;
    color: #ffffff;
}
.jm66-brand .brand-sub {
    font-size: 13px;
    opacity: 0.75;
    margin-top: 2px;
    letter-spacing: 1px;
}
.jm66-login-left h2 {
    font-size: 26px;
    font-weight: 600;
    margin: 0 0 12px 0;
    position: relative;
    z-index: 1;
}
.jm66-login-left .desc {
    font-size: 15px;
    line-height: 1.9;
    opacity: 0.9;
    max-width: 460px;
    margin-bottom: 36px;
    position: relative;
    z-index: 1;
}
.jm66-features {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
}
.jm66-features li {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    font-size: 15px;
    opacity: 0.95;
}
.jm66-features .feat-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}
.jm66-features .feat-txt strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
}
.jm66-features .feat-txt span {
    display: block;
    font-size: 12px;
    opacity: 0.7;
    margin-top: 2px;
}

/* ========== 右侧：登录卡片 ========== */
.jm66-login-right {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 4%;
}
.jm66-login-card {
    width: 100%;
    max-width: 400px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 12px 40px rgba(30, 58, 138, 0.12);
    padding: 40px 38px 32px;
}
.jm66-login-card .card-title {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 6px 0;
}
.jm66-login-card .card-sub {
    font-size: 13px;
    color: #6b7280;
    margin: 0 0 26px 0;
}
.jm66-login-card .form-group {
    margin-bottom: 16px;
}
.jm66-login-card .form-control {
    height: 42px !important;
    border-radius: 8px !important;
    border: 1px solid #d1d5db;
    font-size: 14px;
    padding: 8px 12px !important;
    box-shadow: none !important;
}
.jm66-login-card .form-control:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.10) !important;
}
.jm66-login-card .captcha-row {
    display: flex;
    gap: 10px;
}
.jm66-login-card .captcha-row .form-control {
    flex: 1;
}
.jm66-login-card .imgcode {
    height: 42px;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid #e5e7eb;
}
.jm66-login-card .checkbox-custom {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 4px 0 18px;
}
.jm66-login-card .checkbox-custom input[type="checkbox"] {
    width: 15px;
    height: 15px;
    margin: 0;
    accent-color: #2563eb;
    cursor: pointer;
}
.jm66-login-card .checkbox-custom label {
    color: #4b5563;
    font-size: 13px;
    margin: 0;
    cursor: pointer;
}
.jm66-login-card .btn-login {
    width: 100%;
    height: 42px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 4px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border: none;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}
.jm66-login-card .btn-login:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.38);
    transform: translateY(-1px);
}
.jm66-login-card .btn-login:active {
    transform: translateY(0);
}
.jm66-login-card .login-tip {
    text-align: center;
    font-size: 12px;
    color: #9ca3af;
    margin-top: 18px;
}

/* ========== 底部版权 ========== */
.jm66-login-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 12px 0;
    font-size: 12px;
    color: #9ca3af;
    background: rgba(255, 255, 255, 0.6);
    z-index: 10;
}

/* ========== 响应式 ========== */
@media screen and (max-width: 960px) {
    .jm66-login-left {
        display: none;
    }
    .jm66-login-right {
        flex: 1 1 100%;
        padding: 24px;
    }
    .jm66-login-card {
        padding: 30px 24px 26px;
    }
}
