/**
 * Yahia Location - Public Assistant Widget
 * Modern Flutter UI / Material 3 Style
 * Base Color: #6db21b
 * Version: 2.1.0
 */

:root {
  --yl-primary: #6db21b;
  --yl-primary-dark: #589214;
  --yl-primary-light: #f4f9ef;
  --yl-dark: #0f172a;
  --yl-gray: #475569;
  --yl-light-gray: #f8fafc;
  --yl-border: #e2e8f0;
  --yl-white: #ffffff;
  --yl-radius: 10px;
  --yl-radius-sm: 6px;
  --yl-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
}

/* Base Widget Container */
.yl-widget-container {
  position: fixed;
  z-index: 999990;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
  color: var(--yl-dark);
  box-sizing: border-box;
  letter-spacing: normal !important;
  text-align: left !important;
}

.yl-widget-container *, 
.yl-widget-container *::before, 
.yl-widget-container *::after {
  box-sizing: border-box;
  letter-spacing: normal !important;
}

/* =========================================
   PURE CSS SVG MASK ICONS (No HTML Emojis)
   ========================================= */
.yl-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  vertical-align: -2px;
  background-color: currentColor;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  flex-shrink: 0;
}

.yl-icon-calendar {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
}

.yl-icon-car {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 17H3v-5l2-5h14l2 5v5h-2'/%3E%3Ccircle cx='7.5' cy='17' r='2'/%3E%3Ccircle cx='16.5' cy='17' r='2'/%3E%3Cpath d='M9.5 17h5'/%3E%3Cpath d='M3 12h18'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 17H3v-5l2-5h14l2 5v5h-2'/%3E%3Ccircle cx='7.5' cy='17' r='2'/%3E%3Ccircle cx='16.5' cy='17' r='2'/%3E%3Cpath d='M9.5 17h5'/%3E%3Cpath d='M3 12h18'/%3E%3C/svg%3E");
}

.yl-icon-list {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='8' y1='6' x2='21' y2='6'/%3E%3Cline x1='8' y1='12' x2='21' y2='12'/%3E%3Cline x1='8' y1='18' x2='21' y2='18'/%3E%3Ccircle cx='3' cy='6' r='1' fill='black'/%3E%3Ccircle cx='3' cy='12' r='1' fill='black'/%3E%3Ccircle cx='3' cy='18' r='1' fill='black'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='8' y1='6' x2='21' y2='6'/%3E%3Cline x1='8' y1='12' x2='21' y2='12'/%3E%3Cline x1='8' y1='18' x2='21' y2='18'/%3E%3Ccircle cx='3' cy='6' r='1' fill='black'/%3E%3Ccircle cx='3' cy='12' r='1' fill='black'/%3E%3Ccircle cx='3' cy='18' r='1' fill='black'/%3E%3C/svg%3E");
}

.yl-icon-pin {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

.yl-icon-chat {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E");
}

.yl-icon-arrow-left {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='19' y1='12' x2='5' y2='12'/%3E%3Cpolyline points='12 19 5 12 12 5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='19' y1='12' x2='5' y2='12'/%3E%3Cpolyline points='12 19 5 12 12 5'/%3E%3C/svg%3E");
}

.yl-icon-check {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

.yl-icon-phone {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

.yl-icon-external {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");
}

.yl-icon-gear {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z'/%3E%3C/svg%3E");
}

.yl-icon-speed {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 14l4-4'/%3E%3Cpath d='M3.34 19a10 10 0 1 1 17.32 0'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 14l4-4'/%3E%3Cpath d='M3.34 19a10 10 0 1 1 17.32 0'/%3E%3C/svg%3E");
}

.yl-icon-user {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
}

.yl-icon-eye {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}

.yl-icon-bag {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2L3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'/%3E%3Cline x1='3' y1='6' x2='21' y2='6'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2L3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'/%3E%3Cline x1='3' y1='6' x2='21' y2='6'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E");
}

/* Position: BOTTOM-LEFT by default (Completely free from WhatsApp on bottom-right) */
.yl-widget-container.yl-pos-bottom-left {
  left: 20px !important;
  right: auto !important;
  bottom: 20px !important;
}

.yl-widget-container.yl-pos-bottom-left .yl-panel {
  left: 20px !important;
  right: auto !important;
  bottom: 76px !important;
}

.yl-widget-container.yl-pos-bottom-right {
  right: 20px !important;
  left: auto !important;
  bottom: 20px !important;
}

.yl-widget-container.yl-pos-bottom-right .yl-panel {
  right: 20px !important;
  left: auto !important;
  bottom: 76px !important;
}

/* =========================================
   TRIGGER BUTTON & TEASER BUBBLE
   ========================================= */
.yl-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: var(--yl-primary);
  color: var(--yl-white);
  border: 1px solid var(--yl-primary-dark);
  border-radius: var(--yl-radius-sm);
  padding: 10px 16px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(109, 178, 27, 0.35);
  transition: all 0.2s ease-in-out;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  animation: ylButtonFloat 4s ease-in-out infinite alternate;
}

@keyframes ylButtonFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-3px); }
}

