/* 頁面布局 */
#default-view {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--background-light);
}

/* Tab內容區域顯示控制 */
.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.tab-content.active {
    display: block;
}

/* 內嵌在tab-content裡的content-block不需要外邊距 */
.tab-content .content-block {
    margin-top: 0;
    margin-bottom: 32px;
}

.tab-content .content-block:last-child {
    margin-bottom: 0;
}

/* 醫生團隊區 */
/* .doctor-team-section {
    display: flex;
    flex-direction: column;
    background-color: var(--background-white);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border-color);
} */

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    gap: 16px;
}

.doctor-search-input {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    font-size: 16px;
    color: var(--text-medium);
}

.doctor-search-input::placeholder {
    color: var(--text-light);
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.doctor-card {
    display: flex;
    padding: 24px;
    background-color: var(--background-light);
    border-radius: 12px;
    gap: 20px;
    transition: all var(--transition-fast);
}

.doctor-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.doctor-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.doctor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-fast);
}

.doctor-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.doctor-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.doctor-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.doctor-title {
    font-size: 16px;
    color: #B89B5E;
}

.doctor-description {
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-muted);
}

.doctor-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.specialty-tag {
    display: inline-flex;
    padding: 3px 8px;
    background-color: var(--background-white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-medium);
    transition: all var(--transition-fast);
}

.specialty-tag:hover {
    background-color: var(--primary-light);
    color: #B89B5E;
}

@media (max-width: 1024px) {
    .doctors-grid {
        width: 100%;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .doctor-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .doctor-specialties {
        justify-content: center;
    }


    .search-container {
        width: 100%;
    }
}