/*! Fachowiec24 R25.9-C — targeted mobile dock dedup and booking lifecycle modal. */
html.f24-r259c-modal-open,
html.f24-r259c-modal-open body {
  overflow: hidden !important;
}

.f24-r259c-message-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, .56);
  backdrop-filter: blur(5px);
}

.f24-r259c-message-modal > section {
  width: min(100%, 440px);
  max-height: min(680px, calc(100dvh - 32px));
  overflow: auto;
  border: 1px solid rgba(196, 181, 253, .7);
  border-radius: 24px;
  background: #fff;
  padding: 22px;
  box-shadow: 0 28px 80px rgba(15, 23, 42, .28);
  outline: none;
}

.f24-r259c-message-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 14px;
  background: #fff7ed;
  color: #c2410c;
  font-size: 22px;
  font-weight: 900;
}

.f24-r259c-message-modal h2 {
  margin: 0;
  color: #0f172a;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.25;
}

.f24-r259c-message-modal p {
  margin: 10px 0 18px;
  color: #475569;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
}

.f24-r259c-message-modal button {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #6d28d9, #4f46e5);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.f24-r259c-past-note {
  margin: 0;
  border: 1px solid #fed7aa;
  border-radius: 12px;
  background: #fff7ed;
  padding: 8px 10px;
  color: #9a3412;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

[data-f24-r259c-ended="1"] [data-testid="provider-propose"] {
  display: none !important;
}

@media (max-width: 900px) {
  body.f24-r259c-dock-dedup [data-f24-r259c-secondary-dock="1"] {
    display: none !important;
  }

  body.f24-r259c-dock-dedup #provider-dashboard-root,
  body.f24-r259c-dock-dedup #client-dashboard-root {
    padding-bottom: var(--f24-r259b-dock-space, calc(76px + env(safe-area-inset-bottom, 0px))) !important;
  }

  .f24-r259c-message-modal {
    align-items: flex-end;
    padding: 12px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }

  .f24-r259c-message-modal > section {
    width: 100%;
    border-radius: 24px 24px 20px 20px;
  }
}
