/* Proche reservation popup — right panel + 4-step wizard, theme-isolated (!important) */

#proche-resa-root,
#proche-resa-root * {
  box-sizing: border-box !important;
}

#proche-resa-root {
  font-family: 'Poppins', system-ui, sans-serif !important;
  color: #1d1d1d !important;
  line-height: 1.4 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  -webkit-font-smoothing: antialiased !important;
}

#proche-resa-root button,
#proche-resa-root input,
#proche-resa-root select {
  font-family: 'Poppins', system-ui, sans-serif !important;
}

#proche-resa-root input::placeholder {
  color: #bfbfbf !important;
  opacity: 1 !important;
}

@keyframes proche-resa-slideIn {
  from { opacity: 0; transform: translateX(28px); }
  to { opacity: 1; transform: none; }
}

@keyframes proche-resa-fade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

@keyframes proche-resa-pop {
  0% { transform: scale(0.6); opacity: 0; }
  60% { transform: scale(1.08); }
  100% { transform: scale(1); opacity: 1; }
}

#proche-resa-root .proche-resa-fab {
  position: fixed !important;
  right: 22px !important;
  bottom: 22px !important;
  z-index: 999990 !important;
  border: none !important;
  border-radius: 999px !important;
  background: #1d1d1d !important;
  color: #fff !important;
  padding: 14px 22px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  box-shadow: 0 12px 30px -10px rgba(29, 29, 29, 0.45) !important;
  transition: transform 0.15s ease, background 0.15s ease, opacity 0.2s ease !important;
}

#proche-resa-root .proche-resa-fab:hover {
  background: #000 !important;
  transform: translateY(-1px) !important;
}

#proche-resa-root .proche-resa-fab.is-hidden {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(8px) !important;
}

#proche-resa-root .proche-resa-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999991 !important;
  background: rgba(17, 17, 17, 0.35) !important;
  display: flex !important;
  align-items: stretch !important;
  justify-content: flex-end !important;
  padding: 0 !important;
  overflow: hidden !important;
}

#proche-resa-root .proche-resa-overlay[hidden] {
  display: none !important;
}

#proche-resa-root .proche-resa-modal {
  position: relative !important;
  width: min(424px, 100vw) !important;
  max-width: 424px !important;
  height: 100% !important;
  max-height: 100vh !important;
  margin: 0 !important;
  background: #ffffff !important;
  border-radius: 0 !important;
  box-shadow: -18px 0 50px -20px rgba(0, 0, 0, 0.35) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  color: #1d1d1d !important;
  display: flex !important;
  flex-direction: column !important;
}

#proche-resa-root .proche-resa-modal.is-enter {
  animation: proche-resa-slideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#proche-resa-root .proche-resa-header {
  padding: 26px 28px 0 !important;
  background: #fff !important;
  flex-shrink: 0 !important;
}

#proche-resa-root .proche-resa-header-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
}

#proche-resa-root .proche-resa-brand {
  display: flex !important;
  align-items: center !important;
  gap: 11px !important;
  min-width: 0 !important;
}

#proche-resa-root .proche-resa-logo {
  width: 40px !important;
  height: 40px !important;
  border-radius: 12px !important;
  object-fit: cover !important;
  display: block !important;
  flex-shrink: 0 !important;
}

#proche-resa-root .proche-resa-brand-name {
  font-weight: 600 !important;
  font-size: 15px !important;
  line-height: 1.1 !important;
  color: #1d1d1d !important;
  margin: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

#proche-resa-root .proche-resa-brand-sub {
  font-size: 12px !important;
  color: #ababab !important;
  font-weight: 400 !important;
  margin: 2px 0 0 !important;
}

#proche-resa-root .proche-resa-close {
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  border: none !important;
  background: #f4f3ef !important;
  color: #1d1d1d !important;
  font-size: 17px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
  padding: 0 !important;
}

#proche-resa-root .proche-resa-close:hover {
  background: #eceae4 !important;
}

#proche-resa-root .proche-resa-progress {
  display: flex !important;
  gap: 6px !important;
  margin-top: 22px !important;
}