.yl-trigger-btn:hover {
  background-color: var(--yl-primary-dark);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 22px rgba(109, 178, 27, 0.45);
}

.yl-bot-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.yl-bot-svg {
  width: 22px;
  height: 22px;
  stroke: var(--yl-white);
}

.yl-pulse-ring {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  animation: ylPulse 2s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

@keyframes ylPulse {
  0% { transform: scale(0.85); opacity: 0.9; }
  100% { transform: scale(1.4); opacity: 0; }
}

.yl-trigger-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.yl-trigger-main {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.2;
}

.yl-trigger-sub {
  font-size: 11px;
  opacity: 0.92;
  font-weight: 400;
}

.yl-status-dot {
  width: 8px;
  height: 8px;
  background-color: #a3e635;
  border: 1.5px solid var(--yl-primary-dark);
  border-radius: 50%;
}

/* Teaser Bubble */
.yl-teaser-bubble {
  position: absolute;
  bottom: 60px;
  left: 0;
  background: #ffffff;
  border: 1px solid var(--yl-border);
  border-radius: var(--yl-radius-sm);
  padding: 10px 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  min-width: 220px;
  cursor: pointer;
  z-index: 999991;
  animation: ylTeaserPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes ylTeaserPop {
  from { opacity: 0; transform: translateY(8px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.yl-teaser-bubble::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 24px;
  width: 10px;
  height: 10px;
  background: #ffffff;
  border-right: 1px solid var(--yl-border);
  border-bottom: 1px solid var(--yl-border);
  transform: rotate(45deg);
}

.yl-teaser-close {
  position: absolute;
  top: 5px;
  right: 8px;
  background: transparent;
  border: none;
  font-size: 16px;
  color: #94a3b8;
  cursor: pointer;
  line-height: 1;
}

.yl-teaser-content strong {
  display: block;
  font-size: 12.5px;
  color: var(--yl-primary);
  margin-bottom: 2px;
}

.yl-teaser-content span {
  font-size: 11.5px;
  color: var(--yl-gray);
  line-height: 1.3;
  display: block;
}

/* =========================================
   PANEL WINDOW (Flutter / Material 3 Style)
   ========================================= */
.yl-panel {
  position: fixed;
  width: 390px;
  max-width: calc(100vw - 32px);
  height: 590px;
  max-height: calc(100vh - 90px);
  background-color: #f8fafc;
  border-radius: var(--yl-radius);
  box-shadow: var(--yl-shadow);
  border: 1px solid var(--yl-border);
  display: flex;
  flex-direction: column;
  overflow: hidden !important;
  z-index: 1000000;
  animation: ylSlideUp 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes ylSlideUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Top Header Bar */
.yl-p-header {
  background-color: var(--yl-primary);
  color: var(--yl-white);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: none;
}

.yl-p-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.yl-avatar {
  width: 34px;
  height: 34px;
  border-radius: var(--yl-radius-sm);
  background-color: rgba(255, 255, 255, 0.22);
  display: grid;
  place-items: center;
}

.yl-brand-info strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.2;
}

.yl-brand-info span {
  font-size: 11px;
  opacity: 0.92;
}

.yl-p-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.yl-btn-settings {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff !important;
  border-radius: var(--yl-radius-sm);
  width: 28px;
  height: 28px;
  text-decoration: none;
  transition: background 0.15s ease;
}

.yl-btn-settings:hover {
  background: rgba(255, 255, 255, 0.35);
}

.yl-btn-settings svg {
  width: 15px;
  height: 15px;
}

.yl-btn-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
  opacity: 0.9;
}

.yl-btn-close:hover {
  opacity: 1;
}

/* =========================================
   FLUTTER VIEW CONTAINER & SCREENS
   ========================================= */
.yl-chat-area {
  flex: 1;
  overflow: hidden !important;
  padding: 0 !important;
  background-color: #f8fafc;
  display: flex;
  flex-direction: column;
}

.yl-screen-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  overflow: hidden;
  animation: ylScreenFade 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes ylScreenFade {
  from { opacity: 0; transform: translateX(8px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Flutter AppBar Style Sub-Header */
.yl-screen-header {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border-bottom: 1px solid var(--yl-border);
  padding: 10px 14px;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.yl-btn-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.yl-btn-back:hover {
  background: var(--yl-primary) !important;
  border-color: var(--yl-primary-dark) !important;
  color: #ffffff !important;
}

.yl-btn-back:hover .yl-icon {
  background-color: #ffffff !important;
}

.yl-btn-back .yl-icon {
  width: 14px;
  height: 14px;
  background-color: #334155;
}

.yl-screen-title-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  min-width: 0;
  flex: 1;
}

.yl-screen-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left !important;
  letter-spacing: normal !important;
}

.yl-screen-subtitle {
  font-size: 11px;
  color: #64748b;
  line-height: 1.2;
  text-align: left !important;
  letter-spacing: normal !important;
}

/* Screen Scrollable Body (Only ONE vertical scrollbar, NO horizontal scroll) */
.yl-screen-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden !important;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.yl-screen-body::-webkit-scrollbar {
  width: 4px;
}
.yl-screen-body::-webkit-scrollbar-track {
  background: transparent;
}
.yl-screen-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

/* =========================================
   1. HOME SCREEN STYLES
   ========================================= */
.yl-home-greeting {
  background: #ffffff;
  border: 1px solid var(--yl-border);
  border-radius: 8px;
  padding: 14px;
  text-align: left;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.yl-greeting-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--yl-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.yl-status-dot-inline {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #22c55e;
  display: inline-block;
}

.yl-greeting-text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--yl-dark);
  text-align: left !important;
  letter-spacing: normal !important;
}

/* Flutter List Tiles */
.yl-menu-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.yl-menu-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  background: #ffffff;
  border: 1px solid var(--yl-border);
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: all 0.15s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02);
  letter-spacing: normal !important;
}

.yl-menu-tile:hover {
  background: var(--yl-primary) !important;
  border-color: var(--yl-primary-dark) !important;
  transform: translateX(4px);
}

.yl-menu-tile:hover .yl-tile-title,
.yl-menu-tile:hover .yl-tile-sub,
.yl-menu-tile:hover .yl-tile-arrow {
  color: #ffffff !important;
}

.yl-menu-tile:hover .yl-tile-icon-box {
  background-color: rgba(255, 255, 255, 0.22) !important;
}

.yl-menu-tile:hover .yl-tile-icon-box .yl-icon {
  background-color: #ffffff !important;
}

.yl-tile-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background-color: var(--yl-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.yl-tile-icon-box .yl-icon {
  width: 18px;
  height: 18px;
  background-color: var(--yl-primary);
}

.yl-tile-wa {
  border-color: #d1fae5;
}

.yl-icon-box-wa {
  background-color: #ecfdf5;
}

.yl-icon-box-wa .yl-icon {
  background-color: #10b981;
}

.yl-tile-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  flex: 1;
  min-width: 0;
}

.yl-tile-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--yl-dark);
  text-align: left !important;
  letter-spacing: normal !important;
  line-height: 1.3;
}

