* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 1rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    overflow: hidden;
}

.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
}

.count {
    font-size: 0.9rem;
    opacity: 0.9;
}

.table-container {
    overflow-x: auto;
}

.links-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.links-table thead {
    background: #f7fafc;
    border-bottom: 2px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.links-table th {
    text-align: left;
    padding: 0.75rem 1rem;
    font-weight: 600;
    color: #4a5568;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.links-table tbody tr {
    border-bottom: 1px solid #e2e8f0;
    transition: background 0.15s ease;
}

.links-table tbody tr:hover {
    background: #f7fafc;
}

.links-table td {
    padding: 0.6rem 1rem;
    vertical-align: middle;
}

.links-table td a {
    color: #2d3748;
    text-decoration: none;
    line-height: 1.4;
}

.links-table td a:hover {
    color: #667eea;
    text-decoration: underline;
}

.date {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.mfr-date {
    display: inline-block;
    background: #92a1e6;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}


.model-year {
    display: inline-block;
    background: #e2e8f0;
    color: #4a5568;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.description {
    color: #4a5568;
    line-height: 1.5;
}

.loading {
    text-align: center;
    padding: 3rem;
    color: #718096;
}

.error {
    text-align: center;
    padding: 3rem;
    color: #e53e3e;
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .links-table {
        font-size: 0.85rem;
    }
    
    .links-table th,
    .links-table td {
        padding: 0.5rem 0.75rem;
    }
}
