/* 登录页面样式 - 提取自 login.php */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
/* 粒子背景 */
.particles {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow: hidden;
    z-index: 0;
}
.particle {
    position: absolute;
    background: rgba(102, 126, 234, 0.3);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.3; }
    50% { transform: translateY(-100px) rotate(180deg); opacity: 0.6; }
}
.login-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 50px 40px;
    width: 400px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
    z-index: 1;
    animation: slideUp 0.6s ease-out;
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.logo {
    text-align: center;
    margin-bottom: 30px;
}
.logo-icon {
    font-size: 48px;
    margin-bottom: 10px;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}
.logo h1 {
    color: white;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 5px;
}
.logo p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    font-weight: 500;
}
.form-group input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    color: white;
    font-size: 15px;
    transition: all 0.3s;
}
.form-group input:focus {
    outline: none;
    border-color: rgba(102, 126, 234, 0.8);
    background: rgba(255,255,255,0.15);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
}
.form-group input::placeholder {
    color: rgba(255,255,255,0.4);
}
.btn-login {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}
.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.5);
}
.btn-login:active {
    transform: translateY(0);
}
.alert {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}
.alert-error {
    background: rgba(231, 76, 60, 0.2);
    color: #ff6b6b;
    border: 1px solid rgba(231, 76, 60, 0.3);
}
.back-link {
    text-align: center;
    margin-top: 20px;
}
.back-link a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}
.back-link a:hover {
    color: white;
}
