/* ============================================================
   GLOBAL LAYOUT
============================================================ */
body {
    min-height: 600px;
    padding-top: 50px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    background: white;
}



main {
    min-height: 600px;
    margin-top: 60px;
	background-color:white;
}

input[type=text] {
    transition: width 0.4s ease-in-out;
}
input[type=text]:focus {
    width: 100%;
}

select {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 4px;
    background-color: #f1f1f1;
    color: red;
    font-weight: 700;
}

#top-bar { z-index: 99999 !important; }
#main-nav { z-index: 99998 !important; }
@media (max-width: 576px) {
.form-control {

margin:20px 0px;
}	}	
/* ============================================================
   GOOGLE REKLAMA BOX NA VRHU
============================================================ */
.ad-box {
    width: 100%;
    max-width: 100%;
	max-height:300px;	
    background: linear-gradient(90deg, #white, white);
    border-bottom: 0px solid red;
    border-radius: 10px;
    padding: 1px;
    margin: 5px 0 5px 0;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    overflow: hidden; /* OVO DRŽI AD UNUTRA */	
}
/* AdSense wrapper unutar boxa da se skalira */
.ad-box ins.adsbygoogle {
    display: block !important;
    max-width: 100% !important;
	padding:0px 1px;
    height: auto !important;
}
/* Fallback slika (sakrivena dok se ne aktivira) */
#adFallbackImage {
    display: none;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 10px;
}

/* XS ekran – max 200px */
@media (max-width: 767px) {

    /* Ograniči AdSense visinu i širinu na XS */
    .ad-box ins.adsbygoogle {
        max-width: 200px !important;
        margin: 0 auto !important;
    }

    #adFallbackImage {
        max-width: 200px !important;
    }
}
/* ============================================================
   FEATURE GRID – POČETNA
============================================================ */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin: 30px 0;
}

@media (max-width: 991px) {
    .feature-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 767px) {
    .feature-grid { grid-template-columns: repeat(3, 1fr); }
}


/* ============================================================
   FEATURE CARD - POČETNA STRANICA DUGMAD
============================================================ */
.feature-card {
    width: 100%;
    aspect-ratio: 1/1;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #ff0000;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.25s;
    cursor: pointer;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    background: #f9fafc;;
  text-decoration: none;	
}

.feature-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-top: 5px;
	text-decoration:none;
}

.feature-card i {
    font-size: 35px !important;
}

/* ikone – CRVENA #ff0000 */
.icon-stablo,
.icon-historija,
.icon-clanovi,
.icon-porijeklo,
.icon-galerija,
.icon-arhiva,
.icon-licnosti,
.icon-timeline,
.icon-dnk,
.icon-dodaj,
.icon-kontakt,
.icon-oprojektu {
    color: #ff0000;
}

/* =====================
   CONSULTING GRID
===================== */
.consulting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 22px;
}

/* CARD */
.consulting-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 22px 12px;
    text-align: center;
    text-decoration: none;
    color: #222;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.consulting-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.15);
}

/* ICON – SVE CRVENE */
.consulting-card i {
    font-size: 42px;
    margin-bottom: 16px;
    color: red; /* CLB consulting crvena */
}

/* TITLE */
.consulting-card .feature-card-title {
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.4;
}

/* HIGHLIGHT – ključna usluga */
.consulting-card.highlight {
    background: linear-gradient(135deg, #c62828, #8e0000);
    color: #fff;
}

.consulting-card.highlight i {
    color: #fff;
}


/* ============================================================
   ALERTI / WELL / BREADCRUMB
============================================================ */
.well,
#admin_well {
    font-size: 16px;
    font-weight: bold;
    padding: 10px;
    background-color: #ebf0fa;
    color: #3b5998;
    margin-bottom: 20px;
}