.yl-tile-sub {
  font-size: 11px;
  color: var(--yl-gray);
  text-align: left !important;
  letter-spacing: normal !important;
  margin-top: 2px;
}

.yl-tile-arrow {
  font-size: 18px;
  color: #94a3b8;
  font-weight: 600;
  margin-left: auto;
  line-height: 1;
}

.yl-home-footer-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11.5px;
  color: #64748b;
  padding: 8px 0 2px 0;
  margin-top: auto;
}

.yl-home-footer-info .yl-icon {
  background-color: #64748b;
}

/* =========================================
   2. CARS SCREEN STYLES
   ========================================= */
.yl-filter-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.yl-filter-chips::-webkit-scrollbar {
  display: none;
}

.yl-filter-chip {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
  flex: none;
}

.yl-filter-chip:hover {
  background: var(--yl-primary) !important;
  border-color: var(--yl-primary-dark) !important;
  color: #ffffff !important;
}

.yl-filter-chip.active {
  background: var(--yl-primary);
  border-color: var(--yl-primary-dark);
  color: #ffffff;
}

.yl-cars-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.yl-car-card {
  background: #ffffff;
  border: 1px solid var(--yl-border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  text-align: left;
}

.yl-car-card-media {
  position: relative;
  height: 135px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.yl-car-card-media img {
  max-height: 120px;
  max-width: 90%;
  object-fit: contain;
}

.yl-car-pill {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.yl-pill-auto {
  background: #0f172a;
  color: #ffffff;
}

.yl-pill-manual {
  background: #e2e8f0;
  color: #334155;
}

.yl-car-card-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.yl-car-title {
  margin: 0;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--yl-dark);
  text-align: left !important;
  letter-spacing: normal !important;
  line-height: 1.3;
}

.yl-car-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.yl-badge {
  background: #f1f5f9;
  color: #475569;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
}

.yl-badge-price {
  background: var(--yl-primary-light);
  color: #2d5a0c;
  border: 1px solid #cce8b3;
  font-weight: 700;
}

.yl-car-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.yl-btn-dispo {
  flex: 1;
  background: var(--yl-primary);
  color: #ffffff;
  border: 1px solid var(--yl-primary-dark);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.15s ease;
}

.yl-btn-dispo:hover {
  background: var(--yl-primary-dark);
}

.yl-btn-dispo .yl-icon {
  background-color: #ffffff;
  width: 14px;
  height: 14px;
}

.yl-btn-wa-icon {
  width: 36px;
  height: 36px;
  background: #25d366;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.15s ease;
}

.yl-btn-wa-icon:hover {
  background: #1eb755;
}

.yl-btn-wa-icon .yl-icon {
  background-color: #ffffff;
  width: 18px;
  height: 18px;
}

.yl-empty-note {
  background: #ffffff;
  border: 1px dashed var(--yl-border);
  padding: 20px;
  text-align: center;
  color: var(--yl-gray);
  border-radius: 8px;
  font-size: 13px;
}

/* =========================================
   3. DISPO & FORM STYLES
   ========================================= */
.yl-form-card {
  background: #ffffff;
  border: 1px solid var(--yl-border);
  border-radius: 8px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.yl-form-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.yl-form-group label {
  font-size: 12px;
  font-weight: 700;
  color: var(--yl-dark);
  margin-bottom: 4px;
  text-align: left !important;
}

.yl-form-group input, 
.yl-form-group select, 
.yl-form-group textarea {
  width: 100% !important;
  height: 38px;
  padding: 8px 10px !important;
  border: 1px solid var(--yl-border) !important;
  border-radius: var(--yl-radius-sm) !important;
  font-size: 13.5px !important;
  background: #ffffff !important;
  color: var(--yl-dark) !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.yl-form-group input:focus, 
.yl-form-group select:focus, 
.yl-form-group textarea:focus {
  outline: none;
  border-color: var(--yl-primary) !important;
  box-shadow: 0 0 0 3px rgba(109, 178, 27, 0.15) !important;
}

.yl-row-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}

.yl-options-row {
  display: flex;
  gap: 16px;
  padding: 4px 0;
}

.yl-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--yl-dark);
  cursor: pointer;
  user-select: none;
}

.yl-btn-primary {
  width: 100%;
  background: var(--yl-primary);
  color: #ffffff !important;
  border: 1px solid var(--yl-primary-dark);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: background 0.15s ease;
}

.yl-btn-primary:hover {
  background: var(--yl-primary-dark);
}

.yl-btn-primary .yl-icon {
  background-color: #ffffff;
  width: 16px;
  height: 16px;
}

.yl-btn-wa {
  width: 100%;
  background: #25d366;
  color: #ffffff !important;
  border: 1px solid #1eb755;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: background 0.15s ease;
}

.yl-btn-wa:hover {
  background: #1eb755;
}

.yl-btn-wa .yl-icon {
  background-color: #ffffff;
  width: 16px;
  height: 16px;
}

/* Result Areas */
.yl-result-area {
  margin-top: 4px;
}

.yl-notice-loading {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  background: #f1f5f9;
  border-radius: 6px;
  font-size: 12px;
  color: var(--yl-gray);
}

.yl-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid #cbd5e1;
  border-top-color: var(--yl-primary);
  border-radius: 50%;
  animation: ylSpin 0.7s linear infinite;
}

