:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --highlight: #fde047;
    --text: #1e293b;
    --background: #f8fafc;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: var(--background);
}

.search-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.card-header {
    background: var(--primary);
    border-radius: 0.75rem 0.75rem 0 0 !important;
    padding: 1.5rem;
}

.result-card {
    background: white;
    margin: 1.5rem 0;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 4px 6px -2px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-left: 4px solid var(--primary);
}

.result-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
}

.highlight {
    background: var(--highlight);
    padding: 0.15rem 0.25rem;
    border-radius: 0.25rem;
    font-weight: 600;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    background: #f1f5f9;
    padding: 1rem;
    border-radius: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 1rem 0;
    max-height: 400px;
    overflow-y: auto;
}

.result-url {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: block;
    text-decoration: none;
}

.result-url:hover {
    color: var(--primary);
}

.results-count {
    font-size: 1.125rem;
    font-weight: 500;
    color: #475569;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.btn-primary {
    background: var(--primary);
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.form-control-lg, .form-select-lg {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
}

@media (max-width: 768px) {
    .search-container {
        margin: 1rem;
        padding: 0;
    }
    
    .result-card {
        margin: 1rem 0;
        padding: 1rem;
    }
}