/* ========================================
   在线题库页面样式 - question_bank_page
   ======================================== */

/* 页面背景色 */
body {
    background-color: #f5f5f5;
}

/* Hero Section - 使用 common_index.css 的 .hero-section 样式，只覆盖背景色 */
.question-bank-hero {
    background: linear-gradient(135deg, #3298dc 0%, #3273dc 100%);
    border-radius: 0;
    margin-bottom: 0;
    padding: 2rem 0;
}

/* ===== 三种练习方式卡片 ===== */
.practice-mode-card {
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
}

.practice-mode-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.practice-mode-card.is-highlighted {
    border-color: #ffdd57;
    background: linear-gradient(to bottom, #fffef5, #ffffff);
}

.mode-icon {
    position: relative;
}

.mode-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    z-index: 10;
}

.mode-description {
    min-height: 80px;
}

.mode-stats .heading {
    font-weight: 600;
    color: #7a7a7a;
}

.mode-features .tag {
    margin: 0.2rem;
}

.mode-preview .notification {
    padding: 0.5rem 0.75rem;
    margin-bottom: 0;
}

.h-100 {
    height: 100%;
}

/* ===== 最新真题卡片 ===== */
.exam-card {
    min-height: 180px;
    height: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0.75rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.exam-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.exam-header {
    background: linear-gradient(135deg, #3298dc 0%, #3273dc 100%);
    padding: 1rem;
    position: relative;
}

.exam-header.gradient-green {
    background: linear-gradient(135deg, #48c774 0%, #3273dc 100%);
}

/* 真题卡片头部样式 */
.exam-card .exam-header {
    min-height: 40px !important;
    height: 40px !important;
    padding: 0 0.75rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.exam-card .exam-header .tag {
    margin-bottom: 0 !important;
}

.exam-card .exam-header .tag:first-child {
    font-size: 0.75rem !important;
    padding: 0.1rem 0.5rem !important;
    height: 24px !important;
    line-height: 24px !important;
}

.exam-card .exam-header .tag:last-child {
    font-size: 0.65rem !important;
    padding: 0.1rem 0.4rem !important;
    height: 22px !important;
    line-height: 22px !important;
    opacity: 0.8 !important;
}

/* 真题卡片标题 */
.exam-card .title.is-6 {
    font-size: 1rem !important;
    line-height: 1.4 !important;
    min-height: 2.8em !important;
    color: #363636 !important;
}

/* 真题卡片内容区 */
.exam-card .card-content {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

/* 真题卡片底部 */
.exam-card-footer {
    border-top: 1px solid #f5f5f5 !important;
}

/* 查看更多卡片 */
.view-more-card {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 180px !important;
    background: #f8f9fa !important;
    border: 2px dashed #dee2e6 !important;
    border-radius: 0.5rem !important;
    transition: all 0.3s !important;
    text-decoration: none !important;
    color: inherit !important;
}

.view-more-card:hover {
    background: #e9ecef !important;
    border-color: #adb5bd !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.view-more-card i {
    font-size: 2rem !important;
    color: #868e96 !important;
    margin-bottom: 1rem !important;
}

.view-more-card:hover i {
    color: #495057 !important;
}

.view-more-card .title {
    color: #495057 !important;
}

/* ===== 响应式调整 ===== */
@media (max-width: 768px) {
    .practice-mode-card .card-content {
        padding: 1.5rem !important;
    }

    .mode-description {
        min-height: auto;
    }

    .columns.is-multiline .column.is-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