.alert {
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(90deg, #ebf0fa, #c8d3ea);
    border: none;
    border-left: 6px solid red;
    box-shadow: 0 2px 2px rgba(0,0,0,0.1);
}

.breadcrumbs {
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(90deg, #ebf0fa, #c8d3ea);
    padding: 15px;
    box-shadow: 0 2px 2px rgba(0,0,0,0.1);
    margin-top: 20px;
}

/* ===============================
MENI VIEW SYSTEM NAVIGACIJE
   =============================== */
.breadcrumb {
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(90deg, #ebf0fa, #c8d3ea);
    border: none;
    border-left: 6px solid red;
    box-shadow: 0 2px 2px rgba(0,0,0,0.1);
    padding: 15px;	
}

/* ============================================================
   SHARE BAR
============================================================ */
.share-bar { text-align: center; }

.share-bar .social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 25px;
    border-radius: 5px;
    color: white;
    font-size: 14px;
    margin: 0 1px;
    transition: 0.3s;
}

.share-bar .social-icon:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}

.facebook { background-color: #3b5998; }
.viber    { background-color: #7360f2; }
.whatsapp { background-color: #25d366; }
.linkedin { background-color: #0077b5; }


/* ===========================================
   NAVIGACIJA
=========================================== */
.navbar-brand {
    padding: 40 !important;
    margin: 10 !important;
    height: 50px;
    display: flex;
    align-items: center;
	margin-rigth:40px;
}
.navbar-brand img {
    height: 30px !important;
    width: auto !important;
	margin-rigth:20px;
}

.navbar-inverse {
  background-color: #3b5998;
  border-radius: 0;
  height: 55px;
  font-size: 14px;
  padding-top: 10px;
  transition: top 0.3s ease-in-out;
}

#main-nav .navbar-nav > li > a {
  color: #eee !important;
  text-transform: uppercase;
  padding: 10px 14px;
  font-weight: bold;
}

#main-nav .navbar-nav > li > a:hover {
  background-color: #2d4373;
  color: white !important;
}

/* mobile */
@media (max-width: 767px) {
  #main-nav .navbar-nav {
    background-color: #3b5998;
  }

  #main-nav .navbar-nav > li > a {
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
}

/* ============================================================
   FOOTER
============================================================ */
#footer-nav ul {
    background-color: #3b5998;
    color: white;
    list-style: none;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 12px;
    margin: 0;
    margin-top: 100px;
}

#footer-nav ul li { margin: 5px 10px; }

#footer-nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}
#footer-nav ul li a:hover {
    color: #d0d8ff;
    text-decoration: underline;
}

.footer-copy {
    text-align: center;
    font-size: 12px;
    color: #777;
    margin-top: 15px;
}



/* ============================================================
   INSTITUCIJE – PRIKAZ
============================================================ */
.fi-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #e6e9ef;
    border-radius: 12px;
    margin: 12px 0;
    padding: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06);
    min-height: 140px;
    transition: .25s;
}

.fi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 7px 20px rgba(0,0,0,0.12);
    background: #f8fbff;
}

.fi-logo { flex: 0 0 150px; text-align: center; }
.fi-logo img {
    width: 150px;
    height: auto;
    object-fit: contain;
    transition: .25s;
}

.fi-info {
    flex: 1;
    padding-left: 25px;
}

.fi-info h4 {
    margin: 0 0 4px;
    font-size: 17px;
    font-weight: 700;
    color: #0d47a1;
}

.fi-info h4 a {
    text-decoration: none;
    color: #0d47a1;
}

.fi-info p {
    margin: 0;
    font-size: 13px;
    color: #444;
    line-height: 1.45em;
}

/* mobile */
@media (max-width:768px){
    .fi-card { padding:12px; }
    .fi-logo { flex:0 0 90px; }
    .fi-logo img { width:120px; }
}
@media (max-width:480px){
    .fi-logo img { width:65px; }
    .fi-info h4 { font-size:15px; }
    .fi-info p { font-size:12px; }
}


/* ============================================================
   SLIDER – POČETNA
============================================================ */

.text-fade-slider-centered {
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:5px;
    background:white;
    border-radius:12px;
    min-height:70px;
    font-size:25px;
    font-family:Tahoma, Verdana, sans-serif;
}

#fadeText {
    font-size:26px;
    font-weight:600;
    color:#333;
    margin:0;
}

.fade-out { opacity:0; transition:opacity 0.8s ease; }
.fade-in  { opacity:1; transition:opacity 0.8s ease; }

