* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    display: flex;
}

/* 左侧品牌区域 */
.brand-section {
    flex: 55;
    background: linear-gradient(135deg, #EFC800 0%, #FF7202 50%, #BB3303 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    overflow: hidden;
}

/* 装饰圆形 */
.brand-section::before,
.brand-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255 255 255 / 0.3);
    animation: gradientAnimation 10s infinite alternate linear;
    animation-fill-mode: both; /* 锁定首尾状态，不回弹 */
}

.brand-section::before {
    width: 500px;
    height: 500px;
    top: -200px;
    left: -150px;
}

.brand-section::after {
    width: 400px;
    height: 400px;
    bottom: -150px;
    right: -100px;
}

.decoration-circle {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255 255 255 / 0.3);
    top: 50%;
    right: -100px;
    transform: translateY(-50%);
    animation: gradientAnimation 8s infinite alternate linear;
    animation-fill-mode: both; /* 锁定首尾状态，不回弹 */
}

@keyframes gradientAnimation
{
    0%   {background: rgb(255 255 255 / 0.3);}
    25%  {background: rgb(253 157 94 / 0.3);}
    50%  {background: rgb(255 89 0 / 0.3);}
    100% {background: rgb(255 208 138 / 0.3);}
}

.brand-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    max-width: 500px;
}

.brand-title {
    /*font-family: 'Microsoft YaHei';*/
    text-align: left;
    font-size: 2.5rem;
    font-weight: 300;
    margin-top: 20px;
    letter-spacing: 1px;
}

.brand-title-small {
    /*font-family: 'Microsoft YaHei';*/
    text-align: left;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.brand-subtitle {
    /*font-family: 'Microsoft YaHei';*/
    text-align: left;
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 50px;
    line-height: 1.6;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 1rem;
    opacity: 0.95;
}

.features-list .check-icon {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.features-list .check-icon svg {
    width: 16px;
    height: 16px;
    fill: #fff;
}

/* 右侧登录区域 */
.login-section {
    flex: 45;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 16px;
    padding: 48px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.card-header {
    margin-bottom: 32px;
}

.card-logo svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}

.welcome-title {
    /*font-family: 'Microsoft YaHei';*/
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.welcome-subtitle {
    /*font-family: 'Microsoft YaHei';*/
    font-size: 0.95rem;
    color: #64748b;
}

/* 表单样式 */
.form-group {
    margin-bottom: 24px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    width: 20px;
    height: 20px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-icon svg {
    width: 100%;
    height: 100%;
}

.form-input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    color: #1e293b;
    transition: all 0.3s ease;
    outline: none;
}

.code-input {
    width: 60%;
    padding: 14px 16px 14px 48px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    color: #1e293b;
    transition: all 0.3s ease;
    outline: none;
}

.form-input::placeholder {
    color: #94a3b8;
}

.form-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.password-toggle {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle:hover {
    color: #64748b;
}

.password-toggle svg {
    width: 20px;
    height: 20px;
}

/* 验证码区域 */
.captcha-row {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.captcha-input-wrapper {
    flex: 1;
    position: relative;
}

.captcha-image canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.refresh-btn svg {
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease;
}

.refresh-btn:hover svg {
    transform: rotate(180deg);
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #64748b;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #3b82f6;
    cursor: pointer;
    border-radius: 4px;
}

/* 登录按钮 */
.login-btn {
    width: 100%;
    padding: 16px;
    background: #FF7202;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4);
}

.login-btn:active {
    transform: translateY(0);
}

.login-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* 注册链接 */
.signup-link {
    text-align: center;
    margin-top: 28px;
    font-size: 0.9rem;
    color: #64748b;
}

.signup-link a {
    color: #a3a3a3;
    text-decoration: none;
}

.signup-link a:hover {
    text-decoration: underline;
}

/* 错误提示 */
.error-msg {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 6px;
    display: none;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    75% { transform: translateX(8px); }
}

/* 响应式设计 */
@media (max-width: 900px) {
    body {
        flex-direction: column;
    }

.brand-section {
        flex: none;
        min-height: auto;
        padding: 50px 30px;
    }

.brand-section::before {
        width: 300px;
        height: 300px;
        top: -100px;
        left: -100px;
    }

.brand-section::after {
        width: 250px;
        height: 250px;
        bottom: -100px;
    }

.decoration-circle {
        display: none;
    }

.brand-title {
        font-size: 1.8rem;
    }

.brand-title-small {
        font-size: 1.8rem;
    }

.brand-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }

.login-section {
        flex: none;
        padding: 40px 24px;
    }

.login-card {
        padding: 32px 24px;
    }
}