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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 2.5em;
}

.tabs {
    display: flex;
    background: white;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 0;
}

.tab-button {
    flex: 1;
    padding: 15px 20px;
    background: #ecf0f1;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 8px 8px 0 0;
}

.tab-button.active {
    background: #3498db;
    color: white;
}

.tab-button:hover:not(.active) {
    background: #d5dbdb;
}

.tab-content {
    background: white;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 30px;
    min-height: 400px;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.filter-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

label {
    font-weight: 600;
    color: #2c3e50;
}

select, input {
    padding: 10px 15px;
    border: 2px solid #bdc3c7;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    min-width: 200px;
}

select:focus, input:focus {
    outline: none;
    border-color: #3498db;
}

.search-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #3498db;
    border-top: none;
    border-radius: 0 0 6px 6px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.dropdown-item {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-item:hover {
    background: #f8f9fa;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.results-section {
    margin-top: 20px;
}

.result-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.result-header {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.result-detail {
    margin: 8px 0;
    font-size: 14px;
}

.result-detail strong {
    color: #34495e;
}

.wildcard-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 10px;
}

.wildcard-yes {
    background: #d4edda;
    color: #155724;
}

.wildcard-no {
    background: #f8d7da;
    color: #721c24;
}

.standards-grid {
    display: grid;
    gap: 20px;
    margin-top: 20px;
}

.standard-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
}

.standard-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.standard-definition {
    color: #6c757d;
    margin-bottom: 15px;
    font-style: italic;
}

.compliant-fields {
    margin-top: 15px;
}

.field-item {
    background: white;
    padding: 10px 15px;
    margin: 5px 0;
    border-radius: 6px;
    border-left: 4px solid #3498db;
}

.no-results {
    text-align: center;
    color: #7f8c8d;
    font-style: italic;
    padding: 40px;
}

.standards-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.standards-table th {
    background: #3498db;
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.standards-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
}

.standards-table tr:nth-child(even) {
    background: #f8f9fa;
}

.standards-table tr:hover {
    background: #e3f2fd;
}

.table-container {
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.loading {
    text-align: center;
    padding: 40px;
    color: #7f8c8d;
}
