/* Saved Places module — bin buttons + confirm dialog + responsive */

.saved-drawer-postcode-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}
.saved-drawer-postcode-row .saved-drawer-postcode {
  flex: 1 1 auto;
}
.saved-drawer-item-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}
.saved-drawer-item-row .saved-drawer-item {
  flex: 1 1 auto;
  text-align: left;
}
.saved-drawer-bin {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #98a2b3;
  cursor: pointer;
  padding: 0;
}
.saved-drawer-bin:hover,
.saved-drawer-bin:focus-visible {
  background: #fee4e2;
  color: #d92d20;
  outline: none;
}

/* Confirm dialog */
.saved-confirm-backdrop {
  position: fixed;
  inset: 0;
  z-index: 7000;
  background: rgba(16, 24, 40, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.saved-confirm {
  background: #fff;
  color: #101828;
  border-radius: 16px;
  max-width: 440px;
  width: 100%;
  padding: 20px;
  box-shadow: 0 20px 60px rgba(16, 24, 40, 0.35);
}
.saved-confirm-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}
.saved-confirm-message {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.5;
  color: #475467;
}
.saved-confirm-actions {
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  gap: 8px;
}
.saved-confirm-actions button {
  font: inherit;
  font-size: 14px;
  line-height: 1.35;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid #d0d5dd;
  background: #fff;
  color: #344054;
  white-space: pre;
  text-align: center;
  flex-shrink: 0;
}
.saved-confirm-actions button:hover {
  background: #f9fafb;
}
.saved-confirm-actions .saved-confirm-danger {
  background: #d92d20;
  border-color: #d92d20;
  color: #fff;
}
.saved-confirm-actions .saved-confirm-danger:hover {
  background: #b42318;
}

/* Mobile: larger touch targets */
@media (max-width: 600px) {
  .saved-drawer-bin {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }
  .saved-confirm {
    max-width: none;
  }
  .saved-confirm-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
