:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --accent: #3b82f6;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

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

body {
    font-family: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    min-height: 100vh;
    padding: 2rem 1rem;
    line-height: 1.6;
}

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

.header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInDown 0.6s ease-out;
}

.header h1 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

.header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Search Bar */
.search-container {
    position: relative;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.6s ease-out;
}

.search-input {
    width: 100%;
    padding: 1.25rem 1.5rem 1.25rem 3.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 9999px;
    color: var(--text-main);
    font-size: 1rem;
    font-family: inherit;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

/* Section styling */
.make-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-sm);
    animation: fadeInUp 0.8s ease-out;
    transition: box-shadow 0.3s ease;
}

.make-section:hover {
    box-shadow: var(--shadow-lg);
}

.make-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--bg-main);
}

.make-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.025em;
}

/* Table */
.table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

th {
    background: var(--bg-main);
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--bg-main);
    color: var(--text-main);
    font-size: 0.9rem;
    transition: background-color 0.2s;
    vertical-align: middle;
}

tbody tr {
    transition: all 0.2s ease;
}

tbody tr:hover {
    background: #f8fafc;
}

tbody tr:last-child td {
    border-bottom: none;
}

.model-name {
    font-weight: 600;
    color: #334155;
    font-size: 0.95rem;
}

.price-value {
    font-family: 'Inter', monospace;
    font-weight: 600;
    color: #059669; /* Green for value */
}

.price-max {
    font-family: 'Inter', monospace;
    font-weight: 600;
    color: #d97706; /* Amber for max value */
}

.notes-text {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.empty-state {
    text-align: center;
    color: var(--text-muted);
    padding: 4rem 2rem;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px dashed var(--border);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .header h1 {
        font-size: 1.75rem;
    }
    .header p {
        font-size: 0.85rem;
    }
    .search-input {
        font-size: 0.9rem;
    }
    .make-header h2 {
        font-size: 1.1rem;
    }
    .make-section {
        padding: 1rem;
    }
    th {
        font-size: 0.65rem;
        padding: 0.75rem 1rem;
    }
    td {
        font-size: 0.8rem;
        padding: 0.75rem 1rem;
    }
    .model-name {
        font-size: 0.85rem;
    }
    .notes-text {
        font-size: 0.75rem;
    }
}