@keyframes ylSpin {
  to { transform: rotate(360deg); }
}

.yl-notice-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 10px;
  border-radius: 6px;
  font-size: 12.5px;
}

.yl-result-success {
  background: var(--yl-primary-light);
  border: 1px solid #cce8b3;
  border-radius: 8px;
  padding: 14px;
  text-align: left;
}

.yl-result-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: #22540c;
  margin-bottom: 6px;
}

.yl-result-title .yl-icon {
  background-color: #22540c;
  width: 18px;
  height: 18px;
}

.yl-result-desc {
  font-size: 12.5px;
  color: #2d5a0c;
  line-height: 1.45;
  margin: 0 0 12px 0;
}

.yl-result-btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.yl-result-busy {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 14px;
  text-align: left;
}

.yl-result-busy .yl-result-title {
  color: #991b1b;
}

.yl-alts-box {
  margin-top: 10px;
  border-top: 1px solid #fed7d7;
  padding-top: 10px;
}

.yl-alts-heading {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #7f1d1d;
  margin-bottom: 6px;
}

.yl-alts-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.yl-alt-btn {
  background: #ffffff;
  border: 1px solid #fca5a5;
  border-radius: 14px;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 600;
  color: #991b1b;
  cursor: pointer;
  transition: all 0.15s ease;
}

