/* ========== 登录页面样式 ========== */

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
}

body {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: visible !important;
    position: relative;
}

/* ========== 背景特效 ========== */
#bg-effects {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 0 !important;
    pointer-events: none !important;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    animation: float 8s ease-in-out infinite !important;
    opacity: 1 !important;
    box-shadow: 0 0 30px rgba(255,255,255,0.1);
}

.circle1 { width: 180px; height: 180px; top: 10%; left: 5%; }
.circle2 { width: 120px; height: 120px; top: 40%; left: 15%; animation-delay: 1s !important; }
.circle3 { width: 90px; height: 90px; top: 70%; left: 10%; animation-delay: 2s !important; }
.circle4 { width: 150px; height: 150px; top: 20%; left: 25%; animation-delay: 3s !important; }
.circle5 { width: 80px; height: 80px; top: 80%; left: 20%; animation-delay: 4s !important; }
.circle6 { width: 110px; height: 110px; top: 50%; left: 30%; animation-delay: 5s !important; }

.glow {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
    animation: pulse 6s ease-in-out infinite !important;
}

.glow1 { width: 300px; height: 300px; top: 15%; left: 10%; animation-delay: 0s !important; }
.glow2 { width: 400px; height: 400px; top: 60%; left: 20%; animation-delay: 2s !important; }

.line {
    position: absolute;
    background: rgba(255,255,255,0.1);
    transform-origin: left center;
    animation: rotate 15s linear infinite !important;
}

.line1 { width: 200px; height: 2px; top: 30%; left: 5%; animation-delay: 0s !important; }
.line2 { width: 150px; height: 2px; top: 70%; left: 25%; animation-delay: 3s !important; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-40px) rotate(10deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.6; }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========== 左侧文字区域 ========== */
#left-content {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: absolute !important;
    left: 200px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 9999 !important;
    color: white !important;
    width: 550px !important;
    height: auto !important;
    animation: none !important;
    transition: none !important;
}

.left-title {
    font-size: 58px;
    font-weight: 900;
    margin-bottom: 35px;
    line-height: 1.2;
    color: #ffffff !important;
    text-shadow: 
        0 2px 15px rgba(0,0,0,0.4),
        0 0 25px rgba(255,255,255,0.3),
        0 0 10px rgba(255,255,255,0.5);
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #ffffff !important;
    background-clip: unset !important;
    animation: none !important;
}

.feature-list {
    list-style: none;
    margin-bottom: 40px;
    animation: none !important;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 22px;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.5px;
    animation: none !important;
    text-shadow: 0 1px 5px rgba(0,0,0,0.2);
}

.feature-item i {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 18px;
    font-size: 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.25), rgba(255,255,255,0.1));
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.3);
    animation: none !important;
}

.feature-text {
    position: relative;
    padding-bottom: 2px;
}

.feature-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #a78bfa, #c4b5fd);
    transition: width 0.3s ease;
}

.feature-item:hover .feature-text::after {
    width: 100%;
}

/* ========== 右侧登录框 ========== */
.login-container {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    min-height: 100vh !important;
    padding: 0 150px 0 0 !important;
    position: relative !important;
    z-index: 10 !important;
}

.login-form {
    width: 420px;
    padding: 45px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    animation: loginSlideIn 1s ease forwards !important;
    opacity: 0;
}

@keyframes loginSlideIn {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.login-header h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #2d3748;
    letter-spacing: 0.8px;
}

.login-header p {
    text-align: center;
    color: #718096;
    margin-bottom: 35px;
    font-size: 16px;
    letter-spacing: 0.3px;
}

/* ========== 登录表单 ========== */
.login-form .form-group {
    margin-bottom: 28px;
}

.login-form .form-group label {
    display: block;
    margin-bottom: 10px;
    color: #4a5568;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.2px;
}

.login-form .form-control {
    width: 100%;
    padding: 16px 20px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.3s ease;
}

.login-form .form-control:focus {
    outline: none;
    border-color: #805ad5;
    box-shadow: 0 0 0 4px rgba(128, 90, 213, 0.1);
}

.login-form .btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.login-form .btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.6s ease;
}

.login-form .btn:hover {
    background: linear-gradient(90deg, #5a6edb, #6b419a);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102,126,234,0.4);
}

.login-form .btn:hover::after {
    left: 100%;
}

#loginMessage {
    padding: 15px 20px;
    margin-bottom: 25px;
    border-radius: 10px;
    display: none;
    font-size: 15px;
    font-weight: 500;
}

.message-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.message-success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

/* ========== 响应式 ========== */
@media (max-width: 1200px) {
    #left-content, #bg-effects {
        display: none !important;
    }
    .login-container {
        justify-content: center !important;
        padding: 0 20px !important;
    }
}

@media (max-width: 480px) {
    .login-form {
        width: 100%;
        padding: 35px 25px;
    }
    .login-header h2 {
        font-size: 28px;
    }
}
