/* ===========================================================================
   PLAN YOUR SAFARI PAGE — STYLES & FORM UI
   ---------------------------------------------------------------------------
   Preserves the hero, grid layout, side contact cards, and "why" list.
   Enhances all form fields, labels, multi-select dropdowns, date pickers,
   checkboxes, and submit actions for a polished, high-craft form experience.
   =========================================================================== */

/* ---------------------------------------------------------------------------
   Hero step row (01 / 02 / 03)
   --------------------------------------------------------------------------- */
.pys-steps {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.pys-step {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.pys-step__n {
  font-size: clamp(0.72rem, 0.69rem + 0.1vw, 0.78rem);
  font-weight: 700;
  color: var(--accent);
}

.pys-step__t {
  font-size: clamp(0.82rem, 0.79rem + 0.1vw, 0.88rem);
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 640px) {
  .pys-steps {
    gap: 16px;
  }
}

#plan {
  position: relative;
  z-index: 20;
  padding-bottom: 80px;
}

/* ---------------------------------------------------------------------------
   Two-column layout — form (wider) + direct contact panel.
   --------------------------------------------------------------------------- */
.pys-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
  position: relative;
  z-index: 20;
}

@media (max-width: 900px) {
  .pys-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.pys-form-panel {
  position: relative;
  z-index: 20;
}

.pys-form-panel h2,
.pys-side-title {
  font-size: clamp(1.5rem, 1.35rem + 0.6vw, 1.9rem);
  font-weight: 700;
  margin: 4px 0 10px;
}

.pys-form-panel .section-desc {
  margin-bottom: 28px;
}

.pys-req {
  color: var(--accent);
  font-weight: 700;
}

/* ===========================================================================
   FORM UI SYSTEM
   =========================================================================== */

/* Grid & Spacing */
.support-form {
  width: 100%;
}

.support-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
  margin-bottom: 18px;
}

@media (max-width: 600px) {
  .support-form__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Form Fields */
.support-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  margin-bottom: 18px;
  z-index: 1;
}

.support-field.is-active-field,
.support-field:has(.pys-dropdown.open),
.support-field:has(.pys-country-panel:not([style*="display: none"])) {
  z-index: 100;
}

.support-form__grid .support-field {
  margin-bottom: 0;
}

.support-field--full {
  grid-column: 1 / -1;
}

/* Form Labels */
.support-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #1e2420;
  letter-spacing: 0.15px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.support-field label .pys-req {
  color: var(--accent);
}

/* Tooltip on Form Labels */
.pys-tooltip-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  cursor: pointer;
  color: var(--muted);
  outline: none;
}

.pys-tooltip-wrap i {
  font-size: 0.88rem;
  transition: color 0.15s ease;
}

.pys-tooltip-wrap:hover i,
.pys-tooltip-wrap:focus i {
  color: var(--accent);
}

.pys-tooltip-bubble {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #1a1f1c;
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 400;
  line-height: 1.45;
  padding: 8px 12px;
  border-radius: 6px;
  white-space: normal;
  width: max-content;
  max-width: 250px;
  text-transform: none;
  letter-spacing: normal;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 100;
}

.pys-tooltip-bubble::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: #1a1f1c transparent transparent transparent;
}

