/* "Be found on Google" reminders: banner, score cards, SEO preview. The header bell is attention-center.css.
   Markup: Views/Shared/Components/StoreVisibility/*, Views/Settings/_seoTools.cshtml, _googleTools.cshtml. */

/* ── Banner ─────────────────────────────────────────── */
.sv-banner {
  border-radius: 14px;
  background: linear-gradient(90deg, #fff5f8 0%, #fff8dd 100%);
  border: 1px dashed #f1416c;
}

.sv-banner__icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1416c;
  color: #fff;
  font-size: 1.4rem;
}

/* ── Score ring ─────────────────────────────────────── */
.sv-score {
  --sv-tone: #f1416c;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(closest-side, #fff 78%, transparent 80% 100%),
    conic-gradient(var(--sv-tone) calc(var(--sv-score) * 1%), #eff2f5 0);
}

.sv-score--warning { --sv-tone: #ffc700; }
.sv-score--success { --sv-tone: #50cd89; }

.sv-score__value {
  font-size: 1.75rem;
  font-weight: 800;
  color: #181c32;
  line-height: 1;
}

.sv-score__label {
  font-size: .8rem;
  color: #a1a5b7;
  margin-top: .45rem;
}

.sv-check {
  transition: background .15s ease;
}

.sv-check:hover {
  background: #f9f9f9;
}

.sv-check--done {
  opacity: .75;
}

/* ── Field the merchant was sent to ─────────────────── */
.sv-focus {
  box-shadow: 0 0 0 4px rgba(0, 158, 247, .25) !important;
  transition: box-shadow .3s ease;
}

/* ── Google search-result preview ───────────────────── */
.sv-serp {
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e4e6ef;
  padding: 1rem 1.25rem;
  font-family: Arial, sans-serif;
  max-width: 640px;
}

.sv-serp__url {
  color: #202124;
  font-size: 13px;
  direction: ltr;
  text-align: start;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sv-serp__title {
  color: #1a0dab;
  font-size: 19px;
  line-height: 1.3;
  margin: 4px 0 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sv-serp__desc {
  color: #4d5156;
  font-size: 14px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sv-serp--bad .sv-serp__title,
.sv-serp--bad .sv-serp__desc {
  text-decoration: underline wavy rgba(241, 65, 108, .55);
  text-underline-offset: 4px;
}

.sv-counter {
  font-size: .8rem;
  font-weight: 600;
}

/* ── Read-only store link (Settings → General) ──────── */
/* One rounded surface: icon, link and "open store" button. The panel loads the LTR Bootstrap
   bundle even in Arabic, and its input-group rounds corners by physical left/right, which put
   the curves on the wrong sides in RTL. Rounding the group and squaring its children works the
   same in both directions. There is nothing to type, so no focus ring either. */
.sv-locked-group {
  flex-wrap: nowrap;
  border-radius: .625rem;
  overflow: hidden;
  background-color: var(--bs-gray-100, #f5f8fa);
}

.sv-locked-group > .input-group-text,
.sv-locked-group > .form-control {
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

.sv-locked-group > .input-group-text {
  padding-inline: 1rem;
}

.sv-locked-group > a.input-group-text {
  border-inline-start: 1px solid var(--bs-gray-200, #eff2f5) !important;
  transition: background-color .15s ease;
}

.sv-locked-group > a.input-group-text:hover {
  background-color: var(--bs-gray-200, #eff2f5) !important;
}

.sv-locked-input {
  cursor: default;
  color: var(--bs-gray-700, #5e6278) !important;
}

/* ── Settings field behind a red tab badge (markMissingFields in store-visibility.js) ── */
.sv-missing {
  border-radius: .475rem;
  box-shadow: 0 0 0 1px var(--bs-danger) !important;
}

.sv-missing .form-control,
.sv-missing .input-group-text,
textarea.sv-missing,
input.sv-missing {
  background-color: var(--bs-danger-light, var(--bs-light-danger, #fff5f8)) !important;
}

.sv-missing .input-group-text i {
  color: var(--bs-danger) !important;
}

.sv-missing-note {
  display: flex;
  align-items: flex-start;
  gap: .4rem;
  margin-top: .5rem;
  color: var(--bs-danger);
  font-size: .85rem;
  font-weight: 600;
}

.sv-missing-note i {
  color: inherit;
  margin-top: .15rem;
}