.yl-alt-btn:hover {
  background: var(--yl-primary) !important;
  border-color: var(--yl-primary-dark) !important;
  color: #ffffff !important;
}

/* =========================================
   DISPO SUMMARY BAR & MATERIAL UI 3 SHOP CARDS
   ========================================= */
.yl-dispo-summary-bar {
  background: #ffffff;
  border: 1px solid var(--yl-border);
  border-radius: 8px;
  padding: 10px 14px;
  margin: 10px 0 12px 0;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.yl-dispo-count-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.yl-dispo-count-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--yl-primary-light);
  color: #22540c;
  border: 1.5px solid #cce8b3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  flex-shrink: 0;
}

.yl-dispo-count-labels {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.yl-dispo-count-labels strong {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--yl-dark);
}

.yl-dispo-count-labels span {
  font-size: 11px;
  color: var(--yl-gray);
}

/* =========================================
   2-COLUMN MOBILE APP GRID (Left Phone in Screenshot)
   ========================================= */
.yl-app-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
}

.yl-app-card {
  background: #ffffff;
  border: 1px solid #eef2f6;
  border-radius: 14px;
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  min-width: 0;
  text-align: left;
}

.yl-app-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

/* Full Width Car Image Banner */
.yl-app-card-media {
  position: relative;
  width: 100%;
  height: 115px;
  background: #f8fafc;
  overflow: hidden;
  margin: 0;
  padding: 0;
  cursor: pointer;
  display: block;
  border-bottom: 1px solid #f1f5f9;
}

