/* Óvás oldal */
.hv-protest {
  --hv-red: #e10600;
  --hv-card: #1c1c1c;
  --hv-line: rgba(255, 255, 255, 0.09);
  padding: 48px 0 64px;
  background: #0d0d0d;
  overflow-x: clip; /* a row g-5 negatív margója mobilon ne okozzon vízszintes görgetést */
}

.hv-protest section {
  padding: 0;
}

.hv-protest__head {
  margin-bottom: 28px;
  padding-left: 16px;
  border-left: 4px solid var(--hv-red);
}

.hv-protest__eyebrow {
  display: block;
  margin-bottom: 4px;
  font-family: 'Rajdhani', 'Arial Narrow', Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hv-red);
}

.hv-protest__head h1 {
  margin: 0 0 8px;
  font-family: 'Rajdhani', 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.05;
  color: #fff;
}

.hv-protest__head p {
  max-width: 62ch;
  margin: 0;
  font-size: 1.05rem;
  color: #b8b8b8;
}

.hv-protest__h2 {
  margin: 0 0 16px;
  padding-left: 14px;
  font-family: 'Rajdhani', 'Arial Narrow', Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  border-left: 4px solid var(--hv-red);
}

/* Szabályok rövid sora */
.hv-protest__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.hv-protest__facts li {
  padding: 14px 16px;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #c9c9c9;
  background: var(--hv-card);
  border: 1px solid var(--hv-line);
  border-radius: 8px;
}

.hv-protest__facts strong {
  display: block;
  margin-bottom: 2px;
  font-family: 'Rajdhani', 'Arial Narrow', Arial, sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
}

/* Kártya (űrlap, üres állapot, belépés) */
.hv-protest-card {
  margin-bottom: 36px;
  padding: 26px;
  background: var(--hv-card);
  border: 1px solid var(--hv-line);
  border-radius: 8px;
}

.hv-protest-card--notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}

.hv-protest-card--notice h3 {
  margin: 0 0 4px;
  font-family: 'Rajdhani', 'Arial Narrow', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
}

.hv-protest-card--notice p {
  margin: 0;
  color: #b8b8b8;
}

.hv-protest-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hv-pf__honeypot {
  display: none;
}

.hv-pf__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}

.hv-pf__row--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hv-pf__field {
  margin-bottom: 18px;
}

.hv-pf__field label {
  display: block;
  margin-bottom: 6px;
  font-family: 'Rajdhani', 'Arial Narrow', Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #e6e6e6;
}

.hv-pf__field label small {
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: #8f8f8f;
}

.hv-pf__field input,
.hv-pf__field select,
.hv-pf__field textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 11px 14px;
  font-family: 'Titillium Web', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  color: #fff;
  background-color: #111;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  box-shadow: none;
  color-scheme: dark; /* a böngésző saját lenyíló listája és vezérlői is sötétek legyenek */
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Lenyíló: saját nyíl a böngésző alapértelmezett kinézete helyett */
.hv-pf__field select {
  padding-right: 42px;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5l6 6 6-6' fill='none' stroke='%23e10600' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px 9px;
}

.hv-pf__field select option {
  font-family: 'Titillium Web', Arial, sans-serif;
  color: #fff;
  background-color: #1c1c1c;
}

.hv-pf__field select option:disabled {
  color: #8f8f8f;
}

.hv-pf__field select:hover:not(:disabled),
.hv-pf__field input:hover,
.hv-pf__field textarea:hover {
  border-color: rgba(255, 255, 255, 0.34);
}

/* Szám mező: a böngésző fel/le nyilai nélkül */
.hv-pf__field input[type='number'] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.hv-pf__field input[type='number']::-webkit-outer-spin-button,
.hv-pf__field input[type='number']::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

/* Böngésző automatikus kitöltése se fesse világosra a mezőt */
.hv-pf__field input:-webkit-autofill {
  -webkit-text-fill-color: #fff;
  box-shadow: 0 0 0 1000px #111 inset;
}

.hv-pf__field textarea {
  min-height: 110px;
  resize: vertical;
}

.hv-pf__field input:focus,
.hv-pf__field select:focus,
.hv-pf__field textarea:focus {
  outline: none;
  border-color: var(--hv-red);
  box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.25);
}

.hv-pf__field .is-invalid {
  border-color: #ff5a55;
}

.hv-pf__hint {
  margin-top: 5px;
  font-size: 0.86rem;
  color: #8f8f8f;
}

.hv-pf__error {
  margin-top: 5px;
  font-size: 0.88rem;
  color: #ff7a75;
}

.hv-pf__deadline {
  margin: -6px 0 18px;
  padding: 10px 14px;
  font-size: 0.92rem;
  color: #f1d9a0;
  background: rgba(255, 193, 7, 0.08);
  border: 1px solid rgba(255, 193, 7, 0.3);
  border-radius: 4px;
}

.hv-pf__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding-top: 4px;
}

.hv-pf__foot span {
  font-size: 0.9rem;
  color: #8f8f8f;
}

.hv-protest-alert {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  padding: 14px 16px;
  color: #d7f5e3;
  background: rgba(25, 135, 84, 0.18);
  border: 1px solid rgba(25, 135, 84, 0.5);
  border-radius: 6px;
}

/* Saját óvások (az Óvás oldalon és a profilon) */
.hv-myprotests {
  --hv-red: #e10600;
  --hv-card: #1c1c1c;
  --hv-line: rgba(255, 255, 255, 0.09);
}

.hv-myprotests__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}

.hv-myprotests__head h2 {
  margin: 0;
  font-family: 'Rajdhani', 'Arial Narrow', Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}

.hv-myprotests__note {
  margin: 0 0 14px;
  font-size: 0.85rem;
  color: #8f8f8f;
}

.hv-myprotests__empty {
  margin: 0;
  padding: 16px 18px;
  color: #b8b8b8;
  background: var(--hv-card);
  border: 1px solid var(--hv-line);
  border-radius: 8px;
}

.hv-myprotest {
  margin-bottom: 12px;
  padding: 16px 18px;
  background: var(--hv-card);
  border: 1px solid var(--hv-line);
  border-left: 4px solid #5a5a5a;
  border-radius: 8px;
}

.hv-myprotest--pending { border-left-color: #8f8f8f; }
.hv-myprotest--under_review { border-left-color: #ffc107; }
.hv-myprotest--accepted { border-left-color: #2fb872; }
.hv-myprotest--rejected { border-left-color: var(--hv-red); }
.hv-myprotest--invalid { border-left-color: #5a5a5a; }

.hv-myprotest__top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
}

.hv-myprotest__race {
  margin: 0;
  font-family: 'Rajdhani', 'Arial Narrow', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.hv-myprotest__status {
  font-family: 'Rajdhani', 'Arial Narrow', Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c9c9c9;
}

.hv-myprotest--under_review .hv-myprotest__status { color: #ffc107; }
.hv-myprotest--accepted .hv-myprotest__status { color: #2fb872; }
.hv-myprotest--rejected .hv-myprotest__status { color: #ff5a55; }

.hv-myprotest__meta {
  margin: 4px 0 0;
  font-size: 0.93rem;
  color: #a8a8a8;
}

.hv-myprotest__decision {
  margin: 10px 0 0;
  padding-top: 10px;
  font-size: 0.95rem;
  color: #d6d6d6;
  border-top: 1px solid var(--hv-line);
}

@media (max-width: 767.98px) {
  .hv-protest {
    padding-top: 32px;
  }

  .hv-protest__facts,
  .hv-pf__row,
  .hv-pf__row--3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .hv-protest-card {
    padding: 18px;
  }
}
