/* 技师页面样式 */
.tech-profile {
    background-color: #fff;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.tech-avatar {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    float: left;
}

.tech-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tech-level {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 107, 107, 0.8);
    color: #fff;
    text-align: center;
    font-size: 12px;
    padding: 2px 0;
}

.tech-info {
    overflow: hidden;
}

.tech-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.tech-age {
    font-size: 14px;
    color: #666;
    margin-left: 10px;
    font-weight: normal;
}

.tech-tags {
    margin-bottom: 8px;
}

.tech-tag {
    display: inline-block;
    background-color: #f8f8f8;
    color: #555;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 10px;
    margin-right: 5px;
    margin-bottom: 5px;
}

.tech-rating {
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
}

.rating-stars {
    color: #ffb800;
}

.rating-score {
    color: #ff6b6b;
    margin: 0 5px;
}

.tech-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 选项卡样式 */
.tabs {
    display: flex;
    background-color: #fff;
    margin-bottom: 10px;
    padding: 0 5px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.tab {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-size: 15px;
    color: #666;
    position: relative;
    cursor: pointer;
}

.tab.active {
    color: var(--primary-color);
    font-weight: 600;
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    padding-bottom: 60px;
}

/* 服务项目列表样式 */
.service-items {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 10px;
    padding: 15px;
}

.service-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    padding-left: 10px;
}

.service-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 16px;
    background-color: var(--primary-color);
}

.service-item {
    border-bottom: 1px solid #f0f0f0;
    padding: 15px 0;
    display: flex;
    flex-wrap: wrap;
    position: relative;
}

.service-item:last-child {
    border-bottom: none;
}

.service-info {
    flex: 1;
    min-width: 0;
    padding-right: 15px;
}

.service-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.service-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
}

.service-duration {
    font-size: 13px;
    color: #777;
    display: flex;
    align-items: center;
}

.service-duration i {
    margin-right: 5px;
    color: #999;
}

.service-price-booking {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    min-width: 100px;
}

.service-price {
    color: #ff5252;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.service-price small {
    font-size: 12px;
    font-weight: normal;
}

.book-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    text-align: center;
}

.book-btn:hover {
    background-color: #e04848;
}

/* 底部导航栏样式 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    background-color: #fff;
    padding: 8px 0;
    box-shadow: 0 -1px 5px rgba(0,0,0,0.1);
    z-index: 99;
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    font-size: 12px;
}

.nav-item i {
    font-size: 20px;
    margin-bottom: 2px;
}

.nav-item.active {
    color: var(--primary-color);
}

.nav-item:hover {
    color: var(--primary-color);
}

/* 技师收藏图标样式 */
.tech-name {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.name-content {
    flex: 1;
    display: flex;
    align-items: center;
}

.tech-collect {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    font-size: 14px;
    color: #888;
    transition: all 0.3s ease;
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    padding: 4px 10px;
}

.tech-collect i {
    transition: transform 0.3s ease, color 0.3s ease;
    margin-right: 4px;
    font-size: 14px;
}

.collect-text {
    transition: color 0.3s ease;
}

.tech-collect:hover {
    background-color: #fff0f0;
    border-color: #ffcaca;
}

.tech-collect i.fas {
    color: #ff6b6b;
}

.tech-collect:hover i {
    transform: scale(1.1);
}

.tech-collect:active {
    transform: scale(0.95);
}

.toast {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 20px;
    font-size: 14px;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.toast.show {
    opacity: 1;
}

/* 详情介绍样式 */
.details-content {
    padding: 15px 0;
}

.details-section {
    margin-bottom: 20px;
}

.details-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    padding-left: 10px;
    position: relative;
}

.details-section h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 16px;
    background-color: var(--primary-color);
}

.details-section p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    padding: 0 10px;
}

.details-section ol {
    padding-left: 25px;
    margin: 10px 0;
    list-style-type: none;
}

.details-section ol li {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.details-section ol li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 16px;
}

.details-section ul {
    padding-left: 25px;
    margin: 10px 0;
    list-style-type: none;
}

.details-section ul li {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.details-section ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 16px;
} 