/* Static Pages - Shared CSS */
/* Import Google Fonts - Roboto */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

:root {
    --primary-color: #0073aa;
    --secondary-color: #005a87;
    --accent-color: #00a0d2;
    --success-color: #46b450;
    --warning-color: #ffb900;
    --error-color: #dc3232;
    --text-color: #333;
    --light-gray: #f1f1f1;
    --border-color: #ddd;
    --shadow: 0 2px 4px rgba(0,0,0,0.1);
    --font-family: 'Roboto', sans-serif;
}

/* Page Container - Centered with max-width 1400px */
.page-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.za-korisnike-container {
    max-width: 1100px;
    margin: 10px auto;
    padding: 20px;
}

/* Two Column Layout */
.two-column-layout {
    display: flex;
    gap: 80px;
    margin-bottom: 40px;
}

.left-col {
    flex: 0 0 50%;
    max-width: 50%;
}

.right-col {
    flex: 0 0 45%;
    max-width: 45%;
}

/* Responsive breakpoint for stacking columns below 992px */
@media (max-width: 991px) {
    .two-column-layout {
        flex-direction: column;
        gap: 30px;
    }
    
    .left-col,
    .right-col {
        flex: 1;
        max-width: 100%;
    }
}

/* Left Column Styles */
/* Grey Info Box */
.info-box {
    background-color: #727187; /* dark slate */
    color: #fff;
    text-align: center;
    padding: 5px 10px 5px; /* space for text */
    position: relative;
    margin-bottom: 60px;
	border-radius: 8px;
}

.info-box h3 {
    font-size: 22px;
    font-weight: bold;
    margin: 10px 0;
    line-height: 1.4;
}

.info-box p {
    font-size: 20px;
    line-height: 1.3;
    margin: 20px 20px 0;
	padding: 0 10px;
}

/* Decorations */
.info-box-deco {
    text-align: center;
}

.info-box-deco img {
    max-height: 45px; /* adjust if needed */
    width: 75%;
	margin: 10px 0 0 0;
}

.search-form-box {
    background-color: #4c4d7f;
    padding: 5px 10px 5px; /* space for text */
    border-radius: 8px;
    color: white;
	text-align: center;
}

.search-form-box h3 {
	display: block;
	margin: 0 auto;
	padding-bottom: 20px;
	text-align: center;
    color: white;
    font-size: 1.7rem;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 0.62rem;
}

.search-form .form-group {
    margin-bottom: 20px;
}

.nazivi-naslova {
  font-weight: bold;
  color: #fff;
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 10px;
  display: block; /* ensures it sits above the input neatly */
}

.search-form p {
    font-size: 20px;
	text-align: center;
    line-height: 1.7;
	margin: 5px;
	font-style: italic;
}

.search-form input {
    width: 95%;               /* make them a bit wider */
    padding: 15px 18px;        /* more padding = taller fields */
    border: 1px solid #ddd;
    border-radius: 8px;        /* softer rounded corners */
    font-size: 16px;           /* slightly larger text */
    box-sizing: border-box;
    background-color: white;
    color: #333;
    display: block;
    margin: 0 auto 20px auto;  /* center + add spacing below each input */
    text-align: center;
}

.search-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 6px rgba(0, 115, 170, 0.25);
}

.search-btn {
    background-color: #c5c2c2;
    color: black;
    padding: 14px 40px;        /* taller & wider button */
    border: none;
    border-radius: 8px;        /* match input radius */
    font-size: 20px;
    font-weight: 750;
    text-decoration: underline;
    cursor: pointer;
    transition: background-color 0.3s ease;

    display: block;     /* shrink to fit content */
	width: 95%;
    margin: 30px auto 15px auto; /* center with top/bottom spacing */
    text-align: center;
}

.search-btn:hover {
    background-color: #000000;
    color: #c5c2c2;              /* ensures contrast */
}

/* ZA BIBLIOTEKARE — 2 columns */

