* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.header {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

.header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 300;
}

.header .subtitle {
    font-size: 1.1em;
    opacity: 0.9;
}

.content {
    padding: 30px;
}

.section-title {
    color: #2c3e50;
    border-bottom: 3px solid #3498db;
    padding-bottom: 10px;
    margin: 30px 0 20px 0;
    font-weight: 500;
}

.metrics-container, .confusion-container {
    margin: 20px 0;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    border-left: 4px solid #3498db;
}

.metrics-table, .confusion-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.metrics-table th, .confusion-table th {
    background: #34495e;
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.metrics-table td, .confusion-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

.model-name {
    font-weight: 600;
    color: #2c3e50;
}

.metrics-table tr:hover, .confusion-table tr:hover {
    background: #f1f2f6;
}

.plot-container {
    margin: 30px 0;
    text-align: center;
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.plot-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.best-models-container {
    margin: 20px 0;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    border-left: 4px solid #e74c3c;
}

.best-models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.metric-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-top: 4px solid #3498db;
}

.metric-card.error-rate {
    border-top-color: #e74c3c;
}

.metric-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.metric-model {
    color: #7f8c8d;
    margin-bottom: 8px;
    font-size: 0.9em;
}

.metric-score {
    font-size: 1.5em;
    font-weight: 700;
    color: #3498db;
}

.error-rate .metric-score {
    color: #e74c3c;
}

.footer {
    background: #ecf0f1;
    padding: 20px;
    text-align: center;
    color: #7f8c8d;
    border-top: 1px solid #ddd;
}

.info-box {
    background: #e8f6f3;
    border-left: 4px solid #1abc9c;
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
}

.warning-box {
    background: #fdf2e9;
    border-left: 4px solid #f39c12;
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
}