* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh; color: #333; line-height: 1.6;
}
header { text-align: center; padding: 2rem 1rem 1rem; color: white; }
header h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 0.25rem; }
.subtitle { opacity: 0.9; font-size: 1.1rem; }
main { max-width: 800px; margin: 0 auto; padding: 1rem; }
.card {
    background: white; border-radius: 16px; padding: 2rem;
    margin-bottom: 1.5rem; box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.card h2 { font-size: 1.4rem; margin-bottom: 1.5rem; color: #2d3748; text-align: center; }
.upload-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
@media (max-width: 600px) { .upload-grid { grid-template-columns: 1fr; } }
.upload-box {
    border: 2px dashed #cbd5e0; border-radius: 12px; padding: 1.5rem;
    text-align: center; cursor: pointer; transition: all 0.2s ease;
    background: #f7fafc; min-height: 250px; display: flex;
    flex-direction: column; align-items: center; justify-content: center; position: relative; overflow: hidden;
}
.upload-box:hover { border-color: #667eea; background: #f0f4ff; }
.upload-box.drag-over { border-color: #764ba2; background: #f0e6ff; }
.upload-box.has-image { border-style: solid; border-color: #48bb78; background: #f0fff4; }
.upload-icon { font-size: 3rem; margin-bottom: 0.5rem; }
.upload-box .upload-icon.hidden,
.upload-box .upload-box-text.hidden { display: none; }
.small { font-size: 0.8rem; color: #a0aec0; }
.mt-small { margin-top: 0.75rem; }
.preview { max-width: 100%; max-height: 200px; border-radius: 8px; margin-top: 0.75rem; }
.hidden { display: none !important; }
.error {
    background: #fed7d7; color: #c53030; padding: 1rem; border-radius: 8px;
    margin-bottom: 1rem; text-align: center; border: 1px solid #fccaca;
}
.actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.btn {
    padding: 0.75rem 2rem; border: none; border-radius: 8px;
    font-size: 1.05rem; cursor: pointer; font-weight: 600;
    transition: all 0.2s ease; text-decoration: none;
    display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-small { padding: 0.4rem 1rem; font-size: 0.85rem; margin-top: 0.5rem; position: relative; z-index: 2; }
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(102,126,234,0.4); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-secondary { background: white; color: #667eea; border: 2px solid #667eea; }
.btn-secondary:hover { background: #f0f4ff; }
.loader { text-align: center; }
.spinner {
    width: 60px; height: 60px; margin: 0 auto 1rem;
    border: 4px solid #e2e8f0; border-top: 4px solid #667eea;
    border-radius: 50%; animation: spin 1s linear infinite;
}
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
#loading-message { font-size: 1.1rem; color: #4a5568; margin-bottom: 0.5rem; }

/* ============================
 * COMPARISON SLIDER (Feature 1)
 * ============================ */
.comparison-slider {
    position: relative;
    width: 100%;
    user-select: none;
    -webkit-user-select: none;
}
.comparison-slider__container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    aspect-ratio: 4/3;
    background: #f7fafc;
}
.comparison-slider__container img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.comparison-slider__after {
    position: relative;
    width: 100%;
    height: 100%;
}
.comparison-slider__before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    clip-path: inset(0 50% 0 0);
    z-index: 1;
}
.comparison-slider__before img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.comparison-slider__handle {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 0;
    z-index: 2;
    cursor: ew-resize;
}
.comparison-slider__handle-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: white;
    transform: translateX(-50%);
    box-shadow: 0 0 6px rgba(0,0,0,0.3);
}
.comparison-slider__handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #667eea;
    transition: transform 0.15s ease;
}
.comparison-slider__handle:hover .comparison-slider__handle-circle {
    transform: translate(-50%, -50%) scale(1.1);
}
.comparison-labels {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0.25rem 0;
}
.comparison-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #667eea;
    background: #edf2f7;
    padding: 0.15rem 0.6rem;
    border-radius: 4px;
}
.comparison-label--before { /* left */ }
.comparison-label--after { /* right */ }

@media (max-width: 600px) {
    .comparison-slider__handle-circle {
        width: 34px;
        height: 34px;
        font-size: 0.95rem;
    }
}

/* ============================
 * PROCESSING STEPS (Feature 2)
 * ============================ */
.processing-steps {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.25rem;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}
.processing-step {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    opacity: 0.5;
}
.processing-step .step-icon {
    font-size: 1.1rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.processing-step .step-text {
    font-size: 0.9rem;
    color: #718096;
}
.processing-step.step-active {
    opacity: 1;
    background: #ebf4ff;
    border-color: #667eea;
}
.processing-step.step-active .step-text {
    color: #2d3748;
    font-weight: 600;
}
.processing-step.step-active .step-icon {
    animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
.processing-step.step-done {
    opacity: 1;
    background: #f0fff4;
    border-color: #48bb78;
}
.processing-step.step-done .step-text {
    color: #276749;
    text-decoration: line-through;
    text-decoration-color: #9ae6b4;
}

/* ============================
 * DEMO IMAGES (Feature 4)
 * ============================ */
#demo-section {
    margin-bottom: 1.5rem;
}
.demo-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.6rem 1rem;
    background: #f0f4ff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #4a5568;
    transition: all 0.2s ease;
    user-select: none;
}
.demo-toggle:hover {
    background: #ebf4ff;
    border-color: #667eea;
    color: #667eea;
}
.demo-toggle-icon { font-size: 1.2rem; }
.demo-toggle-arrow {
    transition: transform 0.2s ease;
    display: inline-block;
}
#demo-panel {
    padding: 1rem;
    margin-top: 0.5rem;
    background: #f7fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    animation: slideDown 0.3s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.demo-panel-label {
    font-size: 0.85rem;
    color: #718096;
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.demo-grid {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.demo-thumb {
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid #e2e8f0;
    transition: all 0.2s ease;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.35rem;
    min-width: 100px;
    flex: 1;
    max-width: 140px;
}
.demo-thumb:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102,126,234,0.2);
}
.demo-thumb.demo-selected {
    border-color: #48bb78;
    background: #f0fff4;
    box-shadow: 0 0 0 2px rgba(72,187,120,0.3);
}
.demo-thumb img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
}
.demo-thumb span {
    display: block;
    font-size: 0.8rem;
    color: #4a5568;
    margin-top: 0.3rem;
    text-align: center;
}
.demo-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #ed8936;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    z-index: 2;
}

/* ============================
 * QUALITY PANEL (Feature 3)
 * ============================ */
.quality-panel {
    margin-top: 0.75rem;
    width: 100%;
    max-width: 100%;
    z-index: 2;
    position: relative;
}
.quality-panel-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.5rem;
    background: #edf2f7;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.85rem;
    color: #4a5568;
}
.quality-panel-toggle:hover {
    background: #e2e8f0;
}
.quality-overview {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.quality-score-circle {
    width: 44px;
    height: 44px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.quality-score-circle.small {
    width: 32px;
    height: 32px;
}
.quality-score-circle.small svg {
    width: 32px;
    height: 32px;
}
.quality-score-circle .score-text {
    position: absolute;
    font-size: 0.55rem;
    font-weight: 700;
    color: #2d3748;
}
.quality-label {
    font-weight: 600;
    font-size: 0.8rem;
}
.quality-label--good { color: #276749; }
.quality-label--warn { color: #975a16; }
.quality-label--bad { color: #c53030; }
.quality-toggle-icon {
    transition: transform 0.2s ease;
    display: inline-block;
}
.quality-panel-body {
    margin-top: 0.4rem;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    animation: slideDown 0.3s ease;
}
.quality-checks {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0.6rem;
}
.quality-check {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    font-size: 0.8rem;
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
}
.quality-check--pass {
    background: #f0fff4;
    color: #276749;
}
.quality-check--warn {
    background: #fffff0;
    color: #975a16;
}
.quality-check--fail {
    background: #fff5f5;
    color: #c53030;
}
.qc-icon { font-size: 0.85rem; flex-shrink: 0; }
.qc-text { line-height: 1.4; }
.quality-suggestions {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    border-top: 1px solid #e2e8f0;
    padding-top: 0.5rem;
}
.quality-suggestion {
    font-size: 0.8rem;
    color: #718096;
    background: #f7fafc;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    line-height: 1.4;
}

/* RESULT SECTION */
.result-container { margin-bottom: 1.5rem; }
.result-images { display: flex; justify-content: center; align-items: center; gap: 1rem; flex-wrap: wrap; }
.result-block { text-align: center; flex: 1; min-width: 200px; }
.result-block h4 { margin-bottom: 0.5rem; color: #4a5568; }
.result-block img { max-width: 100%; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
#result-image { max-width: 100%; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
#result-person { max-width: 100%; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.result-arrow { font-size: 2rem; color: #667eea; font-weight: bold; }
/* ============================
 * GARMENT PANEL & CATALOG (M4.3)
 * ============================ */
.garment-panel {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.catalog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}
.catalog-header h3 {
    font-size: 1.1rem;
    color: #2d3748;
}
.catalog-count {
    font-size: 0.75rem;
    color: #a0aec0;
    font-weight: 600;
}

/* Category Filter Tabs */
.catalog-filters {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}
.catalog-filter {
    padding: 0.35rem 0.8rem;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: #f7fafc;
    color: #718096;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.catalog-filter:hover {
    border-color: #667eea;
    color: #667eea;
}
.catalog-filter--active {
    background: #667eea;
    border-color: #667eea;
    color: white;
}

/* Catalog Grid */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 0.6rem;
    max-height: 320px;
    overflow-y: auto;
    padding-right: 0.25rem;
}
.catalog-grid::-webkit-scrollbar {
    width: 6px;
}
.catalog-grid::-webkit-scrollbar-track {
    background: #f7fafc;
    border-radius: 3px;
}
.catalog-grid::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 3px;
}
.catalog-grid::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

@media (max-width: 600px) {
    .catalog-grid {
        max-height: 240px;
    }
}

/* Catalog Item Card */
.catalog-item {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
    position: relative;
}
.catalog-item:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102,126,234,0.2);
}
.catalog-item--selected {
    border-color: #48bb78;
    background: #f0fff4;
    box-shadow: 0 0 0 2px rgba(72,187,120,0.3);
}
.catalog-item--selected::after {
    content: '✓';
    position: absolute;
    top: 4px;
    right: 4px;
    background: #48bb78;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    z-index: 2;
}
.catalog-item img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    display: block;
}

/* Heart/Favorite button on catalog items */
.catalog-item-favorite {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(255,255,255,0.85);
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1;
    z-index: 3;
    transition: all 0.15s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.catalog-item-favorite:hover {
    background: white;
    transform: scale(1.15);
}
.catalog-item-info {
    padding: 0.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}
.catalog-item-name {
    font-size: 0.7rem;
    font-weight: 600;
    color: #2d3748;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.catalog-item-category {
    font-size: 0.65rem;
    color: #a0aec0;
    text-transform: capitalize;
}

/* Catalog States */
.catalog-state {
    text-align: center;
    padding: 1.5rem 1rem;
    color: #a0aec0;
    font-size: 0.9rem;
}
.catalog-state .spinner.small {
    width: 30px;
    height: 30px;
    margin: 0 auto 0.5rem;
    border-width: 3px;
}

/* User bar */
.user-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}
#username-display {
    font-size: 0.9rem;
    opacity: 0.9;
    color: white;
}
.btn-icon {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
}
.btn-icon:hover {
    background: rgba(255,255,255,0.3);
}

/* ============================
 * HISTORY PANEL
 * ============================ */
.history-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.history-header h2 {
    font-size: 1.4rem;
    color: #2d3748;
    text-align: left;
    margin-bottom: 0;
}
.history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 0.25rem;
}
.history-entry {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
    position: relative;
}
.history-entry:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102,126,234,0.2);
}
.history-entry img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}
.history-entry-info {
    padding: 0.4rem;
}
.history-entry-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: #2d3748;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.history-entry-date {
    font-size: 0.65rem;
    color: #a0aec0;
}

