/* Shared styles for tf2dl.net */

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

body {
    font-family: 'Ubuntu', system-ui, sans-serif;
    background-color: #171717;
    color: #f5f5f5;
    font-size: 16px;
    line-height: 1.5;
    min-height: 100vh;
}

.container {
    max-width: 63rem;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* Header */
.header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #404040;
}

.logo {
    width: 5rem;
    height: 5rem;
    border-radius: 0.25rem;
}

.header-content h1 {
    font-size: 1.875rem;
    font-weight: 500;
    color: #f5f5f5;
    margin-bottom: 0.25rem;
}

.header-content p {
    color: #a3a3a3;
    font-size: 1rem;
}

/* Section */
.section {
    margin-bottom: 2.5rem;
}

.section h2 {
    font-size: 1.25rem;
    font-weight: 500;
    color: #f5f5f5;
    margin-bottom: 0.75rem;
}

.section-description {
    font-size: 0.875rem;
    color: #a3a3a3;
    margin-bottom: 0.75rem;
}

.section-description a {
    color: #92aad2;
    text-decoration: none;
}

.section-description a:hover {
    color: #a7c2ee;
    text-decoration: underline;
}

/* Coming Soon / Empty State */
.coming-soon {
    text-align: center;
    padding: 2rem;
    background-color: #0a0a0a;
    border: 1px solid #404040;
    border-radius: 0.35rem;
    font-size: 1rem;
    color: #d4d4d4;
}

.coming-soon a {
    color: #92aad2;
    text-decoration: none;
    font-family: 'Ubuntu', monospace;
}

.coming-soon a:hover {
    color: #a7c2ee;
    text-decoration: underline;
}

/* Table */
.table-container {
    border: 1px solid #404040;
    background-color: #0a0a0a;
    border-radius: 0.35rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.table-container table {
    min-width: 32rem;
}

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

thead tr {
    border-bottom: 1px solid #404040;
}

th {
    font-family: 'Ubuntu', monospace;
    color: #d4d4d4;
    text-align: left;
    padding: 0.75rem 1rem;
    font-weight: 500;
    font-size: 0.875rem;
}

tbody tr {
    border-bottom: 1px solid #262626;
    transition: background-color 0.15s;
}

tbody tr:hover {
    background-color: rgba(38, 38, 38, 0.3);
}

td {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
}

td.mono {
    font-family: 'Ubuntu Mono', monospace;
    color: #f5f5f5;
}

td.type {
    color: #a3a3a3;
}

td.info {
    font-family: 'Ubuntu Mono', monospace;
    color: #d4d4d4;
}

td a {
    color: #92aad2;
    font-family: 'Ubuntu Mono', monospace;
    text-decoration: none;
    font-size: 0.875rem;
}

td a:hover {
    color: #a7c2ee;
    text-decoration: underline;
}

/* Footer */
.footer {
    padding-top: 1.5rem;
    border-top: 1px solid #404040;
    text-align: center;
    font-size: 0.75rem;
    color: #737373;
    font-family: monospace;
}

.footer a {
    color: #92aad2;
    text-decoration: none;
}

.footer a:hover {
    color: #a7c2ee;
    text-decoration: underline;
}

/* Responsive - Shared */
@media (max-width: 768px) {
    table {
        font-size: 0.75rem;
    }

    th, td {
        padding: 0.5rem;
    }
}
