/* 咨询师工作台样式 */
.counselor-dashboard {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--neutral-bg) 0%, var(--neutral-lighter) 100%);
    padding: 2rem 0;
}

.counselor-dashboard .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* 头部区域 */
.dashboard-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.dashboard-header h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--neutral-dark);
    margin-bottom: 1rem;
}

.dashboard-header .subtitle {
    font-size: 1.3rem;
    color: var(--neutral-medium);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 功能卡片网格 */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    border-color: var(--primary-blue);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-align: center;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
    color: #1e293b;
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
    color: #64748b;
    margin-bottom: 0;
}

/* 卡片徽章 */
.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-badge.admin {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

/* 底部区域 */
.dashboard-footer {
    text-align: center;
    padding: 2rem 0;
    color: #64748b;
    font-size: 1rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .dashboard-header h1 {
        font-size: 2.2rem;
    }
    
    .dashboard-header .subtitle {
        font-size: 1.1rem;
    }
    
    .feature-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .card-icon {
        font-size: 2.5rem;
        height: 60px;
    }
    
    .feature-card h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .counselor-dashboard {
        padding: 1rem 0;
    }
    
    .dashboard-header {
        margin-bottom: 2rem;
        padding: 1rem 0;
    }
    
    .dashboard-header h1 {
        font-size: 1.8rem;
    }
    
    .feature-card {
        padding: 1.5rem 1rem;
    }
    
    .card-badge {
        top: 0.5rem;
        right: 0.5rem;
        padding: 0.2rem 0.5rem;
        font-size: 0.7rem;
    }
}

/* 特殊状态 */
.feature-card[data-admin-only="true"] {
    border: 2px solid #dc2626;
    background: linear-gradient(135deg, #fef2f2, #ffffff);
}

.feature-card[data-admin-only="true"]:hover {
    border-color: #b91c1c;
    box-shadow: 0 12px 40px rgba(220, 38, 38, 0.2);
}

/* 加载状态 */
.feature-card.loading {
    opacity: 0.6;
    pointer-events: none;
}

.feature-card.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #4f46e5;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
} 