/* History result view */
.history-result-image {
    text-align: center;
    margin: 1rem 0;
}
.history-result-image img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    object-fit: contain;
}
.history-meta {
    font-size: 0.85rem;
    color: #718096;
    text-align: center;
    margin-top: 0.5rem;
}
.mt-small { margin-top: 0.75rem; }
.mb-small { margin-bottom: 0.5rem; }

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}
.pagination span {
    font-size: 0.85rem;
    color: #718096;
}

/* Danger button */
.btn-danger {
    background: #e53e3e;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 2rem;
    font-size: 1.05rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-danger:hover {
    background: #c53030;
}

/* ============================
 * RESPONSIVE HISTORY
 * ============================ */
@media (max-width: 600px) {
    .history-grid {
        max-height: 300px;
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    }
}

/* Upload Toggle */
.upload-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    margin-top: 0.5rem;
    background: #edf2f7;
    border: 2px dashed #a0aec0;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.85rem;
    color: #4a5568;
    font-weight: 500;
    transition: all 0.2s ease;
    user-select: none;
    width: 100%;
}
.upload-toggle-btn:hover {
    background: #e2e8f0;
    border-color: #718096;
    color: #2d3748;
}
.upload-toggle-btn.upload-toggle--open {
    background: #f0fff4;
    border-color: #48bb78;
    color: #276749;
}
.upload-toggle-btn .upload-toggle-icon {
    font-size: 1.1rem;
    transition: transform 0.2s ease;
    display: inline-block;
}

