/* 登录页面样式 - 暗色高级感 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    background: #0f172a;
    background-image:
        radial-gradient(ellipse 80% 60% at 50% 50%, rgba(99,102,241,0.12) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 20% 80%, rgba(192,132,252,0.08) 0%, transparent 50%),
        radial-gradient(ellipse 40% 30% at 80% 20%, rgba(96,165,250,0.06) 0%, transparent 50%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* 背景装饰 - 微光粒子 */
.background-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.3);
    filter: blur(1px);
    animation: float 15s infinite ease-in-out;
}

.circle-1 {
    width: 4px;
    height: 4px;
    left: 15%;
    top: 20%;
    animation-duration: 18s;
    animation-delay: 0s;
}

.circle-2 {
    width: 3px;
    height: 3px;
    left: 70%;
    top: 60%;
    background: rgba(192, 132, 252, 0.3);
    animation-duration: 22s;
    animation-delay: 4s;
}

.circle-3 {
    width: 5px;
    height: 5px;
    left: 40%;
    top: 80%;
    background: rgba(96, 165, 250, 0.25);
    animation-duration: 20s;
    animation-delay: 8s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.4;
    }
    25% {
        transform: translateY(-80px) translateX(30px);
        opacity: 1;
    }
    50% {
        transform: translateY(-40px) translateX(-20px);
        opacity: 0.6;
    }
    75% {
        transform: translateY(-100px) translateX(15px);
        opacity: 0.9;
    }
}

/* 登录容器 */
.login-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
    padding: 20px;
}

.login-box {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(24px);
    border-radius: 20px;
    padding: 48px 40px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    animation: slideUp 0.6s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 登录头部 */
.login-header {
    text-align: center;
    margin-bottom: 36px;
}

.login-header i {
    font-size: 48px;
    background: linear-gradient(135deg, #6366f1, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    display: inline-block;
}

.login-header h1 {
    font-size: 24px;
    color: #e2e8f0;
    margin-bottom: 8px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.login-header p {
    color: #64748b;
    font-size: 14px;
}

/* 登录表单 */
.login-form {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group label i {
    color: #6366f1;
    font-size: 13px;
}

.form-group input[type="text"],
.form-group input[type="password"] {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    font-size: 15px;
    background: rgba(15, 23, 42, 0.6);
    color: #e2e8f0;
    transition: all 0.3s;
}

.form-group input::placeholder {
    color: #475569;
}

.form-group input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
    background: rgba(15, 23, 42, 0.8);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #64748b;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #6366f1;
}

/* 登录按钮 */
.btn-login {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #6366f1 0%, #818cf8 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    letter-spacing: 0.3px;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.btn-login:active {
    transform: translateY(0);
}

.btn-login:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* 登录页脚 */
.login-footer {
    text-align: center;
    margin-top: 28px;
}

.tip {
    font-size: 13px;
    color: #64748b;
    background: rgba(99, 102, 241, 0.08);
    padding: 10px 14px;
    border-radius: 8px;
    border-left: 3px solid rgba(99, 102, 241, 0.4);
}

/* 加载动画 */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .login-box {
        padding: 36px 24px;
    }
    
    .login-header h1 {
        font-size: 22px;
    }
    
    .login-header i {
        font-size: 40px;
    }
}

