/* 心力源 - C端样式 */

/* 登录页 */
.login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a2a6c 0%, #2d5daa 50%, #4a90d9 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}
.login-page::before {
    content: '';
    position: absolute; top: -80px; right: -60px;
    width: 200px; height: 200px; border-radius: 50%;
    background: rgba(255,255,255,0.06);
}
.login-page::after {
    content: '';
    position: absolute; bottom: -50px; left: -40px;
    width: 160px; height: 160px; border-radius: 50%;
    background: rgba(255,255,255,0.04);
}

.login-logo {
    font-size: 36px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.login-subtitle {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    font-size: 14px;
}

.login-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 24px;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    position: relative;
    z-index: 1;
}

.phone-input-group {
    display: flex;
    gap: 10px;
}

.phone-input-group .form-input {
    flex: 1;
}

.phone-input-group .btn-code {
    white-space: nowrap;
    padding: 10px 14px;
    font-size: 13px;
    background: #f0f0f0;
    color: #666;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.phone-input-group .btn-code:disabled {
    color: #bbb;
}

/* 咨询师列表 */
.search-bar {
    padding: 10px 15px;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
}

.search-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #eee;
    border-radius: 20px;
    background: #f5f5f5;
    font-size: 14px;
    outline: none;
}

.filter-bar {
    display: flex;
    padding: 8px 15px;
    background: #fff;
    gap: 10px;
    overflow-x: auto;
    border-bottom: 1px solid #eee;
}

.filter-bar .filter-item {
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 13px;
    color: #666;
    background: #f5f5f5;
    white-space: nowrap;
    cursor: pointer;
}

.filter-bar .filter-item.active {
    background: #e6f0ff;
    color: #4a90d9;
}

/* 咨询师卡片 */
.counselor-card {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    margin: 8px 15px;
    display: flex;
    gap: 12px;
}

.counselor-card .avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #e6e6e6;
    flex-shrink: 0;
    object-fit: cover;
}

.counselor-card .info {
    flex: 1;
    min-width: 0;
}

.counselor-card .name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.counselor-card .title-text {
    font-size: 12px;
    color: #999;
    margin-bottom: 6px;
}

.counselor-card .fields {
    margin-bottom: 6px;
}

.counselor-card .bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.counselor-card .price {
    color: #ff6b35;
    font-size: 16px;
    font-weight: 600;
}

.counselor-card .price small {
    font-size: 12px;
    font-weight: normal;
}

.counselor-card .status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 4px;
}

.counselor-card .status-dot.online {
    background: #52c41a;
}

.counselor-card .status-dot.offline {
    background: #bbb;
}

/* 咨询师详情 */
.detail-header {
    background: #fff;
    padding: 20px 15px;
    text-align: center;
}

.detail-header .avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 10px;
    background: #e6e6e6;
    object-fit: cover;
}

.detail-header .name {
    font-size: 20px;
    font-weight: 600;
}

.detail-header .title-text {
    color: #999;
    margin-top: 4px;
}

.detail-section {
    background: #fff;
    padding: 15px;
    margin-top: 10px;
}

.detail-section .section-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

/* 个人中心 */
.user-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px 15px 20px;
    color: #fff;
}

.user-header .avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    margin-bottom: 10px;
}

.user-header .nickname {
    font-size: 18px;
    font-weight: 600;
}

.user-header .phone {
    font-size: 13px;
    opacity: 0.8;
    margin-top: 4px;
}

.menu-list {
    background: #fff;
    margin-top: 10px;
    border-radius: 8px;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 14px 15px;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item .menu-icon {
    width: 24px;
    text-align: center;
    margin-right: 12px;
    font-size: 18px;
}

.menu-item .menu-text {
    flex: 1;
    font-size: 15px;
}

.menu-item .menu-arrow {
    color: #ccc;
    font-size: 14px;
}

/* 内容区域留白(底部导航) */
.content-with-tabbar {
    padding-bottom: 60px;
}
