/* 心力源 - B端(咨询师)样式 */

/* 工作台 */
.dashboard-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 15px;
}

.stat-card {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}

.stat-card .stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #4a90d9;
}

.stat-card .stat-label {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

/* 请求列表 */
.request-card {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    margin: 8px 15px;
}

.request-card .user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.request-card .user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e6e6e6;
}

.request-card .request-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.request-card .request-actions .btn {
    flex: 1;
}

/* 排班日历 */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    padding: 10px 15px;
}

.calendar-grid .day-header {
    text-align: center;
    font-size: 12px;
    color: #999;
    padding: 8px 0;
}

.calendar-grid .day-cell {
    text-align: center;
    padding: 8px 0;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
}

.calendar-grid .day-cell.today {
    border: 1px solid #4a90d9;
}

.calendar-grid .day-cell.has-schedule {
    background: #e6f0ff;
    color: #4a90d9;
}

.calendar-grid .day-cell.selected {
    background: #4a90d9;
    color: #fff;
}

.calendar-grid .day-cell.disabled {
    color: #ccc;
}

/* 时段列表 */
.time-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 15px;
}

.time-slot {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
}

.time-slot.selected {
    background: #4a90d9;
    color: #fff;
    border-color: #4a90d9;
}

.time-slot.booked {
    background: #f5f5f5;
    color: #bbb;
    border-color: #eee;
    cursor: not-allowed;
}

/* 收入 */
.income-summary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 24px 15px;
    text-align: center;
}

.income-summary .total-amount {
    font-size: 32px;
    font-weight: 700;
}

.income-summary .total-label {
    font-size: 13px;
    opacity: 0.8;
    margin-top: 4px;
}

.income-detail-row {
    display: flex;
    justify-content: space-around;
    margin-top: 16px;
}

.income-detail-row .detail-item {
    text-align: center;
}

.income-detail-row .detail-item .value {
    font-size: 18px;
    font-weight: 600;
}

.income-detail-row .detail-item .label {
    font-size: 12px;
    opacity: 0.8;
    margin-top: 2px;
}

/* 咨询师状态开关 */
.status-switch {
    display: flex;
    align-items: center;
    gap: 8px;
}

.switch-toggle {
    width: 44px;
    height: 24px;
    border-radius: 12px;
    background: #ddd;
    position: relative;
    cursor: pointer;
    transition: background 0.3s;
}

.switch-toggle.on {
    background: #52c41a;
}

.switch-toggle .switch-handle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: left 0.3s;
}

.switch-toggle.on .switch-handle {
    left: 22px;
}
