/* ===========================
   Dark SaaS Theme — Yellow / Black
=========================== */

:root {
  --bg-main: #0b0e13;
  --bg-card: #121722;
  --bg-input: #0f1420;

  --border: #1f2937;

  --text-main: #e5e7eb;
  --text-muted: #9ca3af;

  --yellow: #facc15;
  --yellow-soft: rgba(250, 204, 21, 0.15);

  --radius: 14px;
  --shadow: 0 25px 50px rgba(0, 0, 0, 0.45);
}

/* ===========================
   Global
=========================== */

body {
  background:
    radial-gradient(circle at top, rgba(250,204,21,0.06), transparent 40%),
    linear-gradient(180deg, #0b0e13, #090b10);
  color: var(--text-main);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}


.ride-card {
  background: var(--dark-card);
  border-radius: 12px;
  padding: 1.25rem;
  color: var(--text-main);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ride-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.6);
}

.ride-header {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.ride-detail {
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.ride-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--yellow);
  font-weight: 600;
  text-decoration: none;
}

.ride-link:hover {
  text-decoration: underline;
}

/* Badges */
.badge-status {
  padding: 0.25rem 0.6rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-pending {
  background: #ff9800;
  color: #111;
}

.badge-diffused {
  background: #4caf50;
  color: #111;
}

/* Responsive spacing */
@media (max-width: 575px) {
  .ride-card {
    padding: 1rem;
  }

  .ride-header {
    font-size: 1rem;
  }

  .ride-detail {
    font-size: 0.85rem;
  }
}


#map {
  height: 70vh;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
  #map {
    height: 50vh;
  }
}

.driver-card {
  background: #111;
  border: 1px solid rgba(255, 193, 7, 0.25); /* yellow soft */
  border-radius: 14px;
  padding: 16px;
  transition: all .2s ease;
}

.driver-card:hover {
  border-color: #ffc107;
  box-shadow: 0 0 0 1px rgba(255,193,7,.4);
}

.driver-name {
  font-weight: 600;
  font-size: 1.05rem;
  color: #fff;
}

.badge-group {
  background: rgba(255,193,7,.15);
  color: #ffc107;
  border: 1px solid rgba(255,193,7,.35);
}

.tarif-wrapper {
  max-width: 420px;   /* largeur idéale desktop */
}

@media (max-width: 576px) {
  .tarif-wrapper {
    max-width: 100%;
  }
}
.tooltip-inner {
  max-width: 220px;  /* réduit la largeur pour smartphone */
  white-space: normal;
  text-align: left;
}


 
  .tracking-tight { letter-spacing: -0.025em; }
  .tracking-wide { letter-spacing: 0.025em; }
  .tracking-widest { letter-spacing: 0.1em; }
  
  .text-gradient {
      background: linear-gradient(to right, #fde047, #ca8a04);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
  }

  .btn-telegram {
      background-color: var(--telegram-blue);
      color: white;
      border: none;
      box-shadow: 0 0 15px rgba(42,171,238,0.3);
      transition: all 0.2s ease;
  }
  .btn-telegram:hover {
      background-color: var(--telegram-blue-hover);
      color: white;
      transform: scale(1.02);
  }

  .glass-nav {
      background: rgba(2, 6, 23, 0.9);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  .card-custom {
      background-color: #0f172a; /* Slate 900 */
      border: 1px solid rgba(255,255,255,0.05);
      transition: all 0.3s ease;
  }
  .card-custom:hover {
      border-color: rgba(255,255,255,0.1);
  }

  /* Message Bubbles */
  .msg-bubble {
      position: relative;
      box-shadow: 0 2px 10px rgba(0,0,0,0.2);
      background-color: #1e293b;
      border-radius: 0.5rem 0.5rem 0.5rem 0;
  }
  .msg-bubble::before {
      content: '';
      position: absolute;
      left: -6px;
      top: 10px;
      width: 0;
      height: 0;
      border-top: 6px solid transparent;
      border-bottom: 6px solid transparent;
      border-right: 6px solid #1e293b;
  }

  /* Glow Effects */
  .glow-blob {
      position: absolute;
      border-radius: 50%;
      filter: blur(100px);
      pointer-events: none;
      z-index: 0;
  }