/* ============================================
   DREAMCHAUFFEUR - Styles Partages
   Charge par toutes les pages HTML
   ============================================ */

:root {
    --glass-effect: rgba(255, 255, 255, 0.1);
    --digital-mint: #00F5A0;
    --starlight-white: rgba(255, 255, 255, 0.8);
}

body { font-family: 'Satoshi', sans-serif; }

/* ---------- Glassmorphisme ---------- */
.liquid-gradient { background: linear-gradient(135deg, #00ec9a 0%, #9effc8 100%); }
.glass-card {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.premium-glass {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ---------- Typographie ---------- */
.headline-light { font-weight: 300; text-transform: uppercase; letter-spacing: 0.1em; }
.subtitle-style { text-transform: uppercase; letter-spacing: 0.05em; color: #00f5a0; }

/* ---------- Vehicle Cards ---------- */
.vehicle-card img {
    filter: brightness(0.9);
    transition: filter 0.4s ease, transform 0.6s ease;
}
.vehicle-card:hover img, .vehicle-card.active img {
    filter: brightness(1.1);
    transform: scale(1.05);
}
.vehicle-card .overflow-hidden {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.vehicle-card {
    background: rgba(14, 14, 15, 0.45) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}
.vehicle-card:hover {
    border-color: rgba(0, 245, 160, 0.4) !important;
    box-shadow: 0 0 25px rgba(0, 245, 160, 0.05);
    transform: translateY(-2px);
}
.vehicle-card.active {
    border: 1px solid #00f5a0 !important;
    background: rgba(0, 245, 160, 0.05) !important;
    box-shadow: 0 0 30px rgba(0, 245, 160, 0.1);
}

/* ---------- Package Buttons ---------- */
.package-btn { font-weight: 300 !important; transition: all 0.3s ease; }
.package-btn.active {
    border-color: #00F5A0 !important;
    color: #00F5A0 !important;
    background: rgba(0, 245, 160, 0.1) !important;
    font-weight: 700 !important;
}

/* ---------- Tab Buttons ---------- */
.tab-btn {
    letter-spacing: 0.2em;
    font-weight: 300 !important;
    text-transform: uppercase;
    transition: all 0.3s ease;
}
.tab-btn.active {
    color: #00F5A0;
    border-bottom: 2px solid #00F5A0;
    font-weight: 500 !important;
}
.tab-btn.inactive {
    letter-spacing: 0.2em;
    font-weight: 300 !important;
    color: rgba(255, 255, 255, 0.4);
    border-bottom: 2px solid transparent;
}
.tab-btn.inactive:hover { color: rgba(255, 255, 255, 0.8); }
.tab-content { transition: opacity 0.2s ease; }
.hidden-tab { display: none; }

/* ---------- Options Toggle ---------- */
.option-row.active .toggle-dot {
    transform: translateX(20px);
    background-color: #00F5A0 !important;
    opacity: 1;
}
.option-row.active button {
    border-color: #00F5A0;
    background: rgba(0, 245, 160, 0.1);
}

/* ---------- Number Input Spinners ---------- */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* ---------- Google Places Autocomplete ---------- */
.pac-container {
    background: rgba(20, 20, 22, 0.9) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5) !important;
    margin-top: 5px;
}
.pac-item {
    color: rgba(255, 255, 255, 0.8) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 8px 12px !important;
}
.pac-item:hover { background: rgba(255, 255, 255, 0.03) !important; }
.pac-item-query { color: #00F5A0 !important; }

/* ---------- Duration Select ---------- */
#duration-select { background-color: #0e0e0f !important; color: #00F5A0 !important; }
#duration-select option { background-color: #0e0e0f !important; color: #00F5A0 !important; }
#duration-select option:hover,
#duration-select option:focus { background-color: #1a191b !important; color: #00F5A0 !important; }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .form-row { flex-direction: column; gap: 1rem; }
    .swap-button { align-self: center; transform: rotate(90deg); margin: 0.5rem 0; }
}

/* ---------- Lang Switcher ---------- */
.lang-switcher button {
    background: transparent;
    border: 1px solid var(--glass-effect);
    color: var(--starlight-white);
    padding: 5px 10px;
    margin-left: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.lang-switcher button:hover {
    border-color: var(--digital-mint);
    color: var(--digital-mint);
}

/* ---------- Misc ---------- */
.center-block {
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
}
