/* Global styles for auction reminder popup and buttons */

.reminder-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.reminder-modal {
  background: #ffffff;
  border-radius: 12px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.35);
  padding: 20px 24px 18px 24px;
  font-family: inherit;
}

.reminder-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.reminder-title {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
}

.reminder-close {
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: #6b7280;
}

.reminder-close:hover {
  color: #111827;
}

.reminder-description {
  font-size: 14px;
  color: #4b5563;
  margin: 0 0 10px 0;
}

.reminder-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.reminder-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #111827;
}

.reminder-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

.reminder-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.reminder-save {
  padding: 8px 16px;
  border-radius: 9999px;
  border: none;
  background: linear-gradient(135deg, #0C7490 0%, #064a57 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.reminder-save:hover {
  box-shadow: 0 4px 12px rgba(12, 116, 144, 0.5);
}

.reminder-unwatch {
  padding: 8px 14px;
  border-radius: 9999px;
  border: 1px solid #ef4444;
  background: #ffffff;
  color: #b91c1c;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.reminder-unwatch:hover {
  background: #fef2f2;
}

.reminder-note {
  font-size: 12px;
  color: #6b7280;
}

/* Small inline reminder controls on object page */

.auction-reminder-control {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 6px;
}

.reminder-trigger {
  border-radius: 9999px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  padding: 4px 10px;
  font-size: 13px;
  cursor: pointer;
  color: #0C7490;
}

.reminder-trigger:hover {
  background: #e0f2fe;
  border-color: #0C7490;
}

/* Listing filters reminder buttons */

.filter-reminder-button {
  margin-left: 4px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  font-size: 13px;
  font-weight: 600;
  color: #0C7490;
  cursor: pointer;
  white-space: nowrap;
}

.filter-reminder-button:hover {
  background: #e0f2fe;
  border-color: #0C7490;
}

/* Homepage reminder button */

.homepage-reminder-button {
  padding: 4px 10px;
  border-radius: 9999px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  font-size: 13px;
  font-weight: 500;
  color: #0C7490;
  cursor: pointer;
}

.homepage-reminder-button:hover {
  background: #e0f2fe;
  border-color: #0C7490;
}

.homepage-results-count {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 640px) {
  .reminder-modal {
    max-width: 100%;
    padding: 16px 16px 14px 16px;
  }
}