.pys-tooltip-wrap:hover .pys-tooltip-bubble,
.pys-tooltip-wrap:focus .pys-tooltip-bubble,
.pys-tooltip-wrap:focus-within .pys-tooltip-bubble {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Form Inputs, Selects, Textareas */
.support-field input,
.support-field select,
.support-field textarea {
  background: #ffffff;
  border: 1.5px solid #dce2d9;
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.92rem;
  padding: 12px 14px;
  outline: none;
  width: 100%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.support-field input::placeholder,
.support-field textarea::placeholder {
  color: #8fa096;
  font-size: 0.88rem;
}

.support-field input:hover,
.support-field select:hover,
.support-field textarea:hover {
  border-color: #b5c2b2;
}

.support-field input:focus,
.support-field select:focus,
.support-field textarea:focus {
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: 0 0 0 3.5px rgba(243, 112, 2, 0.15);
}

.support-field input:disabled,
.support-field select:disabled {
  background: #f1f4f0;
  border-color: #e2e7e0;
  color: #8c9c93;
  cursor: not-allowed;
  opacity: 0.7;
}

/* Select Dropdown Styling */
.support-field select {
  appearance: none;
  -webkit-appearance: none;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235c6b64' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

/* Textarea */
.support-field textarea {
  resize: vertical;
  min-height: 105px;
  line-height: 1.55;
}

/* Field helper note */
.support-form__note {
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.45;
  margin-top: 4px;
}

/* ---------------------------------------------------------------------------
   International Phone Input & Searchable Country Selector
   --------------------------------------------------------------------------- */
.pys-phone-input {
  position: relative;
  display: flex;
  align-items: stretch;
  background: #ffffff;
  border: 1.5px solid #dce2d9;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.pys-phone-input:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3.5px rgba(243, 112, 2, 0.15);
}

.pys-phone-country-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f7f9f6;
  border: none;
  border-right: 1.5px solid #dce2d9;
  border-radius: 6px 0 0 6px;
  padding: 0 12px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.pys-phone-country-btn:hover {
  background: #edf3ec;
}

.pys-phone-country-btn .pys-flag-img,
.pys-country-item .pys-flag-img {
  width: 21px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.35);
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.pys-phone-country-btn .pys-dial-code {
  font-size: 0.86rem;
  color: #34423a;
}

.pys-phone-country-btn i {
  font-style: normal;
  color: #7b8c82;
  font-size: 0.78rem;
  margin-left: 2px;
  transition: transform 0.2s ease;
}

.pys-phone-input.open .pys-phone-country-btn i,
.pys-phone-country-btn[aria-expanded="true"] i {
  transform: rotate(180deg);
  color: var(--accent);
}

.pys-phone-input input[type="tel"] {
  flex: 1;
  width: 100%;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 6px 6px 0 !important;
  padding: 12px 14px !important;
  font-size: 0.92rem;
  color: var(--text);
}

/* Country Searchable Panel */
.pys-country-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: min(340px, 92vw);
  z-index: 60;
  background: #ffffff;
  border: 1px solid #dce2d9;
  border-radius: 10px;
  box-shadow: 0 14px 34px -4px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(0, 0, 0, 0.04);
  padding: 10px;
  animation: pysDropFade 0.18s ease-out;
}

.pys-country-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f7f9f6;
  border: 1.5px solid #e1e7de;
  border-radius: 7px;
  padding: 8px 12px;
  margin-bottom: 8px;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.pys-country-search:focus-within {
  border-color: var(--accent);
  background: #ffffff;
}

.pys-country-search i {
  font-style: normal;
  color: #8a9990;
  font-size: 0.9rem;
}

.pys-country-search input {
  border: none !important;
  outline: none !important;
  width: 100%;
  font-family: inherit;
  font-size: 0.86rem;
  color: var(--text);
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.pys-country-list {
  max-height: 240px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(92, 107, 100, 0.3) transparent;
}

.pys-country-list::-webkit-scrollbar {
  width: 5px;
}

.pys-country-list::-webkit-scrollbar-track {
  background: transparent;
}

.pys-country-list::-webkit-scrollbar-thumb {
  background: #cbd5c8;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.pys-country-list::-webkit-scrollbar-thumb:hover {
  background: #9caea0;
}

.pys-country-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.86rem;
  color: var(--text);
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  transition: background-color 0.12s ease, color 0.12s ease;
}

.pys-country-item:hover,
.pys-country-item.active {
  background: #f2f6f1;
}

.pys-country-item.selected {
  background: #ebf3e9;
  font-weight: 600;
}

.pys-country-item__flag {
  font-size: 1.15rem;
  line-height: 1;
  flex-shrink: 0;
}

.pys-country-item__name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pys-country-item__code {
  font-size: 0.82rem;
  color: #6d7f74;
  font-weight: 500;
  flex-shrink: 0;
}

.pys-country-empty {
  padding: 14px 8px;
  font-size: 0.84rem;
  color: var(--muted);
  text-align: center;
  margin: 0;
}

/* ---------------------------------------------------------------------------
   Multi-Select Dropdown Component
   --------------------------------------------------------------------------- */
.pys-dropdown {
  position: relative;
}

.pys-dropdown__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #ffffff;
  border: 1.5px solid #dce2d9;
  border-radius: 8px;
  color: #63736b;
  font-family: inherit;
  font-size: 0.92rem;
  padding: 12px 14px;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.pys-dropdown__toggle:hover {
  border-color: #b5c2b2;
}

.pys-dropdown__toggle.pys-dropdown__toggle--error {
  border-color: #e11d48 !important;
  box-shadow: 0 0 0 3.5px rgba(225, 29, 72, 0.15) !important;
}

.pys-field-error {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #e11d48;
  font-size: 0.82rem;
  font-weight: 500;
  margin-top: 6px;
  animation: pysErrorSlide 0.2s ease-out;
}

.pys-field-error i {
  font-size: 0.95rem;
  flex-shrink: 0;
}

@keyframes pysErrorSlide {
  from {
    opacity: 0;
    transform: translateY(-3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pys-dropdown.open .pys-dropdown__toggle,
.pys-dropdown__toggle[aria-expanded="true"] {
  border-color: var(--accent);
  box-shadow: 0 0 0 3.5px rgba(243, 112, 2, 0.15);
}

.pys-dropdown__toggle i {
  font-style: normal;
  color: var(--muted);
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.pys-dropdown.open .pys-dropdown__toggle i,
.pys-dropdown__toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
  color: var(--accent);
}

.pys-dropdown__toggle-text {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  flex: 1;
}

.pys-dropdown__toggle-text--filled {
  color: var(--text);
  font-weight: 500;
}

.pys-tag {
  display: inline-flex;
  align-items: center;
  background: #f1f5ef;
  color: #1a251e;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 5px;
  border: 1px solid #d5dfd2;
  white-space: nowrap;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 1;
}

.pys-tag--more {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  font-weight: 700;
  padding: 3px 8px;
  flex-shrink: 0;
  font-size: 0.78rem;
}

/* Dropdown Panel */
.pys-dropdown {
  position: relative;
  z-index: 1;
}

.pys-dropdown.open {
  z-index: 200;
}

.pys-dropdown__panel {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 1000;
  background: #ffffff;
  border: 1.5px solid #dce2d9;
  border-radius: 10px;
  box-shadow: 0 18px 40px -4px rgba(0, 0, 0, 0.18), 0 4px 12px rgba(0, 0, 0, 0.06);
  padding: 10px;
}

.pys-dropdown.open .pys-dropdown__panel {
  display: block;
  animation: pysDropFade 0.18s ease-out;
}

@keyframes pysDropFade {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Search bar inside panel */
.pys-dropdown__search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f7f9f6;
  border: 1.5px solid #e1e7de;
  border-radius: 7px;
  padding: 8px 12px;
  margin-bottom: 8px;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.pys-dropdown__search:focus-within {
  border-color: var(--accent);
  background: #ffffff;
}

.pys-dropdown__search i {
  font-style: normal;
  color: #8a9990;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.pys-dropdown__search input,
.support-field .pys-dropdown__search input,
.support-field .pys-dropdown__search input:focus {
  border: none !important;
  outline: none !important;
  width: 100%;
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--text);
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
}

/* Options List & Scrollbar */
.pys-dropdown__options {
  max-height: 230px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(92, 107, 100, 0.3) transparent;
}

.pys-dropdown__options::-webkit-scrollbar {
  width: 5px;
}

.pys-dropdown__options::-webkit-scrollbar-track {
  background: transparent;
}

.pys-dropdown__options::-webkit-scrollbar-thumb {
  background: #cbd5c8;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.pys-dropdown__options::-webkit-scrollbar-thumb:hover {
  background: #9caea0;
}

.pys-dropdown__option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.86rem;
  color: var(--text);
  cursor: pointer;
  text-transform: none;
  font-weight: 500;
  transition: background-color 0.12s ease;
}

.pys-dropdown__option:hover {
  background: #f2f6f1;
}

.pys-dropdown__option input {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  accent-color: var(--accent);
  cursor: pointer;
  padding: 0;
  box-shadow: none;
}

.pys-dropdown__option--unsure {
  color: #5c6b64;
  font-style: italic;
  border-bottom: 1px dashed #dce2d9;
  border-radius: 0;
  margin-bottom: 6px;
  padding-bottom: 10px;
}

.pys-dropdown__option--unsure:hover {
  background: transparent;
  color: var(--accent);
}

.pys-dropdown__option--other {
  border-top: 1px dashed #dce2d9;
  margin-top: 6px;
  padding-top: 10px;
  font-weight: 600;
  color: var(--accent);
}

.pys-other-field {
  margin-top: 8px;
}

.pys-dropdown__empty {
  padding: 14px 8px;
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
  text-align: center;
}

/* Dropdown Footer Actions (Clear / Done) */
.pys-dropdown__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  margin-top: 8px;
  border-top: 1px solid #e8ede5;
}

.pys-dropdown__clear-btn {
  background: none;
  border: none;
  color: #7a8a81;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  padding: 5px 8px;
  border-radius: 4px;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.pys-dropdown__clear-btn:hover {
  color: #c93b2b;
  background-color: #fdf3f2;
}

.pys-dropdown__done-btn {
  background: var(--accent);
  color: #ffffff;
  border: none;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.12s ease;
}

.pys-dropdown__done-btn:hover {
  background: #db6200;
  transform: translateY(-1px);
}

.pys-dropdown__done-btn:active {
  transform: translateY(0);
}

/* ---------------------------------------------------------------------------
   Checkbox Controls (Dates not decided yet)
   --------------------------------------------------------------------------- */
.pys-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  padding: 8px 12px;
  background: #f8faf7;
  border: 1px solid #e1e7de;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.pys-checkbox:hover {
  border-color: #b5c2b2;
  background: #f1f5f0;
}

.pys-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
  box-shadow: none;
  padding: 0;
}

.pys-checkbox label {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: #2b332d;
  cursor: pointer;
  text-transform: none;
}

/* ---------------------------------------------------------------------------
   Optional Add-Ons Section Tag
   --------------------------------------------------------------------------- */
.pys-section-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #6d7d74;
  padding-top: 22px;
  margin: 8px 0 16px;
  border-top: 1px dashed #dce2d9;
}

/* ---------------------------------------------------------------------------
   Submit Button & Form Footer
   --------------------------------------------------------------------------- */
.support-form__foot {
  column-gap: 20px;
  margin-top: 28px;
}

.support-form__foot button {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.support-form__foot .hero__cta {
  flex: none;
  white-space: nowrap;
  padding: 15px 36px;
  font-size: 0.98rem;
  font-weight: 700;
  background: var(--accent);
  color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(243, 112, 2, 0.35);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.support-form__foot .hero__cta:hover {
  background: #db6200;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(243, 112, 2, 0.45);
}

.support-form__foot .hero__cta:active {
  transform: translateY(0);
}

.support-form__foot .support-form__note {
  font-size: 0.76rem;
  color: var(--muted);
  max-width: 32ch;
  margin: 0;
  line-height: 1.45;
}

/* ---------------------------------------------------------------------------
   Success State
   --------------------------------------------------------------------------- */
.support-success {
  display: none;
  text-align: center;
  padding: 34px 10px 10px;
}

.support-success__stamp {
  display: inline-block;
  font-size: clamp(0.68rem, 0.65rem + 0.1vw, 0.74rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #4a9d5b;
  border: 1px solid #4a9d5b;
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 14px;
}

.support-success h3 {
  font-size: clamp(1.15rem, 1.05rem + 0.3vw, 1.35rem);
  font-weight: 700;
  margin: 0 0 8px;
}

.support-success p {
  color: var(--muted);
  font-size: clamp(0.85rem, 0.81rem + 0.15vw, 0.92rem);
  margin: 0;
}

.support-success__id {
  color: var(--accent);
  font-weight: 600;
  margin-top: 14px;
  font-size: clamp(0.8rem, 0.77rem + 0.1vw, 0.86rem);
}

/* ---------------------------------------------------------------------------
   Direct contact info card & Why card (side panel)
   --------------------------------------------------------------------------- */
.pys-info-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 8px 24px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.pys-info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
}

.pys-info-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.pys-info-row:last-child {
  border-bottom: none;
}

.pys-info-row__k {
  font-size: clamp(0.75rem, 0.72rem + 0.1vw, 0.82rem);
  color: var(--muted);
}

.pys-info-row__v {
  font-size: clamp(0.85rem, 0.82rem + 0.1vw, 0.92rem);
  font-weight: 600;
  color: var(--text);
  text-align: right;
}

.pys-info-row__v:hover {
  color: var(--accent);
}

.pys-why-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 8px 24px;
}

.pys-why-item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.pys-why-item:last-child {
  border-bottom: none;
}

.pys-why-n {
  font-size: clamp(0.72rem, 0.69rem + 0.1vw, 0.78rem);
  font-weight: 700;
  color: var(--accent);
  padding-top: 3px;
  flex-shrink: 0;
}

.pys-why-t {
  font-size: clamp(0.9rem, 0.86rem + 0.15vw, 0.98rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.pys-why-d {
  font-size: clamp(0.8rem, 0.77rem + 0.1vw, 0.86rem);
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}
.pys-addon-theme-hint {
  padding: 14px 8px;
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
  text-align: center;
}

/* Submission progress overlay ------------------------------------------------ */
.pys-submit-overlay {
  position: fixed;
  inset: 0;
  z-index: 13000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(12, 16, 14, 0.68);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.pys-submit-overlay[hidden] {
  display: none;
}

.pys-submit-overlay__card {
  width: min(100%, 360px);
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 30px 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: #ffffff;
  color: #1a1f1c;
  text-align: center;
  box-shadow: 0 24px 70px rgba(12, 16, 14, 0.34);
}

.pys-submit-overlay__card strong {
  font-size: 1.08rem;
  line-height: 1.35;
}

.pys-submit-overlay__card > span:last-child {
  color: var(--muted, #5c6b64);
  font-size: 0.88rem;
  line-height: 1.55;
}

.pys-submit-overlay__spinner {
  width: 34px;
  height: 34px;
  margin-bottom: 4px;
  border: 3px solid rgba(243, 112, 2, 0.22);
  border-top-color: var(--accent, #f37002);
  border-radius: 50%;
  animation: pysOverlaySpin 0.75s linear infinite;
}

@keyframes pysOverlaySpin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .pys-submit-overlay__spinner {
    animation: none;
  }
}

@media (forced-colors: active) {
  .pys-submit-overlay__card,
  .pys-submit-overlay__spinner {
    border-color: CanvasText;
  }
}