#proche-resa-root .proche-resa-progress-seg {
  flex: 1 !important;
  height: 4px !important;
  border-radius: 999px !important;
  background: #eceae4 !important;
  transition: background 0.3s ease !important;
}

#proche-resa-root .proche-resa-progress-seg.is-filled {
  background: #1d1d1d !important;
}

#proche-resa-root .proche-resa-step-body {
  padding: 22px 28px 28px !important;
  background: #fff !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

#proche-resa-root .proche-resa-fade {
  animation: proche-resa-fade 0.28s ease !important;
}

#proche-resa-root .proche-resa-step-title {
  font-size: 21px !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  color: #1d1d1d !important;
  margin: 0 !important;
}

#proche-resa-root .proche-resa-step-sub {
  font-size: 13.5px !important;
  color: #ababab !important;
  margin: 5px 0 0 !important;
  text-transform: capitalize !important;
}

#proche-resa-root .proche-resa-guest-hero {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 30px !important;
  margin: 34px 0 26px !important;
}

#proche-resa-root .proche-resa-round-btn {
  width: 54px !important;
  height: 54px !important;
  border-radius: 50% !important;
  border: 1.5px solid #e7e5df !important;
  background: #fff !important;
  color: #1d1d1d !important;
  font-size: 26px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 0 !important;
  padding: 0 0 3px !important;
}

#proche-resa-root .proche-resa-round-btn:hover {
  border-color: #1d1d1d !important;
}

#proche-resa-root .proche-resa-guest-hero-val {
  text-align: center !important;
  min-width: 92px !important;
}

#proche-resa-root .proche-resa-guest-big {
  font-size: 56px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: -0.02em !important;
  color: #1d1d1d !important;
}

#proche-resa-root .proche-resa-guest-unit {
  font-size: 13px !important;
  color: #ababab !important;
  margin-top: 6px !important;
}

#proche-resa-root .proche-resa-pill-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 8px !important;
}

#proche-resa-root .proche-resa-pill {
  padding: 11px 0 !important;
  border-radius: 12px !important;
  border: 1.5px solid #e7e5df !important;
  background: #fff !important;
  color: #1d1d1d !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  margin: 0 !important;
  height: auto !important;
  line-height: 1.2 !important;
}

#proche-resa-root .proche-resa-pill.is-on {
  background: #1d1d1d !important;
  border-color: #1d1d1d !important;
  color: #fff !important;
}

#proche-resa-root .proche-resa-info-box {
  margin-top: 16px !important;
  background: #f5f2f1 !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  font-size: 12.5px !important;
  color: #9e9e9e !important;
  text-align: center !important;
}

#proche-resa-root .proche-resa-info-box strong {
  color: #1d1d1d !important;
  font-weight: 500 !important;
  text-decoration: underline !important;
}

#proche-resa-root .proche-resa-cal-nav {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin: 24px 0 14px !important;
}

#proche-resa-root .proche-resa-cal-nav-btn {
  width: 36px !important;
  height: 36px !important;
  border-radius: 10px !important;
  border: 1.5px solid #e7e5df !important;
  background: #fff !important;
  color: #1d1d1d !important;
  font-size: 16px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
}

#proche-resa-root .proche-resa-cal-nav-btn:disabled {
  border-color: #f1f0ec !important;
  color: #d4d4d4 !important;
  cursor: default !important;
}

#proche-resa-root .proche-resa-cal-month {
  font-size: 15px !important;
  font-weight: 600 !important;
  text-transform: capitalize !important;
  color: #1d1d1d !important;
  margin: 0 !important;
}

#proche-resa-root .proche-resa-cal-grid {
  display: grid !important;
  grid-template-columns: repeat(7, 1fr) !important;
  gap: 4px !important;
  margin-bottom: 4px !important;
}

#proche-resa-root .proche-resa-cal-wd {
  text-align: center !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  color: #bdbdbd !important;
  padding: 4px 0 !important;
}

#proche-resa-root .proche-resa-cal-day {
  aspect-ratio: 1 !important;
  border-radius: 11px !important;
  border: none !important;
  background: #f5f2f1 !important;
  color: #1d1d1d !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  transition: all 0.12s ease !important;
}

