* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
body.login-page {
    background-image: url('../images/login-bg.jpg');
    background-size: cover; background-position: center;
    background-repeat: no-repeat; background-attachment: fixed;
    min-height: 100vh; display: flex; align-items: center;
    justify-content: center; position: relative;
}
body.login-page::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4); z-index: 1;
}
.login-form {
    max-width: 400px; margin: 20px auto; padding: 30px;
    background: rgba(255,255,255,0.65); border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3); position: relative; z-index: 2;
    backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.5);
}
.login-header {
    display: flex; align-items: center; justify-content: center;
    gap: 8px; margin-bottom: 25px; text-align: center; flex-wrap: wrap;
}
.logo-container { display: flex; align-items: center; gap: 8px; }
.logo-container img { height: 32px; width: auto; }
.login-title { color: #1e88e5; font-size: 1.2rem; margin: 0; text-shadow: 0 1px 2px rgba(0,0,0,0.1); }
.form-group { margin-bottom: 18px; }
.form-label { display: block; margin-bottom: 6px; font-weight: 500; color: #333; font-size: 0.9rem; }
.form-input {
    width: 100%; padding: 12px 15px; border: 1px solid rgba(221,221,221,0.7);
    border-radius: 8px; font-size: 0.9rem; height: 45px; transition: all 0.3s;
    background: rgba(255,255,255,0.9);
}
.form-input:focus {
    border-color: #1e88e5; box-shadow: 0 0 0 2px rgba(30,136,229,0.2);
    outline: none; background: white;
}
.login-btn {
    width: 100%; padding: 12px; background: #1e88e5; color: white;
    border: none; border-radius: 8px; cursor: pointer; font-size: 0.9rem;
    height: 45px; font-weight: 600; transition: all 0.3s; margin-top: 10px;
}
.login-btn:hover {
    background: #1976d2; transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.login-btn:active { transform: translateY(0); }
.login-copyright {
    position: fixed; bottom: 0; left: 0; right: 0; text-align: center;
    color: rgba(255,255,255,0.8); font-size: 0.9rem; margin: 0; padding: 12px 0;
    z-index: 2; background: rgba(0,0,0,0.3); backdrop-filter: blur(5px);
}

/* 滑块拼图验证码 */
.slider-captcha-container { width: 300px; margin: 0 auto; user-select: none; }
.slider-bg-wrapper {
    position: relative; width: 300px; height: 150px; border: 1px solid #ccc;
    overflow: hidden; background: #ddd; margin-bottom: 8px;
}
.slider-bg-img { width: 100%; height: 100%; background-size: cover; background-position: center; }
.slider-puzzle-piece {
    position: absolute; left: 0; top: 0; width: 50px; height: 50px;
    border: 1px solid #666; pointer-events: none;
}
.slider-track-bar {
    position: relative; width: 300px; height: 40px; background: #f0f0f0;
    border: 1px solid #ccc; border-radius: 20px; margin: 0 auto; overflow: hidden;
}
.slider-progress-fill {
    position: absolute; top: 0; left: 0; height: 100%; width: 0;
    background: rgba(30,136,229,0.15); border-radius: 20px; z-index: 1;
}
.slider-track-text {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: #888; font-size: 0.85rem; pointer-events: none; z-index: 0;
}
.slider-handle {
    position: absolute; top: 0; left: 0; width: 40px; height: 40px;
    background: transparent; border: none; display: flex; align-items: center;
    justify-content: center; cursor: grab; z-index: 10;
}
.slider-handle:active { cursor: grabbing; }
.handle-icon { width: 100%; height: 100%; object-fit: contain; display: block; }

@media (max-width: 768px) {
    body.login-page { padding: 20px; align-items: flex-start; }
    .login-form { margin-top: 40px; width: 100%; max-width: 100%; background: rgba(255,255,255,0.9); }
    .login-copyright { font-size: 0.8rem; padding: 10px 0; }
    .slider-captcha-container { width: 100%; }
    .slider-bg-wrapper, .slider-track-bar { width: 100%; }
}
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.modal.show {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    background: white;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transform: translateY(-20px);
    transition: transform 0.3s;
}
.modal.show .modal-content {
    transform: translateY(0);
}
.modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #777;
}