.yl-app-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.yl-app-card:hover .yl-app-card-media img {
  transform: scale(1.06);
}

.yl-no-img-box {
  width: 100%;
  height: 100%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Floating Status & Transmission Badges over image */
.yl-app-card-head {
  position: absolute;
  top: 7px;
  left: 7px;
  right: 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  z-index: 2;
  pointer-events: none;
}

.yl-app-status-free {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  color: #047857;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(4px);
  padding: 2px 7px;
  border-radius: 12px;
}

.yl-app-status-busy {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  color: #b91c1c;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(239, 68, 68, 0.35);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(4px);
  padding: 2px 7px;
  border-radius: 12px;
}

.yl-dot-green {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  flex-shrink: 0;
}

.yl-dot-red {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  flex-shrink: 0;
}

.yl-app-trans-pill {
  font-size: 9.5px;
  font-weight: 700;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(4px);
  padding: 2px 7px;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}

/* Card Body & Info */
.yl-app-card-info {
  padding: 8px 10px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  flex: 1;
}

.yl-app-card-title {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left !important;
  line-height: 1.3;
  cursor: pointer;
}

.yl-app-card-title:hover {
  color: var(--yl-primary);
}

.yl-app-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}

.yl-app-card-price {
  font-weight: 700;
  color: var(--yl-primary-dark);
  font-size: 11.5px;
}

.yl-app-card-places {
  color: #64748b;
  font-size: 10.5px;
  font-weight: 600;
}

/* Card Action Buttons: Voir (Bootstrap Badge) + Réserver (Shop Icon only) */
.yl-app-card-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

/* Bootstrap Style Badge for "Voir" with Eye Icon */
.yl-btn-eye-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: #f1f5f9;
  color: #334155 !important;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s ease;
  user-select: none;
  flex: 1;
  height: 30px;
  letter-spacing: normal !important;
}

.yl-btn-eye-badge .yl-icon {
  background-color: #334155;
  width: 13px;
  height: 13px;
  transition: background-color 0.15s ease;
}

.yl-btn-eye-badge:hover {
  background: var(--yl-primary) !important;
  border-color: var(--yl-primary-dark) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(109, 178, 27, 0.3);
}

.yl-btn-eye-badge:hover .yl-icon {
  background-color: #ffffff !important;
}

/* Shop Bag Icon Button Only (No Text) for Réserver */
.yl-btn-shop-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--yl-primary);
  border: 1px solid var(--yl-primary-dark);
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(109, 178, 27, 0.35);
  transition: all 0.15s ease;
  padding: 0;
}

.yl-btn-shop-icon .yl-icon {
  background-color: #ffffff !important;
  width: 14px;
  height: 14px;
}

.yl-btn-shop-icon:hover {
  background: var(--yl-primary-dark) !important;
  transform: scale(1.08);
  box-shadow: 0 4px 10px rgba(88, 146, 20, 0.45);
}

.yl-btn-shop-icon.yl-shop-disabled,
.yl-btn-shop-icon:disabled {
  background: #e2e8f0 !important;
  border-color: #cbd5e1 !important;
  box-shadow: none !important;
  cursor: not-allowed;
  transform: none !important;
}

.yl-btn-shop-icon.yl-shop-disabled .yl-icon,
.yl-btn-shop-icon:disabled .yl-icon {
  background-color: #94a3b8 !important;
}

/* WhatsApp Circular Action in Details View */
.yl-btn-shop-wa {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #25d366;
  border: 1px solid #1eb755;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.yl-btn-shop-wa .yl-icon {
  width: 16px;
  height: 16px;
  background-color: #ffffff !important;
}

.yl-btn-shop-wa:hover {
  background: #1eb755 !important;
  transform: scale(1.08);
}

/* =========================================
   CAR DETAILS VIEW (Right Phone in Screenshot)
   ========================================= */
.yl-details-view {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  margin-top: 10px;
  text-align: left;
}

