/* ======== 无渐变 · 高级治愈版 ========= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    background: #f7f9fc; /* 极浅干净背景 */
    color: #2d3748;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部：磨砂玻璃 + 淡阴影，无渐变 */
.site-header {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    padding: 18px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-radius: 0 0 24px 24px;
    margin-bottom: 40px;
    position: sticky;
    top: 0;
    z-index: 999;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 600;
    color: #4a90e2;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: #4a90e2;
}

.nav-menu a {
    color: #4b5563;
    text-decoration: none;
    margin-left: 28px;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #4a90e2;
}

/* 内容区 */
.main-content {
    min-height: calc(100vh - 200px);
}

/* 卡片：高级感核心！无渐变，纯白+淡阴影 */
.card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    padding: 40px 35px;
    margin: 30px auto;
    max-width: 460px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.card-title {
    text-align: center;
    margin-bottom: 28px;
    color: #2d3748;
    font-size: 24px;
    font-weight: 600;
}

/* 表单 */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #4b5563;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    font-size: 16px;
    background: #fafbfc;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #4a90e2;
    background: #ffffff;
}

/* 按钮：纯色更高级 */
.btn {
    display: inline-block;
    padding: 14px 25px;
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: #4a90e2;
    color: white;
    width: 100%;
}

.btn-primary:hover {
    background: #357abd;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(74, 144, 226, 0.2);
}

/* 底部 */
.site-footer {
    background: rgba(255,255,255,0.7);
    color: #6b7280;
    text-align: center;
    padding: 26px 0;
    border-radius: 24px 24px 0 0;
    margin-top: 40px;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.04);
}

#captcha-img {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}
/* ===== 登录/注册页 左右分栏布局（校企桥风格适配） ===== */
.login-page-container {
    display: flex;
    min-height: 70vh;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    max-width: 1100px;
    margin: 0 auto;
}

/* 左侧品牌插画区 */
.login-brand-section {
    width: 50%;
    background: linear-gradient(135deg, #e8f4f8, #f0f9fc);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.brand-logo {
    font-size: 32px;
    font-weight: 700;
    color: #4a90e2;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.brand-logo i {
    color: #4a90e2;
    animation: heartbeat 1.8s infinite;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    15% { transform: scale(1.12); }
    30% { transform: scale(1); }
    45% { transform: scale(1.12); }
    60% { transform: scale(1); }
    100% { transform: scale(1); }
}

.brand-slogan {
    text-align: center;
    color: #717a8f;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.brand-illustration {
    width: 80%;
    max-width: 380px;
}

/* 右侧表单区 */
.login-form-section {
    width: 50%;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
}

.form-wrapper {
    max-width: 360px;
    margin: 0 auto;
    width: 100%;
}

.form-title {
    color: #2d3445;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-subtitle {
    color: #717a8f;
    font-size: 15px;
    margin-bottom: 30px;
}

/* 响应式适配（手机端自动上下分栏） */
@media (max-width: 900px) {
    .login-page-container {
        flex-direction: column;
    }
    .login-brand-section, .login-form-section {
        width: 100% !important;
    }
    .login-brand-section {
        padding: 30px 20px !important;
    }
    .login-form-section {
        padding: 40px 30px !important;
    }
}

/* 统一表单输入框聚焦样式 */
.form-input:focus {
    outline: none;
    border-color: #4a90e2;
    background: #ffffff;
}