/* Imago Deep Blue & Anvil Theme - Tailwind Extensions */

/* Corporate button overrides: reduced rounding + opacity-based colors */
button, a[class*="bg-"], .btn {
    border-radius: 4px !important;
}
/* Keep pills/badges fully rounded */
[class*="rounded-full"] {
    border-radius: 9999px !important;
}
/* Slightly less rounded containers */
[class*="rounded-xl"] {
    border-radius: 10px !important;
}
[class*="rounded-2xl"] {
    border-radius: 12px !important;
}

/* Custom scrollbar for dark theme */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #0f172a;
}
::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

/* Tab panel visibility */
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Car specs separator dots */
.car-specs span:not(:last-child)::after {
    content: "\00b7";
    margin-left: 0.5rem;
    color: #475569;
}

/* Pros/cons list markers */
ul.pros li::marker {
    content: "+ ";
    color: #22c55e;
}
ul.cons li::marker {
    content: "- ";
    color: #ef4444;
}

/* Pre inside details */
details pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    font-size: 0.8rem;
    max-height: 300px;
    overflow-y: auto;
}

/* Smooth transitions for cards */
.car-card-hover {
    transition: box-shadow 0.2s, transform 0.15s;
}
.car-card-hover:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    transform: translateY(-2px);
}

/* Form inputs: reduced rounding to match buttons */
input, select, textarea {
    border-radius: 4px !important;
}

/* Form focus ring override for dark theme */
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2) !important;
}

/* Corporate: tighter card hover, less playful */
.car-card-hover:hover {
    transform: translateY(-1px);
}