#proche-resa-root .proche-resa-cal-day.is-empty {
  visibility: hidden !important;
  pointer-events: none !important;
  background: transparent !important;
}

#proche-resa-root .proche-resa-cal-day.is-disabled {
  background: transparent !important;
  color: #d4d4d4 !important;
  cursor: default !important;
}

#proche-resa-root .proche-resa-cal-day.is-selected {
  background: #1d1d1d !important;
  color: #fff !important;
  font-weight: 600 !important;
}

#proche-resa-root .proche-resa-section-label {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #ababab !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  margin: 24px 0 11px !important;
}

#proche-resa-root .proche-resa-slot-grid {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 7px !important;
}

#proche-resa-root .proche-resa-slot {
  padding: 11px 0 !important;
  border-radius: 12px !important;
  border: 1.5px solid #e7e5df !important;
  background: #fff !important;
  color: #1d1d1d !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  margin: 0 !important;
  height: auto !important;
  line-height: 1.2 !important;
}

#proche-resa-root .proche-resa-slot.is-on {
  background: #1d1d1d !important;
  border-color: #1d1d1d !important;
  color: #fff !important;
}

#proche-resa-root .proche-resa-slot.is-taken {
  background: #f5f2f1 !important;
  border-color: #efebea !important;
  color: #c6c6c6 !important;
  text-decoration: line-through !important;
  cursor: not-allowed !important;
}

#proche-resa-root .proche-resa-summary-bar {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  background: #f5f2f1 !important;
  border-radius: 12px !important;
  padding: 11px 14px !important;
  margin: 18px 0 20px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #1d1d1d !important;
}

#proche-resa-root .proche-resa-dot {
  color: #d4d4d4 !important;
}

#proche-resa-root .proche-resa-stack-fields {
  display: flex !important;
  flex-direction: column !important;
  gap: 11px !important;
}

#proche-resa-root .proche-resa-oauth {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  width: 100% !important;
  min-height: 48px !important;
  padding: 10px 16px !important;
  border-radius: 999px !important;
  border: 1.5px solid #dadce0 !important;
  background: #fff !important;
  color: #3c4043 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  cursor: pointer !important;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.08) !important;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease !important;
  font-family: inherit !important;
}

#proche-resa-root .proche-resa-oauth:hover {
  background: #f8f9fa !important;
  border-color: #cfcfcf !important;
}

#proche-resa-root .proche-resa-oauth.is-on {
  border-color: #1d1d1d !important;
  background: #fafafa !important;
  box-shadow: 0 0 0 1px #1d1d1d inset !important;
}

#proche-resa-root .proche-resa-oauth.is-loading {
  opacity: 0.7 !important;
  cursor: wait !important;
}

#proche-resa-root .proche-resa-oauth-logo {
  width: 22px !important;
  height: 22px !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
  display: block !important;
}

#proche-resa-root .proche-resa-oauth-label {
  flex: 1 !important;
  text-align: left !important;
}

#proche-resa-root .proche-resa-oauth-check {
  width: 22px !important;
  height: 22px !important;
  border-radius: 999px !important;
  background: #1d1d1d !important;
  color: #fff !important;
  font-size: 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

#proche-resa-root .proche-resa-pdm-hint {
  font-size: 12px !important;
  color: #6b7280 !important;
  line-height: 1.4 !important;
  padding: 0 2px !important;
}

#proche-resa-root .proche-resa-input {
  width: 100% !important;
  max-width: none !important;
  padding: 13px 15px !important;
  border-radius: 12px !important;
  border: 1.5px solid #e7e5df !important;
  font-size: 14px !important;
  color: #1d1d1d !important;
  outline: none !important;
  background: #fff !important;
  margin: 0 !important;
  box-shadow: none !important;
  height: auto !important;
  line-height: 1.4 !important;
}

#proche-resa-root .proche-resa-input:focus {
  border-color: #1d1d1d !important;
  box-shadow: none !important;
}

