/* Vinduene for «Book en prat» og «Logg inn» (nettside/nettside.js). Bygger på .film-vindu og .film-lukk
   i stil.css (introfilmen); her står bare det som skiller en iframe fra en film. */
.nw-vindu { width: min(980px, calc(100vw - 32px)); background: var(--hvit); }
.nw-vindu-innhold { height: min(780px, calc(100vh - 120px)); height: min(780px, calc(100dvh - 120px)); border-radius: 20px; overflow: hidden; background: var(--hvit); }
.nw-vindu iframe { display: block; width: 100%; height: 100%; border: 0; }
.nw-logg-inn { width: min(500px, calc(100vw - 32px)); }
.nw-logg-inn .nw-vindu-innhold { height: auto; max-height: calc(100vh - 120px); max-height: calc(100dvh - 120px); overflow-y: auto; }
.nw-logg-inn iframe { height: 700px; } /* login.php?popup=1 med «Registrer deg» nederst */
html.nw-vindu-apent { overflow: hidden; }

/* Mobil: hele skjermen, som popupen i BOOKING/b/embed.js; lukkeknappen flyttes inn i vinduet */
@media (max-width: 520px) {
  .nw-vindu, .nw-logg-inn { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; border-radius: 0; }
  .nw-vindu .nw-vindu-innhold, .nw-logg-inn .nw-vindu-innhold { height: 100%; max-height: none; border-radius: 0; }
  .nw-logg-inn iframe { height: 100%; min-height: 700px; }
  .nw-vindu .film-lukk { top: 10px; right: 10px; z-index: 2; box-shadow: 0 2px 10px rgba(22,32,26,.18); }
}

/* Partnerskjemaet etter innsending (nettside/_partner.php) — .takk-merke fra stil.css */
.nw-takk { text-align: center; }
.nw-takk h3 { margin-bottom: 12px; }
.nw-takk p { color: var(--tekst-2); margin: 0; }
