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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
    min-height: 100vh;
    display: flex;
    background: #f3f4f6;
    overflow: hidden;
}

.login-left {
    flex: 1;
    background: linear-gradient(135deg, #0052d9 0%, #0034b5 50%, #002896 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.login-left::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    top: -100px;
    left: -200px;
}

.login-left::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    bottom: -50px;
    right: -100px;
}

.login-left h1 {
    color: #fff;
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 16px;
    z-index: 1;
}

.login-left p {
    color: rgba(255,255,255,0.7);
    font-size: 16px;
    z-index: 1;
}

.login-right {
    width: 480px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    background: #fff;
}

.login-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 48px;
}

.login-logo .icon {
    width: 40px;
    height: 40px;
    background: #0052d9;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-logo .icon svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.login-logo span {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
}

.login-form h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.login-form .subtitle {
    color: #999;
    font-size: 14px;
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    height: 44px;
    padding: 0 16px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: all .2s;
    background: #fff;
}

.form-group select {
    width: 100%;
    height: 44px;
    padding: 0 16px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: all .2s;
    background: #fff;
}

.form-group input:focus {
    border-color: #0052d9;
    box-shadow: 0 0 0 2px rgba(0,82,217,0.1);
}

.form-group select:focus {
    border-color: #0052d9;
    box-shadow: 0 0 0 2px rgba(0,82,217,0.1);
}

.form-group input::placeholder {
    color: #bbb;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 13px;
}

.form-options label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    cursor: pointer;
}

.form-options label input[type="checkbox"] {
    accent-color: #0052d9;
}

.error-msg {
    background: #fff0f0;
    color: #e34d59;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 16px;
    border: 1px solid #fdd;
}

.warning-msg {
    background: #fff8e6;
    color: #9a6700;
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 20px;
    border: 1px solid #f5deb3;
    line-height: 1.7;
}

.warning-msg code {
    background: #f0e4c8;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: Consolas, "Courier New", monospace;
    font-size: 13px;
    font-weight: 600;
}

.btn-login {
    width: 100%;
    height: 44px;
    background: #0052d9;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s;
}

.btn-login:hover {
    background: #0034b5;
}

.btn-login:active {
    transform: scale(0.98);
}

.btn-login:disabled {
    background: #c0c4cc;
    cursor: not-allowed;
}

.form-group select:disabled {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

@media (max-width: 900px) {
    .login-left { display: none; }
    .login-right { width: 100%; max-width: 100%; }
    body { justify-content: center; }
}