/* Tabs */
.kursevi-tabs{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin:10px 0 8px;
}
.kursevi-tabs .tab{
  border:none;
  background:#e9e9ef;
  color:#6b6c80;
  padding:14px 16px;
  border-radius:8px;
  text-align:left;
  cursor:pointer;
  box-shadow:0 2px 8px rgba(0,0,0,.07);
  transition:background .2s, color .2s, transform .05s;
}
.kursevi-tabs .tab small{display:block; font-size:.8rem; opacity:.9}
.kursevi-tabs .tab span{display:block; font-weight:700; font-size:1.5rem; color:#43465f}
.kursevi-tabs .tab em{display:block; font-size:.85rem; opacity:.8; font-style:normal}
.kursevi-tabs .tab.active{
  background:#d7d9f6;
  color:#2c2f5b;
}
.kursevi-tabs .tab:active{ transform: scale(.99); }

/* IKONE ZA KURSEVE */

/* Make room for the absolutely positioned icon without affecting text layout */
.kursevi-tabs .tab.left  { padding-left: 80px;  position: relative; }
.kursevi-tabs .tab.right { padding-right: 80px; position: relative; }

/* Reserve space so text never overlaps the icon */
.kursevi-tabs .tab.left  { padding-left: 80px;  }
.kursevi-tabs .tab.right { padding-right: 80px; }

.kursevi-tabs .tab .tab-icon{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 110px;          /* tweak if needed */
  height: auto;
  pointer-events: none; /* icon is decorative; don't capture clicks */
}

/* Place icon to the LEFT edge on the left tab */
.kursevi-tabs .tab.left  .tab-icon { left: -3%; }
/* Place icon to the RIGHT edge on the right tab */
.kursevi-tabs .tab.right .tab-icon { right: -3%; }

/* Add extra padding so the text block clears the icon */
.kursevi-tabs .tab.left  { padding-left: calc(16px + 56px + 12px); }
.kursevi-tabs .tab.right { padding-right: calc(16px + 56px + 12px); }

/* Body layout */
.kursevi-body{
  position:relative;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  margin-bottom: 20px;
}

/* Cards */
.kursevi-body .col{
  background:#fff;
  border-radius:10px;
  box-shadow:0 6px 18px rgba(0,0,0,.12);
  overflow:hidden;
}

/* Lists */
.kurs-list{ list-style:none; margin:0; padding:24px 26px; }
.kurs-list li{
  margin:0 0 14px;
  line-height:1.35;
}
.kurs-list li strong{ display:block; font-weight:700; }
.kurs-list li em{ display:block; font-style:italic; color:#555; }

/* Images */
.kursevi-body .image img{
  width:100%; height:100%; object-fit:cover; display:block;
}

/* Show/hide depending on active side */
.kursevi-body .left-list,
.kursevi-body .right-image{ display:block; }
.kursevi-body .right-list,
.kursevi-body .left-image{ display:none; }

.kursevi-body.active-right .left-list,
.kursevi-body.active-right .right-image{ display:none; }
.kursevi-body.active-right .right-list,
.kursevi-body.active-right .left-image{ display:block; }

/* Responsive */
@media (max-width: 920px){
  .kursevi-body{ grid-template-columns:1fr; }
}

.stranica-za-bibliotekare .dva-reda-tekst {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 40px 0;
  color: #222;
}

.stranica-cip .dva-reda-tekst {
	display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 30px 0 20px;
  color: #222;
}

.dva-reda-tekst .red { min-width: 300px; }

/* Ensure images in dva-reda-tekst are responsive */
.dva-reda-tekst img {
  max-width: 100%;
  height: auto;
}

.dva-reda-tekst h3 {
  font-weight: 700;
  margin: 0 0 6px;           /* title → subtitle spacing */
  text-transform: uppercase;
}

.stranica-za-bibliotekare .dva-reda-tekst h3 { text-align: center; font-size: 1.5rem; }

.stranica-cip .dva-reda-tekst h3 { text-align: left; font-size: 2rem; }

.dva-reda-tekst .podnaslov {
  text-align: center;
  margin: 0 0 24px;          /* subtitle → body spacing */
  font-style: italic;
}

.dva-reda-tekst h4 {
  margin: 20px 0 6px;
  font-weight: 600;
}

.dva-reda-tekst p {
  line-height: 1.5;
  margin: 0 0 10px;
  font-size: 1rem;
}

/* dash list */
.dva-reda-tekst ul { list-style: none; padding-left: 0; margin: 0 0 10px; }
.dva-reda-tekst li { position: relative; padding-left: 18px; margin-bottom: 6px; }
.dva-reda-tekst li::before { content: "–"; position: absolute; left: 0; color: #555; }

/* Responsive - Two Column Text */
@media (max-width: 1024px) {
  .stranica-za-bibliotekare .dva-reda-tekst,
  .stranica-cip .dva-reda-tekst,
  .dva-reda-tekst {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .dva-reda-tekst .red {
    min-width: 0;
  }
}

/* image block — keep as you had */
.slika-na-stranici { width: 100%; margin-bottom: 20px; overflow: hidden; border-radius: 12px; }
.slika-na-stranici img { width: 100%; height: auto; display: block; object-fit: cover; }

.informacioni-kutak {
    background-color: #47498E; /* deep bluish-purple tone */
    color: white;
    text-align: center;
    font-weight: 600;
    font-size: 1.2rem;
    line-height: 1.6;
    padding: 20px 15px;
    margin-top: 0;
	margin-bottom: 20px;
	border-radius: 12px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.informacioni-kutak p {
    margin: 0;
}

.napomene-kutak {
	position: relative;
    background-color: #47498E; /* deep bluish-purple tone */
    text-align: left;
    font-size: 1.3rem;
    line-height: 1.1;
    padding: 5px 15px 20px 15px;
    margin: 0;
	border-radius: 12px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.napomene-ikona {
    position: absolute;
    top: 15px;
    left: 73%;
    width: 23%;
    height: auto;
	}

.napomene-treci-kutak {
	position: relative;
    background-color: #47498E; /* deep bluish-purple tone */
    text-align: left;
    font-size: 1.1rem;
    line-height: 1.1;
    padding: 15px 15px 20px 25px;
    margin: 0 0 20px;
	border-radius: 12px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.napomene-treci-ikona {
    position: absolute;
    top: 15px;
    left: 85%;
    width: 15%;
    height: auto;
	}

.napomene-kutak p, .napomene-treci-kutak p {
    margin-top: 0rem;
    margin-bottom: 0rem;
	color: #ffffff;
    font-weight: 400;
}
.napomena-treci-desno {
  padding-right: 14%;
}
.napomene-kutak h4, .napomene-treci-kutak h4 {
	color: #ffffff;
	margin-top: 10px;
}

.obavjestajni-cip-kutak{
  background:#CACBF1;
  border-radius:12px;
  padding:18px;
  box-shadow:0 3px 8px rgba(0,0,0,.12);
  margin-bottom: 20px;
}

.obavjestajni-cip-kutak h3{
  text-align:center;
  margin:6px 0 14px;
  font-weight:800;
}

.obavjestajni-cip-kutak .cip-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
  padding:20px;
  background:transparent;
}

.obavjestajni-cip-kutak .cip-col{
  position: relative;
  background:#fff;
  border-radius:8px;
  padding:18px;
  min-width: 0; /* avoids inherited 300px from global rules */
}

.obavjestajni-cip-kutak .cip-col ul {
    list-style: none;          /* remove the default bullet */
    padding-left: 18px;        /* add space for your dash */
    margin: 0;
}

.obavjestajni-cip-kutak .cip-col li {
    position: relative;        /* needed for ::before positioning */
    margin-bottom: 6px;
    line-height: 1.4;
	font-weight: 600;
}

.obavjestajni-cip-kutak .cip-col li::before {
    content: "–";              /* the en dash (–) */
    position: absolute;
    left: -18px;               /* adjust to align visually */
    color: #555;
    font-weight: bold;         /* optional for clearer look */
}

.cip-box-naslov {
  padding-right: 10%;
}

.cip-grid--titled {
  align-items: start;
  justify-content: stretch;
}

.cip-grid--titled .cip-col{
  display: flex;
  flex-direction: column;	
  background: transparent;   /* doesn't affect other sections */
  padding: 0;                /* we’ll pad the inner box instead */
  border-radius: 0;
  position: relative;
}

.cip-grid--titled .cip-naslov{
  margin:0 0 12px;
  text-align: left;
  font-weight:800;
  text-transform:uppercase;
  font-size:2rem;             /* tweak to match */
  padding-right:100px;         /* keeps text from going under the icon */
}

.cip-grid--titled .cip-ikonica{
  position:absolute;
  top:4px;
  right:-24px;
  width:30%;                 /* adjust as needed */
  height:auto;
}

.cip-grid--titled .cip-body{
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;	
  background:#F3F3FB;                    /* light grey-violet */
  border:2px solid #E2E3F4;
  border-radius:8px;
  padding:16px 18px;
}

.cip-grid--titled .cip-col .cip-body {
  flex-grow: 1;
}

.cip-grid--titled .cip-head{
  position:relative;
  min-height: 90px;        /* tune: 100–130px depending on font/line-height */
  margin: 0 0 12px;
}

.cip-grid--titled .cip-body p{ margin:0 0 12px; line-height:1.45; }
.cip-grid--titled .cip-body p:last-child{ margin-bottom:0; }

@media (max-width:900px){
  .cip-grid--titled .cip-ikonica{ width:52px; }
}
@media (max-width:600px){
  .cip-grid--titled .cip-ikonica{ display:none; }          /* optional: hide icon on small phones */
  .cip-grid--titled .cip-naslov{ padding-right:0; }
}

.potvrdna-ikona {
  position: absolute;
  top: 15px;
  right: 15px;   /* place in top-right corner */
  width: 70px;   /* adjust to your image */
  height: auto;
}

.nijecna-ikona {
  position: absolute;
  top: 15px;
  right: 15px;   /* same alignment */
  width: 70px;
  height: auto;
}

@media (max-width: 900px) {
  .potvrdna-ikona,
  .nijecna-ikona { display: none; }
}

@media (max-width:900px){
  .obavjestajni-cip-kutak .cip-grid{ grid-template-columns:1fr; }
}

.napomene-2reda {
  background-color: #47498E;
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  padding: 20px 25px;
  margin: 20px 0;
  position: relative;
}

.napomene-2reda h4 {
  margin: 0;
  font-weight: 700;
}

.napomene-2reda-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
  position: relative;
}

.centralni-tekst-cip ul { list-style: none; padding-left: 0; margin: 0 0 10px; }
.centralni-tekst-cip li { position: relative; padding-left: 18px; margin-bottom: 6px; }
.centralni-tekst-cip li::before { content: "–"; position: absolute; left: 0; color: #555; }
.centralni-tekst-cip h3 { text-align: center; font-weight: 700; font-size: 2rem; }
.centralni-tekst-cip, .cip-kontakt p { text-align: left; font-weight: 400; font-size: 1.1rem; }
.cip-kontakt { margin: 20px 0;}
.cip-kontakt h3 { text-align: left; font-weight: 700; font-size: 2rem; }
.cip-kontakt .brojevi {
  display: inline-block;
  margin-left: 0.4em; /* small spacing after 'Telefon:' */
  vertical-align: top;
}

.cip-kontakt .brojevi br {
  display: block;
  content: "";
}
.obavjestenja-section {
    background-color: #6B6C80; /* same gray tone as screenshot */
    padding: 20px;
    border-radius: 12px;
    margin: 0 0 40px;
    text-align: center;
}

.napomena-col {
  position: relative;
}

.napomena-ikonica {
  position: absolute;
    top: 15px;
    left: 85%;
    width: 17%;
    height: auto;
	}

.napomena-tekst-desno {
  padding-right: 26%;
}

.napomena-col p {
  margin-top: -0.3rem;
  margin-bottom: -0.3rem;
  font-weight: 400;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .napomene-2reda-grid {
    grid-template-columns: 1fr;
  }
  .napomena-ikonica {
    display: none; /* hides icon on smaller screens */
  }
}

/* Section title */
.obavjestenja-section h3 {
    color: white;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Inner white box */
.obavjestenja-box {
    background-color: #fff;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    text-align: left;
	margin: 10px 0;
}

/* Each column */
.obavjestenje {
    flex: 1;
}

/* Paragraphs inside columns */
.obavjestenje p {
    margin: 0;
    font-size: 1rem;
    color: #222;
    line-height: 1.6;
}

/* Responsive stacking on small screens */
@media (max-width: 768px) {
    .obavjestenja-box {
        flex-direction: column;
    }
}

/* Right Column Styles */

.tekst-za-clanstvo p {
    text-align: justify;
	font-size: 1.05rem;
    line-height: 1.3; /* nicer spacing */
    margin-bottom: 12px;
}

.crtice {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

.crtice li {
  position: relative;
  padding-left: 20px; /* space between dash and text */
}

.crtice li::before {
  content: "–";
  position: absolute;
  left: 0;
}

/* Map Section */
.map-section {
    margin-top: 40px;
}

.map-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
    text-align: center;
}

.map-container {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

/* Override responsive container padding for header to match homepage */
/* Note: Mobile/tablet padding is handled in media queries below */
@media (min-width: 1025px) {
    .main-header .container {
        padding: 0 !important;
    }
}

.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 40px 0;
    text-align: center;
    margin-bottom: 40px;
	margin-top: 0 !important;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 300;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Row and Column System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
    margin-bottom: 30px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: visible;
}

.row:last-child {
    margin-bottom: 0;
}

.column {
    padding: 0 15px;
    margin-bottom: 20px;
    box-sizing: border-box;
    position: relative;
}

.column.full {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
}

.column.half {
    flex: 0 0 50%;
    max-width: 50%;
}

.column.third {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.column.two-thirds {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
}

.column.quarter {
    flex: 0 0 25%;
    max-width: 25%;
}

.column.three-quarters {
    flex: 0 0 75%;
    max-width: 75%;
}

.column.fifth {
    flex: 0 0 20%;
    max-width: 20%;
}

/* ========================
   Responsive Design
   ======================== */

/* Tablet Styles (max-width: 991px) - align with za_izdavace.css */
@media (max-width: 991px) {
    /* Container padding - align with za_izdavace.css */
    .container {
        padding: 0 20px;
    }
}

/* Tablet Styles (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    /* Container padding - align with za_izdavace.css */
    .container {
        padding: 0 20px;
    }
    
    /* Header container - ensure proper padding for navigation */
    .main-header .container {
        padding: 0 20px !important;
    }
    
    .page-header {
        padding: 35px 0;
        margin-bottom: 35px;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    /* Page Container Tablet */
    .page-container {
        padding: 0 20px;
    }
    
    /* Two Column Layout Tablet - Adjust proportions */
    .two-column-layout {
        gap: 30px;
    }
    
    .left-col {
        flex: 0 0 45%;
        max-width: 45%;
    }
    
    .right-col {
        flex: 0 0 55%;
        max-width: 55%;
    }
    
    /* Left Column Tablet */
    .info-box,
    .search-form-box {
        padding: 25px;
    }
    
    /* Right Column Tablet */
    .membership-section,
    .instructions-section,
    .working-hours-section,
    .contact-info-section {
        padding: 20px;
    }
    
    .row {
        margin: 0 -12px;
        margin-bottom: 25px;
    }
    
    .column {
        padding: 0 12px;
        margin-bottom: 18px;
    }
    
    .column.half {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .column.third {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .column.two-thirds {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .column.quarter {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .column.three-quarters {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .column.fifth {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
    
    .accordion-header {
        padding: 12px 18px;
    }
    
    .tab-button {
        padding: 10px 20px;
        font-size: 0.95rem;
        min-width: 100px;
    }
    
    .message {
        padding: 18px;
    }
    
    table {
        font-size: 14px;
    }
    
    th, td {
        padding: 10px 12px;
    }
}

/* Mobile Styles (max-width: 767px) */
@media (max-width: 767px) {
    /* Container padding - align with za_izdavace.css */
    .container {
        padding: 0 15px;
    }
    
    /* Header container - ensure proper padding for navigation alignment */
    .main-header .container {
        padding: 0 15px !important;
    }
    
    .page-header {
        padding: 25px 0;
        margin-bottom: 25px;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    /* Page Container Mobile */
    .page-container {
        padding: 0 15px;
    }
    
    /* Two Column Layout Mobile - Stack vertically */
    .two-column-layout {
        flex-direction: column;
        gap: 30px;
    }
    
    .left-col,
    .right-col {
        flex: 1;
        max-width: 100%;
    }
    
    /* Left Column Mobile */
    .info-box,
    .search-form-box {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .search-form input {
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    /* Right Column Mobile */
    .membership-section,
    .instructions-section,
    .working-hours-section,
    .contact-info-section {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .price-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .price {
        font-size: 1.2rem;
    }
    
    /* Map Section Mobile */
    .map-container {
        padding: 15px;
    }
    
    .map-container iframe {
        height: 300px;
    }
    
    .row {
        margin: 0 -8px;
        margin-bottom: 20px;
    }
    
    .column {
        padding: 0 8px;
        margin-bottom: 15px;
    }
    
    .column.half,
    .column.third,
    .column.two-thirds,
    .column.quarter,
    .column.three-quarters,
    .column.fifth {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.4rem; }
    h4 { font-size: 1.2rem; }
    h5 { font-size: 1.1rem; }
    h6 { font-size: 1rem; }
    
    .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .accordion-header {
        padding: 10px 15px;
        font-size: 0.95rem;
    }
    
    .accordion-content.active {
        padding: 15px;
    }
    
    .tab-header {
        flex-direction: column;
        gap: 0;
    }
    
    .tab-button {
        min-width: auto;
        flex: 1;
        padding: 8px 12px;
        font-size: 0.9rem;
        border-radius: 0;
        margin-right: 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .tab-button:last-child {
        border-bottom: none;
    }
    
    .tab-content {
        padding: 15px;
    }
    
    .message {
        padding: 15px;
        font-size: 0.9rem;
    }
    
    table {
        font-size: 12px;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    th, td {
        padding: 8px 10px;
        min-width: 80px;
    }
    
    th:first-child,
    td:first-child {
        position: sticky;
        left: 0;
        background: var(--primary-color);
        color: white;
        z-index: 1;
    }
    
    td:first-child {
        background: white;
        color: var(--text-color);
        border-right: 1px solid var(--border-color);
    }
    
    .text-separator {
        margin: 20px 0;
    }
    
    .text-separator span {
        padding: 0 15px;
        font-size: 0.9rem;
    }
}

/* Small Mobile (max-width: 576px) - align with za_izdavace.css */
@media (max-width: 576px) {
    /* Container padding - further reduction for small screens */
    .container {
        padding: 0 12px;
    }
    
    /* Header container - match container padding */
    .main-header .container {
        padding: 0 12px !important;
    }
    
    /* Page Container - match container padding */
    .page-container {
        padding: 0 12px;
    }
}

/* Typography */
* {
    font-family: var(--font-family);
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.3;
    font-family: var(--font-family);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.1rem; }

p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    line-height: 1.4;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn:active {
    transform: translateY(0);
}

.btn.block {
    display: block;
    width: 100%;
}

.btn.blue { background-color: var(--primary-color); }
.btn.green { background-color: var(--success-color); }
.btn.orange { background-color: var(--warning-color); }
.btn.red { background-color: var(--error-color); }

.btn i {
    margin-right: 8px;
}

/* Accordion */
.accordion {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    width: 100%;
    box-sizing: border-box;
}

.accordion-item {
    border-bottom: 1px solid var(--border-color);
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    background-color: #4c4d7f;
    padding: 15px 20px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease;
    position: relative;
	color: #fff;
	font-weight: 700;
	font-size: 1.2rem;
	
}

.accordion-header:hover {
    background-color: #4c4d7f;
}

.accordion-header.active {
    background-color: #4c4d7f;
    color: white;
}

.accordion-header::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.accordion-header.active::after {
    transform: translateY(-50%) rotate(45deg);
}

.accordion-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-content.active {
    padding: 20px;
    max-height: 1000px;
}

/* Tabs */
.tabs {
    margin-bottom: 30px;
    width: 100%;
    box-sizing: border-box;
}

.tabs {
    margin: 20px 0;
}

.tab-header {
    display: flex;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 20px;
    overflow-x: auto;
    background-color: var(--light-gray);
    border-radius: 8px 8px 0 0;
}

.tab-button {
    background: var(--light-gray);
    border: none;
    padding: 12px 24px;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-color);
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 120px;
    text-align: center;
    border-radius: 8px 8px 0 0;
    margin-right: 2px;
    font-weight: 500;
}

.tab-button:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tab-button.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background-color: white;
    border-bottom: 2px solid var(--primary-color);
    font-weight: 600;
}

.tab-content {
    display: none;
    padding: 20px;
    background-color: white;
    border-radius: 0 0 8px 8px;
    border: 1px solid var(--border-color);
    border-top: none;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content.active {
    display: block;
}

/* Responsive tabs */
@media (max-width: 768px) {
    .tab-header {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .tab-button {
        min-width: auto;
        flex: 1;
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

/* Messages */
.message {
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid;
    width: 100%;
    box-sizing: border-box;
    display: block;
    position: relative;
    left: 0;
    right: 0;
    margin-left: 0;
    margin-right: 0;
    float: none;
    overflow: hidden;
    clear: both;
    min-width: 100%;
    max-width: 100%;
    transform: none;
}

.message.blue {
    background-color: #e3f2fd;
    border-left-color: var(--primary-color);
    color: #0d47a1;
}

.message.green {
    background-color: #e8f5e8;
    border-left-color: var(--success-color);
    color: #1b5e20;
}

.message.orange {
    background-color: #fff3e0;
    border-left-color: var(--warning-color);
    color: #e65100;
}

.message.red {
    background-color: #ffebee;
    border-left-color: var(--error-color);
    color: #b71c1c;
}

.message h5 {
    margin-bottom: 10px;
    color: inherit;
}

/* Separators */
.text-separator {
    text-align: center;
    margin: 30px 0;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.text-separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--border-color);
    z-index: 1;
}

.text-separator span {
    background-color: white;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    display: inline-block;
}

.text-separator i {
    margin-right: 10px;
    color: var(--primary-color);
}

/* base */
section table {
  width: 100%;          /* stretch to container width */
  margin-left: 0;       /* no extra left margin */
  margin-right: 0;      /* no extra right margin */
  border-collapse: collapse;
  table-layout: fixed;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  font-weight: 600;
}

section table th,
section table td {
  padding: 4px 0;    /* tighter padding so text aligns nicely */
}

/* header */
section table th {
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: .02em;
  color: #444;
  background: #ffffff;        /* left column header stays white */
  border-bottom: 1px solid #dfe3ea;
  text-transform: uppercase;
}

/* only 2nd column grey */
section table tr > *:nth-child(2) {
  background: #ececf0;  /* light grey */
  text-align: center;
}

/* 3rd column stays white */
section table tr > *:nth-child(3) {
  background: #ffffff;  /* white */
  text-align: center;
}

/* thicker amounts and larger size in the right columns */
section table td:nth-child(2) {
  font-size: 1rem;
  font-weight: 600;
  color: #4a4a4a;
}

section table td:nth-child(3) {
  font-size: 1rem;
  font-weight: 600;
}

/* left column text (categories) */
section table td:first-child {
  font-size: 1rem;
  color: #3b3b3b;
}

/* cell padding + row dividers */
section table td {
  border-bottom: 1px solid #dfe3ea;
}
section table tr:last-child td { border-bottom: 0; }

/* rounded outer corners for the grey block on the right side */
section table tr:first-child th:nth-child(3) { border-top-right-radius: 1px; }
section table tr:last-child  td:nth-child(3) { border-bottom-right-radius: 1px; }

/* optional column widths to mimic proportions from the image */
section table th:first-child,
section table td:first-child { width: 40%; }
section table th:nth-child(2),
section table td:nth-child(2) { width: 26%; }
section table th:nth-child(3),
section table td:nth-child(3) { width: 36%; }

/* no hover color change (screenshot shows static table) */
section table tr:hover { background: none; }

/* Lists */
ul, ol {
    margin-bottom: 0;
    padding-left: 0;
}

li {
    margin-bottom: 0;
    line-height: 1.6;
}

/* Utility Classes */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }

.p-0 { padding: 0; }
.p-1 { padding: 10px; }
.p-2 { padding: 20px; }
.p-3 { padding: 30px; }

/* Empty Space */
.empty-space {
    height: 25px;
}

.empty-space.small {
    height: 10px;
}

.empty-space.large {
    height: 50px;
}

/* Background Colors */
.bg-light {
    background-color: var(--light-gray);
}

.bg-primary {
    background-color: var(--primary-color);
    color: white;
}

/* Icons */
.icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: middle;
    margin-right: 5px;
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Print Styles */
@media print {
    .accordion-header::after,
    .tabs-nav,
    .btn {
        display: none;
    }
    
    .accordion-content,
    .tab-content {
        display: block !important;
        padding: 10px 0;
    }
    
    .page-header {
        background: none !important;
        color: black !important;
    }
}

/* Page Message Components */
.page-message {
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid;
    display: block;
    width: 100%;
    box-sizing: border-box;
    position: relative !important;
    inset: auto !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    float: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    clear: both;
    overflow: hidden;
}

.page-message.blue   { background-color: #e3f2fd; border-left-color: var(--primary-color); color: #0d47a1; }
.page-message.green  { background-color: #e8f5e8; border-left-color: var(--success-color);  color: #1b5e20; }
.page-message.orange { background-color: #fff3e0; border-left-color: var(--warning-color);  color: #e65100; }
.page-message.red    { background-color: #ffebee; border-left-color: var(--error-color);    color: #b71c1c; }

.page-message h5 { margin-bottom: 10px; color: inherit; }