/**
 * DiveWP Hosting Evaluation Styles
 * Updated to match DiveWP design system
 */

/* Hosting Evaluation Container */
.divewp-hosting-evaluation {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.hosting-evaluation-container {
    margin-top: 20px;
}

/* Test Configuration Section */
.test-configuration-section {
    background: #f8f9fa;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.test-configuration-section h5 {
    margin: 0;
    font-size: 16px;
    color: #2c3e50;
    display: flex;
    align-items: center;
}

#test-config-panel {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 20px;
    margin-top: 15px;
}

.test-config-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.test-category-card {
    border-radius: 8px;
    padding: 15px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.test-category-card h6 {
    margin: 0 0 10px 0;
    font-weight: bold;
    font-size: 14px;
}

.test-toggle {
    margin-bottom: 8px;
}

.test-toggle label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 13px;
}

.test-toggle input[type="checkbox"] {
    margin: 2px 8px 0 0;
    flex-shrink: 0;
}

.test-toggle strong {
    font-weight: 600;
    color: #2c3e50;
}

.test-toggle small {
    color: #666;
    line-height: 1.3;
}

.test-presets {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

.test-presets h6 {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #2c3e50;
}

.test-preset {
    margin-right: 10px;
    margin-bottom: 5px;
}

#toggle-test-config {
    font-size: 12px;
    padding: 4px 12px;
    height: auto;
}

/* Progress details */
.divewp-progress-details {
    font-size: 12px;
    color: #666;
    margin-top: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #e9ecef;
}

/* DiveWP Button Styling */
#run-hosting-evaluation {
    background: #48bb78 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 12px 24px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    display: inline-block !important;
    height: auto !important;
    line-height: 1.2 !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

#run-hosting-evaluation:hover {
    background: #38a169 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

#run-hosting-evaluation:focus {
    box-shadow: 0 0 0 3px rgba(72, 187, 120, 0.2) !important;
    outline: none !important;
}

#run-hosting-evaluation:active {
    transform: translateY(0) !important;
}

/* Progress Indicator */
#evaluation-progress {
    display: flex;
    align-items: center;
    background: #f7fafc;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-top: 16px;
}

.progress-text {
    font-size: 14px;
    color: #4a5568;
    font-weight: 500;
}

/* Overall Score Section */
.hosting-score-overview {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.hosting-score-overview h4 {
    margin: 0 0 16px 0;
    color: #1f2937;
    font-family: 'Literata', serif;
    font-variation-settings: 'opsz' 18, 'wght' 600;
}

.hosting-score-overview h5 {
    font-family: 'Literata', serif;
    font-variation-settings: 'opsz' 18, 'wght' 600;
    font-size: 1.3rem;
    line-height: 1.4;
    margin-bottom: 24px;
    color: #2d3748;
}

.score-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}

.score-display .score-number {
    font-size: 48px;
    font-weight: bold;
    font-family: 'Literata', serif;
    font-variation-settings: 'opsz' 24, 'wght' 700;
}

