/* /Pages/CijeliRaspored/Index.cshtml.rz.scp.css */
.cijeli-filteri__naslov[b-goq823xgbk] {
  margin-bottom: 0.75rem;
  font-weight: 700;
  color: var(--bs-body-color);
}

.cijeli-filteri__polja[b-goq823xgbk] {
  display: grid;
  grid-template-columns: repeat(5, minmax(10rem, 1fr)) auto;
  gap: 0.75rem;
  align-items: end;
}

.cijeli-filteri__akcije[b-goq823xgbk] {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cijeli-smjena + .cijeli-smjena[b-goq823xgbk] {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px solid #dde3ec;
}

.cijeli-raspored-wrap[b-goq823xgbk] {
  overflow: auto;
  max-height: calc(100vh - 13rem);
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: 1rem;
  padding: 0.5rem;
  box-shadow: 0 0.25rem 0.75rem rgba(15, 23, 42, 0.05);
  scrollbar-color: #94a3b8 #f1f5f9;
}

.cijeli-raspored[b-goq823xgbk] {
  min-width: max-content;
  border-collapse: separate;
  border-spacing: 4px;
  table-layout: fixed;
}

.cijeli-raspored th[b-goq823xgbk],
.cijeli-raspored td[b-goq823xgbk] {
  min-width: 9rem;
  vertical-align: top;
}

.cijeli-raspored thead th[b-goq823xgbk] {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #eef1f5;
  color: #334155;
  border-radius: 0.5rem;
  padding: 0.45rem 0.5rem;
  text-align: center;
  font-size: 0.75rem;
}

.cijeli-raspored .razred-stupac[b-goq823xgbk] {
  position: sticky;
  left: 0;
  z-index: 3;
  min-width: 8rem;
  width: 8rem;
  background: #f4f5f7;
  color: #1e293b;
  border-radius: 0.5rem;
  padding: 0.65rem 0.6rem;
  text-align: left;
  white-space: nowrap;
}

.cijeli-raspored thead .razred-stupac[b-goq823xgbk] {
  z-index: 4;
  background: #e2e8f0;
}

.cijeli-dan[b-goq823xgbk],
.cijeli-vrijeme[b-goq823xgbk] {
  display: block;
}

.cijeli-dan[b-goq823xgbk] {
  font-weight: 700;
}

.cijeli-vrijeme[b-goq823xgbk] {
  margin-top: 0.15rem;
  color: #475569;
  font-size: 0.68rem;
  font-weight: 400;
}

.cijeli-raspored td[b-goq823xgbk] {
  height: 1px;
  padding: 0;
}

.cijeli-celija-split[b-goq823xgbk] {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-height: 4.25rem;
  height: 100%;
}

.cijeli-termin[b-goq823xgbk] {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  border-radius: 0.6rem;
  padding: 0.4rem 0.5rem;
  color: #1a1a1a;
  text-decoration: none;
  line-height: 1.2;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.cijeli-termin:hover[b-goq823xgbk],
.cijeli-termin:focus-visible[b-goq823xgbk] {
  color: #1a1a1a;
  box-shadow: inset 0 0 0 2px rgba(29, 78, 216, 0.55);
}

.cijeli-termin:focus-visible[b-goq823xgbk] {
  outline: 3px solid #1d4ed8;
  outline-offset: 2px;
}

.cijeli-grupa[b-goq823xgbk],
.cijeli-predmet[b-goq823xgbk],
.cijeli-meta[b-goq823xgbk] {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.cijeli-grupa[b-goq823xgbk] {
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
}

.cijeli-predmet[b-goq823xgbk] {
  font-size: 0.78rem;
  font-weight: 700;
}

.cijeli-meta[b-goq823xgbk] {
  color: #475569;
  font-size: 0.66rem;
}

.cijeli-prazno[b-goq823xgbk] {
  display: block;
  min-height: 4.25rem;
  border-radius: 0.6rem;
  background: repeating-linear-gradient(
    135deg,
    #fafafa,
    #fafafa 8px,
    #f2f2f2 8px,
    #f2f2f2 16px
  );
}

@media (max-width: 1100px) {
  .cijeli-filteri__polja[b-goq823xgbk] {
    grid-template-columns: repeat(3, minmax(10rem, 1fr));
  }
}

@media (max-width: 767.98px) {
  .cijeli-filteri__polja[b-goq823xgbk] {
    grid-template-columns: 1fr;
  }
}
/* /Pages/Generator/Index.cshtml.rz.scp.css */
/* Vizualna mreza za pregled generiranog rasporeda (dani = redci, sati = stupci),
   po uzoru na https://tjakopcic420.github.io/raspored2rta/ - nadomjesta prijasnji
   ravni popis termina radi bolje preglednosti. */

.raspored-grid-wrap[b-ckprnens74] {
  overflow-x: auto;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 0.5rem;
  box-shadow: 0 0.25rem 0.75rem rgba(15, 23, 42, 0.05);
}

.raspored-grid[b-ckprnens74] {
  width: 100%;
  border-collapse: separate;
  border-spacing: 4px;
  table-layout: fixed;
}

.raspored-grid th[b-ckprnens74],
.raspored-grid td[b-ckprnens74] {
  vertical-align: top;
}

.raspored-grid thead th[b-ckprnens74] {
  background: #eef1f5;
  color: #333;
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: 0.5rem;
  padding: 0.5rem 0.4rem;
  text-align: center;
  white-space: nowrap;
}

.raspored-grid thead th.dan-stupac[b-ckprnens74] {
  background: transparent;
}

.raspored-grid .sat-oznaka[b-ckprnens74] {
  font-size: 0.9rem;
  font-weight: 700;
}

.raspored-grid .sat-vrijeme[b-ckprnens74] {
  font-size: 0.7rem;
  font-weight: 400;
  color: #777;
}

.raspored-grid .dan-stupac[b-ckprnens74] {
  width: 6.5rem;
  min-width: 6.5rem;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 700;
  color: #333;
  background: #f4f5f7;
  border-radius: 0.5rem;
  padding: 0.5rem 0.6rem;
  white-space: nowrap;
}

.raspored-grid .raspored-celija[b-ckprnens74] {
  min-width: 8.5rem;
  height: 1px;
  padding: 0;
}

.raspored-grid .prazna-celija[b-ckprnens74] {
  display: block;
  height: 100%;
  min-height: 3.25rem;
  border-radius: 0.6rem;
  background: repeating-linear-gradient(
    135deg,
    #fafafa,
    #fafafa 8px,
    #f2f2f2 8px,
    #f2f2f2 16px
  );
}

.celija-split[b-ckprnens74] {
  display: flex;
  flex-direction: column;
  gap: 3px;
  height: 100%;
  min-height: 3.25rem;
}

.celija-blok[b-ckprnens74] {
  flex: 1;
  border-radius: 0.6rem;
  padding: 0.35rem 0.5rem;
  font-size: 0.78rem;
  line-height: 1.25;
  color: #1a1a1a;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
  cursor: grab;
  transition:
    box-shadow 0.12s ease,
    opacity 0.12s ease;
}

.celija-blok:active[b-ckprnens74] {
  cursor: grabbing;
}

.celija-blok:focus-visible[b-ckprnens74],
.raspored-celija:focus-visible[b-ckprnens74] {
  outline: 3px solid #1d4ed8;
  outline-offset: 2px;
}

.celija-blok.odabran-za-premjestanje[b-ckprnens74] {
  outline: 3px solid #1d4ed8;
  outline-offset: -3px;
  box-shadow:
    inset 0 0 0 2px #fff,
    0 0 0 2px rgba(29, 78, 216, 0.35);
}

.raspored-celija.drag-over[b-ckprnens74] {
  outline: 2px dashed #1d4ed8;
  outline-offset: -2px;
  border-radius: 0.6rem;
}

.raspored-celija.drag-over .prazna-celija[b-ckprnens74],
.raspored-celija.drag-over .celija-blok[b-ckprnens74] {
  box-shadow: inset 0 0 0 1px rgba(29, 78, 216, 0.35);
}

.celija-grupa[b-ckprnens74] {
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #333;
}

.celija-predmet[b-ckprnens74] {
  font-weight: 700;
}

.celija-meta[b-ckprnens74] {
  font-size: 0.7rem;
  color: #444;
}

@media (max-width: 767.98px) {
  .raspored-grid .dan-stupac[b-ckprnens74] {
    width: 4.5rem;
    min-width: 4.5rem;
    font-size: 0.75rem;
    padding: 0.4rem 0.35rem;
    white-space: normal;
  }

  .raspored-grid .raspored-celija[b-ckprnens74] {
    min-width: 6.5rem;
  }

  .celija-blok[b-ckprnens74] {
    font-size: 0.7rem;
    padding: 0.3rem 0.4rem;
  }

  .celija-meta[b-ckprnens74] {
    font-size: 0.62rem;
  }
}
/* /Pages/Shared/_Layout.cshtml.rz.scp.css */
/* Please see documentation at https://learn.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand[b-wj3m953or6] {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

a[b-wj3m953or6] {
  color: var(--bs-primary);
}

.btn-primary[b-wj3m953or6] {
  color: #fff;
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.nav-pills .nav-link.active[b-wj3m953or6], .nav-pills .show > .nav-link[b-wj3m953or6] {
  color: #fff;
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.border-top[b-wj3m953or6] {
  border-top: 1px solid var(--brand-border, #e5e5e5);
}
.border-bottom[b-wj3m953or6] {
  border-bottom: 1px solid var(--brand-border, #e5e5e5);
}

.box-shadow[b-wj3m953or6] {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy[b-wj3m953or6] {
  font-size: 1rem;
  line-height: inherit;
}

.footer[b-wj3m953or6] {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;
}
/* /Pages/Termini/Index.cshtml.rz.scp.css */
/* Vizualna mreža rasporeda po razredu (dani = redci, sati = stupci), ista logika
   kao pregled generatora (Pages/Generator/Index.cshtml.css) — dosljedan izgled kroz
   cijelu aplikaciju. Zamjenjuje prijašnji ravni popis termina po danima radi bolje
   preglednosti; klik na termin otvara mali izbornik s Uredi/Obriši. */

/* Razdjelnik između dvije smjene (jutarnja/podnevna) kad razred ima obje — vertikalno
   poredane, ne jedna kraj druge (puna širina sadržaja, malo deblji od običnog <hr>-a da se
   jasno vidi kao granica sekcije, ne kao obična podjela unutar iste). */
.raspored-smjena-razdjelnik[b-k5of5v094j] {
    margin: 2rem 0;
    border: 0;
    border-top: 2px solid #dde3ec;
}

.raspored-grid-wrap[b-k5of5v094j] {
    overflow-x: auto;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 0.5rem;
    box-shadow: 0 0.25rem 0.75rem rgba(15, 23, 42, 0.05);
}

.raspored-grid[b-k5of5v094j] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 4px;
    table-layout: fixed;
}

.raspored-grid th[b-k5of5v094j],
.raspored-grid td[b-k5of5v094j] {
    vertical-align: top;
}

.raspored-grid thead th[b-k5of5v094j] {
    background: #eef1f5;
    color: #333;
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 0.5rem;
    padding: 0.5rem 0.4rem;
    text-align: center;
    white-space: nowrap;
}

.raspored-grid thead th.dan-stupac[b-k5of5v094j] {
    background: transparent;
}

.raspored-grid .sat-oznaka[b-k5of5v094j] {
    font-size: 0.9rem;
    font-weight: 700;
}

.raspored-grid .sat-vrijeme[b-k5of5v094j] {
    font-size: 0.7rem;
    font-weight: 400;
    color: #777;
}

.raspored-grid .dan-stupac[b-k5of5v094j] {
    width: 6.5rem;
    min-width: 6.5rem;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 700;
    color: #333;
    background: #f4f5f7;
    border-radius: 0.5rem;
    padding: 0.5rem 0.6rem;
    white-space: nowrap;
}

.raspored-grid .raspored-celija[b-k5of5v094j] {
    min-width: 8.5rem;
    height: 1px; /* omogućuje da .celija-split unutar sebe rastegne 100% visine retka */
    padding: 0;
}

.raspored-grid .prazna-celija[b-k5of5v094j] {
    display: block;
    height: 100%;
    min-height: 3.25rem;
    border-radius: 0.6rem;
    background: repeating-linear-gradient(
        135deg,
        #fafafa,
        #fafafa 8px,
        #f2f2f2 8px,
        #f2f2f2 16px
    );
}

.celija-split[b-k5of5v094j] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    height: 100%;
    min-height: 3.25rem;
}

.celija-dropdown[b-k5of5v094j] {
    flex: 1;
    display: flex;
}

/* Reset zadanog izgleda <button>-a — mora izgledati identično prijašnjem statičkom <div>-u. */
.celija-blok[b-k5of5v094j] {
    flex: 1;
    display: block;
    width: 100%;
    border: 0;
    border-radius: 0.6rem;
    padding: 0.35rem 0.5rem;
    font-size: 0.78rem;
    line-height: 1.25;
    text-align: left;
    color: #1a1a1a;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: box-shadow 0.12s ease;
}

.celija-blok:hover[b-k5of5v094j],
.celija-blok:focus-visible[b-k5of5v094j] {
    box-shadow: inset 0 0 0 2px rgba(29, 78, 216, 0.45);
}

.celija-blok:focus-visible[b-k5of5v094j] {
    outline: none;
}

.celija-grupa[b-k5of5v094j] {
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #333;
}

.celija-predmet[b-k5of5v094j] {
    font-weight: 700;
}

.celija-meta[b-k5of5v094j] {
    font-size: 0.7rem;
    color: #444;
}

.celija-tjedan[b-k5of5v094j] {
    font-size: 0.65rem;
    font-weight: 700;
    color: #555;
    margin-top: 0.1rem;
}

@media (max-width: 767.98px) {
    .raspored-grid .dan-stupac[b-k5of5v094j] {
        width: 4.5rem;
        min-width: 4.5rem;
        font-size: 0.75rem;
        padding: 0.4rem 0.35rem;
        white-space: normal;
    }

    .raspored-grid .raspored-celija[b-k5of5v094j] {
        min-width: 6.5rem;
    }

    .celija-blok[b-k5of5v094j] {
        font-size: 0.7rem;
        padding: 0.3rem 0.4rem;
    }

    .celija-meta[b-k5of5v094j] {
        font-size: 0.62rem;
    }
}
