/* 技师详情页面样式 */

/* 技师详情样式 */
.tech-profile {
    background-color: #fff;
    padding: 0 0 15px;
    position: relative;
    margin-bottom: 10px;
}

.tech-avatar {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.tech-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tech-avatar .tech-level {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.tech-info {
    padding: 15px;
}

.tech-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.tech-name i {
    margin-left: 8px;
    color: var(--primary-color);
    font-size: 18px;
}

.tech-age {
    font-size: 14px;
    color: #888;
    font-weight: normal;
    margin-left: 8px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.tech-tag {
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 20px;
    background-color: #f0f5ff;
    color: var(--primary-color);
    margin-right: 10px;
    margin-bottom: 8px;
}

.tech-rating {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.rating-stars {
    color: var(--warning-color);
    font-size: 14px;
    margin-right: 5px;
}

.rating-score {
    color: var(--warning-color);
    font-weight: 600;
    margin-right: 5px;
}

.rating-count {
    color: var(--gray-color);
    font-size: 12px;
}

.tech-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--dark-color);
    opacity: 0.8;
}

/* 服务项目 */
.service-items {
    background-color: #fff;
    margin-bottom: 10px;
    border-radius: 8px;
}

.service-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-color);
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

.service-list {
    padding: 0;
}

.service-item {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
}

.service-info {
    flex: 1;
}

.service-name {
    font-size: 16px;
    color: var(--dark-color);
    margin-bottom: 5px;
    font-weight: 500;
}

.service-desc {
    font-size: 13px;
    color: var(--gray-color);
    margin-bottom: 5px;
    line-height: 1.5;
}

.service-duration {
    display: inline-block;
    font-size: 12px;
    color: var(--primary-color);
    background-color: #f0f5ff;
    padding: 2px 8px;
    border-radius: 10px;
    margin-bottom: 10px;
    font-weight: 500;
}

.service-price {
    color: #ff5252;
    font-size: 18px;
    font-weight: bold;
    text-align: right;
    min-width: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
}

.service-price > span {
    display: flex;
    align-items: center;
}

.service-price small {
    font-size: 12px;
    font-weight: normal;
    margin-left: 2px;
}

/* 服务项目预约按钮样式 */
.book-btn {
    display: inline-block;
    background: #4a90e2;
    color: #fff;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 15px;
    border: none;
    margin-top: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.book-btn:hover {
    background: #3a7fcf;
}

/* 用户评价 */
.reviews {
    background-color: #fff;
    margin-bottom: 10px;
    border-radius: 8px;
}

.review-list {
    padding: 0;
}

.review-item {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

.review-user {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.review-user img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}

.review-user span {
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-color);
}

.review-rating {
    color: var(--warning-color);
    margin-bottom: 10px;
    font-size: 12px;
}

.review-content {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.review-time {
    font-size: 12px;
    color: var(--gray-color);
    text-align: right;
}

/* 底部操作栏 */
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    background-color: #fff;
    padding: 10px 15px;
    border-top: 1px solid var(--border-color);
    z-index: 99;
}

.btn-collect, .btn-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    margin-right: 10px;
    color: var(--dark-color);
    text-decoration: none;
}

.btn-collect i, .btn-contact i {
    font-size: 18px;
    margin-bottom: 3px;
}

.btn-collect span, .btn-contact span {
    font-size: 12px;
}

.btn-order {
    flex: 1;
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 12px 0;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
}

/* 选项卡 */
.tabs {
    display: flex;
    background-color: #fff;
    margin-bottom: 10px;
    position: sticky;
    top: 0;
    z-index: 90;
}

.tab {
    flex: 1;
    text-align: center;
    padding: 15px 0;
    position: relative;
    color: var(--gray-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.tab.active {
    color: var(--primary-color);
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.tab-content {
    display: none;
}

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

.container {
    padding-bottom: 70px;
}

/* 提供服务的技师样式优化 */
.tech-list .service-item {
    display: flex;
    padding: 15px;
    margin-bottom: 10px;
    text-decoration: none;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    align-items: center;
    border: none;
}

.tech-list .service-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 12px rgba(0,0,0,0.12);
}

.tech-list .service-info {
    flex: 1;
    display: flex;
    align-items: center;
}

.tech-list .tech-avatar {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid #f0f5ff;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.tech-list .tech-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tech-list .tech-details {
    flex: 1;
}

.tech-list .name-badge {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.tech-list .tech-level-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    margin-right: 10px;
    height: 20px;
}

/* 金牌样式 */
.tech-list .tech-level-gold {
    background-color: #FFF7E6;
    color: #FF9800;
    border: 1px solid #FFE7BA;
}

/* 银牌样式 */
.tech-list .tech-level-silver {
    background-color: #F5F5F5;
    color: #757575;
    border: 1px solid #E0E0E0;
}

/* 铜牌样式 */
.tech-list .tech-level-bronze {
    background-color: #FFF1E6;
    color: #FF5722;
    border: 1px solid #FFCCBC;
}

.tech-list .tech-name {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-right: 5px;
}

.tech-list .gender-icon {
    font-size: 14px;
}

.tech-list .tech-rating {
    font-size: 14px;
    color: #FF9800 !important;
    letter-spacing: 2px;
    margin-top: 3px;
    display: block;
}

.tech-list .service-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-left: 15px;
    min-width: 80px;
    flex-shrink: 0;
}

.tech-list .price-tag {
    color: #FF5252;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    line-height: 1;
}

.tech-list .price-tag small {
    color: #999;
    font-size: 13px;
    font-weight: normal;
    margin-left: 2px;
}

.tech-list .book-btn {
    background: #4A90E2;
    color: #fff;
    font-size: 14px;
    padding: 6px 14px;
    border-radius: 20px;
    border: none;
    margin-top: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(74,144,226,0.3);
    font-weight: 500;
    width: 100%;
    text-align: center;
}

.tech-list .book-btn:hover {
    background: #3A7FCF;
    box-shadow: 0 4px 8px rgba(74,144,226,0.4);
}

/* 修复所有评分星级颜色 */
.review-rating, .rating-stars, .tech-rating {
    color: #FF9800 !important;
    font-size: 14px;
    letter-spacing: 1px;
}

/* 确保星星显示橙色 */
.review-rating ★, .rating-stars ★, .tech-rating ★ {
    color: #FF9800 !important;
}

/* 空星样式 */
.review-rating ☆, .rating-stars ☆, .tech-rating ☆ {
    color: #FFE0B2 !important;
} 