/* ============================================================
   GLOBAL LAYOUT
============================================================ */
body {
    min-height: 600px;
    padding-top: 50px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    background: #fff;
}

main {
    min-height: 600px;
    margin-top: 60px;
    background-color: #fff;
}

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; }

/* ============================================================
   GOOGLE REKLAMA BOX NA VRHU
============================================================ */
.ad-box {
    width: 100%;
    max-width: 100%;
    max-height: 300px;
    background: linear-gradient(90deg, #ffffff, #ffffff);
    border-bottom: 0px solid red;
    border-radius: 10px;
    padding: 1px;
    margin: 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) {
    .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 GRID – CJENOVNIK (override)
   HTML: <div class="feature-grid feature-grid-cjenovnik">
============================================================ */
.feature-grid-cjenovnik {
    /* display:grid nije obavezan jer već dolazi iz .feature-grid,
       ali ostavljam jer nije duplikat u tvojoj logici */
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin: 30px 0;
}

/* CJENOVNIK XS 2 PO REDU */
@media (max-width: 575px) {
    .feature-grid-cjenovnik {
        grid-template-columns: repeat(2, 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;
}

.feature-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-top: 5px;
    text-align: center;
}

.feature-card i {
    font-size: 30px !important;
    margin-bottom: 10px;
}

/* ikone – BOJE (CRVENA #ff0000) */
.feature-card i.icon-krediti         { color:#ff0000 !important; }
.feature-card i.icon-akcije          { color:#ff0000 !important; }
.feature-card i.icon-leasing         { color:#ff0000 !important; }
.feature-card i.icon-kalkulator      { color:#ff0000 !important; }
.feature-card i.icon-institucije     { color:#ff0000 !important; }
.feature-card i.icon-vijesti         { color:#ff0000 !important; }
.feature-card i.icon-posao           { color:#ff0000 !important; }
.feature-card i.icon-edukacija       { color:#ff0000 !important; }
.feature-card i.icon-oglasi          { color:#ff0000 !important; }
.feature-card i.icon-mjenjacnica     { color:#ff0000 !important; }
.feature-card i.icon-onama           { color:#ff0000 !important; }
.feature-card i.icon-prodajaimovine  { color:#ff0000 !important; }
.feature-card i.icon-mikrokrediti    { color:#ff0000 !important; }

/* ============================================================
   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
=========================================== */
/* FIX: logo da ne pada dole u navbaru */
.navbar-brand{
    padding: 0 15px !important;  /* umjesto 40px svuda */
    margin: 0 !important;        /* Bootstrap već fino poravna */
    height: 55px;                /* isto kao navbar visina */
    display: flex;
    align-items: center;
    line-height: 55px;           /* dodatno centriranje */
}

.navbar-brand img{
    height: 30px !important;
    width: auto !important;
    margin-right: 20px;          /* ispravno */
    display: block;
	margin-bottom:10px;
}

.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: 30px;
}

#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:#fff;
    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;
    cursor: pointer;
    margin-right: 18px;
}

/* ===========================================
   DEFINISANJE GLAVNA STRANICA
=========================================== */
.fade-text {
    opacity: 0;
    font-size: 22px;
    font-weight: 600;
    transition: opacity .5s ease-in-out;
}

.fade-text.show { opacity: 1; }

.slider-wrapper { text-align: center; }

#fixedImage {
    width: 100%;
    height: auto;
    border-radius: 10px;
    justify-content: center;
}

.fieldbox {
    border: 2px solid #e0e0e0;
    padding: 20px 25px;
    border-radius: 10px;
    background: #fafafa;
    margin-bottom:20px;
    margin-top:0px;
    height:auto;
}

.fieldbox legend {
    font-size: 16px;
    font-weight: 600;
    color: white;
    padding-bottom: 4px;
    border-bottom: 0px solid #005bbb;
    display: inline-block;
}

legend {
    background: #2952a3;
    color: white;
    padding: 6px 14px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    width: auto;
    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);
    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;
}

.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 layout)
=========================================== */
.poll-grid {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.poll-field {
    flex: 1;
    min-width: 180px;
}

.poll-label {
    display: block;
    font-size: 13px;
    margin-bottom: 4px;
    font-weight: 600;
    color: #444;
}

.poll-submit {
    margin-top: 20px;
    text-align: center;
}

.poll-inline { margin-top: 10px; }
.poll-inline .form-control {
    height: 38px;
    margin-top: 20px;
}

.poll-actions-center {
    margin-top: 15px;
    text-align: center;
}
.poll-actions-center .btn { margin: 0 5px; }

.poll-box {
    background: #eef6ff;
    border: 1px solid #d6e8ff;
    border-radius: 10px;
    padding: 15px 15px 18px;
    margin-bottom: 20px;
}

.poll-box .section-bar {
    background: transparent;
    padding: 0 0 10px;
    margin-bottom: 15px;
    border-bottom: 1px solid #cfe2ff;
    font-weight: 600;
}

.poll-box .form-control { background: #fff; }

@media (max-width: 768px) {
    .poll-grid { display: block; }
    .poll-field { margin-bottom: 18px; }
    .poll-label { display: none; }
    .poll-submit { margin-top: 25px; }
    .poll-submit .btn { width: auto; padding: 8px 28px; }
}

/* ===============================
   DRUGI NIVO MENIJA – BIJELA POZADINA
=============================== */
.navbar-nav .dropdown-menu {
    background: #fff !important;
    border: 1px solid #ddd;
    box-shadow: none;
}

.navbar-nav .dropdown-menu > li > a {
    color: #000 !important;
    background: #fff !important;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: bold;
}

.navbar-nav .dropdown-menu > li > a:hover,
.navbar-nav .dropdown-menu > li > a:focus {
    background: #f5f5f5 !important;
    color: #000 !important;
}

.navbar-nav .dropdown-menu > .active > a,
.navbar-nav .dropdown-menu > .active > a:hover {
    background: #eaeaea !important;
    color: #000 !important;
}

@media (max-width: 991px) {
    .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
=============================== */
#main-nav { z-index: 9999; }

.navbar-collapse {
    max-height: none !important;
    overflow: visible !important;
}

main,
.page-content,
.container {
    position: relative;
    z-index: 1;
}

/* ===============================
   ANKETA - TEKST IZNAD
=============================== */
.anketa-list {
    list-style: none;
    padding: 0;
    margin: 0 0 50px 0;
}

.anketa-list li {
    display: flex;
    align-items: center;
    font-size: 15px;
    margin-bottom: 12px;
    color: #333;
}

.anketa-list li i {
    color: #28a745;
    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; }

.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);
}

.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 — tri kartice */
@media (min-width: 768px) {
    .job-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        margin-top: 10px;
    }
}

.job-card {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e5e9f2;
    border-radius: 12px;
    padding: 5px;
    height: 140px;
    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: 150px;
    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;
    line-height: 1.4;
}

.job-footer {
    margin-top: auto; /* GURA NA DNO */
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}

@media (max-width: 576px) {
    .job-card {
        height: 80px;
        width: auto;
        padding: 5px;
        border-bottom: 1px solid red;
    }

    .job-location {
        font-size: 13px;
        line-height: 1.35;
    }

    .job-logo {
        width: 100px;
        height: auto;
        object-fit: contain;
        margin-right: 6px;
    }
}

/* ===============================
   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;
}

.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 besplatnom oglašavanju
=============================== */
.job-info-box {
    background: #f8fafc;
    border-left: 4px solid #1a4da3;
    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;
}

/* ===============================
   /proizvodi/list.php badge vrste kredita
=============================== */
.credit-badge{
    display:inline-block;
    padding:4px 10px;
    font-size:10px;
    font-weight:700;
    color:white;
    border-radius:12px;
    width:80px;
}

/* ===============================
   /proizvodi/list.php compare button FIX
=============================== */
.product-card { position: relative; }

.compare-btn {
    position: relative;
    z-index: 5;
    touch-action: manipulation;
}

@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: 70px;
        text-align: center;
    }
}

.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: 1000;
}

/* ===============================
   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;
    border: 1px solid #dcdfe6;

    background-color: #f5f7fa;
    color: #333;

    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.compare-btn:hover {
    background-color: #e9ecf1;
    border-color: #cfd3dc;
    color: #000;
}

.compare-btn:active { transform: scale(0.95); }

/* ===============================
   o-nama.php partneri
=============================== */
.section-subtitle {
    margin-top: 20px;
    margin-bottom: 10px;
    padding-bottom: 6px;

    font-size: 16px;
    font-weight: 600;
    color: #2c7a2c;
    border-bottom: 2px solid #d9ead9;
}

/* ===============================
   anketa rezultati
=============================== */
.anketa-info-box {
    background-color: #f5f9fc;
    padding: 10px 15px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #555;
}

/* ===============================
   tabela optoions
=============================== */
.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;
}

/* ===============================
   OGLASI NEKRETNINE
=============================== */
.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card {
    border: 1px solid #ddd;
    transition: all 0.2s ease;
    cursor: pointer;
}

.card:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    transform: translateY(-3px);
}

.card img {
    width: 100%;
    display: block;
}

/* ===============================
   o-nama.php lista
=============================== */
.consulting-list.two-columns {
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
    column-gap: 40px;
}

.consulting-list.two-columns li {
    break-inside: avoid;
    margin-bottom: 8px;
}

/* Mobile fallback */
@media (max-width: 767px) {
    .consulting-list.two-columns { columns: 1; }
}

/* ===============================
   SOCIAL BUTTONS share_buttons/share.php
=============================== */
.custom-share-box {
    margin-top:20px;
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.share-btn {
    width:40px;
    height:40px;
    border-radius:50%;
    color:white;
    text-decoration:none;
    font-size:16px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:none;
    cursor:pointer;
    transition:0.3s;
}

.share-btn:hover {
    opacity:0.85;
    transform:translateY(-3px);
}

.fb { background:#1877f2; }
.li { background:#0077b5; }
.tw { background:#000000; }
.wa { background:#25d366; }
.vb { background:#7360f2; }
.ig { background:linear-gradient(45deg,#f58529,#dd2a7b,#8134af,#515bd4); }
.copy { background:#444; }

/* =========================
   PRICING TABLE - CJENOVNIK
========================= */
.table-title{
    margin-top:50px;
    margin-bottom:15px;
    font-weight:700;
    color:#000066;
}

.table-secondary{ margin-top:60px; }

.pricing-table-wrapper{
    margin:40px 0;
    overflow-x:auto;
}

.pricing-table{
    width:100%;
    border-collapse:collapse;
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 15px 45px rgba(0,0,0,0.08);
}

.pricing-table thead{
    background:linear-gradient(135deg,#000066,#1e3c72);
    color:#fff;
}

.pricing-table th,
.pricing-table td{
    padding:6px 4px;
    text-align:center;
    border-bottom:1px solid #eee;
    font-size:13px;
}

.pricing-table th{ font-weight:700; }

.pricing-table tbody tr:hover{ background:#f9fbff; }

.details-btn{
    background:#000066;
    color:#fff;
    border:none;
    padding:8px 10px;
    border-radius:6px;
    font-size:12px;
    cursor:pointer;
    transition:0.2s ease;
}

.details-btn:hover{ background:#1e3c72; }

/* Responsive */
@media (max-width: 768px){
    .pricing-table th,
    .pricing-table td{
        font-size:13px;
        padding:10px 8px;
    }
}

/* =========================
   PRICING HERO - BANK.BA
========================= */
.pricing-hero{
    background:linear-gradient(135deg,#ffffff,#ffffff);
    color: red;
    padding:40px 25px;
    border-radius:12px;
    border:2px double #000066;
    margin-bottom:40px;
    text-align:center;
    box-shadow:0 18px 45px rgba(0,0,0,0.15);
}

.pricing-title{
    font-size:28px;
    font-weight:800;
    margin-bottom:10px;
    color:#000066;
}

.pricing-subtitle{
    font-size:16px;
    margin:0;
    opacity:0.95;
}

/* =========================
   PACKAGE BOX (WOW)
========================= */
.package-box{
    display:none;
    margin-top:10px;
    padding:0;
    border-radius:14px;
    overflow:hidden;
    background:#fff;
    border:1px solid #e9ecef;
    box-shadow:0 18px 50px rgba(0,0,0,0.12);
}

.package-box .package-head{
    padding:22px 26px;
    background:linear-gradient(135deg,#000066,#1e3c72);
    color:#fff;
    position:relative;
}

.package-box .package-head h4{
    margin:0;
    font-size:22px;
    font-weight:800;
    letter-spacing:0.2px;
}

.package-box .badge-top{
    position:absolute;
    top:16px;
    right:16px;
    background:rgba(255,255,255,0.16);
    border:1px solid rgba(255,255,255,0.25);
    padding:6px 10px;
    border-radius:999px;
    font-size:12px;
    font-weight:700;
}

.package-box .package-price{
    margin-top:10px;
    font-size:28px;
    font-weight:900;
    color:#ffd166;
}

.package-box .package-body{
    padding:22px 26px 26px 26px;
    background:linear-gradient(180deg,#ffffff,#fbfcff);
}

.package-box ul{ list-style:none; padding:0; margin:0; }

.package-box li{
    display:flex;
    align-items:flex-start;
    gap:12px;
    padding:12px 0;
    border-bottom:1px dashed #e6e6e6;
    font-size:16px;
    color:#1b1f2a;
}

.package-box li:last-child{ border-bottom:none; }

.package-box li::before{
    content:"✓";
    width:22px;
    height:22px;
    min-width:22px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#e9f8ef;
    color:#1f8a4c;
    font-weight:900;
    margin-top:2px;
}

/* =========================
   MODAL
========================= */
.custom-modal{
    display:none;
    position:fixed;
    z-index:999999;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.78);
    overflow-y:auto;
}

.custom-modal-content{
    background:#ffffff;
    margin:120px auto;
    padding:28px;
    width:92%;
    max-width:820px;
    border-radius:14px;
    position:relative;
    font-size:18px;
    line-height:1.7;
    box-shadow:0 25px 80px rgba(0,0,0,0.35);
    border:1px solid rgba(255,255,255,0.25);
}

.close-modal{
    position:absolute;
    top:14px;
    right:18px;
    font-size:34px;
    cursor:pointer;
    font-weight:900;
    line-height:1;
    color:#111;
    opacity:0.65;
    transition:0.2s ease;
}

.close-modal:hover{
    opacity:1;
    color:#d60000;
}

/* Mobile */
@media (max-width: 768px){
    /* Ovo je bilo: .feature-card{ flex: 1 1 calc(50% - 15px); }
       Pošto je .feature-grid CSS GRID, flex ovdje nema smisla.
       Ostavljam komentar da ne "izbacim" pravilo, ali ga ne primjenjujem. */
    /* .feature-card { flex: 1 1 calc(50% - 15px); } */

    .custom-modal-content{ margin:70px auto; padding:18px; }
}


@media (max-width:767px){
    #tabela-opcije td,
    #tabela-opcije th{
        display: table-cell !important;
        width: auto !important;
    }
}