.breadcrumb-container {
    max-width: var(--unified-max-width);
    padding: var(--unified-padding);
    margin: auto;
}
.breadcrumb {
    font-size: 14px;
    color: #666;
    margin-top: 20px;
    background: transparent;
    padding: 0;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #007bff;
}

.main-content {
    flex: 1;
    width: 100%;
    max-width: 100%;
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}


/* 轮播图样式 */
.carousel-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9比例 */
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 8px;
    background: #e0e0e0;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-image.active {
    opacity: 1;
}

.carousel-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: #c0c0c0;
    color: white;
    font-size: 24px;
    border-radius: 8px;
}

.carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: white;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 10;
}

.carousel-prev:hover,
.carousel-next:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

/* 教员信息样式 */
.teacher-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
}

.teacher-avatar {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    object-fit: cover;
}

.teacher-info {
    flex: 1;
}

.teacher-info .name-id {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.teacher-info h2 {
    font-size: 24px;
    color: #333;
    margin: 0;
}

.teacher-info .id {
    color: #666;
    font-size: 14px;
}

.teacher-info .school-year {
    color: #666;
    margin-bottom: 10px;
}

.teacher-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.tag {
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 14px;
    border: none;
    cursor: pointer;
}

.tag.primary {
    background-color: #ff7f32;
    color: white;
}

.tag.teal {
    background-color: #1abc9c;
    color: white;
}

.tag.orange {
    background-color: #ff9500;
    color: white;
}

.teacher-location {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.location-icon {
    width: 10px;
    height: 10px;
    font-size: 14px;
}

.location-section {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 10px;
}

/* 教学科目 */
.subjects-section {
    margin-bottom: 20px;
}

.subjects-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
}

.subjects-label {
    width: 80px;
    color: #333;
    font-weight: bold;
    white-space: nowrap;
    flex-shrink: 0;
}

.subjects-content {
    color: #666;
}

/* 课时费链接样式 */
.class-fee-row {
    margin-bottom: 20px;
}

.class-fee-link {
    color: #1abc9c;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.class-fee-link:hover {
    color: #16a085;
    text-decoration: underline;
}

/* 时间表样式 */
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 14px;
}

.schedule-table th,
.schedule-table td {
    border: 1px solid #e0e0e0;
    padding: 8px;
    text-align: center;
}

.schedule-table th {
    background-color: #f8f9fa;
    font-weight: bold;
}

.schedule-table .time-label {
    background-color: #f8f9fa;
    font-weight: bold;
    text-align: center;
}

.schedule-table .available {
    color: #28a745;
    font-weight: bold;
}

/* 标签切换样式 */
.tab-nav {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.tab-item {
    padding: 12px 20px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    color: #666;
    transition: all 0.3s ease;
}

.tab-item.active {
    color: #28a745;
    border-bottom-color: #28a745;
}

.tab-content {
    min-height: 100px;
    margin-bottom: 20px;
}

.tab-panel {
    display: none;
    padding: 20px;
    background-color: #fafafa;
    border-radius: 4px;
    min-height: 200px;
    overflow: hidden;
}

.tab-panel img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px 0;
}

/* 学员评价列表样式 */
.evaluation-list {
    margin-bottom: 20px;
}

.evaluation-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.evaluation-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.evaluation-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}

.evaluation-username {
    font-weight: bold;
    font-size: 16px;
    color: #333;
}

.evaluation-labels {
    margin-bottom: 10px;
}

.evaluation-label {
    display: inline-block;
    padding: 4px 10px;
    background-color: #e1f5fe;
    color: #0288d1;
    border-radius: 12px;
    font-size: 12px;
    margin-right: 8px;
    margin-bottom: 8px;
}

.evaluation-content {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
    word-break: break-word;
}

.evaluation-images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.evaluation-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.evaluation-img:hover {
    transform: scale(1.05);
}

/* 响应式图片调整 */
@media (max-width: 768px) {
    .evaluation-img {
        width: 80px;
        height: 80px;
    }
}

/* 加载和错误状态样式 */
.loading,
.error {
    text-align: center;
    padding: 40px;
    color: #666;
}

.tab-panel.active {
    display: block;
}

/* 历史接单列表样式 */
.order-list {
    margin-bottom: 20px;
}

.order-item {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.order-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.order-name {
    font-weight: bold;
    color: #333;
}

.order-status {
    color: #52c41a;
    font-size: 14px;
}

.order-content {
    display: flex;
    gap: 30px;
}

.order-info {
    display: flex;
    align-items: center;
}

.info-label {
    color: #666;
    margin-right: 5px;
}

.info-value {
    color: #333;
}

/* 分页控件样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 10px;
}

.page-btn {
    padding: 6px 16px;
    border: 1px solid #d9d9d9;
    background-color: #fff;
    color: #333;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
}

.page-btn:hover:not(:disabled) {
    border-color: #40a9ff;
    color: #40a9ff;
}

.page-btn:disabled {
    background-color: #f5f5f5;
    color: #bfbfbf;
    cursor: not-allowed;
    border-color: #d9d9d9;
}

.page-info {
    color: #666;
    font-size: 14px;
    margin: 0 10px;
}

/* 加载和错误状态 */
.loading,
.error {
    text-align: center;
    padding: 40px 0;
    color: #666;
}

/* 音频播放器样式 */
.audio-player {
    background: #f8f9fa;
    border-radius: 25px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.play-btn {
    background: #f8f9fa;
    width: 40px;
    height: 40px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.audio-progress {
    flex: 1;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    position: relative;
    cursor: pointer;
}

.audio-progress-bar {
    height: 100%;
    background: #28a745;
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s ease;
}

.audio-progress-dot {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background: #28a745;
    border-radius: 50%;
    left: 0%;
    transition: left 0.1s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.audio-time {
    color: #666;
    font-size: 12px;
    min-width: 80px;
    text-align: right;
}

/* 按钮样式 */
.actions {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-add {
    background-color: #007bff;
    color: white;
}

.btn-add:hover {
    background-color: #0056b3;
}

.btn-add.collected {
    background-color: #ff6b6b;
}

.btn-add.collected:hover {
    background-color: #ee5253;
}

.btn-contact {
    background-color: #28a745;
    color: white;
    min-width: fit-content;
    white-space: nowrap;
}

.btn-contact:hover {
    background-color: #218838;
}



.recommendations {
    margin-top: 10px;
}

.recommendations .item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    color: #666;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
}

.recommendations .item:last-child {
    border-bottom: none;
}

.recommendations .item:hover {
    background-color: #f8f9fa;
}

.recommendations .subject {
    color: var(--text-color);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        padding: 10px;
        gap: 15px;
    }
    .teacher-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .teacher-avatar {
        width: 60px;
        height: 60px;
        align-self: center;
    }

    .teacher-info .name-id {
        justify-content: center;
    }

    .teacher-tags {
        justify-content: center;
    }

    .actions {
        flex-direction: column;
        gap: 10px;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 15px;
        font-size: 16px;
    }

    .tab-nav {
        flex-wrap: wrap;
    }

    .tab-item {
        flex: 1;
        min-width: 100px;
        text-align: center;
    }

    .schedule-table {
        font-size: 12px;
    }

    .schedule-table th,
    .schedule-table td {
        padding: 4px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 8px;
    }

    .teacher-info h2 {
        font-size: 20px;
    }

    .tag {
        padding: 4px 12px;
        font-size: 12px;
    }

    .btn {
        padding: 12px;
        font-size: 14px;
    }

    .teacher-avatar {
        width: 50px;
        height: 50px;
    }
}