.yl-details-hero {
  height: 155px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  position: relative;
  border-bottom: 1px solid #f1f5f9;
}

.yl-details-hero img {
  max-height: 135px;
  max-width: 90%;
  object-fit: contain;
}

.yl-details-sheet {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.yl-details-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.yl-details-title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  text-align: left !important;
}

.yl-details-cat {
  font-size: 11.5px;
  color: #64748b;
  margin-top: 2px;
  display: block;
}

.yl-details-status-free {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 3px 8px;
  border-radius: 12px;
  white-space: nowrap;
}

.yl-details-status-free .yl-icon {
  background-color: #047857;
  width: 12px;
  height: 12px;
}

.yl-details-status-busy {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  padding: 3px 8px;
  border-radius: 12px;
  white-space: nowrap;
}

/* Features Grid (3 rounded cards like Right Phone) */
.yl-features-label {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.yl-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.yl-feature-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.yl-feature-card .yl-icon {
  width: 18px;
  height: 18px;
  background-color: var(--yl-primary);
  margin-bottom: 2px;
}

.yl-feature-sub {
  font-size: 10px;
  color: #64748b;
  line-height: 1;
}

.yl-feature-val {
  font-size: 11px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}

/* Details Footer Bar */
.yl-details-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
  margin-top: 4px;
}

.yl-details-price-box {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.yl-details-price-lbl {
  font-size: 10.5px;
  color: #64748b;
}

.yl-details-price-val {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--yl-primary-dark);
}

.yl-details-btns {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  justify-content: flex-end;
}

/* =========================================
   4. CONDITIONS & CONTACT TILES
   ========================================= */
.yl-info-tiles-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.yl-info-tile {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #ffffff;
  border: 1px solid var(--yl-border);
  border-radius: 8px;
  padding: 12px;
  text-align: left;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.yl-info-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-color: var(--yl-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.yl-info-icon .yl-icon {
  width: 18px;
  height: 18px;
  background-color: var(--yl-primary);
}

.yl-info-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  flex: 1;
  min-width: 0;
}

.yl-info-text strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--yl-dark);
  margin-bottom: 3px;
  text-align: left !important;
  letter-spacing: normal !important;
  line-height: 1.3;
}

.yl-info-text p {
  margin: 0;
  font-size: 12px;
  color: var(--yl-gray);
  line-height: 1.45;
  text-align: left !important;
  letter-spacing: normal !important;
}

.yl-screen-cta-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

/* =========================================
   FOOTER QUICK NAVIGATION CHIPS
   ========================================= */
.yl-p-footer {
  border-top: 1px solid var(--yl-border);
  background-color: var(--yl-white);
  padding: 8px 10px;
  flex: none;
}

.yl-chips-scroll {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.yl-chips-scroll::-webkit-scrollbar {
  display: none;
}

.yl-chip {
  background-color: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--yl-dark);
  cursor: pointer;
  transition: all 0.15s ease;
  flex: none;
}

.yl-chip:hover {
  background-color: var(--yl-primary) !important;
  border-color: var(--yl-primary-dark) !important;
  color: #ffffff !important;
}

.yl-chip.yl-chip-active {
  background-color: var(--yl-primary) !important;
  color: #ffffff !important;
  border-color: var(--yl-primary-dark) !important;
}

/* =========================================
   MOBILE RESPONSIVENESS (Flutter Bottom Sheet)
   ========================================= */
@media (max-width: 600px) {
  .yl-widget-container.yl-pos-bottom-left {
    left: 12px !important;
    bottom: 14px !important;
    right: auto !important;
  }

  .yl-trigger-btn {
    padding: 9px 13px;
    font-size: 12px;
  }

  .yl-panel {
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: auto;
    width: 100vw !important;
    height: 90vh !important;
    max-width: 100vw !important;
    max-height: 90vh !important;
    border-radius: 16px 16px 0 0 !important;
    border-bottom: none;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.15);
  }

  .yl-form-group input, 
  .yl-form-group select, 
  .yl-form-group textarea {
    font-size: 16px !important; /* Prevent iOS zoom */
  }
}