.score-display .score-rating-pill {
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.score-bar {
    width: 100%;
    height: 8px;
    background: #f3f4f6;
    border-radius: 4px;
    overflow: hidden;
}

.score-bar-fill {
    height: 100%;
    transition: width 0.3s ease;
}

/* DiveWP Status Colors - Applied via inline styles */

.score-bar {
    height: 32px;
    background: #f7fafc;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    margin-bottom: 12px;
}

.score-fill {
    height: 100%;
    background: linear-gradient(90deg, #dc3232 0%, #ed8936 40%, #4299e1 70%, #48bb78 100%);
    transition: width 1s ease-in-out;
    border-radius: 16px;
}

.score-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    color: #4a5568;
}

/* Recommendation Section */
.hosting-recommendation {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 24px;
    margin-top: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.hosting-recommendation h4 {
    margin: 0 0 16px 0;
    color: #1f2937;
    font-family: 'Literata', serif;
    font-variation-settings: 'opsz' 18, 'wght' 600;
}

.hosting-recommendation h5 {
    font-family: 'Literata', serif;
    font-variation-settings: 'opsz' 18, 'wght' 600;
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 16px;
    color: #2d3748;
}

.hosting-recommendation .verdict {
    font-size: 16px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 16px;
}

.hosting-recommendation .performance-profile {
    background: #f8fafc;
    border-left: 4px solid #3b82f6;
    padding: 16px;
    margin-bottom: 16px;
}

.hosting-recommendation .performance-profile h5 {
    margin: 0 0 8px 0;
    color: #1e293b;
}

.hosting-recommendation .performance-profile p {
    margin: 0;
    color: #475569;
}

.hosting-recommendation .strengths-heading {
    color: #059669;
    margin: 0 0 8px 0;
}

.hosting-recommendation .strengths-list {
    margin: 0 0 16px 0;
    color: #064e3b;
    list-style: none;
    padding: 0;
}

.hosting-recommendation .strengths-list li {
    margin-bottom: 4px;
}

.hosting-recommendation .bottlenecks-heading {
    color: #dc2626;
    margin: 0 0 8px 0;
}

.hosting-recommendation .bottlenecks-list {
    margin: 0 0 16px 0;
    color: #7f1d1d;
    list-style: none;
    padding: 0;
}

.hosting-recommendation .bottlenecks-list li {
    margin-bottom: 4px;
}

.hosting-recommendation .warnings-section {
    background: #fef3cd;
    border: 1px solid #f59e0b;
    border-radius: 6px;
    padding: 16px;
    margin-top: 16px;
}

.hosting-recommendation .warnings-heading {
    color: #92400e;
    margin: 0 0 8px 0;
}

.hosting-recommendation .warnings-list {
    margin: 0;
    color: #78350f;
    list-style: none;
    padding: 0;
}

.hosting-recommendation .warnings-list li {
    margin-bottom: 4px;
}

.hosting-recommendation .hosting-type {
    color: #4a5568;
    margin-bottom: 20px;
    font-size: 14px;
}

.hosting-recommendation h6 {
    font-family: 'Literata', serif;
    font-variation-settings: 'opsz' 18, 'wght' 500;
    font-size: 1rem;
    line-height: 1.4;
    margin-top: 20px;
    margin-bottom: 12px;
    color: #2d3748;
}

.hosting-recommendation ul {
    list-style: none;
    padding: 0;
    margin: 12px 0 0 0;
}

.hosting-recommendation li {
    margin-bottom: 8px;
    padding-left: 24px;
    position: relative;
    color: #4a5568;
    line-height: 1.6;
}

.hosting-recommendation li::before {
    content: "•";
    position: absolute;
    left: 8px;
    color: #48bb78;
}

/* Store Capacity Section */
.store-capacity {
    background: #EFF8FF;
    border: 1px solid #BBDEFB;
    border-radius: 8px;
    padding: 16px;
    margin: 16px 0;
}

.store-capacity h6 {
    margin-top: 0;
    color: #1976D2;
    font-family: 'Literata', serif;
    font-variation-settings: 'opsz' 18, 'wght' 500;
}

/* Warning Section */
.hosting-warnings {
    background: #FFEFD9;
    border: 1px solid #FAE5D3;
    border-radius: 8px;
    padding: 16px;
    margin: 16px 0;
}

.hosting-warnings .warning-title {
    color: #B95000;
    margin-top: 0;
    font-family: 'Literata', serif;
    font-variation-settings: 'opsz' 18, 'wght' 500;
}

.hosting-warnings .warning-list {
    color: #B95000;
}

/* Bottlenecks Section */
.hosting-bottlenecks {
    background: #f7fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    margin: 16px 0;
}

/* Improvements Section */
.hosting-improvements {
    background: #DBFFE0;
    border: 1px solid #B8E6C1;
    border-radius: 8px;
    padding: 16px;
    margin: 16px 0;
}

.hosting-improvements h6 {
    color: #0D894F;
    margin-top: 0;
    font-family: 'Literata', serif;
    font-variation-settings: 'opsz' 18, 'wght' 500;
}

/* FIXED CSS - Simple 2x2 Grid */
/* FIXED CSS - Simple 2x2 Grid */
.test-results-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-bottom: 24px;
}

.test-card {
    width: 48% !important;
    margin: 1% !important;
    background: #f7fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    box-sizing: border-box !important;
    transition: all 0.2s ease;
}

.test-card:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.test-card.rate-limited {
    background: #FFEFD9;
    border-color: #FAE5D3;
}

.test-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.test-header .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    margin-right: 12px;
    color: #48bb78;
}

