* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #f5f5f5;
}

h1 {
    color: #333;
    margin-bottom: 20px;
}

.input-section {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

#jsonUrl {
    flex: 1;
    padding: 10px 15px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    padding: 10px 25px;
    font-size: 14px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background: #0056b3;
}

button:disabled {
    background: #999;
    cursor: not-allowed;
}

.stats {
    background: white;
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.stats p {
    margin: 5px 0;
    font-size: 14px;
}

.stats strong {
    color: #007bff;
}

.filter-section {
    background: white;
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.filter-section label {
    font-weight: 600;
    margin-right: 10px;
}

.important-message {
    margin: 0 0 12px 0;
    padding: 10px 15px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    color: #856404;
    font-weight: 500;
}

#brandSelect {
    padding: 8px 15px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    min-width: 200px;
}

.results-section {
    background: white;
    padding: 15px 20px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.results-section h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}

#searchInput {
    width: 100%;
    padding: 10px 15px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 15px;
}

#searchInput:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.15);
}

#jsonOutput {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 15px;
    border-radius: 4px;
    overflow-x: auto;
    max-height: 600px;
    overflow-y: auto;
    font-size: 12px;
    line-height: 1.5;
    white-space: pre-wrap;
    word-wrap: break-word;
}

#jsonOutput a {
    color: #6cb6ff;
    text-decoration: none;
}

#jsonOutput a:hover {
    text-decoration: underline;
}

.error {
    color: #dc3545;
    background: #f8d7da;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.loading {
    color: #666;
    font-style: italic;
}

.hidden {
    display: none;
}