#proche-resa-root .proche-resa-nav {
  display: flex !important;
  gap: 10px !important;
  margin-top: auto !important;
  padding-top: 24px !important;
}

#proche-resa-root .proche-resa-btn-back {
  padding: 15px 22px !important;
  border-radius: 14px !important;
  border: 1.5px solid #e7e5df !important;
  background: #fff !important;
  color: #1d1d1d !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  margin: 0 !important;
  height: auto !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

#proche-resa-root .proche-resa-btn-back:hover {
  border-color: #1d1d1d !important;
}

#proche-resa-root .proche-resa-btn-next {
  flex: 1 !important;
  padding: 15px !important;
  border-radius: 14px !important;
  border: none !important;
  background: #c6c6c6 !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  cursor: not-allowed !important;
  transition: background 0.2s ease !important;
  margin: 0 !important;
  height: auto !important;
  line-height: 1.2 !important;
}

#proche-resa-root .proche-resa-btn-next.is-ready {
  background: #1d1d1d !important;
  cursor: pointer !important;
}

#proche-resa-root .proche-resa-btn-next.is-ready:hover {
  background: #000 !important;
}

#proche-resa-root .proche-resa-btn-next.is-loading {
  opacity: 0.75 !important;
  cursor: wait !important;
}

#proche-resa-root .proche-resa-error {
  margin-top: 12px !important;
  padding: 10px 12px !important;
  border-radius: 10px !important;
  background: #fef2f2 !important;
  color: #b91c1c !important;
  font-size: 12.5px !important;
  border: 1px solid #fecaca !important;
}

#proche-resa-root .proche-resa-hint {
  font-size: 12px !important;
  color: #ababab !important;
  grid-column: 1 / -1 !important;
}

#proche-resa-root .proche-resa-covers-warn {
  grid-column: 1 / -1 !important;
  margin: 0 0 10px !important;
  padding: 12px 14px !important;
  border-radius: 12px !important;
  background: #fffbeb !important;
  border: 1px solid #fde68a !important;
  color: #92400e !important;
  font-size: 12.5px !important;
  line-height: 1.45 !important;
  font-weight: 500 !important;
}

#proche-resa-root .proche-resa-covers-warn-global {
  margin: 4px 0 14px !important;
}

#proche-resa-root .proche-resa-done {
  text-align: center !important;
  padding: 14px 0 6px !important;
}

#proche-resa-root .proche-resa-check {
  width: 68px !important;
  height: 68px !important;
  border-radius: 50% !important;
  background: #1d1d1d !important;
  color: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 32px !important;
  margin: 0 auto 20px !important;
  animation: proche-resa-pop 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#proche-resa-root .proche-resa-done-title {
  font-size: 22px !important;
  font-weight: 600 !important;
  color: #1d1d1d !important;
  margin: 0 !important;
}

#proche-resa-root .proche-resa-done-sub {
  font-size: 13.5px !important;
  color: #ababab !important;
  margin: 7px 0 0 !important;
  line-height: 1.5 !important;
}

#proche-resa-root .proche-resa-summary {
  background: #f5f2f1 !important;
  border-radius: 14px !important;
  padding: 18px !important;
  margin: 22px 0 !important;
  text-align: left !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

#proche-resa-root .proche-resa-summary-row {
  display: flex !important;
  justify-content: space-between !important;
  font-size: 13.5px !important;
  color: #1d1d1d !important;
}

#proche-resa-root .proche-resa-summary-row span:first-child {
  color: #ababab !important;
}

#proche-resa-root .proche-resa-restart {
  width: 100% !important;
  padding: 15px !important;
  border-radius: 14px !important;
  border: none !important;
  background: #1d1d1d !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  margin: 0 !important;
}

#proche-resa-root .proche-resa-restart:hover {
  background: #000 !important;
}

@media (max-width: 520px) {
  #proche-resa-root .proche-resa-modal {
    width: 100vw !important;
    max-width: 100vw !important;
  }

  #proche-resa-root .proche-resa-slot-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }

  #proche-resa-root .proche-resa-fab {
    right: 14px !important;
    bottom: 14px !important;
  }
}