/* Garment Selection Info Bar */
.garment-selection-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    background: #f0fff4;
    border: 1px solid #c6f6d5;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: #276749;
    font-weight: 600;
}
.btn-deselect {
    background: none;
    border: none;
    color: #c53030;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    padding: 0 0.25rem;
    line-height: 1;
    transition: color 0.2s ease;
}
.btn-deselect:hover {
    color: #9b2c2c;
}

/* Garment Category Dropdown */
.garment-category-select {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.5rem;
    background: #edf2f7;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    position: relative;
    z-index: 2;
}
.garment-category-select label {
    font-size: 0.8rem;
    color: #4a5568;
    font-weight: 600;
}
.garment-category-select select {
    width: 100%;
    padding: 0.4rem 0.6rem;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    background: white;
    font-size: 0.85rem;
    color: #2d3748;
    cursor: pointer;
    transition: border-color 0.2s ease;
}
.garment-category-select select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102,126,234,0.2);
}

footer { text-align: center; padding: 2rem 1rem; color: rgba(255,255,255,0.8); font-size: 0.9rem; }

/* ── Health Banner ───────────────────────────────────── */
.health-banner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    margin: 0.5rem auto 0;
    max-width: 360px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 500;
}
.health-banner.hidden { display: none; }
.health-banner--healthy {
    background: rgba(72, 187, 120, 0.15);
    border: 1px solid rgba(72, 187, 120, 0.3);
    color: #9ae6b4;
}
.health-banner--degraded {
    background: rgba(237, 137, 54, 0.15);
    border: 1px solid rgba(237, 137, 54, 0.3);
    color: #fbd38d;
}
.health-banner--error {
    background: rgba(245, 101, 101, 0.15);
    border: 1px solid rgba(245, 101, 101, 0.3);
    color: #feb2b2;
}
.health-banner-badge {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.health-banner--healthy .health-banner-badge { background: #48bb78; }
.health-banner--degraded .health-banner-badge { background: #ed8936; }
.health-banner--error .health-banner-badge    { background: #f56565; }