@media(max-width:768px){
    #fadeText { font-size:21px; }
}

.msg {
    font-size:42px;
    font-weight:700;
    color:#333;
    display:flex;
    align-items:center;
    gap:12px;
    opacity:0;
    animation:fadeSlide 0.8s forwards;
}

.msg-icon {
    width:32px;
    height:32px;
    object-fit:contain;
}

@keyframes fadeSlide {
    from { opacity:0; transform:translateY(15px); }
    to   { opacity:1; transform:translateY(0); }
}


/* ============================================================
   TABELE U VIEW.PHP
============================================================ */
.proizvod-detalji-table {
    width:100%;
    border-collapse:collapse;
    margin:15px 0 25px 0;
    font-size:15px;
    background:#ffffff;
    border-radius:8px;
    overflow:hidden;
    box-shadow:0 2px 6px rgba(0,0,0,0.06);
}

.proizvod-detalji-table tr td {
    border:1px solid #e6e6e6;
    padding:10px 14px;
}

.proizvod-detalji-table tr td:first-child {
    background:#f7f9fc;
    font-weight:600;
    width:35%;
    color:#003e9c;
}

@media(max-width:767px){
    .proizvod-detalji-table tr td {
        display:block;
        width:100% !important;
    }
}


/* ===========================================
   ANKETA - DEFINISANJE
=========================================== */	
	
.poll-box {
    border: 1px solid #ddd;
    padding: 5px;
    border-radius: 6px;
}
.poll-title {
    font-weight: bold;
    margin-bottom: 10px;
}
.poll-option { margin-bottom: 5px; }
.poll-btn {
    background: #337ab7;
    color: #fff;
    border: none;
    padding: 7px 14px;
    border-radius: 5px;
    cursor: pointer;
}
.poll-links {
    margin-top: 8px;
    font-size: 11px;
}
.result-row { margin-bottom: 12px; }
.bar { height: 16px; background: #4CAF50; border-radius: 4px; }


.poll-option label {
    font-size: 18px;

}
.poll-option input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: #007bff; /* plava boja */
    cursor: pointer;
    margin-right: 18px;
}
.poll-title {
    font-weight: bold;
    margin-bottom: 10px;
}
/* ===========================================
   DEFINISANJE GLAVNA STRANICA
=========================================== */	
/* Fade animacija */
.fade-text {
    opacity: 0;
    font-size: 22px;
    font-weight: 600;
    transition: opacity .5s ease-in-out;
}

.fade-text.show {
    opacity: 1;
}


/* glavni wrapper */
.slider-wrapper {
    text-align: center;
}

/* slika fiksna */
#fixedImage {

    width: 100%;
    height: auto;
    border-radius: 10px;
    justify-content: center;
}

.fieldbox {
    border: 2px solid #e0e0e0;
    padding: 10px 5px;
    border-radius: 10px;
    background: #fafafa;
	margin-bottom:20px;
	margin-top:0px;
	height:auto;

}

.fieldbox legend {
    font-size: 16px;
    font-weight: 600;
    color: white; /* nijansa banke.ba */
    padding-bottom: 4px;
    border-bottom: 0px solid #005bbb;
    display: inline-block; /* da linija bude samo ispod teksta */
	
}

