/* 基础样式 */
*{
    margin:0;
    padding:0;
}
html,body{
    height:100%;
}
body{
    position: relative;
    /*background: #e6e6e6;*/
    /*display: flex;*/
    justify-content: center;
}

/* 主要容器样式 */
.container {
    width: 100%;
    max-width: 500px;
    height: 100%;
    background-color: #fff;
    overflow-x: hidden;
    overflow-y: auto;
}

/* 搜索栏样式 */
.search-bar {
    display: flex;
    align-items: center;
    background-color: #fff;
    padding: 10px 15px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.search-input-wrap {
    flex: 1;
    height: 34px;
    border-radius: 17px;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    padding: 0 15px;
}

.search-icon {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23999'%3E%3Cpath d='M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 14px;
    color: #333;
    outline: none;
}

.search-input::placeholder {
    color: #999;
}

.message-icon {
    width: 24px;
    height: 24px;
    margin-left: 15px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'%3E%3Cpath d='M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-2 12H6v-2h12v2zm0-3H6V9h12v2zm0-3H6V6h12v2z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* 顶部背景图和导航样式 */
.top-banner-section {
    width: 100%;
    height: 333px;
    position: relative;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    margin-bottom: 15px;
}

.banner-content {
    width: 100%;
    height: 100%;
    position: relative;
}

.banner-main-image {
    position: relative;
    width: 100%;
    /* padding: 0 15px; */
    box-sizing: border-box;
    margin: 0 auto;
    margin-bottom: 20px;
    height: auto;
}

.banner-main-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    position: relative;
}

/* 导航图标容器样式 */
.nav-icons-container {
    position: absolute;
    left: 7%;
    right: 7%;
    width: 86%;
    top: 65%; /* 更精确地定位在白色区域内 */
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 5px; /* 减小间距 */
}

.nav-icons-row {
    display: flex;
    justify-content: space-around;
    padding: 0;
    width: 100%;
}

.nav-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 25%;
}

.nav-icon-image {
    width: 32px; /* 更小尺寸 */
    height: 32px;
    margin-bottom: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.nav-icon-image img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.nav-icon-text {
    font-size: 10px;
    color: #333;
    text-align: center;
    line-height: 1.1;
}

/* 轮播图样式 */
.swiper-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 15px;
}

.swiper-wrapper {
    display: flex;
    transition: transform 0.5s ease;
}

.swiper-slide {
    flex: 0 0 100%;
    height: 150px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.swiper-pagination {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
}

.swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 3px;
    cursor: pointer;
}

.swiper-pagination-bullet-active {
    background-color: #fff;
    width: 12px;
    border-radius: 3px;
}

/* 功能导航样式 */
.nav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    background-color: #fff;
    padding: 15px 10px;
    margin-bottom: 15px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.nav-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: transform 0.2s;
}

.nav-item:active .nav-icon {
    transform: scale(0.95);
}

.nav-icon img {
    width: 24px;
    height: 24px;
}

.nav-text {
    font-size: 12px;
    color: #333;
    text-align: center;
}

/* 热门测评卡片样式 */
.test-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.test-card-header {
    display: flex;
    margin-bottom: 10px;
}

.test-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: #f0f7ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.test-card-icon img {
    width: 24px;
    height: 24px;
}

.test-card-title {
    flex: 1;
}

.test-card-name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 4px;
}

.test-card-desc {
    font-size: 12px;
    color: #999;
}

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

.test-card-tag {
    font-size: 10px;
    color: #4e9cff;
    background-color: #f0f7ff;
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 6px;
    margin-bottom: 6px;
}

.test-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.test-card-price {
    font-size: 16px;
    font-weight: bold;
    color: #ff6b6b;
}

.test-card-price .original {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
    margin-left: 5px;
    font-weight: normal;
}

.test-card-btn {
    background-color: #a994fa;
    color: #fff;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 15px;
    border: none;
    cursor: pointer;
}

/* 课程列表样式 */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 0 15px;
}

.section-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    position: relative;
    padding-left: 10px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 16px;
    background-color: #a994fa;
    border-radius: 1.5px;
}

.section-more {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
}

.section-more::after {
    content: '';
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23999'%3E%3Cpath d='M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-left: 2px;
}

.course-list {
    padding: 0 15px;
    margin-bottom: 15px;
}

