.performance-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.overview-card {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.overview-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.2);
}

.card-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.card-content {
    flex: 1;
}

.card-metric {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.25rem;
}

.card-label {
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    font-weight: 500;
}

.performance-dashboard {
    padding: 5rem 0;
    background: #f8fafc;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.dashboard-header h2 {
    color: var(--primary-color);
    margin: 0;
}

.dashboard-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.time-selector {
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    color: var(--primary-color);
    font-weight: 500;
    cursor: pointer;
}

.time-selector:focus {
    outline: none;
    border-color: var(--accent-color);
}

.refresh-btn {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.refresh-btn:hover {
    background: #0369a1;
    transform: translateY(-2px);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.dashboard-widget {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.dashboard-widget:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.dashboard-widget.large {
    grid-column: span 2;
}

.widget-header {
    padding: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.widget-header h3 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.1rem;
}

.widget-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #64748b;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #dc2626;
}

.status-indicator.active {
    background: #16a34a;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.widget-content {
    padding: 1.5rem;
}

.completion-chart,
.efficiency-chart {
    margin-bottom: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.summary-item {
    text-align: center;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
}

.summary-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.summary-label {
    color: #64748b;
    font-size: 0.8rem;
}

.satisfaction-score {
    text-align: center;
    margin-bottom: 2rem;
}

.score-circle {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    position: relative;
}

.score-circle::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    background: white;
    border-radius: 50%;
}

.score-value {
    position: relative;
    z-index: 2;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
}

.satisfaction-breakdown {
    display: grid;
    gap: 0.75rem;
}

.rating-bar {
    display: grid;
    grid-template-columns: 80px 1fr 40px;
    gap: 0.75rem;
    align-items: center;
    font-size: 0.8rem;
}

.rating-bar span:first-child {
    color: #374151;
    font-weight: 500;
}

.rating-bar span:last-child {
    color: var(--primary-color);
    font-weight: 600;
    text-align: right;
}

.bar {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: var(--accent-color);
    border-radius: 4px;
    transition: width 0.6s ease;
}

.response-metrics {
    display: grid;
    gap: 1.5rem;
}

.metric-item {
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.metric-label {
    color: #64748b;
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}

.metric-value {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.metric-trend {
    font-size: 0.75rem;
    font-weight: 600;
}

.metric-trend.up {
    color: #16a34a;
}

.metric-trend.down {
    color: #dc2626;
}

.quality-indicators {
    display: grid;
    gap: 1rem;
}

.quality-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
}

.quality-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.quality-info {
    flex: 1;
}

.quality-title {
    color: #374151;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.quality-score {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary-color);
}

.efficiency-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.efficiency-stat {
    text-align: center;
    padding: 1rem;
    background: #f0fdf4;
    border-radius: 8px;
}

.efficiency-stat strong {
    display: block;
    font-size: 1.3rem;
    color: #16a34a;
    margin-bottom: 0.25rem;
}

.efficiency-stat span {
    color: #374151;
    font-size: 0.8rem;
}

.performance-categories {
    padding: 5rem 0;
}

.performance-categories h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-intro {
    text-align: center;
    color: #64748b;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.categories-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-tab {
    background: white;
    color: var(--primary-color);
    border: 2px solid #e5e7eb;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.category-tab:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.category-tab.active {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.category-content {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    min-height: 400px;
}

.performance-benchmarks {
    padding: 5rem 0;
    background: #f8fafc;
}

.performance-benchmarks h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.benchmarks-intro {
    text-align: center;
    color: #64748b;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.benchmarks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.benchmark-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
}

.benchmark-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 2rem;
    text-align: center;
}

.benchmark-header h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.benchmark-period {
    opacity: 0.9;
    font-size: 0.9rem;
}

.benchmark-comparison {
    padding: 2rem;
}

.comparison-item {
    margin-bottom: 2rem;
}

.comparison-item:last-child {
    margin-bottom: 0;
}

.comparison-label {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.comparison-bars {
    display: grid;
    gap: 0.5rem;
}

.comparison-bars .bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0;
}

.comparison-bars .bar.industry .bar-fill {
    background: #94a3b8;
}

.comparison-bars .bar.elvea .bar-fill {
    background: var(--accent-color);
}

.comparison-bars .bar span {
    font-weight: 600;
    color: var(--primary-color);
    min-width: 50px;
}

.comparison-bars .bar::before {
    content: attr(class);
    font-size: 0.8rem;
    color: #64748b;
    width: 80px;
    text-transform: capitalize;
}

.comparison-bars .bar.industry::before {
    content: 'Industry';
}

.comparison-bars .bar.elvea::before {
    content: 'ELVEA';
}

.efficiency-results {
    padding: 2rem;
}

.result-metric {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.result-metric:last-child {
    margin-bottom: 0;
}

.metric-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.metric-info {
    flex: 1;
}

.metric-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.metric-comparison {
    display: grid;
    gap: 0.25rem;
}

.metric-comparison span {
    font-size: 0.9rem;
}

.industry-avg {
    color: #64748b;
}

.elvea-result {
    color: var(--primary-color);
    font-weight: 600;
}

.improvement {
    color: #16a34a;
    font-weight: bold;
}

.safety-metrics {
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.safety-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: #f0fdf4;
    border-radius: 8px;
    border: 2px solid #dcfce7;
}

.safety-score {
    font-size: 1.8rem;
    font-weight: bold;
    color: #16a34a;
    margin-bottom: 0.5rem;
}

.safety-label {
    color: #374151;
    font-size: 0.8rem;
    line-height: 1.3;
}

.performance-reports {
    padding: 5rem 0;
}

.performance-reports h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.reports-intro {
    text-align: center;
    color: #64748b;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.report-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.report-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.report-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.report-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.report-card > p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.report-details {
    background: #f8fafc;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item strong {
    color: var(--primary-color);
}

.report-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.performance-api {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.api-content h2 {
    text-align: center;
    color: white;
    margin-bottom: 1rem;
}

.api-intro {
    text-align: center;
    opacity: 0.9;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.api-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.api-feature {
    text-align: center;
    padding: 2rem;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.2);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.api-feature h3 {
    color: white;
    margin-bottom: 1rem;
}

.api-feature p {
    opacity: 0.9;
    line-height: 1.6;
}

.api-access {
    background: rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 3rem;
    max-width: 600px;
    margin: 0 auto;
}

.api-access h3 {
    color: white;
    margin-bottom: 1rem;
    text-align: center;
}

.api-access > p {
    text-align: center;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.api-form {
    display: grid;
    gap: 1rem;
}

.api-form .form-group input,
.api-form .form-group select {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

.api-form button {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.api-form button:hover {
    background: #0369a1;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .performance-overview {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .overview-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .card-metric {
        font-size: 1.5rem;
    }
    
    .dashboard-header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .dashboard-controls {
        justify-content: center;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-widget.large {
        grid-column: span 1;
    }
    
    .chart-summary {
        grid-template-columns: 1fr;
    }
    
    .categories-tabs {
        gap: 0.5rem;
    }
    
    .category-tab {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .benchmarks-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-bars .bar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
    }
    
    .comparison-bars .bar::before {
        width: auto;
        font-weight: 600;
    }
    
    .reports-grid {
        grid-template-columns: 1fr;
    }
    
    .report-actions {
        flex-direction: column;
    }
    
    .api-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .api-access {
        padding: 2rem;
    }
    
    .safety-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .efficiency-summary {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .performance-overview {
        grid-template-columns: 1fr;
    }
    
    .api-features {
        grid-template-columns: 1fr;
    }
    
    .safety-metrics {
        grid-template-columns: 1fr;
    }
}
