/* 登录页面样式 */
body.login-page {
    background: linear-gradient(135deg, var(--government-blue) 0%, var(--government-accent) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    width: 100%;
    max-width: 460px;
    animation: fadeIn 0.5s ease;
}

.login-header {
    background: var(--primary-color);
    color: white;
    padding: 25px;
    text-align: center;
}

.login-header .logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    gap: 15px;
}

.login-header .logo,
.login-header .logo2 {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.login-header h2 {
    margin: 0;
    font-weight: 600;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: white;
}

.login-header h2 i {
    font-size: 1.3em;
}

.login-header p {
    margin: 8px 0 0 0;
    opacity: 0.9;
    font-size: 0.9rem;
    color: var(--light-text);
}

.login-body {
    padding: 30px;
}

.input-with-icon {
    position: relative;
    margin-bottom: 20px;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 1.1em;
}

.input-with-icon input {
    padding-left: 45px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 12px 15px 12px 45px;
    font-size: 0.95rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.input-with-icon input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.captcha-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.captcha-input {
    flex: 1;
    position: relative;
}

.captcha-input i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 1.1em;
}

.captcha-input input {
    padding-left: 45px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 14px 15px 14px 45px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    width: 100%;
    background-color: #f8fafc;
}

.captcha-input input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
    background-color: white;
}

.captcha-display {
    width: 100px;
    height: 48px;
    background: linear-gradient(45deg, var(--primary-color), var(--government-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: white;
    user-select: none;
    cursor: pointer;
    font-family: 'Courier New', monospace;
}

.refresh-captcha {
    color: var(--primary-color);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 5px;
    border-radius: 4px;
    transition: color 0.3s;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
}

.refresh-captcha:hover {
    color: var(--secondary-color);
    background: rgba(52, 152, 219, 0.1);
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.forgot-password:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.btn-login {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    border-radius: 6px;
    padding: 12px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 5px;
    color: white;
}

.btn-login:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
    color: var(--light-text);
}

.login-footer {
    padding: 20px 35px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    border-top: 1px solid var(--border-color);
}