.test-header h6 {
    margin: 0;
    font-size: 1.1rem;
    font-family: 'Literata', serif;
    font-variation-settings: 'opsz' 18, 'wght' 600;
    line-height: 1.3;
    color: #2d3748;
}

.test-score {
    text-align: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 16px;
}

.test-score .score {
    display: block;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 8px;
    font-family: 'Literata', serif;
    font-variation-settings: 'opsz' 24, 'wght' 700;
}

.test-score .rating {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 20px;
    color: #ffffff;
    display: inline-block;
}

/* Status Colors */
.test-score.excellent .score { color: #48bb78; }
.test-score.excellent .rating { background-color: #48bb78; }
.test-score.good .score { color: #4299e1; }
.test-score.good .rating { background-color: #4299e1; }
.test-score.fair .score { color: #ed8936; }
.test-score.fair .rating { background-color: #ed8936; }
.test-score.poor .score { color: #dc3232; }
.test-score.poor .rating { background-color: #dc3232; }
.test-score.critical .score { color: #dc3232; }
.test-score.critical .rating { background-color: #dc3232; }
.test-score.timeout .score { color: #718096; }
.test-score.timeout .rating { background-color: #718096; }
.test-score.skipped .score { color: #718096; }
.test-score.skipped .rating { background-color: #718096; }

.test-metrics {
    color: #4a5568;
}

.test-metrics p {
    margin: 0 0 8px 0;
    font-size: 14px;
    line-height: 1.5;
}

.test-metrics p strong {
    color: #2d3748;
}

.test-metrics p.warning {
    color: #B95000;
}

.test-metrics p.success {
    color: #0D894F;
}

.test-metrics p.info {
    color: #1976D2;
}

.test-metrics .interpretation {
    background: rgba(72, 187, 120, 0.1);
    border-left: 3px solid #48bb78;
    padding: 12px;
    margin-top: 16px;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.4;
    color: #2d3748;
}

.test-metrics .sub-scores {
    background: #f7fafc;
    border-radius: 6px;
    padding: 12px;
    margin: 12px 0;
}

.test-metrics .sub-scores p {
    margin-bottom: 6px;
    font-size: 13px;
}

.test-metrics .sub-scores p:last-child {
    margin-bottom: 0;
}

.rate-limited-notice {
    text-align: center;
    padding: 20px;
}

.rate-limited-notice p {
    margin: 8px 0;
}

/* Mobile: Single Column */
@media (max-width: 768px) {
    .test-card {
        width: 100%;
    }
}

/* New Progress Indicator Styles */
.divewp-progress-container {
    background-color: #f7fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    margin-top: 20px;
}

.divewp-progress-bar {
    background-color: #e5e7eb;
    border-radius: 8px;
    height: 16px;
    overflow: hidden;
    position: relative;
    width: 100%;
    margin: 16px 0;
}

.divewp-progress-bar-fill {
    background: linear-gradient(90deg, #a7f3d0, #48bb78, #38a169);
    background-size: 200% 200%;
    height: 100%;
    width: 100%;
    border-radius: 8px;
    animation: shimmer 2s linear infinite;
    transform: translateX(-100%);
    animation: progress-slide 3s ease-in-out infinite;
}

.divewp-progress-text {
    font-size: 14px;
    color: #4a5568;
    font-weight: 500;
    margin-top: 8px;
}

@keyframes progress-slide {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(0%); }
    100% { transform: translateX(100%); }
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Test Results Grid */
.test-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.test-card {
    width: 100%;
    background: #f7fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.test-card:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.test-card.rate-limited {
    background: #FFEFD9;
    border-color: #FAE5D3;
}

.test-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.test-header .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    margin-right: 12px;
    color: #48bb78;
}

.test-header h6 {
    margin: 0;
    font-size: 1.1rem;
    font-family: 'Literata', serif;
    font-variation-settings: 'opsz' 18, 'wght' 600;
    line-height: 1.3;
    color: #2d3748;
}

.test-score {
    text-align: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 16px;
}

.test-score .score {
    display: block;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 8px;
    font-family: 'Literata', serif;
    font-variation-settings: 'opsz' 24, 'wght' 700;
}

.test-score .rating {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 20px;
    color: #ffffff;
    display: inline-block;
}

/* Status Colors */
.test-score.excellent .score { color: #48bb78; }
.test-score.excellent .rating { background-color: #48bb78; }
.test-score.good .score { color: #4299e1; }
.test-score.good .rating { background-color: #4299e1; }
.test-score.fair .score { color: #ed8936; }
.test-score.fair .rating { background-color: #ed8936; }
.test-score.poor .score { color: #dc3232; }
.test-score.poor .rating { background-color: #dc3232; }
.test-score.critical .score { color: #dc3232; }
.test-score.critical .rating { background-color: #dc3232; }
.test-score.timeout .score { color: #718096; }
.test-score.timeout .rating { background-color: #718096; }
.test-score.skipped .score { color: #718096; }
.test-score.skipped .rating { background-color: #718096; }

.test-metrics {
    color: #4a5568;
}

.test-metrics p {
    margin: 0 0 8px 0;
    font-size: 14px;
    line-height: 1.5;
}

.test-metrics p strong {
    color: #2d3748;
}

.test-metrics p.warning {
    color: #B95000;
}

.test-metrics p.success {
    color: #0D894F;
}

.test-metrics p.info {
    color: #1976D2;
}

.test-metrics .interpretation {
    background: rgba(72, 187, 120, 0.1);
    border-left: 3px solid #48bb78;
    padding: 12px;
    margin-top: 16px;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.4;
    color: #2d3748;
}

.test-metrics .sub-scores {
    background: #f7fafc;
    border-radius: 6px;
    padding: 12px;
    margin: 12px 0;
}

.test-metrics .sub-scores p {
    margin-bottom: 6px;
    font-size: 13px;
}

.test-metrics .sub-scores p:last-child {
    margin-bottom: 0;
}

.rate-limited-notice {
    text-align: center;
    padding: 20px;
}

.rate-limited-notice p {
    margin: 8px 0;
}

/* --- Database Comparison Visual Distinction --- */
.test-card .test-header h6 {
    font-family: 'Literata', serif;
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 0 6px;
    display: inline-block;
}

.test-card.db-legacy {
    border-top: 3px solid #4299e1;
}
.test-card.db-benchmark {
    border-top: 3px solid #48bb78;
}

@media (max-width: 768px) {
    .test-card.db-legacy,
    .test-card.db-benchmark {
        border-top-width: 2px;
    }
}

/* ========================================================================
   Hosting Evaluation Card Template Styles
   ======================================================================== */

/* Main Card Container */
.hosting-evaluation-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Card Header */
.hosting-evaluation-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.hosting-evaluation-card .card-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hosting-evaluation-card .test-icon {
    font-size: 24px;
}

.hosting-evaluation-card .card-title {
    margin: 0;
    color: #1f2937;
    font-size: 18px;
    font-weight: 600;
}

.hosting-evaluation-card .card-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hosting-evaluation-card .score {
    font-size: 32px;
    font-weight: bold;
}

.hosting-evaluation-card .rating-pill {
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Rating color classes without forcing backgrounds on score text */
/* Score number: text color only */
.hosting-evaluation-card .score.rating-excellent { color: #10b981; background-color: transparent !important; }
.hosting-evaluation-card .score.rating-good { color: #3b82f6; background-color: transparent !important; }
.hosting-evaluation-card .score.rating-fair { color: #f59e0b; background-color: transparent !important; }
.hosting-evaluation-card .score.rating-average { color: #f59e0b; background-color: transparent !important; } /* Fallback for legacy 'average' */
.hosting-evaluation-card .score.rating-poor { color: #ef4444; background-color: transparent !important; }
.hosting-evaluation-card .score.rating-critical { color: #dc2626; background-color: transparent !important; }
.hosting-evaluation-card .score.rating-skipped { color: #6b7280; background-color: transparent !important; }
.hosting-evaluation-card .score.rating-error { color: #dc2626; background-color: transparent !important; }

/* Pill: background color with white text */
.hosting-evaluation-card .rating-pill.rating-excellent { background-color: #10b981; color: #ffffff; }
.hosting-evaluation-card .rating-pill.rating-good { background-color: #3b82f6; color: #ffffff; }
.hosting-evaluation-card .rating-pill.rating-fair { background-color: #f59e0b; color: #ffffff; }
.hosting-evaluation-card .rating-pill.rating-average { background-color: #f59e0b; color: #ffffff; } /* Fallback for legacy 'average' */
.hosting-evaluation-card .rating-pill.rating-poor { background-color: #ef4444; color: #ffffff; }
.hosting-evaluation-card .rating-pill.rating-critical { background-color: #dc2626; color: #ffffff; }
.hosting-evaluation-card .rating-pill.rating-skipped { background-color: #6b7280; color: #ffffff; }
.hosting-evaluation-card .rating-pill.rating-error { background-color: #dc2626; color: #ffffff; }

/* Business Impact Section */
.hosting-evaluation-card .business-impact {
    margin-bottom: 20px;
}

.hosting-evaluation-card .business-impact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    padding: 8px 12px;
    background: #f0fdf4;
    border-radius: 6px;
    border-left: 3px solid #10b981;
}

.hosting-evaluation-card .business-impact-icon {
    color: #10b981;
    font-weight: 600;
}

.hosting-evaluation-card .business-impact-text {
    color: #064e3b;
    font-size: 14px;
}

/* Sub-tests Section */
.hosting-evaluation-card .sub-tests-section { margin-bottom: 20px; }

.hosting-evaluation-card .toggle-details { background: #f3f4f6; border: 1px solid #d1d5db; border-radius: 6px; padding: 8px 16px; cursor: pointer; display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; }

.hosting-evaluation-card .toggle-details .toggle-icon {
    color: #6b7280;
}

.hosting-evaluation-card .toggle-details .toggle-text {
    color: #374151;
    font-weight: 500;
}

.hosting-evaluation-card .sub-tests-details { display: none; margin-top: 16px; padding: 16px; background: #f9fafb; border-radius: 6px; border: 1px solid #e5e7eb; }

/* Score breakdown toggle block spacing */
.hosting-evaluation-card .score-breakdown-toggle { margin-top: 12px; }

.hosting-evaluation-card .sub-tests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
}

.hosting-evaluation-card .sub-test-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: white;
    border-radius: 4px;
    border: 1px solid #e5e7eb;
}

.hosting-evaluation-card .sub-test-name {
    font-weight: 500;
    color: #374151;
    font-size: 13px;
}

.hosting-evaluation-card .sub-test-description {
    font-size: 12px;
    color: #6b7280;
}

.hosting-evaluation-card .sub-test-right {
    text-align: right;
}

.hosting-evaluation-card .sub-test-score {
    font-weight: 600;
}

.hosting-evaluation-card .sub-test-time {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 8px;
}

/* Performance Summary */
.hosting-evaluation-card .performance-summary {
    margin-bottom: 20px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 6px;
}

.hosting-evaluation-card .performance-summary.excellent {
    border-left: 4px solid #10b981;
}

.hosting-evaluation-card .performance-summary.good {
    border-left: 4px solid #3b82f6;
}

.hosting-evaluation-card .performance-summary.fair {
    border-left: 4px solid #f59e0b;
}

.hosting-evaluation-card .performance-summary.poor {
    border-left: 4px solid #ef4444;
}

.hosting-evaluation-card .performance-summary.critical {
    border-left: 4px solid #dc2626;
}

.hosting-evaluation-card .performance-time-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.hosting-evaluation-card .performance-time-label {
    color: #64748b;
    font-size: 14px;
}

.hosting-evaluation-card .performance-time-value {
    font-weight: 600;
    color: #1e293b;
}

.hosting-evaluation-card .summary-text {
    color: #475569;
    font-size: 14px;
    line-height: 1.5;
}

/* Recommendations Section */
.hosting-evaluation-card .recommendations {
    margin-bottom: 16px;
}

.hosting-evaluation-card .recommendations-heading {
    color: #1f2937;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.hosting-evaluation-card .recommendation-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 6px;
    padding: 8px 12px;
    background: #fefce8;
    border-radius: 4px;
    border-left: 3px solid #eab308;
}

.hosting-evaluation-card .recommendation-icon {
    color: #ca8a04;
    font-weight: 600;
}

.hosting-evaluation-card .recommendation-text {
    color: #713f12;
    font-size: 13px;
    line-height: 1.4;
}

/* Technical Details Section */
.hosting-evaluation-card .technical-details-section .toggle-technical {
    background: transparent;
    border: none;
    color: #6b7280;
    font-size: 12px;
    cursor: pointer;
    text-decoration: underline;
}

.hosting-evaluation-card .technical-details {
    display: none;
    margin-top: 12px;
    padding: 12px;
    background: #f1f5f9;
    border-radius: 4px;
    font-family: monospace;
    font-size: 11px;
    color: #475569;
}

.hosting-evaluation-card .technical-detail-item {
    margin-bottom: 4px;
}

/* Performance Rating Pills Styling */
.hosting-evaluation-card .performance-rating {
    display: inline-flex;
    align-items: center;
}

.hosting-evaluation-card .performance-rating .rating-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Performance Rating State Colors */
.hosting-evaluation-card .performance-rating.excellent .rating-badge {
    background-color: #10b981; /* Green - same as main card */
}

.hosting-evaluation-card .performance-rating.good .rating-badge {
    background-color: #3b82f6; /* Blue - same as main card */
}

.hosting-evaluation-card .performance-rating.fair .rating-badge,
.hosting-evaluation-card .performance-rating.average .rating-badge {
    background-color: #f59e0b; /* Yellow/Orange - same as main card */
}

.hosting-evaluation-card .performance-rating.poor .rating-badge {
    background-color: #ef4444; /* Red - same as main card */
}

.hosting-evaluation-card .performance-rating.critical .rating-badge {
    background-color: #ef4444; /* Red - same as poor for consistency */
}

.hosting-evaluation-card .performance-rating.timeout .rating-badge,
.hosting-evaluation-card .performance-rating.partial .rating-badge,
.hosting-evaluation-card .performance-rating.error .rating-badge {
    background-color: #dc2626; /* Dark red for errors */
}

.hosting-evaluation-card .performance-rating.skipped .rating-badge,
.hosting-evaluation-card .performance-rating.unknown .rating-badge {
    background-color: #6b7280; /* Gray for neutral states */
}