/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

a {
    text-decoration: none;
    color: #333;
}

a:hover {
    color: #e91e63;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
.header {
    background-color: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 77px;
    width: auto;
}

/* Logo占位符 */
.logo-placeholder {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e91e63 0%, #d81b60 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.3);
}

.logo-icon {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
}

.site-title h1 {
    font-size: 24px;
    color: #e91e63;
    margin-bottom: 5px;
}

.site-title p {
    font-size: 12px;
    color: #666;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-menu a {
    color: #0066cc;
    font-size: 13px;
}

.user-menu span {
    color: #999;
}

/* 导航栏样式 */
.main-nav {
    background: linear-gradient(to right, #e91e63, #d81b60);
    margin-bottom: 20px;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-list li a {
    display: block;
    padding: 15px 30px;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.nav-list li a:hover,
.nav-list li a.active {
    background-color: rgba(255, 255, 255, 0.2);
}

/* 主内容区域 */
.main-content {
    padding: 20px 0;
}

.content-wrapper {
    display: flex;
    gap: 30px;
}

.left-content {
    flex: 1;
}

.sidebar {
    width: 300px;
}

/* Banner区域 */
.banner {
    position: relative;
    background: linear-gradient(135deg, #006666 0%, #004d4d 100%);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    min-height: 300px;
}

.banner img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.8;
}

/* Banner背景占位符 */
.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #006666 0%, #004d4d 100%);
    opacity: 0.9;
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 50px;
    transform: translateY(-50%);
    color: #fff;
    z-index: 2;
}

.banner-text h2 {
    font-size: 32px;
    margin-bottom: 5px;
    font-weight: 500;
}

.banner-text .subtitle {
    font-size: 16px;
    margin-bottom: 20px;
    opacity: 0.9;
    font-style: italic;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 8px 0;
    font-size: 14px;
    position: relative;
    padding-left: 20px;
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #fff;
}

/* 最新通知区域 */
.news-section {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.section-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e91e63;
    font-weight: 500;
}

.news-list {
    list-style: none;
}

.news-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.news-list li:last-child {
    border-bottom: none;
}

.news-list a {
    flex: 1;
    color: #333;
    transition: color 0.3s;
}

.news-list a:hover {
    color: #e91e63;
}

.news-list .date {
    color: #999;
    font-size: 13px;
    margin-left: 15px;
}

.more-link {
    display: inline-block;
    margin-top: 15px;
    color: #0066cc;
    font-size: 13px;
}

/* 侧边栏样式 */
.register-box {
    background: #fff;
    padding: 30px 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.btn-register {
    display: block;
    background: linear-gradient(to right, #e91e63, #d81b60);
    color: #fff;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.4);
    color: #fff;
}

.register-desc {
    color: #666;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.login-links {
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.login-links span {
    color: #666;
    margin-right: 8px;
}

.login-links a {
    color: #0066cc;
    margin: 0 5px;
}

/* 用户信息卡片（已登录状态） */
.user-info-box {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.user-welcome {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.welcome-avatar {
    flex-shrink: 0;
}

.welcome-avatar-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f0f0f0;
}

.welcome-avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #999;
}

.welcome-info {
    flex: 1;
    min-width: 0;
}

.welcome-name {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin: 0 0 5px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.welcome-company {
    font-size: 13px;
    color: #666;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-ucenter,
.btn-logout {
    display: block;
    text-align: center;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-ucenter {
    background: linear-gradient(to right, #e91e63, #d81b60);
    color: #fff;
}

.btn-ucenter:hover {
    background: linear-gradient(to right, #d81b60, #c2185b);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

.btn-logout {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #e0e0e0;
}

.btn-logout:hover {
    background: #fff;
    color: #e91e63;
    border-color: #e91e63;
}

/* 功能菜单 */
.function-menu {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 18px 25px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:hover {
    background-color: #f9f9f9;
}

.menu-item img {
    width: 40px;
    height: 40px;
    margin-right: 15px;
}

/* 图标占位符 */
.icon-placeholder {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border-radius: 8px;
    pointer-events: none;
}

.menu-item span {
    font-size: 14px;
    color: #333;
    pointer-events: none;
}

/* 页脚样式 */
.footer {
    background-color: #f5f5f5;
    padding: 30px 0;
    margin-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content {
    flex: 1;
}

.copyright {
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}

.copyright a {
    color: #0066cc;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo span {
    font-size: 12px;
    color: #999;
}

.footer-logo img {
    height: 30px;
    width: auto;
}

/* 页脚 Logo占位符 */
.footer-logo-placeholder {
    background: linear-gradient(135deg, #e91e63 0%, #d81b60 100%);
    color: #fff;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 12px;
}

/* ==================== 登录页面样式 ==================== */

.login-container {
    max-width: 500px;
    margin: 0 auto;
    background: #fff;
    padding: 40px 50px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.page-title {
    font-size: 28px;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e91e63;
}

/* 表单样式 */
.login-form {
    width: 100%;
}

/* 表单组 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #333;
    font-size: 14px;
    margin-bottom: 8px;
}

.form-group .required {
    color: #e91e63;
    margin-right: 3px;
}

.input-wrapper {
    width: 100%;
}

/* 输入框样式 */
.form-group input[type="text"],
.form-group input[type="password"] {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input[type="text"]:focus,
.form-group input[type="password"]:focus {
    outline: none;
    border-color: #e91e63;
}

.form-group input::placeholder {
    color: #999;
}

/* 验证码区域 */
.captcha-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

.captcha-wrapper input {
    flex: 1;
}

.captcha-box {
    position: relative;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.3s;
}

.captcha-box:hover {
    border-color: #e91e63;
}

#captchaCanvas {
    display: block;
}

#captchaImage {
    display: block;
}

.captcha-refresh {
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    font-size: 18px;
    color: #666;
    cursor: pointer;
    background: rgba(255,255,255,0.8);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.captcha-refresh:hover {
    color: #e91e63;
    background: rgba(255,255,255,0.95);
}

/* 选项区域 */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 6px;
    cursor: pointer;
    width: 16px;
    height: 16px;
}

.checkbox-label span {
    font-size: 14px;
    color: #333;
}

.forgot-link {
    font-size: 13px;
    color: #0066cc;
}

.forgot-link:hover {
    color: #e91e63;
    text-decoration: underline;
}

/* 按钮区域 */
.form-actions {
    margin-bottom: 20px;
    text-align: center;
}

.btn-submit {
    padding: 12px 60px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    background: linear-gradient(to right, #e91e63, #d81b60);
    color: #fff;
    display: inline-block;
    text-decoration: none;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.4);
    color: #fff;
}

.btn-submit:active {
    transform: translateY(0);
}

/* 页脚链接 */
.form-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.form-footer span {
    color: #666;
    font-size: 14px;
    margin-right: 8px;
}

.register-link {
    color: #e91e63;
    font-size: 14px;
    font-weight: 500;
}

.register-link:hover {
    text-decoration: underline;
}

/* 错误提示样式 */
.form-group input.error {
    border-color: #f44336;
}

.error-message {
    color: #f44336;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.success-message {
    color: #4caf50;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

/* ==================== 注册页面样式 ==================== */

.register-container {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

/* 表单区块 */
.form-section {
    margin-bottom: 30px;
    padding: 25px;
    background: #fafafa;
    border-radius: 6px;
}

.section-title {
    font-size: 18px;
    color: #e91e63;
    margin-bottom: 20px;
    font-weight: 500;
}

/* 注册页面表单组样式（覆盖登录页面样式）*/
.register-container .form-group {
    display: flex;
    margin-bottom: 20px;
    align-items: center;
}

.register-container .form-group:last-child {
    margin-bottom: 0;
}

.register-container .form-group > label {
    min-width: 120px;
    padding-top: 0;
    color: #333;
    font-size: 14px;
    text-align: right;
    padding-right: 15px;
}

.register-container .form-group .required {
    color: #e91e63;
    margin-right: 3px;
}

.register-container .input-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* 输入框样式 */
.register-container .form-group input[type="text"],
.register-container .form-group input[type="password"],
.register-container .form-group input[type="tel"],
.register-container .form-group select,
.register-container .form-group textarea {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
    max-width: 400px;
}

.register-container .form-group input[type="text"]:focus,
.register-container .form-group input[type="password"]:focus,
.register-container .form-group input[type="tel"]:focus,
.register-container .form-group select:focus,
.register-container .form-group textarea:focus {
    outline: none;
    border-color: #e91e63;
}

.register-container .form-group .input-long {
    max-width: 600px;
}

.register-container .form-group textarea {
    max-width: 600px;
    resize: vertical;
}

.register-container .form-group select {
    cursor: pointer;
}

/* 提示文字 */
.hint {
    color: #999;
    font-size: 12px;
    line-height: 1.5;
}

/* 单选框样式 */
.radio-label {
    display: inline-flex;
    align-items: center;
    margin-right: 30px;
    cursor: pointer;
}

.radio-label input[type="radio"] {
    margin-right: 6px;
    cursor: pointer;
}

.radio-label span {
    font-size: 14px;
    color: #333;
}

/* 提示信息 */
.form-tip {
    background: #e3f2fd;
    padding: 12px 15px;
    border-radius: 4px;
    color: #1976d2;
    font-size: 13px;
    line-height: 1.6;
    margin: 15px 0;
    border-left: 3px solid #2196f3;
}

.form-warning {
    background: #fff3e0;
    padding: 12px 15px;
    border-radius: 4px;
    color: #e65100;
    font-size: 13px;
    line-height: 1.6;
    margin: 15px 0;
    border-left: 3px solid #ff9800;
}

.form-warning strong {
    color: #d84315;
}

/* 条款区域 */
.terms-group {
    justify-content: center;
    margin: 20px 0;
}

.terms-group label {
    min-width: auto;
    padding: 0;
    text-align: left;
}

.terms-link {
    color: #0066cc;
    text-decoration: underline;
}

.terms-link:hover {
    color: #e91e63;
}

/* 条款复选框与链接的横向布局 */
.terms-inline {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.terms-inline .checkbox-label {
    display: inline-flex;
    align-items: baseline;
}

.terms-inline .checkbox-label input[type="checkbox"] {
    vertical-align: baseline;
    position: relative;
    top: 2px;
}

.terms-inline .checkbox-label span {
    line-height: 1;
    font-size: 14px;
}

.terms-inline .terms-link {
    line-height: 1;
    font-size: 14px;
    vertical-align: baseline;
}

/* 确保条款区域的input-wrapper不使用column布局 */
.register-container .form-group .input-wrapper .terms-inline {
    flex-direction: row;
}

/* 注册页面单选按钮组对齐修正 */
.register-container .radio-group {
    padding-top: 0;
    align-items: center;
    margin-top: -7px;
}

/* 修正.radio-group内部label样式，防止被通用样式影响 */
.register-container .radio-group label {
    display: inline-flex;
    margin-bottom: 0;
}

/* 注册页面单选按钮组容器使用行布局 */
.register-container .form-group:has(.radio-group) {
    align-items: center;
}

.register-container .form-group:has(.radio-group) > label {
    align-self: center;
}

.register-container .form-group .input-wrapper:has(.radio-group) {
    flex-direction: row;
    align-items: center;
}

/* 注册页面按钮区域 */
.register-container .form-actions {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

/* 注册页面表单验证错误样式 */
.register-container .form-group input.error,
.register-container .form-group select.error,
.register-container .form-group textarea.error {
    border-color: #f44336;
}

.register-container .error-message {
    color: #f44336;
    font-size: 12px;
    margin-top: 5px;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    overflow: auto;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fff;
    margin: auto;
    padding: 0;
    border-radius: 8px;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 20px;
    color: #333;
}

.modal-close {
    color: #999;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #e91e63;
}

.modal-body {
    padding: 25px;
    overflow-y: auto;
    flex: 1;
}

.modal-body h4 {
    color: #e91e63;
    font-size: 16px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.modal-body h4:first-child {
    margin-top: 0;
}

.modal-body p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.modal-footer {
    padding: 15px 25px;
    border-top: 1px solid #e0e0e0;
    text-align: right;
}

.btn-modal-close {
    padding: 10px 30px;
    background: linear-gradient(to right, #e91e63, #d81b60);
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-modal-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(233, 30, 99, 0.3);
}

/* ==================== 用户中心页面样式 ==================== */

/* 面包屑导航 */
.breadcrumb {
    background-color: #fff;
    padding: 10px 0;
    font-size: 13px;
    color: #666;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumb a {
    color: #0066cc;
}

/* 用户中心主容器 */
.ucenter-wrapper {
    display: flex;
    gap: 30px;
    margin-top: 0;
}

/* 左侧菜单 */
.left-menu {
    width: 250px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.menu-list {
    list-style: none;
}

.menu-link {
    display: flex;
    align-items: center;
    padding: 18px 25px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s;
    color: #333;
    text-decoration: none;
}

.menu-link:last-child {
    border-bottom: none;
}

.menu-link:hover,
.menu-link.active {
    background-color: #f9f9f9;
    color: #e91e63;
}

.menu-icon {
    font-size: 18px;
    margin-right: 15px;
    width: 24px;
    text-align: center;
}

.menu-text {
    font-size: 15px;
}

/* 右侧内容区域 */
.right-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* 卡片通用样式 */
.user-info-card,
.notice-card,
.friends-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.card-title {
    font-size: 20px;
    color: #333;
    padding: 20px 25px;
    margin: 0;
    border-bottom: 2px solid #e91e63;
    font-weight: 500;
}

/* 用户信息卡片 */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #f0f0f0;
}

.card-actions {
    display: flex;
    gap: 15px;
}

.action-link {
    color: #0066cc;
    font-size: 13px;
    text-decoration: none;
}

.action-link:hover {
    text-decoration: underline;
}

.card-body {
    padding: 25px;
}

/* 用户资料 */
.user-profile {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

/* 用户头像 */
.user-avatar {
    flex-shrink: 0;
}

.avatar-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #999;
}

.avatar-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 2px solid #f0f0f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 用户详情 */
.user-details {
    flex: 1;
}

.user-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.user-name {
    font-size: 24px;
    color: #333;
    margin: 0;
    font-weight: 500;
}

.edit-profile-link {
    color: #0066cc;
    font-size: 13px;
    text-decoration: none;
}

.edit-profile-link:hover {
    text-decoration: underline;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.info-item {
    display: flex;
}

.info-item label {
    font-weight: 500;
    color: #666;
    margin-right: 10px;
    white-space: nowrap;
}

.info-item span {
    color: #333;
}

/* 消息中心 */
.message-center {
    margin-bottom: 30px;
}

.section-subtitle {
    font-size: 18px;
    color: #333;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 500;
}

.message-stats {
    display: flex;
    gap: 30px;
}

.stat-item {
    display: flex;
}

.stat-item label {
    font-weight: 500;
    color: #666;
    margin-right: 10px;
}

.stat-item span {
    color: #333;
}

/* 最新话题 */
.topic-list {
    list-style: none;
}

.topic-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.topic-item:last-child {
    border-bottom: none;
}

.topic-author {
    color: #0066cc;
    text-decoration: none;
    margin-right: 10px;
    font-size: 13px;
}

.topic-author:hover {
    text-decoration: underline;
}

.topic-title {
    flex: 1;
    color: #333;
    font-size: 13px;
}

.topic-date {
    color: #999;
    font-size: 12px;
    margin-left: 15px;
    white-space: nowrap;
}

.topic-more {
    color: #0066cc;
    text-decoration: none;
    font-size: 13px;
    margin-left: 10px;
}

.topic-more:hover {
    text-decoration: underline;
}

/* 最新通知列表 */
.notice-list {
    list-style: none;
    padding: 20px 25px;
}

.notice-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.notice-item:last-child {
    border-bottom: none;
}

.notice-title {
    flex: 1;
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.notice-title:hover {
    color: #e91e63;
}

.notice-date {
    color: #999;
    font-size: 13px;
    margin-left: 15px;
}

/* 我的好友 */
.friends-empty {
    padding: 50px 25px;
    text-align: center;
    color: #999;
}

/* ==================== 个人资料修改页面样式 ==================== */

/* 头像上传区域 */
.avatar-upload-section {
    display: flex;
    gap: 30px;
    padding: 25px;
    background-color: #fffbea;
    border-radius: 6px;
    margin-bottom: 20px;
    align-items: flex-start;
}

/* 头像预览 */
.avatar-preview {
    flex-shrink: 0;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s;
}

.avatar-preview:hover {
    transform: scale(1.02);
}

.avatar-img {
    width: 200px;
    height: 200px;
    border: 2px solid #e0e0e0;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 4px;
    transition: border-color 0.3s;
}

.avatar-preview:hover .avatar-img {
    border-color: #e91e63;
}

.avatar-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-icon {
    font-size: 80px;
    color: #ccc;
}

/* 头像悬停遮罩 */
.avatar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 4px;
}

.avatar-preview:hover .avatar-overlay {
    opacity: 1;
}

.upload-icon {
    font-size: 50px;
    margin-bottom: 10px;
}

.upload-text {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

/* 头像上传控件 */
.avatar-upload-control {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.upload-title {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 15px;
}

/* 隐藏文件输入框 */
.file-input {
    display: none;
}

/* 上传提示 */
.upload-tip {
    background-color: #fff;
    padding: 12px 15px;
    border-left: 3px solid #ff9800;
    color: #666;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 15px;
    border-radius: 0 4px 4px 0;
}

/* 上传状态 */
.upload-status {
    font-size: 14px;
    min-height: 20px;
    display: flex;
    align-items: center;
}

/* 字段提示文本 */
.field-tip {
    color: #999;
    font-size: 12px;
    margin-top: 6px;
    line-height: 1.5;
}

/* ==================== 密码修改页面样式 ==================== */

/* 只读输入框样式 */
.readonly-input {
    background-color: #f5f5f5 !important;
    color: #666 !important;
    cursor: not-allowed;
    border-color: #e0e0e0 !important;
}

.readonly-input:focus {
    outline: none;
    box-shadow: none;
}

/* 密码输入框样式 - 与其他输入框保持一致 */
.form-field input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: "Microsoft YaHei", Arial, sans-serif;
    transition: border-color 0.3s;
}

.form-field input[type="password"]:focus {
    outline: none;
    border-color: #e91e63;
}

.form-field input[type="password"]::placeholder {
    color: #999;
}

/* ==================== 证书申请页面样式 ==================== */

/* 表单卡片 */
.form-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.form-header {
    padding: 20px 25px;
    border-bottom: 2px solid #e91e63;
}

.form-header h3 {
    font-size: 20px;
    color: #333;
    margin: 0;
    font-weight: 500;
}

.form-body {
    padding: 25px;
}

/* 证书申请表单组 */
.form-card .form-group {
    display: flex;
    gap: 30px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.form-card .form-group:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.form-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* 只读字段（无输入框）横向排列 */
.form-field.readonly {
    flex-direction: row;
    align-items: center;
}

.form-field.readonly label {
    margin-bottom: 0;
    margin-right: 10px;
}

.form-field.full-width {
    flex: 1 1 100%;
}

.form-field label {
    font-weight: 500;
    color: #666;
    margin-bottom: 6px;
    font-size: 14px;
}

/* 状态徽章样式 */
.status-badge {
    display: inline-block;
    padding: 4px 12px;
    background-color: #fff3e0;
    color: #f57c00;
    border-radius: 4px;
    font-size: 13px;
}

.form-field input[type="text"],
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: "Microsoft YaHei", Arial, sans-serif;
    transition: border-color 0.3s;
}

.form-field input[type="text"]:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #e91e63;
}

.form-field textarea {
    min-height: 120px;
    resize: vertical;
}

/* 单选按钮组 */
.radio-group {
    display: flex;
    gap: 20px;
    padding-top: 8px;
    flex-wrap: wrap;
}

.radio-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #333;
    font-weight: normal;
    margin-bottom: 0;
}

.radio-group input[type="radio"] {
    margin-right: 6px;
    cursor: pointer;
}

/* 表单提交区域 */
.form-card .form-actions {
    text-align: center;
    padding: 20px 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* 次要按钮样式（灰色） */
.btn-secondary {
    padding: 12px 60px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    background: #f5f5f5;
    color: #666;
    display: inline-block;
    text-decoration: none;
}

.btn-secondary:hover {
    background: #e0e0e0;
    border-color: #bbb;
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-secondary:active {
    transform: translateY(0);
}

.remark-text {
    color: #999;
    font-size: 13px;
    margin-top: 15px;
}

/* 备注错误提示文本 */
.remark-error {
    color: #e74c3c;
    font-size: 14px;
    font-weight: 500;
}

/* ==================== 证书列表页面样式 ==================== */

/* 列表卡片 */
.list-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 2px solid #e91e63;
}

.list-header h3 {
    font-size: 20px;
    color: #333;
    margin: 0;
    font-weight: 500;
}

.header-actions {
    display: flex;
    gap: 10px;
}

.btn-add {
    background: linear-gradient(to right, #e91e63, #d81b60);
    color: #fff;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-add:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(233, 30, 99, 0.3);
    color: #fff;
}

.list-body {
    padding: 25px;
}

/* 表格样式 */
.table-wrapper {
    overflow-x: auto;
    margin-bottom: 20px;
    -webkit-overflow-scrolling: touch;
}

.credit-table {
    width: 100%;
    min-width: 650px;
    border-collapse: collapse;
    font-size: 14px;
}

.credit-table thead {
    background-color: #f9f9f9;
}

.credit-table th {
    padding: 12px 10px;
    text-align: center;
    font-weight: 500;
    color: #666;
    border-bottom: 2px solid #e0e0e0;
    white-space: nowrap;
}

.credit-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
    text-align: center;
    white-space: nowrap;
}

.credit-table tbody tr:hover {
    background-color: #fafafa;
}

.credit-table tbody tr:last-child td {
    border-bottom: none;
}

/* 状态徽章（多状态） */
.status-active {
    background-color: #e3f2fd;
    color: #1976d2;
}

.status-old {
    background-color: #f5f5f5;
    color: #666;
}

.status-pending {
    background-color: #fff3e0;
    color: #f57c00;
}

.status-issued {
    background-color: #e8f5e9;
    color: #4caf50;
}

/* 操作按钮 */
.action-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

.credit-table .action-link {
    color: #0066cc;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.3s;
    white-space: nowrap;
    padding: 4px 8px;
}

.credit-table .action-link:hover {
    color: #004499;
    text-decoration: underline;
}

/* 分页 */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.page-link {
    display: inline-block;
    min-width: 32px;
    height: 32px;
    line-height: 32px;
    padding: 0 8px;
    text-align: center;
    color: #333;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s;
}

.page-link:hover:not(.disabled) {
    background-color: #f5f5f5;
    border-color: #e91e63;
    color: #e91e63;
}

.page-link.disabled {
    color: #ccc;
    cursor: not-allowed;
    border-color: #e0e0e0;
    background-color: #f9f9f9;
}

.page-current {
    display: inline-block;
    min-width: 32px;
    height: 32px;
    line-height: 32px;
    padding: 0 8px;
    text-align: center;
    color: #fff;
    background: #e91e63;
    border-radius: 4px;
    font-weight: 500;
}

.page-dots {
    display: inline-block;
    min-width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    color: #999;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-state-icon {
    font-size: 64px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.empty-state-text {
    font-size: 16px;
    margin-bottom: 20px;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 768px) {
    /* 头部区域响应式 */
    .header {
        padding: 15px 0;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .logo-section {
        gap: 10px;
    }
    
    .logo-placeholder {
        width: 60px;
        height: 60px;
        flex-shrink: 0;
    }
    
    .logo-icon {
        font-size: 18px;
    }
    
    .site-title h1 {
        font-size: 18px;
    }
    
    .site-title p {
        font-size: 11px;
    }
    
    .user-menu {
        width: 100%;
        flex-wrap: wrap;
        gap: 5px;
        font-size: 12px;
    }
    
    .user-menu a {
        font-size: 12px;
    }
    
    .user-menu span {
        font-size: 12px;
    }
    
    /* 主内容区域响应式 */
    .content-wrapper {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
    }
    
    /* 导航栏响应式 */
    .nav-list {
        flex-wrap: wrap;
    }
    
    .nav-list li a {
        padding: 12px 15px;
        font-size: 13px;
    }
    
    /* Banner响应式 */
    .banner-text {
        left: 20px;
    }
    
    .banner-text h2 {
        font-size: 24px;
    }
    
    /* 页脚响应式 */
    .footer .container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    /* 登录页面响应式 */
    .login-container {
        margin: 20px auto;
        padding: 30px 20px;
    }
    
    .page-title {
        font-size: 24px;
    }
    
    .captcha-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    
    .captcha-box {
        width: 100%;
    }
    
    #captchaCanvas {
        width: 100%;
    }
    
    /* 登录按钮移动端宽度 */
    .login-container .btn-submit {
        width: 100%;
    }
    
    /* 注册页面响应式 */
    .register-container {
        padding: 20px;
    }
    
    .register-container .form-group {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .register-container .form-group > label {
        min-width: auto;
        text-align: left !important;
        padding-right: 0;
        padding-bottom: 5px;
        margin-bottom: 5px;
    }
    
    .register-container .form-group input[type="text"],
    .register-container .form-group input[type="password"],
    .register-container .form-group input[type="tel"],
    .register-container .form-group select,
    .register-container .form-group textarea {
        max-width: 100%;
        width: 100%;
    }
    
    .register-container .form-group .input-long,
    .register-container .form-group textarea {
        max-width: 100%;
    }
    
    /* 移动端单选按钮组样式优化 */
    .radio-group {
        gap: 12px;
        flex-wrap: wrap;
    }
    
    /* 移动端单选按钮组表单项对齐修正 */
    .register-container .form-group:has(.radio-group) {
        align-items: flex-start;
    }
    
    .register-container .form-group:has(.radio-group) > label {
        align-self: flex-start;
    }
    
    /* 移动端条款区域修复 */
    .register-container .terms-inline {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        align-items: baseline;
    }
    
    .register-container .terms-inline .checkbox-label {
        display: inline-flex;
        align-items: baseline;
    }
    
    .register-container .terms-inline .checkbox-label input[type="checkbox"] {
        position: relative;
        top: 2px;
        margin-right: 6px;
    }
    
    .register-container .form-actions {
        flex-direction: column;
    }
    
    .register-container .btn-submit {
        width: 100%;
    }
    
    .modal-content {
        width: 95%;
    }
    
    /* 用户中心响应式 */
    .ucenter-wrapper {
        flex-direction: column;
    }
    
    .left-menu {
        width: 100%;
    }
    
    .user-profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .user-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .message-stats {
        flex-direction: column;
        gap: 10px;
    }
    
    .topic-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .notice-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .notice-date {
        margin-left: 0;
    }
    
    /* 个人资料修改响应式 */
    .avatar-upload-section {
        flex-direction: column;
        align-items: center;
    }
    
    .avatar-img {
        width: 150px;
        height: 150px;
    }
    
    .avatar-upload-control {
        width: 100%;
    }
    
    .upload-input-wrapper {
        flex-wrap: wrap;
    }
    
    .file-name {
        flex: 1 1 100%;
        margin-top: 8px;
    }
    
    /* 密码修改响应式 */
    .form-field label {
        min-width: 100px;
    }
    
    /* 证书申请响应式 */
    .form-card .form-group {
        flex-direction: column;
        gap: 0;
    }
    
    .form-field {
        margin-bottom: 15px;
    }

    /* 按钮移动端优化 */
    .form-card .form-actions {
        padding: 15px;
        gap: 10px;
    }

    .btn-submit,
    .btn-secondary {
        padding: 10px 40px;
        font-size: 15px;
        min-width: 120px;
    }
    
    /* 证书列表响应式 */
    .list-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .credit-table {
        min-width: 650px;
    }

    .credit-table th,
    .credit-table td {
        font-size: 13px;
        padding: 10px 8px;
    }

    .pagination {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    /* 考试列表响应式 */
    .exam-cards-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0;
    }
    
    .exam-card {
        padding: 15px;
        margin: 0 10px;
    }
    
    .exam-card-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .exam-title {
        font-size: 16px;
        flex-wrap: wrap;
    }
    
    .exam-status-badge {
        align-self: flex-start;
    }
    
    .exam-remark {
        font-size: 13px;
        min-height: auto;
    }
    
    .exam-time-info {
        padding: 10px;
        margin: 12px 0;
    }
    
    .exam-time-item {
        font-size: 12px;
        margin-bottom: 6px;
    }
    
    .exam-time-item .exam-info-label {
        min-width: 60px;
    }
    
    .exam-card-footer {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .exam-specs {
        flex-wrap: wrap;
        gap: 12px;
        justify-content: space-around;
    }
    
    .exam-spec-item {
        font-size: 12px;
    }
    
    .exam-action {
        width: 100%;
    }
    
    .btn-exam {
        width: 100%;
        padding: 10px 20px;
        text-align: center;
    }
    
    /* 考试详情响应式 */
    .exam-detail-container {
        padding: 20px;
    }
    
    .exam-detail-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .exam-detail-title {
        font-size: 20px;
    }
    
    .exam-detail-status {
        margin-left: 0;
    }
    
    .exam-section-title {
        font-size: 16px;
    }
    
    .exam-section-content {
        font-size: 14px;
        padding: 12px 15px;
    }
    
    .exam-info-row {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 12px 15px;
    }
    
    .exam-info-item {
        font-size: 14px;
    }
    
    .exam-info-item .exam-info-label {
        min-width: 70px;
    }
    
    .exam-info-item .exam-info-value.highlight {
        font-size: 15px;
    }
    
    .exam-detail-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn-exam-action {
        width: 100%;
        padding: 10px 30px;
        font-size: 15px;
    }
}

/* ==================== 新闻列表页面样式 ==================== */

/* 页面标题区域 */
.page-header {
    padding: 10px 0 20px 0;
    border-bottom: 2px solid #e91e63;
    margin-bottom: 15px;
}

.page-header-title {
    font-size: 24px;
    color: #333;
    margin: 0;
    font-weight: 500;
}

/* 新闻列表容器 */
.news-list-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* 新闻条目行 */
.news-item-row {
    display: flex;
    padding: 18px 25px;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
    transition: background-color 0.3s;
}

.news-item-row:last-child {
    border-bottom: none;
}

.news-item-row:hover {
    background-color: #fafafa;
}

/* 缩略图区域 */
.news-thumbnail {
    flex-shrink: 0;
    width: 120px;
    height: 90px;
}

.thumbnail-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #999;
    letter-spacing: 4px;
}

/* 新闻内容区域 */
.news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.news-title {
    font-size: 15px;
    color: #333;
    margin: 0;
    font-weight: normal;
    line-height: 1.6;
    transition: color 0.3s;
}

.news-title:hover {
    color: #e91e63;
}

/* 元数据区域 */
.news-meta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.news-datetime {
    color: #999;
    font-size: 13px;
}

/* 查看按钮 */
.btn-view {
    padding: 6px 18px;
    background-color: #f5f5f5;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s;
}

.btn-view:hover {
    background-color: #e8e8e8;
    border-color: #ccc;
    color: #333;
}

/* ==================== 新闻内容详情页样式 ==================== */

/* 详情页头部区域 */
.news-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0 20px 0;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 25px;
}

.news-detail-category {
    font-size: 24px;
    color: #333;
    margin: 0;
    font-weight: 500;
}

.btn-back {
    color: #0066cc;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
}

.btn-back:hover {
    color: #e91e63;
}

/* 详情内容容器 */
.news-detail-container {
    background: #fff;
    border-radius: 8px;
    padding: 30px 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 详情标题 */
.news-detail-title {
    font-size: 22px;
    color: #333;
    margin: 0 0 15px 0;
    font-weight: 500;
    text-align: center;
    line-height: 1.6;
}

/* 详情元信息 */
.news-detail-meta {
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.news-detail-date {
    color: #999;
    font-size: 13px;
}

/* 详情正文 */
.news-detail-content {
    color: #333;
    font-size: 14px;
    line-height: 2;
}

.news-detail-content p {
    margin: 0;
    text-indent: 2em;
    text-align: justify;
}

.news-detail-content p + p {
    margin-top: 15px;
}

/* 控制内容区域图片最大宽度 */
.news-detail-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px auto;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .news-item-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 15px 20px;
    }

    .news-content {
        width: 100%;
    }

    .news-meta {
        width: 100%;
    }
    
    .news-detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .news-detail-container {
        padding: 20px;
    }
    
    .news-detail-title {
        font-size: 18px;
    }
    
    /* 移动端消息提示框优化 */
    .message-box {
        width: calc(100% - 40px);
        max-width: calc(100% - 40px);
        margin: 0 20px;
    }
}

/* ==================== 通用消息提示对话框样式 ==================== */
.message-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.message-modal.show {
    opacity: 1;
    visibility: visible;
}

.message-modal.show .message-box {
    transform: scale(1);
}

.message-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.message-box {
    position: relative;
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    min-width: 280px;
    max-width: 500px;
    width: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s;
    text-align: center;
}

.message-content {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 25px;
    word-break: break-word;
    padding-top: 10px;
}

.message-footer {
    display: flex;
    justify-content: center;
    gap: 15px; /* 按钮间隔 */
}

.message-btn {
    background: #e91e63;
    color: #fff;
    border: none;
    padding: 10px 40px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
    min-width: 100px;
}

.message-btn:hover {
    background: #d81b60;
}

.message-btn:active {
    background: #c2185b;
}

/* 取消按钮样式 */
.message-btn-cancel {
    background: #999;
    color: #fff;
}

.message-btn-cancel:hover {
    background: #777;
}

.message-btn-cancel:active {
    background: #666;
}

/* 确认按钮样式 */
.message-btn-confirm {
    background: #e91e63;
}

/* 不同类型的按钮颜色 */
.message-box.success .message-btn-confirm {
    background: #4caf50;
}

.message-box.success .message-btn-confirm:hover {
    background: #45a049;
}

.message-box.error .message-btn-confirm {
    background: #f44336;
}

.message-box.error .message-btn-confirm:hover {
    background: #da190b;
}

.message-box.warning .message-btn-confirm {
    background: #ff9800;
}

.message-box.warning .message-btn-confirm:hover {
    background: #e68900;
}

.message-box.info .message-btn-confirm {
    background: #2196f3;
}

.message-box.info .message-btn-confirm:hover {
    background: #0b7dda;
}

/* 公司名称自动补全下拉列表样式 */
.company-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-width: 600px;
    max-height: 300px;
    overflow-y: auto;
    background-color: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.company-dropdown .dropdown-item {
    padding: 10px 12px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #333;
    transition: background-color 0.2s;
}

.company-dropdown .dropdown-item:last-child {
    border-bottom: none;
}

.company-dropdown .dropdown-item:hover {
    background-color: #f5f5f5;
    color: #e91e63;
}

.company-dropdown .dropdown-item.no-result {
    color: #999;
    cursor: default;
    text-align: center;
}

.company-dropdown .dropdown-item.no-result:hover {
    background-color: #fff;
    color: #999;
}

/* 确保工作单位输入框容器是相对定位 */
.register-container .form-group .input-wrapper {
    position: relative;
}

/* ==================== 申请成功提示弹窗样式 ==================== */
.apply-success-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.apply-success-modal.show {
    opacity: 1;
    visibility: visible;
}

.apply-success-modal.show .apply-success-box {
    transform: scale(1);
}

.apply-success-box {
    position: relative;
    background: #fff;
    border-radius: 8px;
    padding: 40px;
    min-width: 400px;
    max-width: 600px;
    width: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s;
    text-align: center;
}

.apply-success-content {
    font-size: 16px;
    color: #333;
    line-height: 1.8;
    margin-bottom: 30px;
    padding: 20px 0;
    text-align: center;
}

.apply-success-footer {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.apply-btn {
    border: none;
    padding: 12px 35px;
    border-radius: 4px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 120px;
    font-weight: 500;
}

/* 立即打印按钮 - 红色 */
.apply-btn-print {
    background: #e91e63;
    color: #fff;
}

.apply-btn-print:hover {
    background: #d81b60;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.4);
}

.apply-btn-print:active {
    background: #c2185b;
    transform: translateY(0);
}

/* 关闭按钮 - 灰色 */
.apply-btn-close {
    background: #999;
    color: #fff;
}

.apply-btn-close:hover {
    background: #777;
}

.apply-btn-close:active {
    background: #666;
}

/* ==================== 加载动画样式 ==================== */
.loading-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.loading-modal.show {
    opacity: 1;
    visibility: visible;
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
}

.loading-box {
    position: relative;
    background: #fff;
    border-radius: 8px;
    padding: 40px;
    min-width: 200px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #e91e63;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}

/* ==================== 信息提示页面样式 ==================== */
.msg-page-container {
    background: #fff;
    border-radius: 8px;
    padding: 60px 40px;
    margin: 10px auto 40px;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.msg-icon {
    width: 80px;
    height: 80px;
    line-height: 80px;
    font-size: 48px;
    border-radius: 50%;
    margin: 0 auto 30px;
    color: #fff;
    font-weight: bold;
}

.msg-icon.success {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.msg-icon.error {
    background: linear-gradient(135deg, #f44336 0%, #da190b 100%);
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.3);
}

.msg-icon.warning {
    background: linear-gradient(135deg, #ff9800 0%, #e68900 100%);
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

.msg-icon.info {
    background: linear-gradient(135deg, #2196f3 0%, #0b7dda 100%);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.msg-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.msg-content {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 40px;
    padding: 0 20px;
    max-width: 500px;
}

.msg-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.msg-link {
    display: inline-block;
    padding: 12px 40px;
    background: linear-gradient(to right, #e91e63, #d81b60);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.3);
}

.msg-link:hover {
    background: linear-gradient(to right, #d81b60, #c2185b);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.4);
    color: #fff;
}

.msg-link:active {
    transform: translateY(0);
}

.msg-countdown {
    font-size: 14px;
    color: #999;
}

.msg-countdown span {
    color: #e91e63;
    font-weight: bold;
    font-size: 16px;
}

/* ==================== 考试列表页面样式 ==================== */

/* 考试卡片容器 */
.exam-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr));
    gap: 25px;
    margin-bottom: 30px;
    justify-content: center;
}

/* 考试卡片 */
.exam-card {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border: 1px solid #f0f0f0;
}

.exam-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

/* 卡片头部 */
.exam-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f5f5f5;
}

.exam-title-area {
    flex: 1;
    min-width: 0;
}

.exam-title {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.exam-id {
    font-size: 12px;
    color: #999;
    background: #f5f5f5;
    padding: 2px 8px;
    border-radius: 3px;
}

.exam-status-badge {
    flex-shrink: 0;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.exam-status-badge.not-started {
    background: #fff3e0;
    color: #e65100;
}

.exam-status-badge.ongoing {
    background: #e8f5e9;
    color: #2e7d32;
}

.exam-status-badge.finished {
    background: #f5f5f5;
    color: #757575;
}

/* 卡片内容 */
.exam-card-body {
    margin-bottom: 20px;
}

.exam-remark {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    min-height: 44px;
}

.exam-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.exam-info-item {
    display: flex;
    align-items: center;
    font-size: 13px;
}

.exam-info-label {
    color: #999;
    margin-right: 5px;
}

.exam-info-value {
    color: #333;
    font-weight: 500;
}

.exam-info-value.highlight {
    color: #e91e63;
}

/* 时间信息特殊样式 */
.exam-time-info {
    background: #f9f9f9;
    padding: 12px;
    border-radius: 6px;
    margin: 15px 0;
}

.exam-time-item {
    display: flex;
    align-items: center;
    font-size: 13px;
    margin-bottom: 8px;
}

.exam-time-item:last-child {
    margin-bottom: 0;
}

.exam-time-item .exam-info-label {
    min-width: 70px;
}

/* 卡片底部 */
.exam-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.exam-specs {
    display: flex;
    gap: 20px;
    font-size: 13px;
}

.exam-spec-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
}

.exam-spec-label {
    color: #999;
}

.exam-spec-value {
    color: #333;
    font-weight: 500;
}

.exam-action {
    flex-shrink: 0;
}

.btn-exam {
    padding: 8px 25px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-exam-primary {
    background: linear-gradient(to right, #e91e63, #d81b60);
    color: #fff;
}

.btn-exam-primary:hover {
    background: linear-gradient(to right, #d81b60, #c2185b);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(233, 30, 99, 0.3);
}

.btn-exam-secondary {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #e0e0e0;
}

.btn-exam-secondary:hover {
    background: #fff;
    color: #e91e63;
    border-color: #e91e63;
}

/* 空状态 */
.exam-empty {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 8px;
}

.exam-empty-icon {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 15px;
}

.exam-empty-text {
    font-size: 16px;
    color: #999;
}

/* ==================== 考试详情页面样式 ==================== */

/* 考试详情容器 */
.exam-detail-container {
    background: #fff;
    border-radius: 8px;
    padding: 30px 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 详情头部 */
.exam-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.exam-detail-title {
    font-size: 24px;
    color: #333;
    margin: 0;
    font-weight: 500;
    flex: 1;
}

.exam-detail-status {
    flex-shrink: 0;
    margin-left: 20px;
}

/* 详情主体 */
.exam-detail-body {
    margin-bottom: 30px;
}

/* 考试区块 */
.exam-section {
    margin-bottom: 30px;
}

.exam-section:last-child {
    margin-bottom: 0;
}

.exam-section-title {
    font-size: 18px;
    color: #333;
    margin: 0 0 15px 0;
    padding-left: 12px;
    border-left: 4px solid #e91e63;
    font-weight: 500;
}

.exam-section-content {
    color: #666;
    font-size: 15px;
    line-height: 2;
    padding: 15px 20px;
    background: #f9f9f9;
    border-radius: 6px;
}

/* 信息列表 */
.exam-info-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.exam-info-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 15px 20px;
    background: #f9f9f9;
    border-radius: 6px;
}

.exam-info-item {
    display: flex;
    align-items: center;
    font-size: 15px;
}

.exam-info-item .exam-info-label {
    color: #666;
    margin-right: 8px;
    min-width: 80px;
}

.exam-info-item .exam-info-value {
    color: #333;
    font-weight: 500;
}

.exam-info-item .exam-info-value.highlight {
    color: #e91e63;
    font-size: 16px;
}

/* 操作按钮区 */
.exam-detail-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid #f0f0f0;
}

.btn-exam-action {
    padding: 12px 50px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-exam-action.btn-primary {
    background: linear-gradient(to right, #e91e63, #d81b60);
    color: #fff;
}

.btn-exam-action.btn-primary:hover {
    background: linear-gradient(to right, #d81b60, #c2185b);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.4);
}

.btn-exam-action.btn-secondary {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #e0e0e0;
}

.btn-exam-action.btn-secondary:hover {
    background: #fff;
    color: #e91e63;
    border-color: #e91e63;
}

.btn-exam-action.btn-disabled {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
    border: 1px solid #e0e0e0;
}

.btn-exam-action.btn-disabled:hover {
    transform: none;
    box-shadow: none;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 768px) {
    .msg-page-container {
        padding: 40px 20px;
        margin: 20px;
        min-height: 300px;
    }

    .msg-icon {
        width: 60px;
        height: 60px;
        line-height: 60px;
        font-size: 36px;
        margin-bottom: 20px;
    }

    .msg-title {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .msg-content {
        font-size: 14px;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .msg-link {
        padding: 10px 30px;
        font-size: 14px;
    }

    .msg-countdown {
        font-size: 13px;
    }

    .msg-countdown span {
        font-size: 14px;
    }
    
    /* 个人资料修改响应式 */
    .avatar-upload-section {
        flex-direction: column;
        align-items: center;
    }
    
    .avatar-preview {
        margin-bottom: 20px;
    }
    
    .avatar-img {
        width: 150px;
        height: 150px;
    }
    
    .avatar-overlay {
        width: 150px;
        height: 150px;
    }
    
    .upload-icon {
        font-size: 40px;
    }
    
    .upload-text {
        font-size: 13px;
    }
    
    .avatar-upload-control {
        width: 100%;
    }
}

/* ==================== 我的考试页面样式 ==================== */
/* 考试记录列表表格 */
.exam-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.exam-table thead {
    background: #f8f9fa;
}

.exam-table th,
.exam-table td {
    padding: 12px 15px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    white-space: nowrap;
}

.exam-table th {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.exam-table tbody tr:hover {
    background: #f9f9f9;
}

.exam-table .score-text {
    font-size: 16px;
    font-weight: 600;
    color: #e91e63;
}

/* 考试结果状态 */
.status-pass {
    background: #e8f5e9;
    color: #2e7d32;
}

.status-fail {
    background: #ffebee;
    color: #c62828;
}

/* ==================== 考试详情页面样式 ==================== */
/* 考试结果卡片 */
.exam-result-card {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.exam-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f5f5f5;
}

.exam-result-header h3 {
    font-size: 20px;
    color: #333;
    font-weight: 600;
}

.back-link {
    color: #e91e63;
    font-size: 14px;
    padding: 6px 16px;
    border: 1px solid #e91e63;
    border-radius: 4px;
    transition: all 0.3s;
}

.back-link:hover {
    background: #e91e63;
    color: #fff;
}

/* 考试信息摘要 */
.exam-info-summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
}

.info-row {
    display: flex;
    gap: 40px;
    margin-bottom: 15px;
}

.info-row:last-child {
    margin-bottom: 0;
}

.info-item {
    flex: 1;
    display: flex;
    align-items: center;
}

.info-item label {
    font-weight: 600;
    color: #666;
    min-width: 90px;
}

.info-item span {
    color: #333;
}

.score-highlight {
    font-size: 18px;
    font-weight: 600;
    color: #e91e63 !important;
}

/* 答题详情卡片 */
.answer-detail-card {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.detail-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f5f5f5;
}

.detail-header h4 {
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

/* 题目列表 */
.questions-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.question-item {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 20px;
    border-left: 4px solid #e0e0e0;
}

.question-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* 题目头部 */
.question-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.question-num {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.question-type {
    font-size: 13px;
    color: #666;
    background: #fff;
    padding: 3px 10px;
    border-radius: 3px;
}

.question-score {
    font-size: 13px;
    color: #666;
}

.answer-result {
    font-size: 14px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 4px;
    margin-left: auto;
}

.answer-result.correct {
    background: #e8f5e9;
    color: #2e7d32;
}

.answer-result.wrong {
    background: #ffebee;
    color: #c62828;
}

.score-earned {
    font-size: 14px;
    font-weight: 600;
    color: #e91e63;
}

/* 题目内容 */
.question-content {
    background: #fff;
    padding: 15px;
    border-radius: 4px;
}

.question-title {
    font-size: 15px;
    color: #333;
    line-height: 1.8;
    margin-bottom: 15px;
    font-weight: 500;
}

/* 答案选项 */
.answer-options {
    margin-bottom: 20px;
}

.option-item {
    display: flex;
    align-items: flex-start;
    padding: 8px 0;
    gap: 8px;
}

.option-label {
    font-weight: 600;
    color: #666;
    min-width: 25px;
}

.option-text {
    flex: 1;
    color: #333;
    line-height: 1.6;
}

.correct-mark {
    color: #2e7d32;
    font-size: 13px;
    font-weight: 600;
}

/* 答案信息 */
.answer-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
    border-left: 3px solid #e91e63;
}

.answer-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.answer-row:last-child {
    margin-bottom: 0;
}

.answer-row label {
    font-weight: 600;
    color: #666;
    min-width: 90px;
}

.user-answer {
    color: #333;
    font-weight: 500;
}

.correct-answer {
    color: #2e7d32;
    font-weight: 600;
}

/* ==================== 考试详情页面移动端适配 ==================== */
@media (max-width: 768px) {
    /* 考试结果卡片 */
    .exam-result-card {
        padding: 15px;
        margin-bottom: 15px;
    }

    .exam-result-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .exam-result-header h3 {
        font-size: 18px;
    }

    .back-link {
        width: 100%;
        text-align: center;
    }

    /* 考试信息摘要 - 垂直排列 */
    .exam-info-summary {
        padding: 15px;
    }

    .info-row {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 12px;
    }

    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .info-item label {
        min-width: auto;
        font-size: 13px;
    }

    .info-item span {
        font-size: 14px;
    }

    .score-highlight {
        font-size: 20px;
    }

    /* 答题详情卡片 */
    .answer-detail-card {
        padding: 15px;
    }

    .detail-header h4 {
        font-size: 16px;
    }

    /* 题目列表 */
    .question-item {
        padding: 15px;
    }

    /* 题目头部 - 允许换行 */
    .question-header {
        flex-wrap: wrap;
        gap: 8px;
    }

    .question-num {
        font-size: 14px;
    }

    .question-type {
        font-size: 12px;
        padding: 2px 8px;
    }

    .question-score {
        font-size: 12px;
    }

    .answer-result {
        font-size: 13px;
        padding: 3px 10px;
        margin-left: 0;
    }

    .score-earned {
        font-size: 13px;
    }

    /* 题目内容 */
    .question-content {
        padding: 12px;
    }

    .question-title {
        font-size: 14px;
    }

    /* 答案选项 */
    .option-item {
        font-size: 13px;
    }

    /* 答案信息 */
    .answer-info {
        padding: 12px;
    }

    .answer-row {
        flex-direction: column;
        gap: 5px;
    }

    .answer-row label {
        min-width: auto;
        font-size: 13px;
    }

    .user-answer,
    .correct-answer {
        font-size: 14px;
    }
}

