* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f5f5f5;
    color: #333;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    gap: 2rem;
}

header {
    text-align: center;
    margin-bottom: 2rem;
}

h1 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.main-content {
    display: flex;
    gap: 2rem;
    min-height: calc(100vh - 200px);
}

.filters-sidebar {
    flex: 0 0 33.333%; /* 1/3 of the container */
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.language-selector {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.language-selector select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.filter-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-item label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.filter-select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    background-color: white;
}

.results-section {
    flex: 0 0 66.666%; /* 2/3 of the container */
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.results-container {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#results {
    min-height: 200px;
}

.result-item {
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.result-item:last-child {
    border-bottom: none;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    background-color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.results-table th,
.results-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.results-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
}

.results-table tr:hover {
    background-color: #f8f9fa;
}

.results-table td:first-child {
    font-weight: 500;
    color: #2c3e50;
}

.filter-values {
    list-style-type: disc;
    margin: 0;
    padding-left: 1.5rem;
}

.filter-values li {
    margin: 0.25rem 0;
    color: #666;
    font-size: 0.9rem;
}

.results-table td:last-child {
    min-width: 200px;
}

@media (max-width: 1024px) {
    .container {
        flex-direction: column;
    }

    .filters-sidebar {
        flex: none;
        position: static;
        width: 100%;
    }

    .results-section {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .results-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

.page-header {
    background-color: #f8f9fa;
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 2rem;
}

.page-header h1 {
    margin: 0;
    color: #2c3e50;
    font-size: 2.5rem;
}

.page-header p {
    margin: 0.5rem 0 0;
    color: #6c757d;
    font-size: 1.2rem;
} 