/* =================================================================
   PROFESSIONAL CAR LIST - CYBER-NOIR THEME
================================================================= */
:root {
    --primary-glow-color: #00aeff;
    --secondary-glow-color: #ff00de;
    --background-dark: #0f0c29;
    --background-gradient: linear-gradient(to right, #24243e, #302b63, #0f0c29);
    --surface-color: rgba(15, 12, 41, 0.7);
    --border-color: rgba(0, 174, 255, 0.5);
}
body {
    background: var(--background-dark);
    background: -webkit-linear-gradient(to right, #24243e, #302b63, #0f0c29);
    background: var(--background-gradient);
    font-family: 'Orbitron', sans-serif;
    color: #fff;
}
.page-header h1, .page-header h2 {
    text-align: center;
    font-weight: 700;
    text-shadow: 0 0 5px #fff, 0 0 10px var(--primary-glow-color);
}
.page-header h1 {
    font-size: 3rem;
    text-decoration: underline;
    text-transform: uppercase;
}
.page-header h2 {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.8);
}
.header-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
}
.btn-cyber {
    padding: 0.75rem 1.5rem;
    font-family: inherit;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-glow-color);
    background-color: transparent;
    color: var(--primary-glow-color);
}
.btn-cyber:hover {
    background-color: var(--primary-glow-color);
    color: var(--background-dark);
    box-shadow: 0 0 15px var(--primary-glow-color);
}
/* --- Search Form Styles --- */
.search-form {
    display: flex;
}
.search-input {
    background-color: rgba(0,0,0,0.3);
    border: 1px solid var(--border-color);
    border-right: none;
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: 8px 0 0 8px;
    font-family: inherit;
}
.search-input:focus {
    outline: none;
    box-shadow: 0 0 10px var(--primary-glow-color);
}
.search-button {
    border-radius: 0 8px 8px 0;
}
.accordion, .accordion-item, .accordion-button, .accordion-collapse, .card {
    background-color: transparent !important;
    border: none;
    color: #fff;
}
.accordion-button {
    background: var(--surface-color) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: 0 0 15px rgba(0, 174, 255, 0.2);
    font-size: 1.2rem;
}
.accordion-button:not(.collapsed) {
    color: var(--primary-glow-color);
    box-shadow: 0 0 20px rgba(0, 174, 255, 0.4);
}
.accordion-button::after {
    filter: invert(1) grayscale(100%) brightness(200%);
}
.accordion-body {
    padding: 0;
}
.card {
    border: 1px solid var(--border-color) !important;
    margin-top: -1px;
}
.card-header, .card-footer {
    background: rgba(0,0,0,0.4) !important;
    text-align: center;
}
.card-body {
    padding: 1rem;
    background-color: rgba(0,0,0,0.2);
}
.table {
    --bs-table-bg: transparent;
    --bs-table-color: #fff;
    --bs-table-border-color: var(--border-color);
    --bs-table-hover-color: var(--primary-glow-color);
    color:white;
}
.social-footer {
    text-align: center;
    padding: 2rem;
    background: var(--surface-color);
    border-top: 1px solid var(--border-color);
    margin-top: 3rem;
}
.social-footer .btn {
    margin: 0.5rem;
    width: 130px;
}
/* --- UPDATED: Modal Styles --- */
.modal-content {
    background-color: #ffffff; /* Changed to white */
    color: #212529; /* Changed to dark text */
    border: 1px solid #dee2e6;
}
.modal-header {
    border-bottom: 1px solid #dee2e6;
}
.modal-footer {
    border-top: 1px solid #dee2e6;
}
/* Ensure list items in modal are readable */
.modal-body .list-group-item {
    color: #212529;
}
