/* app/assets/stylesheets/application.css */

/* This file is now your main entrypoint for all CSS via Propshaft */

/* CSS styles for HNR new sale form frontend validation */

.section-status-indicator {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* css-check-ignore-start */
.section-status-indicator.valid {
  background-color: #10b981;
  color: white;
}

.section-status-indicator.invalid {
  background-color: #ef4444;
  color: white;
}

.section-status-indicator.valid::after {
  content: "✓";
  font-size: 14px;
}

.section-status-indicator.invalid::after {
  content: "!";
  font-size: 14px;
}

/* css-check-ignore-end */

/* Distinct styling for AI-hydrated internal links in About/FAQ sections */
.ai-internal-link {
  color: #24315D; /* ph24_new_blue */
  text-decoration: none; /* keep clean text */
  border-bottom: 2px solid rgb(247 179 44 / 70%); /* ph24_new_yellow accent */
  padding-bottom: 1px; /* visual space for the accent */
  transition: color 120ms ease-in-out, border-color 120ms ease-in-out, background-color 120ms ease-in-out;
}

.ai-internal-link:hover,
.ai-internal-link:focus {
  color: #0a1a2b; /* ph24_blue_dark for stronger contrast */
  border-bottom-color: #24315D; /* switch accent to brand blue */
  background-color: rgb(247 179 44 / 12%); /* subtle hover highlight */
  outline: none;
}

.ai-internal-link:focus-visible {
  outline: 2px solid rgb(247 179 44 / 50%); /* accessible focus state */
  outline-offset: 1px;
}