.seminar{
    min-height: 800px;
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
}
.page-header{
    margin-bottom: 30px;
}
.page-header>h1{
    text-align: center;
    color: #2e3091;
    font-weight: normal;
    line-height: 1.2;
    font-size: 36px;
    margin-bottom: 15px;
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    /* -webkit-background-clip: text; */
    /* -webkit-text-fill-color: transparent;*/
}

.page-header>p{
    text-align: center;
    color: #666;
    font-size: 16px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}
.seminar-filter {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.filter-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.filter-item {
    flex: 1;
    min-width: 200px;
}

.filter-item label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.filter-item select,
.filter-item input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.filter-actions {
    display: flex;
    gap: 10px;
}

.btn-search {
    background: #2e3091;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
}

.btn-reset {
    background: #6c757d;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
}

.seminar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.seminar-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.seminar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.seminar-header {
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
}

.seminar-header h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    line-height: 1.4;
}

.seminar-status {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.2);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
}

.status-upcoming {
    background: #28a745;
}

.status-ongoing {
    background: #ffc107;
    color: #000;
}

.status-ended {
    background: #6c757d;
}
.status-cancelled {
    background: #6c757d;
}

.status-active {
    background: #ffc107;
    color: #000;
}

/* 講座圖片樣式 */
.seminar-image {
    margin-bottom: 30px;
    text-align: center;
}

.seminar-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* 字數計數器 */
.char-counter {
    text-align: right;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

/* 同意條款樣式 */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

/* 響應式調整 */
@media (max-width: 768px) {
    .booking-info {
        grid-template-columns: repeat(2, 1fr);
    }

    .checkbox-group {
        font-size: 14px;
    }
}
.seminar-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    margin-bottom: 5px;
}

.seminar-date i {
    font-size: 16px;
}

.seminar-body {
    padding: 20px;
}

.seminar-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.seminar-info i {
    margin-right: 8px;
    color: #667eea;
    width: 20px;
    text-align: center;
}

.seminar-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.seminar-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.seat-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.seat-icon {
    color: #ff6b6b;
    font-size: 18px;
}

.seat-text {
    font-size: 14px;
    color: #666;
}

.seat-text strong {
    color: #333;
    font-size: 16px;
}

.seminar-actions {
    display: flex;
    gap: 10px;
}

.btn-detail {
    background: #667eea;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-size: 14px;
    transition: background 0.3s ease;
}

.btn-detail:hover {
    background: #5a67d8;
}

.btn-book {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-size: 14px;
    transition: background 0.3s ease;
}

.btn-book:hover {
    background: #45a049;
}

.btn-booked {
    background: #6c757d;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: not-allowed;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-size: 14px;
}

.no-seminars {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.no-seminars i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 20px;
    display: block;
}

.no-seminars h3 {
    color: #666;
    margin-bottom: 10px;
}

.no-seminars p {
    color: #999;
}

.pagination-area {
    margin-top: 40px;
    text-align: center;
}

.pagination {
    display: inline-flex;
    gap: 5px;
}

.pagination a,
.pagination span {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.pagination .current {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

@media (max-width: 768px) {
    .seminar-grid {
        grid-template-columns: 1fr;
    }

    .filter-group {
        flex-direction: column;
    }

    .filter-item {
        min-width: 100%;
    }
}