/* style.css - V4 "LIQUID GLASS - WHITE EDITION" */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;500;700&display=swap');

:root {
    --primary-color: #a57577;
    --glass-bg: rgba(255, 255, 255, 0.07);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    --text-main: #ffffff;
    --text-muted: #d0d0d0; /* Gris très clair maintenant */
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: #1a1a1a;
    color: var(--text-main);
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(circle at 10% 20%, #2a1a1c 0%, #1a1a1a 40%),
                radial-gradient(circle at 90% 80%, #3d2325 0%, #1a1a1a 40%);
    background-attachment: fixed;
}

/* LA CLASSE MAGIQUE : GLASS */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
}

/* Navbar */
.navbar-custom {
    margin: 20px auto;
    max-width: 95%;
}

/* Barre de recherche */
.search-pill {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 50px !important;
    color: white !important;
    padding-left: 20px;
    height: 50px;
}
.search-pill:focus {
    box-shadow: 0 0 15px rgba(165, 117, 119, 0.3) !important;
    border-color: var(--primary-color) !important;
}
.search-pill::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Les Cartes Bus */
.bus-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
    overflow: hidden;
}
.bus-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary-color);
}

.card-header-glass {
    padding: 20px;
    border-bottom: 1px solid var(--glass-border);
    background: linear-gradient(90deg, rgba(165, 117, 119, 0.2) 0%, transparent 100%);
}

/* DANS STYLE.CSS */

.badge-glass {
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    padding: 6px 14px; /* Un peu plus d'espace */
    border-radius: 12px;
    font-size: 0.9em; /* Un tout petit peu plus gros pour la lisibilité */
    font-family: monospace; /* Police style plaque */
    white-space: nowrap; /* <--- C'EST CA LE SECRET (Empêche les 2 lignes) */
    display: inline-block;
    vertical-align: middle;
}

/* Stats */
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255,255,255,0.03);
    padding: 10px;
    border-radius: 16px;
}
.stat-item i {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.1em;
}
.stat-val { font-weight: 700; font-size: 1.1em; color: white; }
.stat-lbl { font-size: 0.65em; text-transform: uppercase; color: var(--text-muted); letter-spacing: 1px; }

/* Boutons */
.btn-glass {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(165, 117, 119, 0.4);
    transition: 0.3s;
    text-decoration: none;
    display: inline-block;
}
.btn-glass:hover {
    background: #c08b8d;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(165, 117, 119, 0.6);
}
.btn-icon {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    background: rgba(255,255,255,0.05);
    color: white;
    text-decoration: none;
}
.btn-icon:hover { background: rgba(255,255,255,0.2); color: white; }
.btn-icon.danger:hover { background: rgba(220, 53, 69, 0.4); }

/* --- FORMULAIRES (C'est là que j'ai changé les couleurs !) --- */
.form-glass {
    background: rgba(0,0,0,0.3) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    color: white !important; /* Texte tapé en blanc */
    border-radius: 12px !important;
    padding: 12px !important;
}
.form-glass:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 10px rgba(165, 117, 119, 0.3) !important;
}
/* Les labels (titres au dessus des inputs) en blanc cassé */
label {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
}