/* 厂商详情页样式 */

.vendor-hero {
    padding-top: 100px;
    padding-bottom: 3rem;
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
    color: white;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 2rem;
    transition: var(--transition-fast);
}

.back-link:hover {
    color: white;
}

.vendor-info-large {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.vendor-icon-large {
    width: 100px;
    height: 100px;
    border-radius: var(--border-radius-xl);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.vendor-details h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.vendor-category {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.vendor-stats {
    display: flex;
    gap: 2rem;
}

.vendor-stats .stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.vendor-stats i {
    font-size: 1.125rem;
}

/* 考试列表 */
.exams-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.exams-search {
    max-width: 500px;
    margin: 2rem auto 0;
}

.exams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.exam-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    cursor: pointer;
}

.exam-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.exam-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.exam-code {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: var(--border-radius-md);
    font-size: 0.875rem;
    font-weight: 600;
}

.exam-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.625rem;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.exam-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.exam-meta {
    display: flex;
    gap: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.exam-meta span {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.exam-meta i {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .vendor-info-large {
        flex-direction: column;
        text-align: center;
    }
    
    .vendor-icon-large {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .vendor-details h1 {
        font-size: 1.75rem;
    }
    
    .vendor-stats {
        justify-content: center;
    }
    
    .exams-grid {
        grid-template-columns: 1fr;
    }
}