.tf-test-results {
    font-family: system-ui, -apple-system, sans-serif;
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.test-header {
    margin-bottom: 20px;
}

.test-header h3 {
    margin: 0 0 10px 0;
    color: #2c3e50;
}

.decision {
    padding: 8px 12px;
    border-radius: 4px;
    font-weight: 600;
}

.decision.significant {
    background: #d4edda;
    color: #155724;
}

.decision.not-significant {
    background: #f8f9fa;
    color: #383d41;
}

.test-explanation {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
}

.test-results table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.test-results td, .test-results th {
    padding: 8px 12px;
    border-bottom: 1px solid #dee2e6;
    text-align: left;
}

.test-results td:first-child {
    font-weight: 500;
    color: #495057;
}

.sample-stats {
    margin: 20px 0;
}

.sample-stats table {
    width: 100%;
    border-collapse: collapse;
}

.sample-stats th, .sample-stats td {
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    text-align: center;
}

.sample-stats th {
    background: #f8f9fa;
}

.interpretation {
    margin-top: 20px;
    padding: 15px;
    background: #fff;
    border-left: 4px solid #4f8ef7;
}

.note {
    margin-top: 15px;
    padding: 10px;
    background: #fff3cd;
    border-radius: 4px;
    color: #856404;
    font-size: 0.9em;
}

.warning-banner {
    margin: 15px 0;
    padding: 15px;
    border-radius: 6px;
    display: flex;
    gap: 15px;
    align-items: start;
}

.warning-banner.severity-high {
    background: #fee8e7;
    border: 1px solid #fcccc9;
    color: #c53030;
}

.warning-banner.severity-medium {
    background: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
}

.warning-icon {
    font-size: 24px;
    line-height: 1;
}

.warning-content {
    flex: 1;
}

.warning-content ul {
    margin: 10px 0 0 0;
    padding-left: 20px;
}

.warning-content li {
    margin-bottom: 8px;
}

.warning-content li p {
    margin: 5px 0 0 0;
    font-size: 0.9em;
    opacity: 0.9;
}

.decision.with-warning {
    border: 2px solid #fcccc9;
}

.reliability-note {
    display: block;
    font-size: 0.8em;
    margin-top: 5px;
    color: #c53030;
}

.decision.invalid {
    background: #fee8e7;
    border: 2px solid #f56565;
    padding: 15px;
    margin: 15px 0;
}

.invalid-banner {
    font-size: 1.2em;
    font-weight: bold;
    color: #c53030;
    margin-bottom: 10px;
    text-align: center;
}

.invalid-explanation {
    color: #742a2a;
    font-size: 0.9em;
    text-align: center;
}

.warning-banner.severity-critical {
    background: #fecaca;
    border: 2px solid #f87171;
    color: #991b1b;
    font-weight: 500;
}

.normality-section {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.assumption-explanation {
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-left: 4px solid #4f8ef7;
    border-radius: 4px;
}

.samples-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 15px;
}

.sample-column {
    background: white;
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.normality-result {
    padding: 10px;
    margin: 10px 0;
    border-radius: 4px;
    font-size: 0.9em;
}

.normality-result.normal {
    background: #d4edda;
    color: #155724;
}

.normality-result.warning {
    background: #fff3cd;
    color: #856404;
}

.warning-text {
    color: #856404;
    font-weight: 500;
}

.success-text {
    color: #155724;
    font-weight: 500;
}