/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.primary-btn {
    background-color: #ff6b35;
    color: white;
}

.primary-btn:hover {
    background-color: #e55a2a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 107, 53, 0.3);
}

.login-btn {
    background-color: transparent;
    color: #333;
    border: 1px solid #ddd;
}

.login-btn:hover {
    background-color: #f0f0f0;
}

.register-btn {
    background-color: #ff6b35;
    color: white;
    margin-left: 10px;
}

.register-btn:hover {
    background-color: #e55a2a;
}

.search-btn {
    background-color: #ff6b35;
    color: white;
    padding: 12px 20px;
    border-radius: 0 5px 5px 0;
}

.search-btn:hover {
    background-color: #e55a2a;
}

/* 导航栏样式 */
.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 24px;
    color: #ff6b35;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ff6b35;
}

/* 轮播图样式 */
.carousel {
    margin-top: 70px;
    height: 500px;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.carousel-inner {
    height: 100%;
    position: relative;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-item:nth-child(1) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1517836357463-d25dfeac3438?w=1200&h=600&fit=crop');
}

.carousel-item:nth-child(2) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1544025162-d76694265947?w=1200&h=600&fit=crop');
}

.carousel-item:nth-child(3) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1516483638261-f4dbaf036963?w=1200&h=600&fit=crop');
}

.carousel-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.carousel-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: bold;
}

.carousel-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.indicator.active {
    background-color: white;
    width: 30px;
    border-radius: 6px;
}

