:root {
    --app-radius: 14px;
    --app-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

body {
    min-height: 100vh;
    transition: background-color 0.2s ease, color 0.2s ease;
}

body[data-bs-theme="dark"] {
    background-color: #121212;
    color: #e9ecef;
}

body[data-bs-theme="light"] {
    background-color: #f8f9fa;
    color: #212529;
}

.app-shell {
    padding-top: 2rem;
    padding-bottom: 3rem;
}

.glass-card,
.info-card {
    border-radius: var(--app-radius);
    box-shadow: var(--app-shadow);
}

body[data-bs-theme="dark"] .glass-card,
body[data-bs-theme="dark"] .info-card {
    background-color: #1b1f24;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #f8f9fa;
}

body[data-bs-theme="light"] .glass-card,
body[data-bs-theme="light"] .info-card {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #212529;
}

.hero-title {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    opacity: 0.8;
    max-width: 720px;
    margin: 0 auto;
}

.nav-tabs .nav-link {
    border: none;
    background: transparent;
}

body[data-bs-theme="dark"] .nav-tabs .nav-link {
    color: #ced4da;
}

body[data-bs-theme="light"] .nav-tabs .nav-link {
    color: #495057;
}

.nav-tabs .nav-link.active {
    border-radius: 8px 8px 0 0;
}

body[data-bs-theme="dark"] .nav-tabs .nav-link.active {
    color: #f8f9fa;
    background: #2b2f36;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom-color: transparent;
}

body[data-bs-theme="light"] .nav-tabs .nav-link.active {
    color: #212529;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom-color: transparent;
}

body[data-bs-theme="dark"] .nav-tabs {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

body[data-bs-theme="light"] .nav-tabs {
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.accordion-item {
    border: none;
    margin-bottom: 0.75rem;
    background: transparent;
}

.accordion-button {
    border-radius: 10px !important;
    box-shadow: none !important;
}

body[data-bs-theme="dark"] .accordion-button {
    background-color: #1f2329;
    color: #f8f9fa;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body[data-bs-theme="dark"] .accordion-button:not(.collapsed) {
    background-color: #2b2f36;
    color: #fff;
}

body[data-bs-theme="dark"] .accordion-body {
    background-color: #181b20;
    color: #e9ecef;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-top: none;
    border-radius: 0 0 10px 10px;
}

body[data-bs-theme="light"] .accordion-button {
    background-color: #ffffff;
    color: #212529;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

body[data-bs-theme="light"] .accordion-button:not(.collapsed) {
    background-color: #f1f3f5;
    color: #212529;
}

body[data-bs-theme="light"] .accordion-body {
    background-color: #ffffff;
    color: #212529;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-top: none;
    border-radius: 0 0 10px 10px;
}

.placeholder-glow .placeholder {
    border-radius: 0.4rem;
}

body[data-bs-theme="dark"] .placeholder-glow .placeholder {
    background-color: rgba(255, 255, 255, 0.12);
}

body[data-bs-theme="light"] .placeholder-glow .placeholder {
    background-color: rgba(0, 0, 0, 0.10);
}

.key-value-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(127, 127, 127, 0.15);
}

.key-value-row:last-child {
    border-bottom: none;
}

.kv-key {
    font-weight: 600;
    opacity: 0.9;
    min-width: 180px;
}

.kv-value {
    text-align: right;
    word-break: break-word;
    opacity: 0.95;
}

.mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.search-card {
    padding: 2rem;
}

.search-input {
    font-size: 1.1rem;
    padding: 0.85rem 1rem;
    letter-spacing: 0.04em;
}

.lookup-mode-card {
    border-radius: 12px;
    padding: 1rem;
}

body[data-bs-theme="dark"] .lookup-mode-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
}

body[data-bs-theme="light"] .lookup-mode-card {
    background: rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.06);
}

#jsonOutput {
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 0.92rem;
}

.vehicle-header {
    margin-bottom: 1.5rem;
}

.vehicle-subtext {
    opacity: 0.75;
}