:root {
  color-scheme: light;
  --ndv-red: #d71920;
  --ndv-red-dark: #af1219;
  --ndv-ink: #171717;
  --ndv-grey: #5e6269;
  --ndv-line: #cbd0d5;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ndv-ink);
  background: #fff;
}
* { box-sizing: border-box; }
body.ndv-body { margin: 0; padding: 0; background: #fff; }
.ndv-container { width: min(100%, 760px); margin: 0 auto; padding: 10px 8px; }
.ndv-card { padding: 0 27px 24px; background: #fff; border: 1px solid #ececec; }
.ndv-top-rule { height: 4px; background: var(--ndv-red); margin: 0 -27px 23px; }
.ndv-eyebrow { margin: 0 0 13px; color: var(--ndv-red); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.ndv-eyebrow span { margin: 0 5px; color: #b7b7b7; }
.ndv-card h1 { margin: 0 0 15px; font-size: clamp(24px, 4vw, 30px); font-weight: 800; line-height: 1.19; letter-spacing: -.015em; }
.ndv-intro { margin: 0 0 23px; color: #404040; font-size: 15px; line-height: 1.66; }
.ndv-intro strong { color: #151515; }
.ndv-section-title { margin: 0 0 4px; font-size: 18px; font-weight: 800; }
.ndv-hint { margin: 0 0 20px; color: var(--ndv-grey); font-size: 12px; }
.ndv-hint span, .ndv-field label span, .ndv-rules b { color: var(--ndv-red); }
.ndv-field { margin: 0 0 21px; }
.ndv-field label { display: block; margin: 0 0 5px; font-size: 13px; font-weight: 700; color: #272727; }
.ndv-field input {
  display: block; width: 100%; min-height: 44px; padding: 10px 1px;
  border: none; border-bottom: 1px solid var(--ndv-line); border-radius: 0;
  font: 16px/1.35 Arial, Helvetica, sans-serif; color: #171717; background: #fff;
  transition: border-color .15s;
}
.ndv-field input::placeholder { color: #8a919b; opacity: 1; }
.ndv-field input:hover { border-bottom-color: #555; }
.ndv-field input:focus { outline: none; border-bottom: 2px solid var(--ndv-red); }
.ndv-card a { color: #bc151c; text-decoration: underline; text-underline-offset: 2px; }
.ndv-card a:hover { color: #951016; }
.ndv-card a:focus-visible, .ndv-card input:focus-visible, .ndv-card button:focus-visible { outline: 3px solid #ffb9bd; outline-offset: 3px; }
.ndv-rules { margin: 10px 0 11px; display: flex; gap: 11px; align-items: flex-start; cursor: pointer; color: #343434; font-size: 13px; line-height: 1.6; }
.ndv-rules input { width: 18px; height: 18px; margin: 2px 0 0; flex: 0 0 18px; accent-color: var(--ndv-red); }
.ndv-privacy { margin: 0 0 21px; color: #585858; font-size: 12.5px; line-height: 1.65; }
.ndv-submit { width: 100%; min-height: 51px; padding: 12px 16px; display: flex; align-items: center; justify-content: center; gap: 14px; color: #fff; background: var(--ndv-red); border: 0; border-radius: 2px; cursor: pointer; font: 800 14px Arial, Helvetica, sans-serif; letter-spacing: .015em; transition: background .15s; }
.ndv-submit:hover:not(:disabled) { background: var(--ndv-red-dark); }
.ndv-submit:disabled { opacity: .65; cursor: wait; }
.ndv-footnote { margin: 13px 0 0; color: #777; font-size: 11.5px; line-height: 1.55; }
.ndv-status { padding: 17px 18px; font-size: 14px; line-height: 1.6; border-left: 4px solid #777; }
.ndv-status strong { font-size: 15px; }
.ndv-status p { margin: 6px 0 0; }
.ndv-success { color: #195636; background: #ecf8ef; border-color: #32865a; }
.ndv-neutral { color: #434343; background: #f5f5f5; border-color: #888; }
.ndv-error { color: #8d1321; background: #fff2f3; border-color: var(--ndv-red); margin-bottom: 20px; }
.ndv-trap { position: absolute; left: -99999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 600px) {
  .ndv-container { padding: 0; }
  .ndv-card { border: 0; padding: 0 17px 20px; }
  .ndv-top-rule { margin: 0 -17px 19px; }
  .ndv-card h1 { font-size: 25px; }
  .ndv-intro { font-size: 14px; margin-bottom: 21px; }
  .ndv-field { margin-bottom: 17px; }
  .ndv-privacy { font-size: 12px; }
}

/* Regulament extensibil, fără a deschide altă pagină. */
.ndv-regulament { margin: 0 0 22px; border: 1px solid #dadada; background: #fafafa; }
.ndv-regulament summary { padding: 14px 16px; display: flex; gap: 12px; align-items: center; justify-content: space-between; color: var(--ndv-red-dark); font-size: 14px; font-weight: 700; cursor: pointer; list-style: none; }
.ndv-regulament summary::-webkit-details-marker { display:none; }
.ndv-regulament summary:hover { background: #f5f5f5; }
.ndv-regulament[open] summary { border-bottom: 1px solid #e5e5e5; }
.ndv-regulament[open] .ndv-regulament-arrow { transform: rotate(180deg); }
.ndv-regulament-arrow { transition: transform .15s ease; }
.ndv-regulament-content { padding: 10px 16px 15px; color: #3f4145; font-size: 13px; line-height: 1.65; }
.ndv-regulament-content p { margin: 10px 0; }
.ndv-regulament summary:focus-visible { outline: 3px solid #ffb9bd; outline-offset: 2px; }

/* Informarea GDPR: se citeste in formular fara navigare si poate fi deschisa integral. */
.ndv-privacy-details { margin-top: 2px; margin-bottom: 19px; }
.ndv-privacy-scroll { max-height: 380px; overflow-y: auto; overscroll-behavior: contain; }
.ndv-privacy-scroll a { font-weight: 700; }
.ndv-privacy-page .ndv-card { padding-bottom: 32px; }
.ndv-privacy-page .ndv-intro { margin-bottom: 0; }
.ndv-privacy-fulltext { padding: 0; font-size: 14px; line-height: 1.73; }
.ndv-privacy-fulltext p { margin: 16px 0; }
