/* Podloga prijavnega okna – enaka v vseh programih biroja (vzor: BB-OFFICE).
   Uporaba: vsebniku prijave dodaj razred »bbp«, na konec vsebnika <img class="bbp-logo" src="img/birobiro.svg" alt="birobiro">.
   Datoteke: src/img/pike.jpg, src/img/birobiro.svg, src/podloga.css (naloži ZA ostalimi css). */
.bbp {
  position: fixed; inset: 0; z-index: 400; overflow: auto;
  display: flex !important; flex-direction: column; align-items: center;
  background: #000 !important; color: #f2f2f2;
  /* prijavna kartica je vedno temna, ne glede na temo programa */
  --bg: #000; --surface: #0c0c0c; --panel: #0c0c0c; --panel2: #151515; --surface-2: #151515;
  --text: #f2f2f2; --muted: #9a9a9a; --border: #333; --border-strong: #4a4a4a; --line: #333;
}
.bbp::before {
  content: ''; position: fixed; left: 0; right: 0; top: 0; height: 62vh; pointer-events: none; z-index: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, #000 100%), url(img/pike.jpg) center top / 100% auto no-repeat;
}
.bbp > * { position: relative; z-index: 1; }
.bbp > :first-child { margin-top: auto !important; }
.bbp .login-card, .bbp .lg-card, .bbp .card {
  background: rgba(12,12,12,.88) !important; backdrop-filter: blur(10px);
  border: 1px solid #333 !important; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,.6) !important; color: #f2f2f2;
}
.bbp input { background: #0a0a0a !important; color: #f2f2f2 !important; border-color: #3a3a3a !important; }
.bbp input:focus { border-color: #8a8a8a !important; }
.bbp code { color: #cfcfcf; }
.bbp-logo { width: 170px; flex: none; margin: 34px 0 40px; margin-top: auto; padding-top: 34px; pointer-events: none; }
.bbp .logo.big { background: #fff; color: #111; }

/* majhni zasloni (prenosnik): ozadje se prilagodi širini, kartica in logotip se stisnejo (4. 11. 2026) */
@media (max-height: 760px) {
  .bbp .login-card, .bbp .lg-card, .bbp .card { padding-top: 16px !important; padding-bottom: 14px !important; }
  .bbp-logo { width: 120px; margin-bottom: 20px; padding-top: 14px; }
}
@media (max-height: 620px) {
  .bbp-logo { width: 90px; margin-bottom: 12px; padding-top: 8px; }
  .bbp::before { height: 50vh; }
}
@media (max-width: 700px) {
  .bbp .login-card, .bbp .lg-card, .bbp .card { max-width: calc(100% - 24px); }
}