/* 功能卡片样式 */
.features {
    padding: 80px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: #333;
    font-weight: bold;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #e0e0e0;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: #ff6b35;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: #ff6b35;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-size: 30px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* 高级搜索样式 */
.advanced-search {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.search-container {
    max-width: 800px;
    margin: 0 auto;
}

.search-input {
    display: flex;
    margin-bottom: 20px;
}

.search-input input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #ddd;
    border-radius: 5px 0 0 5px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-input input:focus {
    border-color: #ff6b35;
}

.search-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.suggestion {
    padding: 8px 16px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.suggestion:hover {
    background-color: #ff6b35;
    color: white;
    border-color: #ff6b35;
}

.search-result {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-height: 200px;
}

/* 页脚样式 */
.footer {
    background-color: #333;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

.footer-logo h3 {
    font-size: 24px;
    color: #ff6b35;
    font-weight: bold;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff6b35;
}

.footer-contact p {
    margin-bottom: 15px;
    color: #ccc;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 10px;
    color: #ff6b35;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: white;
    font-size: 20px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #ff6b35;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
    color: #ccc;
    font-size: 14px;
}

/* 目标院校页面样式 */
.main-content {
    margin-top: 70px;
    padding: 20px 0;
}

.page-header {
    text-align: center;
    padding: 40px 0;
    background-color: white;
    margin-bottom: 30px;
}

.page-header h2 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #333;
}

.page-header p {
    color: #666;
    font-size: 16px;
}

/* 院校搜索和筛选样式 */
.college-search {
    padding: 30px 0;
    background-color: white;
    margin-bottom: 30px;
}

.search-filters {
    max-width: 1000px;
    margin: 0 auto;
}

.search-input {
    display: flex;
    margin-bottom: 20px;
}

.search-input input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #ddd;
    border-radius: 5px 0 0 5px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-input input:focus {
    border-color: #ff6b35;
}

.filter-groups {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: 500;
    color: #333;
}

.filter-group select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.filter-group select:focus {
    border-color: #ff6b35;
}

/* 院校列表样式 */
.college-list {
    padding: 30px 0;
    background-color: #f5f5f5;
}

.colleges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 备考资料网格样式 */
.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.materials-search {
    padding: 30px 0;
    background-color: white;
    margin-bottom: 30px;
}

.no-results {
    text-align: center;
    grid-column: 1 / -1;
    padding: 60px 20px;
    color: #666;
    font-size: 18px;
}

/* 院校卡片样式 */
.college-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.college-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.college-card-header {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.college-name {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.college-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.region-tag {
    background-color: #e8f4f8;
    color: #0066cc;
}

.level-tag {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.college-card-body {
    padding: 20px;
}

.college-description {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.college-majors {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.major-tag {
    padding: 4px 10px;
    background-color: #fff3e0;
    color: #ff6b35;
    border-radius: 12px;
    font-size: 12px;
}

.major-tag.large {
    padding: 6px 14px;
    font-size: 14px;
}

.more-majors {
    font-size: 12px;
    color: #999;
    align-self: center;
}

.college-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.college-card-footer {
    padding: 0 20px 20px;
}

.detail-btn {
    width: 100%;
    background-color: #ff6b35;
    color: white;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
}

.detail-btn:hover {
    background-color: #e55a2a;
}

/* 备考资料卡片样式 */
.material-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.material-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.material-card-header {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.material-name {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.material-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.type-tag {
    background-color: #e3f2fd;
    color: #1976d2;
}

.subject-tag {
    background-color: #f3e5f5;
    color: #7b1fa2;
}

.difficulty-tag {
    background-color: #fff3e0;
    color: #f57c00;
}

.material-card-body {
    padding: 20px;
}

.material-description {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.material-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.material-stats {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    font-size: 14px;
    color: #999;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 资料详情样式 */
.material-details {
    padding: 20px;
}

.material-details-header {
    margin-bottom: 30px;
}

.material-details-body {
    margin-bottom: 30px;
}

.material-info-section {
    margin-bottom: 30px;
}

.material-info-section h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #333;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table td {
    padding: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.info-table td:first-child {
    width: 120px;
    font-weight: 500;
    color: #666;
}

.material-description-section {
    margin-bottom: 30px;
}

.material-description-section h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #333;
}

.material-description-section p {
    color: #666;
    line-height: 1.6;
}

.material-actions {
    display: flex;
    gap: 15px;
}

/* 讨论群组样式 */
.groups-search {
    padding: 30px 0;
    background-color: white;
    margin-bottom: 30px;
}

.groups-list {
    padding: 20px 0 60px;
}

.groups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.group-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.group-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.group-card-header {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    background-color: #f8f9fa;
}

.group-name {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.group-type {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    background-color: #e3f2fd;
    color: #1976d2;
    font-size: 12px;
    font-weight: 500;
}

.group-card-body {
    padding: 20px;
}

.group-description {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.group-stats {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    font-size: 14px;
    color: #999;
}

.group-stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.group-category {
    padding: 4px 12px;
    border-radius: 20px;
    background-color: #f3e5f5;
    color: #7b1fa2;
    font-size: 12px;
    margin-right: 8px;
}

/* 群组详情样式 */
.group-details {
    padding: 20px;
}

.group-details-header {
    margin-bottom: 30px;
}

.group-details-body {
    margin-bottom: 30px;
}

.group-info-section {
    margin-bottom: 30px;
}

.group-info-section h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #333;
}

.group-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 10;
}

.close:hover,
.close:focus {
    color: #333;
    text-decoration: none;
    cursor: pointer;
}

/* 模态框头部样式 */
.modal-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.modal-header h2 {
    color: #333;
    font-size: 24px;
}

/* 模态框表单样式 */
.modal-body {
    padding: 0 20px;
}

.modal-body .form-group {
    margin-bottom: 15px;
}

.modal-body .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.modal-body .form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.modal-body .form-group input:focus {
    border-color: #ff6b35;
}

.modal-body .form-group input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
}

.full-width-btn {
    width: 100%;
    padding: 12px;
    font-size: 16px;
}

.form-link {
    text-align: center;
    margin-top: 15px;
    color: #666;
}

.form-link a {
    color: #ff6b35;
    text-decoration: none;
}

.form-link a:hover {
    text-decoration: underline;
}

/* 用户头像按钮样式 */
.user-avatar-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mini-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #ff6b35;
    object-fit: cover;
}

/* 用户中心样式 */
.user-profile {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.avatar-container {
    flex-shrink: 0;
}

.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ff6b35;
}

.user-info h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 5px;
}

.user-info p {
    color: #666;
}

.user-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.danger-btn {
    background-color: #dc3545;
    color: white;
}

.danger-btn:hover {
    background-color: #c82333;
}

/* 错误提示样式 */
.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 14px;
}

/* 成功提示样式 */
.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 14px;
}

/* 院校详情样式 */
.college-detail {
    padding: 20px;
}

.detail-header {
    text-align: center;
    margin-bottom: 30px;
}

.detail-header h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #333;
}

.detail-tags {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.detail-content {
    margin-bottom: 30px;
}

.detail-section {
    margin-bottom: 30px;
}

.detail-section h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
    border-left: 4px solid #ff6b35;
    padding-left: 15px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.info-value {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.majors-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.detail-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.detail-actions .btn {
    padding: 12px 30px;
    font-size: 16px;
}

/* 讨论群组页面样式 */
/* 群组搜索和筛选样式 */
.group-search {
    padding: 30px 0;
    background-color: white;
    margin-bottom: 30px;
}

/* 群组列表样式 */
.group-list {
    padding: 30px 0;
    background-color: #f5f5f5;
}

.groups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 群组卡片样式 */
.group-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.group-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.group-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.group-header h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #333;
    flex: 1;
}

.group-type {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    background-color: #e3f2fd;
    color: #1976d2;
    font-weight: 500;
}

.group-description {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.group-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.group-tag,
.tag {
    padding: 4px 10px;
    background-color: #f5f5f5;
    color: #666;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.group-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.group-stats {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #666;
}

.member-count {
    display: flex;
    align-items: center;
    gap: 5px;
}

.activity-level {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.join-btn {
    padding: 8px 20px;
    font-size: 14px;
    background-color: #ff6b35;
    color: white;
}

.join-btn:hover {
    background-color: #e55a2a;
}

/* 创建群组按钮样式 */
.create-group-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #ff6b35;
    color: white;
    font-size: 24px;
    border: none;
    box-shadow: 0 4px 10px rgba(255, 107, 53, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.create-group-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(255, 107, 53, 0.4);
}

/* 创建群组模态框样式 */
#create-group-modal .modal-content {
    max-width: 500px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #ff6b35;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        padding: 10px 20px;
    }
    
    .nav-links {
        margin: 15px 0;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-links li {
        margin: 0 10px;
    }
    
    .carousel {
        height: 400px;
        margin-top: 120px;
    }
    
    .carousel-content h2 {
        font-size: 32px;
    }
    
    .carousel-content p {
        font-size: 16px;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .search-input {
        flex-direction: column;
    }
    
    .search-input input {
        border-radius: 5px 5px 0 0;
    }
    
    .search-btn {
        border-radius: 0 0 5px 5px;
    }
    
    .filter-groups {
        flex-direction: column;
        gap: 15px;
    }
    
    .colleges-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 20px;
    }
    
}

/* 模拟练习页面样式 */

/* 练习选择区样式 */
.practice-selection {
    padding: 40px 0;
    background-color: white;
    margin-bottom: 30px;
}

.selection-card {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.selection-card h3 {
    margin-bottom: 25px;
    color: #333;
    font-size: 20px;
}

.selection-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: end;
}

.selection-form .form-group {
    display: flex;
    flex-direction: column;
}

.selection-form label {
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.selection-form select {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.selection-form select:focus {
    border-color: #ff6b35;
}

.start-btn {
    padding: 12px;
    font-size: 16px;
}

/* 练习记录样式 */
.practice-records {
    padding: 40px 0;
    background-color: #f5f5f5;
}

.records-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.record-card {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.record-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.record-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.record-header h4 {
    margin: 0;
    font-size: 16px;
    color: #333;
}

.record-date {
    font-size: 12px;
    color: #999;
}

.record-body {
    margin-bottom: 15px;
}

.record-info {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.record-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.record-stats .stat-item {
    text-align: center;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.record-footer {
    display: flex;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.record-footer .btn {
    flex: 1;
    padding: 8px;
    font-size: 14px;
}

/* 考试容器样式 */
.exam-container {
    padding: 40px 0;
    background-color: white;
}

.exam-header {
    background-color: #fff3e0;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.exam-header h3 {
    margin: 0;
    color: #ff6b35;
    font-size: 24px;
}

.exam-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.exam-subject {
    font-weight: 500;
    color: #333;
}

.exam-timer {
    font-size: 20px;
    font-weight: bold;
    color: #ff6b35;
    background-color: white;
    padding: 8px 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* 考试内容样式 */
.exam-body {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.question-panel {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.question-card {
    display: none;
}

.question-card.active {
    display: block;
}

.question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.question-number {
    font-weight: bold;
    color: #333;
}

.mark-btn {
    background-color: transparent;
    border: none;
    color: #ccc;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mark-btn:hover {
    color: #ff6b35;
}

.mark-btn.marked {
    color: #ff6b35;
}

.question-content {
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.question-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-item:hover {
    background-color: #e8e8e8;
}

.option-item input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: #ff6b35;
}

/* 答题面板样式 */
.answer-panel {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.answer-panel h4 {
    margin-bottom: 20px;
    color: #333;
    font-size: 16px;
}

.answer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
    gap: 10px;
    margin-bottom: 25px;
}

.answer-item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.answer-item:hover {
    background-color: #e8e8e8;
}

.answer-item.answered {
    background-color: #e8f5e9;
    border-color: #2e7d32;
    color: #2e7d32;
}

.answer-item.unanswered {
    background-color: #fff3e0;
    border-color: #ff6b35;
    color: #ff6b35;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    font-size: 16px;
}

/* 结果容器样式 */
.result-container {
    padding: 60px 0;
    background-color: white;
}

.result-card {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.result-card h3 {
    margin-bottom: 30px;
    color: #333;
    font-size: 24px;
}

.result-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.result-stats .stat-item {
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
}

.result-stats .stat-label {
    display: block;
    margin-bottom: 10px;
    color: #666;
    font-size: 14px;
}

.result-stats .stat-value {
    display: block;
    font-size: 32px;
    font-weight: bold;
    color: #ff6b35;
}

.result-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.result-actions .btn {
    padding: 12px 30px;
    font-size: 16px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .selection-form {
        grid-template-columns: 1fr;
    }
    
    .records-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
    
    .exam-body {
        grid-template-columns: 1fr;
    }
    
    .answer-panel {
        margin-top: 20px;
    }
    
    .answer-grid {
        grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
    }
    
    .result-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .result-actions .btn {
        width: 100%;
        max-width: 200px;
    }
}

/* 模拟练习页面样式 */
.practice-selection {
    background-color: white;
    padding: 30px 0;
    margin-bottom: 30px;
}

.selection-card {
    max-width: 800px;
    margin: 0 auto;
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.selection-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.selection-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    margin-bottom: 8px;
}

.form-group select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group select:focus {
    border-color: #ff6b35;
}

.start-btn {
    grid-column: 1 / -1;
    width: 200px;
    margin: 0 auto;
    padding: 12px;
    font-size: 16px;
}

/* 练习记录样式 */
.practice-records {
    background-color: #f5f5f5;
    padding: 30px 0;
}

.records-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.record-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: all 0.3s ease;
}

.record-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.record-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.record-header h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
}

.record-date {
    font-size: 12px;
    color: #999;
}

.record-info {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.record-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 15px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 15px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.record-footer {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.record-footer .btn {
    flex: 1;
    font-size: 14px;
    padding: 8px;
}

/* 考试界面样式 */
.exam-container {
    background-color: white;
    padding: 20px 0;
}

.exam-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.exam-header h3 {
    font-size: 24px;
    color: #333;
}

.exam-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.exam-subject {
    font-weight: 500;
    color: #666;
}

.exam-timer {
    font-size: 18px;
    font-weight: bold;
    color: #ff6b35;
    padding: 8px 16px;
    background-color: #fff3e0;
    border-radius: 5px;
}

.exam-body {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.question-panel {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    min-height: 400px;
}

.question-card {
    display: none;
}

.question-card.active {
    display: block;
}

.question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.question-number {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.mark-btn {
    background-color: transparent;
    border: none;
    font-size: 18px;
    color: #999;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mark-btn.marked {
    color: #ff6b35;
}

.mark-btn:hover {
    color: #ff6b35;
}

.question-content {
    margin-bottom: 20px;
}

.question-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.question-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background-color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-item:hover {
    background-color: #f5f5f5;
}

.option-item input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #ff6b35;
}

.option-item label {
    flex: 1;
    font-size: 14px;
    color: #333;
    cursor: pointer;
}

.answer-panel {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.answer-panel h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
}

.answer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(30px, 1fr));
    gap: 8px;
    margin-bottom: 20px;
    flex: 1;
}

.answer-item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.answer-item:hover {
    background-color: #f0f0f0;
}

.answer-item.answered {
    background-color: #e8f5e9;
    border-color: #2e7d32;
    color: #2e7d32;
}

.answer-item.marked {
    background-color: #fff3e0;
    border-color: #ff6b35;
    color: #ff6b35;
}

.submit-btn {
    margin-top: auto;
}

/* 考试结果样式 */
.result-container {
    background-color: white;
    padding: 40px 0;
}

.result-card {
    max-width: 600px;
    margin: 0 auto;
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.result-card h3 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #333;
}

.result-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.result-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* 模拟练习页面响应式设计 */
@media (max-width: 768px) {
    .selection-form {
        grid-template-columns: 1fr;
    }
    
    .start-btn {
        width: 100%;
    }
    
    .records-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
    
    .exam-body {
        grid-template-columns: 1fr;
    }
    
    .answer-panel {
        margin-top: 20px;
    }
    
    .answer-grid {
        grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
    }
    
    .answer-item {
        width: 40px;
        height: 40px;
    }
    
    .result-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .result-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .detail-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 20px;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .carousel {
        height: 300px;
    }
    
    .carousel-content h2 {
        font-size: 24px;
    }
    
    .carousel-content p {
        font-size: 14px;
    }
    
    .feature-card {
        padding: 30px 15px;
    }
    
    .search-container {
        padding: 0 20px;
    }
}