* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

header {
    background-color: #2c3e50;
    color: white;
    padding: 1rem;
}

nav {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
}

.nav-title:hover {
    opacity: 0.9;
}

.nav-links {
    display: flex;
    gap: 1.25rem;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.15s;
}

.nav-links a:hover {
    color: white;
}

main {
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem;
}

.search-container {
    margin-bottom: 1rem;
}

#search {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
}

#search:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.stats {
    background-color: #ecf0f1;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #555;
}

.table-container {
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background-color: #34495e;
    color: white;
    position: sticky;
    top: 0;
}

th, td {
    padding: 0.75rem 1rem;
    text-align: left;
}

th {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

tbody tr {
    border-bottom: 1px solid #eee;
}

tbody tr:hover {
    background-color: #f8f9fa;
}

tbody tr.coverage-marker {
    background-color: #e8f5e9;
    border-bottom: 3px solid #27ae60;
}

tbody tr.coverage-marker td::after {
    content: '';
}

.coverage-label {
    display: inline-block;
    background-color: #27ae60;
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    margin-left: 0.5rem;
    font-weight: 600;
}

td:first-child {
    color: #888;
    font-size: 0.9rem;
}

td:nth-child(2) {
    font-weight: 500;
}

td:nth-child(3),
td:nth-child(4),
td:nth-child(5) {
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
    font-size: 0.9rem;
}

/* About page */
.about-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

.about-content h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.about-content h2:first-child {
    margin-top: 0;
}

.about-content p {
    margin-bottom: 1rem;
    color: #444;
}

.about-content a {
    color: #3498db;
    text-decoration: none;
}

.about-content a:hover {
    text-decoration: underline;
}

.pipeline-diagram {
    background-color: #ecf0f1;
    border-radius: 4px;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
    font-size: 0.85rem;
    line-height: 1.8;
    overflow-x: auto;
    color: #2c3e50;
}

.tech-list {
    list-style: none;
    margin-bottom: 1rem;
}

.tech-list li {
    padding: 0.4rem 0;
    color: #444;
}

.tech-list li strong {
    color: #2c3e50;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
    .nav-title {
        font-size: 1.1rem;
    }

    .nav-links {
        gap: 0.75rem;
    }

    .nav-links a {
        font-size: 0.8rem;
    }

    main {
        padding: 0.5rem;
    }

    th, td {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    .frequency-col,
    .cumulative-col {
        display: none;
    }

    .stats {
        font-size: 0.8rem;
    }

    .about-content {
        padding: 1rem 0.5rem;
    }

    .about-content h2 {
        font-size: 1.15rem;
    }
}

/* Loading state */
.loading td {
    text-align: center;
    color: #888;
    padding: 2rem;
}

/* No results */
.no-results td {
    text-align: center;
    color: #888;
    padding: 2rem;
}