.course-card {
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.course-image {
    width: 100%;
    height: 120px;
    background-size: cover;
    background-position: center;
}

.course-info {
    padding: 10px 15px;
}

.course-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.course-stats {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.course-views {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.course-views::before {
    content: '';
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23999'%3E%3Cpath d='M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 4px;
}

.course-likes {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
}

.course-likes::before {
    content: '';
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23999'%3E%3Cpath d='M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-2 12H6v-2h12v2zm0-3H6V9h12v2zm0-3H6V6h12v2z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 4px;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-price {
    font-size: 16px;
    font-weight: bold;
    color: #ff6b6b;
}

.course-price .original {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
    margin-left: 5px;
    font-weight: normal;
}

.course-btn {
    background-color: #a994fa;
    color: #fff;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 15px;
    border: none;
    cursor: pointer;
}

/* 咨询师列表样式 */
.counselor-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0 15px;
    margin-bottom: 20px;
}

.counselor-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.counselor-image {
    width: 100%;
    height: 120px;
    background-size: cover;
    background-position: center;
}

.counselor-info {
    padding: 10px;
}

.counselor-name {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.counselor-name::after {
    content: '';
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23a994fa'%3E%3Cpath d='M12 2C6.48 2 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-left: 5px;
}

.counselor-title {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.counselor-tags {
    display: flex;
    flex-wrap: wrap;
}

.counselor-tag {
    font-size: 10px;
    color: #666;
    background-color: #f5f5f5;
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 6px;
    margin-bottom: 6px;
}

/* 心理咨询模块样式 */
.service_style_3 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 10px;
}

.service-item {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.img-wrapper {
    width: 100%;
    height: 156px;
    position: relative;
    overflow: hidden;
}

.comImageBox {
    width: 100%;
    height: 100%;
}

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

.service-info {
    padding: 10px;
}

.title-wrap {
    margin-bottom: 5px;
}

.ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.desc {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

.price-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
}

.price2 {
    color: #a994fa;
    font-size: 14px;
    font-weight: bold;
}

.orderCount {
    font-size: 12px;
    color: #999;
}

/* 底部导航栏样式 */
.tabbar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: #fff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -1px 0 0 rgba(0,0,0,.05);
    z-index: 999;
}

.tabbar-item {
    flex: 1;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.tabbar-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #999;
    font-size: 10px;
    width: 100%;
    height: 100%;
    justify-content: center;
}

.tabbar-item.active a {
    color: #a994fa;
}

.tabbar-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 2px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.icon-home {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23999'%3E%3Cpath d='M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z'/%3E%3C/svg%3E");
}

.tabbar-item.active .icon-home {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23a994fa'%3E%3Cpath d='M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z'/%3E%3C/svg%3E");
}

.icon-consult {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23999'%3E%3Cpath d='M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-2 12H6v-2h12v2zm0-3H6V9h12v2zm0-3H6V6h12v2z'/%3E%3C/svg%3E");
}

.tabbar-item.active .icon-consult {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23a994fa'%3E%3Cpath d='M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM6 9h12v2H6V9zm8 5H6v-2h8v2zm4-6H6V6h12v2z'/%3E%3C/svg%3E");
}

.icon-test {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23999'%3E%3Cpath d='M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm-2 14l-4-4 1.41-1.41L10 14.17l6.59-6.59L18 9l-8 8z'/%3E%3C/svg%3E");
}

.tabbar-item.active .icon-test {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23a994fa'%3E%3Cpath d='M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm-2 14l-4-4 1.41-1.41L10 14.17l6.59-6.59L18 9l-8 8z'/%3E%3C/svg%3E");
}

.icon-my {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23999'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
}

.tabbar-item.active .icon-my {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23a994fa'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
}

@media (min-width: 768px) {
    .tabbar {
        max-width: 750px;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* 模块通用样式 */
.module-section {
    margin-bottom: 15px;
    background-color: #fff;
}

.module-header {
    height: 53px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 15px;
    background-size: 100% 100%;
    background-position: 0% 50%;
    background-repeat: no-repeat;
}

.module-title {
    font-size: 16px;
    font-weight: bold;
    color: #353535;
    position: relative;
    padding-left: 10px;
}

.module-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 16px;
    background-color: #a994fa;
    border-radius: 1.5px;
}

.module-content {
    padding: 15px;
}

/* 推荐课程模块样式 */
.tabs-container {
    width: 100%;
}

.tabs-nav {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
}

.tab-item {
    font-size: 15px;
    line-height: 28px;
    padding: 0 10px;
    margin: 0 2px;
    color: #333;
    cursor: pointer;
}

.tab-item.active {
    color: #fff;
    font-weight: bold;
    background-color: #a994fa;
    border-radius: 14px;
    box-shadow: 0 2px 4px rgba(169, 148, 250, 0.25);
}

.tabs-content {
    width: 100%;
}

.tab-pane {
    display: none;
}

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

.course-item {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f5f5f5;
}

.course-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.course-item-image {
    width: 114px;
    height: 85px;
    margin-right: 10px;
    border-radius: 4px;
    overflow: hidden;
}

.course-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-item-title {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.course-item-desc {
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.course-item-price {
    margin-top: auto;
    display: flex;
    align-items: center;
}

.price-free {
    font-size: 14px;
    color: #a994fa;
    font-weight: bold;
    margin-right: 10px;
}

.subscription {
    font-size: 12px;
    color: #999;
}

/* 趣味AI测评模块样式 */
.ai-test-container {
    width: 100%;
    height: 256px;
    position: relative;
}

.ai-test-main {
    width: 100%;
    height: 115px;
    margin-bottom: 10px;
}

.ai-test-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.ai-test-sub {
    display: flex;
    justify-content: space-between;
}

.ai-test-item {
    width: 48%;
    position: relative;
}

.ai-test-item img {
    width: 100%;
    height: 83px;
    object-fit: cover;
    border-radius: 4px;
}

.ai-test-title {
    font-size: 12px;
    color: #000;
    text-align: center;
    margin-top: 5px;
}

/* 直播讲堂模块样式 */
.live-course-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.live-course-item {
    width: 100%;
}

.live-course-image {
    width: 100%;
    height: 97px;
    position: relative;
    margin-bottom: 10px;
    border-radius: 4px;
    overflow: hidden;
}

.live-course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-status {
    position: absolute;
    left: 8px;
    top: 8px;
    display: flex;
    align-items: center;
    padding: 3px 8px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    font-size: 10px;
    color: #fff;
}

.status-dot {
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-right: 4px;
    background: rgb(240, 65, 52);
    border-radius: 50%;
}

.status-clock {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 4px;
    background: #fff;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11.99 2C6.47 2 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 20c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5z'/%3E%3C/svg%3E") center center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11.99 2C6.47 2 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 20c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5z'/%3E%3C/svg%3E") center center / contain no-repeat;
}

.status-divider {
    width: 0.5px;
    height: 8px;
    background: #e8e8e8;
    margin: 0 5px;
}

.live-course-info {
    width: 100%;
}

.live-course-title {
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.live-course-price {
    font-size: 14px;
    color: #a994fa;
    font-weight: bold;
}

/* 今日推荐模块样式 */
.today-recommend {
    padding: 15px;
    background-color: #f5f6ff;
    border-radius: 8px;
    display: flex;
    gap: 10px;
}

.recommend-left {
    width: 50%;
    height: 140px;
    position: relative;
    background-color: #e9e4ff;
    border-radius: 8px;
    overflow: hidden;
}

.recommend-left-content {
    position: relative;
    padding: 15px;
    height: 100%;
}

.recommend-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.recommend-subtitle {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

.consult-btn {
    position: relative;
    font-size: 12px;
    height: 24px;
    line-height: 24px;
    width: 70px;
    color: #fff;
    background-color: #a994fa;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    z-index: 2;
}

.recommend-left img {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100px;
    height: auto;
    z-index: 1;
}

.recommend-right {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.recommend-item {
    height: 65px;
    background-color: #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
}

.recommend-item-content {
    position: relative;
    padding: 10px 15px;
    height: 100%;
}

.recommend-item-title {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 3px;
}

.recommend-item-subtitle {
    font-size: 10px;
    color: #666;
}

.recommend-item-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
}

.recommend-item-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 移除旧的推荐样式 */
.recommend-container {
    display: none;
}


/* 提示框容器 - 使提示框居中显示 */
.alert-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* 提示框主体样式 */
.alert-box {
    background-color: white;
    width: 300px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

/* 提示内容区域 */
.alert-content {
    padding: 20px;
    min-height: 80px;
    line-height: 1.5;
    /* 允许内容被选中复制 */
    user-select: text;
}

/* 按钮区域 */
.alert-footer {
    padding: 10px 20px;
    background-color: #f5f5f5;
    text-align: right;
}

/* 确认按钮样式 */
.alert-btn {
    padding: 8px 16px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.alert-btn:hover {
    background-color: #0056b3;
}
