@media (max-width: 992px) {
    .mod-jt-languageswitcher,
    #select-container {
        margin-right: 15px !important;
    }
}

/*sjena ispod headera*/
#sp-header {
   box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/*jezik switch*/
/* ===== JT Language Switcher - čisti stil ===== */

/* Ukloni sjenu s containera */
#select-container {
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
}

#select-container:hover {
    box-shadow: none !important;
}

/* Zastavice - veće + mala sjena */
#select-container ul li img,
#select-container button.active-lang img {
    width: 35px !important;
    height: 35px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15) !important;
    transition: all 0.2s ease;
}

/* Hover efekt */
#select-container ul li img:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
    transform: translate(0%, 0%) scale(1.1);
}

/* Dropdown stil kad se otvori */
#select-container:hover {
    background: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
    padding: 10px !important;
}

/* Tooltip stil - usklađen s dizajnom */
[tooltip]::after {
    background: #0a2d5a !important;
    border-radius: 6px !important;
    padding: 6px 10px !important;
    font-size: 13px !important;
}

[tooltip][flow^=up]::before,
[tooltip]:not([flow])::before {
    border-top-color: #0a2d5a !important;
}

[tooltip][flow^=down]::before {
    border-bottom-color: #0a2d5a !important;
}

/* ===== JAVNA NABAVA + KONCESIONARI ===== */

/* Intro */
.nabava-intro {
    margin-bottom: 40px;
}

.nabava-intro h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #0a2d5a;
    margin-bottom: 20px;
}

.nabava-intro p {
    color: #64748b;
    line-height: 1.7;
}

.nabava-excluded {
    background: #f8fafc;
    padding: 20px 20px 20px 40px;
    border-radius: 8px;
    border-left: 4px solid #0a2d5a;
    margin-top: 15px;
}

.nabava-excluded li {
    margin-bottom: 8px;
    color: #64748b;
}

/* Linkovi na EOJN */
.nabava-links {
    margin-bottom: 40px;
}

.nabava-links h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0a2d5a;
    margin-bottom: 15px;
}

.nabava-links > p {
    color: #64748b;
    margin-bottom: 20px;
}

.nabava-links-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.nabava-link-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: #0a2d5a;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nabava-link-card:hover {
    background: #1e5a9e;
    transform: translateY(-2px);
    color: #fff;
}

.nabava-link-icon {
    font-size: 1.5rem;
}

/* Accordion styling */
#nabavaAccordion .accordion-item,
#koncesijeAccordion .accordion-item {
    border: 1px solid #e2e8f0 !important;
    margin-bottom: 10px;
    border-radius: 8px !important;
    overflow: hidden;
}

#nabavaAccordion .accordion-button,
#koncesijeAccordion .accordion-button {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0a2d5a;
    background: #f8fafc;
    padding: 18px 25px;
}

#nabavaAccordion .accordion-button:not(.collapsed),
#koncesijeAccordion .accordion-button:not(.collapsed) {
    background: #0a2d5a;
    color: #fff;
    box-shadow: none;
}

#nabavaAccordion .accordion-button:focus,
#koncesijeAccordion .accordion-button:focus {
    box-shadow: none;
    border-color: #0a2d5a;
}

#nabavaAccordion .accordion-button::after,
#koncesijeAccordion .accordion-button::after {
    filter: none;
}

#nabavaAccordion .accordion-button:not(.collapsed)::after,
#koncesijeAccordion .accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

#nabavaAccordion .accordion-body,
#koncesijeAccordion .accordion-body {
    padding: 25px;
    background: #fff;
}

/* Pojedina nabava / koncesionar */
.nabava-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
}

.nabava-item:last-child {
    margin-bottom: 0;
}

/* Naslov */
.nabava-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0a2d5a;
    margin: 0 0 15px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
    line-height: 1.4;
}

.nabava-desc {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0 0 15px;
    line-height: 1.5;
}

/* Meta info */
.nabava-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 25px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #64748b;
}

.nabava-meta a {
    color: #1e5a9e;
    text-decoration: none;
}

.nabava-meta a:hover {
    text-decoration: underline;
}

.nabava-note {
    font-size: 0.85rem;
    color: #64748b;
    font-style: italic;
    margin: 10px 0;
}

/* Datoteke */
.nabava-files {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
    margin-top: 15px;
}

.nabava-file {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #f8fafc;
    color: #0a2d5a;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
}

.nabava-file:hover {
    background: #e2e8f0;
    color: #0a2d5a;
    border-color: #cbd5e1;
}

/* Koncesionari - info */
.koncesionar-info {
    line-height: 1.8;
}

.koncesionar-info p {
    margin: 0 0 5px 0;
    color: #64748b;
    font-size: 0.95rem;
}

.koncesionar-info a {
    color: #1e5a9e;
    text-decoration: none;
}

.koncesionar-info a:hover {
    text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nabava-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .nabava-links-grid {
        flex-direction: column;
    }
    
    .nabava-link-card {
        justify-content: center;
    }
    
    .nabava-files {
        flex-direction: column;
    }
    
    .nabava-file {
        justify-content: center;
    }
    
    #nabavaAccordion .accordion-button,
    #koncesijeAccordion .accordion-button {
        font-size: 0.95rem;
        padding: 15px 20px;
    }
}

/* Naslovi sekcija */
.sekcija-naslov {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0a2d5a;
    margin: 40px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 3px solid #0a2d5a;
}

.sekcija-naslov:first-of-type {
    margin-top: 0;
}

/* ===== TABLICE ===== */
.table-responsive {
    overflow-x: auto;
    margin: 15px 0;
}

.luka-table {
    width: 100%;
    border-collapse: collapse;
    background: #f8fafc;
    font-size: 0.95rem;
}

.luka-table thead tr {
    background: #0a2d5a;
    color: #fff;
}

.luka-table th {
    padding: 12px 15px;
    text-align: center;
    font-weight: 600;
    border: 1px solid #0a2d5a;
}

.luka-table td {
    padding: 10px 15px;
    text-align: center;
    border: 1px solid #e2e8f0;
    color: #334155;
}

.luka-table tbody tr:nth-child(even) {
    background: #f1f5f9;
}

.luka-table tbody tr:hover {
    background: #e2e8f0;
}

@media (max-width: 768px) {
    .luka-table {
        font-size: 0.85rem;
    }
    
    .luka-table th,
    .luka-table td {
        padding: 8px 10px;
    }
}

/* Footer pozadina */
#sp-footer {
    background: #0a2d5a !important;
}

/* Footer tekst */
#sp-footer,
#sp-footer p,
#sp-footer span,
#sp-footer .sp-module-title {
    color: #ffffff !important;
}

/* Footer linkovi */
#sp-footer a {
    color: #94a3b8 !important;
}

#sp-footer a:hover {
    color: #ffffff !important;
}

/* Copyright bar (donji dio) */
#sp-bottom {
    background: #082244 !important;
    color: #94a3b8 !important;
}

#sp-bottom a {
    color: #94a3b8 !important;
}

/* ===== MEGA MENU - univerzalno za sve jezike ===== */
.sp-megamenu-parent .sp-dropdown li a {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 15px;
    color: #333;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.sp-megamenu-parent .sp-dropdown li a:hover {
    background: rgba(0, 86, 163, 0.08);
    border-left-color: #0056a3;
    padding-left: 20px;
    color: #0056a3;
}

/* Footer Info */
.footer-info {
    color: #fff;
}

.footer-info h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.footer-info p {
    margin-bottom: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    padding-left: 0;
}

.footer-info p svg {
    display: none;
}

.footer-oib {
    margin-top: 15px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}