legend {
  background: #2952a3;
  color: white;
  padding: 6px 14px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  width: auto;
  color:white;
  margin-top:20px;
  width:270px;
}
/* ===========================================
   DEFINISANJE GLAVNA STRANICA - POSAO NASLOV
=========================================== */	
.section-bar {
    width: 100%;
    padding: 8px 18px;
    font-size: 16px;
    font-weight: 700;
    color: #3b5998;
    border-radius: 6px;
    margin: 30px 0 20px;
    background: linear-gradient(90deg, #ebf0fa, #c8d3ea);
    /* 0% = svjetlije, 100% = tamnije */
    box-shadow: 0 2px 4px rgba(0,0,0,0.12);
	border-left:6px solid green;
}
/* ===========================================
   REGISTRACIJA I SIGN IN FORMA
=========================================== */	
.register-box {
    max-width: 420px;
    margin: 50px auto;
    padding: 25px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

.register-box h3 {
    margin-bottom: 20px;
    font-weight: bold;
    color: #3b5998;    /* tvoja boja za banke */
}

.register-box .form-control {
    height: 42px;
    border-radius: 8px;
    box-shadow: none;
    border: 1px solid #d0d6e2;
    transition: 0.3s;
}

.register-box .form-control:focus {
    border-color: #3b5998;
    box-shadow: 0 0 5px rgba(59,89,152,0.3);
}

.register-box button {
    height: 42px;
    font-weight: bold;
    border-radius: 8px;
    transition: 0.3s;
	width:200px;
	margin-top:50px;

}

.register-box button:hover {
    background: #28a745;
    opacity: 0.9;
}
@media (max-width: 480px) {
    .register-box {
        margin: 20px;
        padding: 15px;
    }
.fieldbox {
	height:auto;

}	
}

/* ===========================================
   SHARE BUTTONS /INCLUDE/SHARE/
=========================================== */	
.share-box-min {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 25px 0px;
}

.share-btn-min {
    width: 38px;
    height: 38px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    font-size: 17px;
    transition: .2s;
    text-decoration: none;
}

.share-btn-min:hover {
    transform: translateY(-3px);
    opacity: .85;
}

.share-fb   { background:#1877F2; }
.share-vb   { background:#665CAC; }
.share-wa   { background:#25D366; }
.share-x    { background:#000; }
.share-ig   { background:#E1306C; }
.share-em   { background:#ff6f00; }
.share-copy { background:#555; }


/* ===========================================
  VISINA POLJA U FORMAMA
=========================================== */	
.form-control {
    height: 40px !important;
    line-height: 50px;
    padding: 6px 12px;
    box-sizing: border-box;
}

/* ===========================================
  STIL VEZAN ZA LEKSIKON
=========================================== */	
.search-box {
    max-width:100%;
    margin:20px auto;
}

.table td {
    font-size:14px;
}

.pagination {
    margin:0;
}

/* ===========================================
   STIL VEZAN ZA ANKETE
=========================================== */

/* =========================
   GRID – DESKTOP
   ========================= */
.poll-grid {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Pojedinačno polje */
.poll-field {
    flex: 1;
    min-width: 180px;
}

/* Labeli – vidljivi na desktopu */
.poll-label {
    display: block;
    font-size: 13px;
    margin-bottom: 4px;
    font-weight: 600;
    color: #444;
}

/* Submit wrapper */
.poll-submit {
    margin-top: 20px;
    text-align: center;
}

/* =========================
   INLINE POLJA (widget / compact)
   ========================= */
.poll-inline {
    margin-top: 10px;
}

.poll-inline .form-control {
    height: 38px;
    margin-top: 20px;
}

/* Dugmad ispod – centrirana */
.poll-actions-center {
    margin-top: 15px;
    text-align: center;
}

.poll-actions-center .btn {
    margin: 0 5px;
}

/* =========================
   POLL BOX (vizuelni okvir)
   ========================= */
.poll-box {
    background: #eef6ff;              /* svijetlo plava */
    border: 1px solid #d6e8ff;
    border-radius: 10px;
    padding: 15px 15px 18px;
    margin-bottom: 20px;
}

/* Naslov (section-bar) unutar boxa */
.poll-box .section-bar {
    background: transparent;
    padding: 0 0 10px;
    margin-bottom: 15px;
    border-bottom: 1px solid #cfe2ff;
    font-weight: 600;
}

/* Kompaktniji inputi unutar poll boxa */
.poll-box .form-control {
    background: #fff;
}

/* =========================
   MOBITEL / MANJI EKRANI
   ========================= */
@media (max-width: 768px) {

    .poll-grid {
        display: block;
    }

    .poll-field {
        margin-bottom: 18px; /* veći razmak */
    }

    /* Sakrij labele na malim ekranima */
    .poll-label {
        display: none;
    }

    .poll-submit {
        margin-top: 25px;
    }

    .poll-submit .btn {
        width: auto;
        padding: 8px 28px;
    }
}

/* ===============================
   XS & SM RESPONSIVE HEADER
   =============================== */
/* ===============================
   DRUGI NIVO MENIJA – BIJELA POZADINA
   =============================== */

/* SVI dropdowni (desktop + mobile) */
.navbar-nav .dropdown-menu {
    background: #fff !important;
    border: 1px solid #ddd;
    box-shadow: none;
}

/* Linkovi u drugom nivou */
.navbar-nav .dropdown-menu > li > a {
    color: #000 !important;
    background: #fff !important;
    padding: 5px 10px;
    font-size: 14px;
	font-weight:bold;
}

/* Hover / focus – bez plave */
.navbar-nav .dropdown-menu > li > a:hover,
.navbar-nav .dropdown-menu > li > a:focus {
    background: #f5f5f5 !important;
    color: #000 !important;
}

/* Aktivni link */
.navbar-nav .dropdown-menu > .active > a,
.navbar-nav .dropdown-menu > .active > a:hover {
    background: #eaeaea !important;
    color: #000 !important;
}

/* ===============================
   XS & SM – MOBILE DROPDOWN
   =============================== */
@media (max-width: 991px) {

    /* Dropdown unutar collapsed menija */
    .navbar-nav .open .dropdown-menu {
        background: #fff !important;
    }

    .navbar-nav .open .dropdown-menu > li > a {
        color: #000 !important;
        background: #fff !important;
        border-bottom: 1px solid #eee;
    }

    .navbar-nav .open .dropdown-menu > li > a:hover {
        background: #f0f0f0 !important;
        color: #000 !important;
    }
}

/* ===============================
   FIX: NAVBAR OVERLAP PROBLEM
   =============================== */


/* Navbar uvijek iznad */
#main-nav {
    z-index: 9999;
}

/* Dropdown ne smije biti odrezan */
.navbar-collapse {
    max-height: none !important;
    overflow: visible !important;
}

/* Glavni sadržaj ispod */
main,
.page-content,
.container {
    position: relative;
    z-index: 1;
}

/* ===============================
ANKETA - TEKST IZNAD
   =============================== */

.anketa-list {
    list-style: none;
    padding: 0;
    margin: 0 0 50px 0; /* 👈 traženi margin-bottom */
}

.anketa-list li {
    display: flex;
    align-items: center;
    font-size: 15px;
    margin-bottom: 12px;
    color: #333;
}

.anketa-list li i {
    color: #28a745; /* bootstrap green */
    font-size: 16px;
    margin-right: 12px;
    min-width: 18px;
}
/* ===============================
ANKETA - SKUPLJANJE TABELE I OBLIKOVANJE
   =============================== */
table td {
    vertical-align: middle;
	padding:5px 0px;
}

table .progress {
    margin-bottom: 0;
    height: 14px;
}

table .progress-bar {
    line-height: 14px;
    font-size: 11px;
	padding:5px 0px;	
}


.poll-actions {
    margin: 25px 0 35px;
}

/* ANKETA - DUGME GLASAJ */
.vote-row {
    margin-bottom: 18px;
}

.btn-vote {
    font-size: 16px;
    padding: 8px 28px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* ANKETA  DUGME REZULTATI */
.results-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-results {
    padding: 10px 22px;
    border-radius: 22px;
    font-weight: 500;
    transition: all 0.2s ease;
	border:1px double blue;
}

.btn-results:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

/* ============================================================
   POSAO – KARTICE
============================================================ */
.section-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    border-left: 5px solid #2e6da4;
    padding-left: 10px;
}

/* GRID — jedna kolona na mobitelu */
.job-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    width: 100%;
}

/* Na širim ekranima — dvije kartice */
@media (min-width: 768px) {
    .job-grid {
        grid-template-columns: 1fr 1fr;
		margin-top:10px;
    }
}

	
.job-card {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e5e9f2;
    border-radius: 12px;
    padding: 5px;
    height: 120px;
    width: 100%;
    transition: 0.25s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-decoration: none !important;
    color: inherit !important;
    overflow: hidden;
	margin-top:10px;
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    background: #f5f8fc;
}

.job-logo {
    width: 180px;
    height: auto;
    object-fit: contain;
    margin-right: 12px;
    padding: 5px;
}

.job-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a4da3;
    margin: 20px;
}

.job-meta {
    font-size: 14px;
    color: #666;
    line-height: 1.7em;
    margin: 5px 0px;	
}
.job-location {
    font-size: 15px;
    color: #555;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;   /* MAX 3 REDA */

    overflow: hidden;
    word-break: break-word; /* NE REŽE RIJEČI NENORMALNO */
    line-height: 1.4;
}
/* KLJUČNA LINIJA */
.job-footer {
    margin-top: auto;       /* GURA NA DNO */
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}

@media (max-width: 576px) {
.job-card {
    height: 150px;
    width: 100%;

    border-bottom: 1px solid red;	
}	
   .job-location {
        font-size: 13px;
        line-height: 1.35;
    }
	.job-logo {
    width: 140px;
    height: auto;
    object-fit: contain;
    margin-right: 12px;

}

}


/* ===============================
POSAO - VIEW
   =============================== */

.job-container { max-width:100%; }

.job-box {
    background:#fff; 
	padding:10px; 
    border-radius:10px;
    box-shadow:0 2px 6px rgba(0,0,0,0.1);
}

.job-header {
    display:flex;
    align-items:center;
    gap:20px;
}

.job-logo-small {
    width:70px; height:auto;
    object-fit:contain;
    background:#fff;
    border-radius:6px;
    padding:5px;
}

/* veliki logo kad nema slika */
.big-logo-wrapper { text-align:center; margin-bottom:20px; }
.big-logo { max-width:260px; height:auto; padding:10px; }

.job-title {
    font-size:14px;
    margin:0;
    font-weight:bold;
	margin:10px 0px;
}

.detail-block {
    margin-top:25px;
    background:#f7f9fc;
    padding:15px;
    border-radius:8px;
    font-size:15px;
}

.detail-block strong {
    width:150px;
    display:inline-block;
}

.apply-btn {
    margin:25px auto;
    padding:12px 24px;
    font-size:14px;
    display:block;
    width:auto;
	width:200px;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    color: white !important;
    font-size: 20px;
    transition: .25s;
    text-decoration: none !important;
}

.share-btn:hover {
    transform: translateY(-3px);
    opacity: 0.85;
}

.fb        { background:#1877F2; }
.viber     { background:#7360F2; }
.whatsapp  { background:#25D366; }
.linkedin  { background:#0A66C2; }
.instagram {
    background: radial-gradient(circle at 30% 110%, 
        #F58529 0%, #FEDA77 25%, #DD2A7B 50%, #8134AF 75%, #515BD4 100%);
}
.email     { background:#444; }

/* ===============================
POSAO - svi oglasi poruka o bseplatnom oglašavanju
   =============================== */

.job-info-box {
    background: #f8fafc;                 /* vrlo blaga pozadina */
    border-left: 4px solid #1a4da3;       /* brand linija */
    padding: 10px 12px;
    margin: 50px 0;
    font-size: 15px;
    color: #333;
    line-height: 1.6;
    border-radius: 4px;
}

.job-info-box a {
    color: #1a4da3;
    font-weight: 600;
    text-decoration: none;
}

.job-info-box a:hover {
    text-decoration: underline;
}

.job-info-badge {
    display: inline-block;
    background: #e6eefc;
    color: #1a4da3;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 3px;
    margin-right: 8px;
    text-transform: uppercase;
}

/* ===============================
KOD /proizvodi/list.php prikazuje badge vrste kredita
   =============================== */
.credit-badge{
    display:inline-block;
    padding:4px 10px;
    font-size:10px;
    font-weight:700;
    color:white;
    border-radius:12px;
	width:80px;
	
}

/* ===============================
KOD /proizvodi/list.php mjenja boje dugmetu kad se stavi ya poredjenje
   =============================== */
/* FIX za mobile klik */
.product-card {
    position: relative;
}

.compare-btn {
    position: relative;
    z-index: 5;
    touch-action: manipulation;
}

/* XS specifično */
@media (max-width: 767px) {

    .product-card.product-link {
        cursor: default;
    }

    .compare-btn {
        width: 100%;
        margin-top: 10px;
		max-width:80px;
    }

    .credit-badge {
        display: inline-block;
        width: auto;
        width: 70px;
        text-align: center;
    }
}
/* FIX: zadrži crvenu boju i na hover/focus */
.compare-btn.btn-danger,
.compare-btn.btn-danger:hover,
.compare-btn.btn-danger:focus,
.compare-btn.btn-danger:active {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    color: #fff !important;
}
/* ===============================
naslov u view.php kod vijesti
   =============================== */
.title-box {
    background: #f5f7fa;
    padding: 12px 16px;
    border-radius: 6px;

}

.title-box h4 {
    font-size: 18px;
    letter-spacing: 0.3px;
	color:blue;
	font-weight:1000px;
}
/* ===============================
DUGME POČETNA - 
   =============================== */
.svi-poslovi-btn {
    border-radius: 30px;
    padding: 8px 18px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.25s ease;
	background-color:green;
}

.svi-poslovi-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 91, 187, 0.35);
    text-decoration: none;
}
/* ===============================
DUGME UKLONI / IZABERI PRODUCT LIST
   =============================== */
.compare-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;

    border-radius: 999px; /* full rounded */
    border: 1px solid #dcdfe6;

    background-color: #f5f7fa;
    color: #333;

    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
/* ===============================
DUGME UKLONI / IZABERI PRODUCT LIST
   =============================== */
.compare-btn:hover {
    background-color: #e9ecf1;
    border-color: #cfd3dc;
    color: #000;
}

.compare-btn:active {
    transform: scale(0.95);
}

/* ===============================
stranica O-nama  definiše naši partneri
   =============================== */

.section-subtitle {
    margin-top: 20px;
    margin-bottom: 10px;
    padding-bottom: 6px;

    font-size: 16px;
    font-weight: 600;
    color: #2c7a2c;            /* diskretna zelena */

    border-bottom: 2px solid #d9ead9; /* suptilna linija */
}

/* ===============================
anketa rezultati
   =============================== */
.anketa-info-box {
    background-color: #f5f9fc;
    padding: 10px 15px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #555;
}

/* ===============================
TABELA KOJA POKAZUJE PROIZVOODE show_optoions - kom
   =============================== */
.equal-table {
    width: 100%;
    table-layout: fixed;
}

.equal-table th,
.equal-table td {
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

.table-responsive,
.table {
    width: 100% !important;

}
td {
    font-weight: 1200;
	font-size:15px;
}

/* ===============================
KALKULATOR MATURANTI
   =============================== */


h1.fancy-title {
  text-align: center;
  color: #fff;
  background: linear-gradient(90deg, #2952a3, #5ca0ff);
  padding: 14px;
  border-radius: 6px;
  text-transform: uppercase;
  font-size: 20px;
  margin-bottom: 30px;
  margin-top:40px;
}
fieldset {
  border: 2px solid #e2e5ec;
  border-radius: 10px;
  margin-bottom: 25px;
  padding: 15px 20px;
  background: #fafbff;
}
legend {
  background: #2952a3;
  color: white;
  padding: 6px 14px;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 600;
  width: auto;
}
label { font-size: 13px; font-weight: bold; margin-top: 5px; }
input.form-control {
  border-radius: 6px;
  border: 1px solid #ccc;
  text-align: center;
  font-weight: bold;
  margin-bottom: 8px;
}
.well-sm {
  text-align: center;
  background: #f1f4fa;
  border: 1px solid #e0e0e0;
  color: #2c4da7;
  font-weight: bold;
}
#finaltable th {
  background: #e9f0ff;
  color: #2c4da7;
  text-align: center;
}
#finaltable td { text-align: center; font-weight: bold; }
#TOTAL { color: #2da14a; font-size: 18px; }
.note { font-size: 12px; color: #777; }
#skola {
  background: red;
  color:white;
  border: none;
  font-weight: bold;
  border-radius: 6px;
  padding:13px;
}
#skola:hover {
  background: white;
  color:black;
  font-weight:bold;
  border:2px double orange;
}