/* ============ RESET & GLOBAL ============ */
        *, *::before, *::after {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        
        
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            line-height: 1.6;
            color: #333;
            background: #f5f5f5;
            overflow-x: hidden;
            
        }
        
        /* ============ TOP HEADER ============ */
.top-header {
    background: #f9f9f9;
    /*border-bottom: 1px solid #e0e0e0;*/
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    /*box-shadow: 0 2px 4px rgba(0,0,0,0.05);*/
    height: 61px;
    min-height: 61px;
    max-height: 61px;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
}

.header-container {
    max-width: 1400px;
    /*margin: 0 auto;*/
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    height: 100%;
    box-sizing: border-box;
}

/* ============ HEADER LEVO - LOGO ============ */
.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    order: 1; /* Levo */
}

.site-logo {
    font-size: 22px;
    font-weight: 700;
    white-space: nowrap;
}

.site-logo a {
    color: #333;
    text-decoration: none;
}

/* ============ HEADER CENTAR - SEARCH ============ */
.header-center {
    flex: 1;
    max-width: 500px;
    margin: 0 auto;
    order: 2; /* Sredina */
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 14px;
    color: #999;
    pointer-events: none;
    flex-shrink: 0;
}

.search-input {
    width: 100%;
    padding: 10px 14px 10px 42px;
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fdfdfd;
}

.search-input:focus {
    border-color: #5ea1ed;
    box-shadow: 0 0 0 1px rgba(102,126,234,0.1);
    background: #fff;
}

/* ============ HEADER DESNO - HAMBURGER ============ */
.header-right {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    order: 3; /* Desno */
}

/* ============ HAMBURGER DUGME ============ */
.mobile-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    color: #333;
    transition: background 0.2s, transform 0.2s;
    position: relative;
    z-index: 1002;
}

.mobile-menu-toggle:hover {
    background: #f9f9f9;
}

.mobile-menu-toggle:active {
    transform: scale(0.95);
}

/* Hamburger ikonica */
.hamburger-icon {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 27px;
    height: 30px;
    justify-content: center;
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 1.2px;
    background: #333;
    border-radius: 2px;
    transition: all 0.1s ease;
}

/* Animacija hamburgera u X */
.mobile-menu-toggle.active .hamburger-icon span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-icon span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============ RESPONSIVE - 1024px i manje ============ */
@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: flex; /* Prikazuje se */
        align-items: center;
        justify-content: center;
    }
    
    .header-container {
        padding: 10px 15px;
        gap: 10px;
    }
    
    .site-logo {
        font-size: 20px;
    }
    
    .header-center {
        max-width: 400px;
    }
}

/* Tablet - 768px i manje */
@media (max-width: 768px) {
    .header-container {
        padding: 8px 12px;
        gap: 8px;
    }
    
    .site-logo {
        font-size: 18px;
    }
    
    .header-center {
        max-width: 100%;
    }
    
    .search-input {
        font-size: 13px;
        padding: 8px 12px 8px 36px;
    }
    
    .search-icon {
        left: 10px;
        width: 18px;
        height: 18px;
    }
}

/* Mali mobilni - 480px i manje */
@media (max-width: 480px) {
    .top-header {
        height: 56px;
        min-height: 56px;
    }
    
    .header-container {
        padding: 6px 10px;
        gap: 6px;
    }
.search-wrapper {
    display: flex !important;
    position: relative !important;
    width: 80%;
}
    .layout-container {
                margin-left: 0;
            }
    
    .site-logo {
        font-size: 16px;
    }
    
    .search-input {
        font-size: 12px;
        padding: 7px 10px 7px 32px;
        width: 150px;
    }
    
    .search-icon {
        left: 8px;
        width: 16px;
        height: 16px;
    }
    
    .mobile-menu-toggle {
        padding: 8px;
    }
}

/* Super mali - 360px */
@media (max-width: 360px) {
    .header-container {
        padding: 6px 8px;
        gap: 4px;
    }
    
    .site-logo {
        font-size: 14px;
    }
    
    .search-input {
        font-size: 11px;
        padding: 6px 8px 6px 28px;
    }

    .search-wrapper {
    display: flex !important;
    position: relative !important;
    width: 80%;
}
    
    .search-icon {
        left: 6px;
        width: 14px;
        height: 14px;
    }
}
        
        /* ============ SIDEBAR - OVERLAY STIL ============ */
.sidebar-container {
    position: fixed;
    top: 61px;
    left: 0;
    height: calc(100vh - 61px);
    width: 60px;
    background: #f9f9f9;
    border-right: 0px solid #f9f9f9;
    z-index: 999;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s;
    overflow-x: hidden;
    overflow-y: auto;
    /* box-shadow: 2px 0 8px rgba(0, 0, 0, 0.04); */
}

.sidebar-container:hover {
    width: 220px;
    box-shadow: 4px 0 20px rgba(0,0,0,0.07); /* Jača senka na hover */
}

/* Custom scrollbar - tanak i jedva vidljiv */
.sidebar-container::-webkit-scrollbar {
    width: 2px;
    color: #fff;
    /*scrollbar-color: transparent;*/
}

.sidebar-container::-webkit-scrollbar:hover {
    width: 2px;
    color: #4cb4f5;
}

.sidebar-container::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-container::-webkit-scrollbar-thumb {
    background: #f9f9f9;
    border-radius: 10px;
}

.sidebar-container::-webkit-scrollbar-thumb:hover {
    background: #54a8fd !important;
    width: 2px;
}

/* ============ LAYOUT - PUN ŠIRINA ============ */
.layout-container {
    margin-left: 60px; /* Samo margina za sidebar */
    transition: none; /* BEZ TRANZICIJE - ne pomera se */
    width: calc(100% - 60px);
    max-width: 100%;
    background: #fcfcfc;
}

/* Na hover sidebar-a, layout se NE pomera */
.sidebar-container:hover ~ .layout-container {
    margin-left: 60px; /* Ostaje isto */
}

/* Glavni sadržaj */
.main-content-area {
    flex: 1;
    padding: 20px;
    max-width: 1000px; /* Malo uža kolona */
    margin: 0 auto;
    width: 100%;
}
        
        .sidebar-container:hover,
        .sidebar-container.mobile-open {
            width: 220px;
        }
        
        .sidebar-inner {
            padding: 10px 0;
            display: flex;
            flex-direction: column;
        }
        
        .sidebar-link {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            color: #666;
            text-decoration: none;
            white-space: nowrap;
            transition: background 0.15s, color 0.15s;        }
        
        .sidebar-link:hover {
            background: #dff8fd;
            color: #333;
            border-left-color: #667eea;
        }
        
        .sidebar-link.active {
            background: #dff8fd;
            color: #333;
            font-weight: 600;
            border-left-color: #667eea;
        }
        
        .sidebar-icon {
            flex-shrink: 0;
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
        }
        
        .sidebar-label {
            opacity: 0;
            transition: opacity 0.2s;
            font-size: 14px;
            font-weight: 500;
        }
        
        .sidebar-container:hover .sidebar-label,
        .sidebar-container.mobile-open .sidebar-label {
            opacity: 1;
        }
        
        .sidebar-divider {
            height: 1px;
            background: #e0e0e0;
            margin: 8px 18px;
        }
        
        .sidebar-link-small {
            font-size: 13px;
            padding: 8px 18px;
        }
        
        .sidebar-footer-links {
            margin-top: auto;
            padding-bottom: 20px;
        }
        
        /* Overlay za mobilni */
        .sidebar-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            z-index: 998;
        }
        
        .sidebar-overlay.active {
            display: block;
        }
        
        /* ============ LAYOUT ============ */
        /*.layout-container {
            display: flex;
            margin-left: 60px;
            transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .sidebar-container:hover ~ .layout-container {
            margin-left: 220px;
        }*/

        /* ============ CONTENT WRAPPER SA AD PLACEMENTOM ============ */
.content-wrapper {
    display: flex;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: flex-start;
}

.content-main {
    flex: 1;
    min-width: 0; /* Sprečava overflow */
    box-shadow: 0px;
}


.content-sidebar-right {
    flex-shrink: 0;
    width: 270px;
    position: sticky;
    top: 81px; /* Ispod headera */
}

/* Ad placement */


/* Related calculators widget */
.related-calculators-widget {
    margin-top: 20px;
    background: #fff;
    border-radius: 4px;
    padding: 15px;
    border: 1px solid #e0e0e0;
}

.related-calculators-widget h4 {
    font-size: 14px;
    color: #292c2f;
    margin-bottom: 10px;
}

.related-calculators-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-calculators-widget li {
    margin-bottom: 6px;
}

.related-calculators-widget a {
    color: #666;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.related-calculators-widget a:hover {
    color: #2f3237;

}

/* ============ MOBILNI AD PLACEMENT (unutar contenta) ============ */
/*.mobile-ad-placement {
    display: none; 
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
    text-align: center;
}

.mobile-ad-placement .ad-placement {
    width: 100%;
    max-width: 270px;
    height: 270px;
    margin: 0 auto;
}*/


/* ============ RESPONSIVE ============ */
@media (max-width: 968px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    .content-sidebar-right {
        display: none; /* Sakrij ad placement na tabletu/mobilnom */
    }
    
    .content-main {
        width: 100%;
    }
    
    .layout-container {
        margin-left: 0;
        width: 100%;
    }
    
    .sidebar-container {
        width: 0;
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        z-index: 1001;
    }
    
    .sidebar-container.mobile-open {
        width: 260px;
    }
    
    .sidebar-container.mobile-open .sidebar-label {
        opacity: 1;
    }
    
    .site-footer {
        margin-left: 0;
    }

   /* .mobile-ad-placement {
    display: flex; 
    width: 100%;
  
    margin: 20px auto;
    text-align: center;
}

.mobile-ad-placement .ad-placement {
    width: 100%;
    max-width: 300px;
    height: 270px;
    margin: 0 auto;
}*/
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .content-card {
        padding: 15px;
        padding-top: 80px;
    }
    
    h1 {
        font-size: 22px;
    }
    
    h2 {
        font-size: 18px;
    }
}
        
        .main-content-area {
            flex: 1;
            padding: 30px 20px;
            max-width: 1200px;
            margin: 0 auto;
            width: 100%;
        }
        
        /* ============ CONTENT STYLES ============ */
        .content-card {
            background: #fcfcfc;
            border-radius: 12px;
            padding: 10px;
            padding-right: 30px;
            /*box-shadow: 0 2px 8px rgba(0,0,0,0.08);*/
            padding-top: 80px;
        }
        
        .breadcrumbs {
            margin-bottom: 20px;
            font-size: 14px;
            color: #999;
        }
        
        .breadcrumbs a {
            color: #308df1;
            text-decoration: none;
        }
        
        .breadcrumbs a:hover {
            text-decoration: underline;
        }
        
        h1 {
            font-size: 32px;
            margin-bottom: 15px;
            color: #222;
        }
        
        h2 {
            font-size: 24px;
            margin: 30px 0 15px;
            color: #333;
            padding-top: 10px;
            border-top: 1px solid #eee;
        }
        
        h3 {
            font-size: 18px;
            margin: 20px 0 10px;
            color: #444;
        }
        
        p {
            margin-bottom: 15px;
            color: #555;
            line-height: 1.7;
        }
        
        ul {
            margin-bottom: 15px;
            padding-left: 20px;
        }
        
        ul li {
            margin-bottom: 8px;
            color: #555;
        }
        
        /* Kalkulator kontejner */
        .calculator-container {
            margin: 30px 0;
            min-height: 400px;
        }
        
        .calculator-loading {
            text-align: center;
            padding: 60px;
            color: #999;
            font-size: 16px;
        }
        
        .calculator-loading::after {
            content: '';
            display: block;
            width: 40px;
            height: 40px;
            margin: 20px auto 0;
            border: 3px solid #f0f0f0;
            border-top-color: #667eea;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }
        
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        
        /* Tabele */
        .gpa-table {
            width: 100%;
            border-collapse: collapse;
            margin: 20px 0;
            font-size: 14px;
        }
        
        .gpa-table th,
        .gpa-table td {
            padding: 10px 12px;
            text-align: left;
            border-bottom: 1px solid #eee;
        }
        
        .gpa-table th {
            background: #f8f9fa;
            font-weight: 600;
            color: #444;
            font-size: 13px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        .gpa-table tr:hover {
            background: #fafbff;
        }
        
        /* Formula box */
        .formula-box {
            background: #f8f9fa;
            padding: 15px 20px;
            border-radius: 4px;
            font-family: 'Courier New', monospace;
            text-align: center;
            font-size: 16px;
            border: 1px solid #e0e0e0;
            margin: 15px 0;
        }
        
        /* Footer */
        .site-footer {
    background: #f9f9f9;
    /* border-top: 1px solid #e0e0e0; */
    padding: 25px 0;
    /* margin-top: 40px; */
    text-align: center;
    color: #999;
    margin-left: 60px;
    transition: margin-left 0.1s;
}
        
        .footer-links {
            display: flex;
            justify-content: center;
            gap: 20px;
            list-style: none;
            margin-bottom: 10px;
            padding: 0;
        }
        
        .footer-links a {
            color: #666;
            text-decoration: none;
            font-size: 13px;
        }
        
        .footer-links a:hover {
            color: #398bd7;
            text-decoration: underline 1px;
        }
        
        /* ============ RESPONSIVE ============ */
        @media (max-width: 768px) {
            .mobile-menu-toggle {
                display: flex;
            }
            
            .header-center {
                max-width: 100%;
                display: flex;
                justify-content: flex-end;
            }
            
            .top-header {
        background: #f9f9f9;
        /* border-bottom: 1px solid #e0e0e0; */
        padding: 0;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 1000;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); 
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
        will-change: transform;
    }
            .site-logo {
                font-size: 18px;
            }
            
            .sidebar-container {
                width: 0;
                position: fixed;
                top: 0;
                left: 0;
                height: 100%;
                z-index: 1001;
                box-shadow: 4px 0 20px rgba(0,0,0,0.2);
            }
            
            .sidebar-container.mobile-open {
                width: 260px;
            }
            
            .sidebar-container.mobile-open .sidebar-label {
                opacity: 1;
            }
            
            .layout-container {
                margin-left: 0;
            }
            
            .sidebar-container:hover ~ .layout-container {
                margin-left: 0;
            }
            
            .site-footer {
                margin-left: 0;
            }
            
            .main-content-area {
                padding: 20px 15px;
            }
            
            .content-card {
                padding: 20px 15px;
                padding-top: 80px;
            }
            
            h1 {
                font-size: 24px;
            }
            
            h2 {
                font-size: 20px;
            }
            
            .gpa-table {
                font-size: 12px;
            }
            
            .gpa-table th,
            .gpa-table td {
                padding: 8px 6px;
            }
        }
    
        
        @media (max-width: 480px) {
            .header-container {
                padding: 8px 12px;
                gap: 10px;
            }
            
.layout-container {
                margin-left: 0;
            }

            .search-input {
                font-size: 10px;
                padding: 7px 12px 7px 36px;
            }
            
            .site-logo {
                font-size: 16px;
            }
        }


        @media (max-width: 399px) {
            
            
.layout-container {
                margin-left: 0 ;
            }
        }
        
/* Mali mobilni - 360px i manje */
@media (max-width: 360px) {
 
    
.top-header {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    /* HARDVERSKO UBRZANJE - sprečava blur */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
    
}

    .site-logo {
        font-size: 15px;
    }
    
    .site-logo a {
        font-size: 15px;
    }
    
    .search-input {
        font-size: 10px;
        padding: 7px 10px 7px 32px;
    }

    .search-wrapper {
    display: flex !important;
    position: relative !important;
    width: 80%;
}
    
    .search-icon {
        left: 10px;
        width: 16px;
        height: 16px;
    }
    
    .mobile-menu-toggle {
        padding: 6px;
    }
    
    .mobile-menu-toggle svg {
        width: 20px;
        height: 20px;
    }
    
    .content-wrapper {
        padding: 10px 8px;
    }

    .layout-container {
                margin-left: 0;
            }
    
    .content-card {
        padding: 15px 10px;
        border-radius: 8px;
        padding-top: 60px;
    }
    
    h1 {
        font-size: 20px;
    }
    
    h2 {
        font-size: 17px;
    }
    
    h3 {
        font-size: 15px;
    }
    
    p, li {
        font-size: 14px;
    }
    
    .gpa-table {
        font-size: 11px;
    }
    
    .gpa-table th,
    .gpa-table td {
        padding: 6px 4px;
        font-size: 11px;
    }
    
    .formula-box {
        font-size: 13px;
        padding: 10px 12px;
    }
    
    .breadcrumbs {
        font-size: 12px;
    }
    
    .calculator-container {
        margin: 20px 0;
        min-height: 300px;
    }
    
    .calculator-loading {
        padding: 40px 10px;
        font-size: 14px;
    }
    
   /* .ad-placement {
        width: 100%;
        max-width: 270px;
        height: 250px;
        margin: 0 auto;
    }*/
    
    .site-footer {
        padding: 20px 10px;
        font-size: 12px;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .footer-links a {
        font-size: 12px;
    }

    
}

/* Super mali - 320px */
@media (max-width: 320px) {
    .header-container {
        padding: 6px 8px;
        gap: 6px;
    }
    
    .site-logo {
        font-size: 14px;
    }
    
    .search-input {
        font-size: 9px;
        padding: 6px 8px 6px 28px;
        width: 120px;
    }
    
    .search-icon {
        left: 8px;
        width: 14px;
        height: 14px;
    }
    
    .content-card {
        padding: 12px 8px;
    }
    
    h1 {
        font-size: 18px;
    }
    
    h2 {
        font-size: 16px;
    }
    
    .gpa-table {
        font-size: 10px;
    }
    
    .gpa-table th,
    .gpa-table td {
        padding: 5px 3px;
        font-size: 10px;
    }
}


    .copyright {
    font-size: 12px;
    color: #777;
    margin-bottom: 2px;
}



/* ============ ZAŠTITA MOBILNIH ELEMENATA ============ */

/* Osiguraj da se header elementi nikad ne sakriju */
/*.top-header,
.top-header *,
.header-container,
.header-left,
.header-center,
.header-right,
.site-logo,
.site-logo a,
.search-wrapper,
.search-input,
.search-icon,
.mobile-menu-toggle,
.hamburger-icon,
.hamburger-icon span {
    visibility: visible !important;
    opacity: 1 !important;
    display: flex !important;
}*/

/* Specifično za search */
.header-center {
    display: flex !important;
    visibility: visible !important;
}

.search-form {
    display: block !important;
    width: 100% !important;
}

.search-wrapper {
    display: flex !important;
    position: relative !important;
    width: 100%;
}

.search-input {
    display: block !important;
    visibility: visible !important;
}

/* Specifično za hamburger */
.mobile-menu-toggle {
    display: flex !important;
}

.hamburger-icon {
    display: flex !important;
    flex-direction: column !important;
}

.hamburger-icon span {
    display: block !important;
}


/*calculator html-layout*/

/* ============ RESET & GLOBAL ============ */
        *, *::before, *::after {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        
        
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            line-height: 1.6;
            color: #333;
            background: #f5f5f5;
            overflow-x: hidden;
            
        }
        
        /* ============ TOP HEADER ============ */
.top-header {
    background: #f9f9f9;
    /*border-bottom: 1px solid #e0e0e0;*/
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    /*box-shadow: 0 2px 4px rgba(0,0,0,0.05);*/
    height: 61px;
    min-height: 61px;
    max-height: 61px;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
}

.header-container {
    max-width: 1400px;
    /*margin: 0 auto;*/
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    height: 100%;
    box-sizing: border-box;
}

/* ============ HEADER LEVO - LOGO ============ */
.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    order: 1; /* Levo */
}

.site-logo {
    font-size: 22px;
    font-weight: 700;
    white-space: nowrap;
}

.site-logo a {
    color: #333;
    text-decoration: none;
}

/* ============ HEADER CENTAR - SEARCH ============ */
.header-center {
    flex: 1;
    max-width: 500px;
    margin: 0 auto;
    order: 2; /* Sredina */
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 14px;
    color: #999;
    pointer-events: none;
    flex-shrink: 0;
}

.search-input {
    width: 100%;
    padding: 10px 14px 10px 42px;
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fdfdfd;
}

.search-input:focus {
    border-color: #5ea1ed;
    box-shadow: 0 0 0 1px rgba(102,126,234,0.1);
    background: #fff;
}

/* ============ HEADER DESNO - HAMBURGER ============ */
.header-right {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    order: 3; /* Desno */
}

/* ============ HAMBURGER DUGME ============ */
.mobile-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    color: #333;
    transition: background 0.2s, transform 0.2s;
    position: relative;
    z-index: 1002;
}

.mobile-menu-toggle:hover {
    background: #f9f9f9;
}

.mobile-menu-toggle:active {
    transform: scale(0.95);
}

/* Hamburger ikonica */
.hamburger-icon {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 27px;
    height: 30px;
    justify-content: center;
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 1.2px;
    background: #333;
    border-radius: 2px;
    transition: all 0.1s ease;
}

/* Animacija hamburgera u X */
.mobile-menu-toggle.active .hamburger-icon span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-icon span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============ RESPONSIVE - 1024px i manje ============ */
@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: flex; /* Prikazuje se */
        align-items: center;
        justify-content: center;
    }
    
    .header-container {
        padding: 10px 15px;
        gap: 10px;
    }
    
    .site-logo {
        font-size: 20px;
    }
    
    .header-center {
        max-width: 400px;
    }
}

/* Tablet - 768px i manje */
@media (max-width: 768px) {
    .header-container {
        padding: 8px 12px;
        gap: 8px;
    }
    
    .site-logo {
        font-size: 18px;
    }
    
    .header-center {
        max-width: 100%;
    }
    
    .search-input {
        font-size: 13px;
        padding: 8px 12px 8px 36px;
    }
    
    .search-icon {
        left: 10px;
        width: 18px;
        height: 18px;
    }
}

/* Mali mobilni - 480px i manje */
@media (max-width: 480px) {
    .top-header {
        height: 56px;
        min-height: 56px;
    }
    
    .header-container {
        padding: 6px 10px;
        gap: 6px;
    }

    .layout-container {
                margin-left: 0;
            }
    
    .site-logo {
        font-size: 16px;
    }
    
    .search-input {
        font-size: 12px;
        padding: 7px 10px 7px 32px;
        width: 150px;
    }
    
    .search-icon {
        left: 8px;
        width: 16px;
        height: 16px;
    }
    
    .mobile-menu-toggle {
        padding: 8px;
    }
}

/* Super mali - 360px */
@media (max-width: 360px) {
    .header-container {
        padding: 6px 8px;
        gap: 4px;
    }
    
    .site-logo {
        font-size: 14px;
    }
    
    .search-input {
        font-size: 11px;
        padding: 6px 8px 6px 28px;
    }
    

    .search-wrapper {
    display: flex !important;
    position: relative !important;
    width: 80%;
}
    .search-icon {
        left: 6px;
        width: 14px;
        height: 14px;
    }
}
        
        /* ============ SIDEBAR - OVERLAY STIL ============ */
.sidebar-container {
    position: fixed;
    top: 61px;
    left: 0;
    height: calc(100vh - 61px);
    width: 60px;
    background: #f9f9f9;
    border-right: 0px solid #f9f9f9;
    z-index: 999;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s;
    overflow-x: hidden;
    overflow-y: auto;
    /* box-shadow: 2px 0 8px rgba(0, 0, 0, 0.04); */
}

.sidebar-container:hover {
    width: 220px;
    box-shadow: 4px 0 20px rgba(0,0,0,0.07); /* Jača senka na hover */
}

/* Custom scrollbar - tanak i jedva vidljiv */
.sidebar-container::-webkit-scrollbar {
    width: 2px;
    color: #fff;
    /*scrollbar-color: transparent;*/
}

.sidebar-container::-webkit-scrollbar:hover {
    width: 2px;
    color: #4cb4f5;
}

.sidebar-container::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-container::-webkit-scrollbar-thumb {
    background: #f9f9f9;
    border-radius: 10px;
}

.sidebar-container::-webkit-scrollbar-thumb:hover {
    background: #54a8fd !important;
    width: 2px;
}

/* ============ LAYOUT - PUN ŠIRINA ============ */
.layout-container {
    margin-left: 60px; /* Samo margina za sidebar */
    transition: none; /* BEZ TRANZICIJE - ne pomera se */
    width: calc(100% - 60px);
    max-width: 100%;
    background: #fcfcfc;
}

/* Na hover sidebar-a, layout se NE pomera */
.sidebar-container:hover ~ .layout-container {
    margin-left: 60px; /* Ostaje isto */
}

/* Glavni sadržaj */
.main-content-area {
    flex: 1;
    padding: 20px;
    max-width: 1000px; /* Malo uža kolona */
    margin: 0 auto;
    width: 100%;
}
        
        .sidebar-container:hover,
        .sidebar-container.mobile-open {
            width: 220px;
        }
        
        .sidebar-inner {
            padding: 10px 0;
            display: flex;
            flex-direction: column;
        }
        
        .sidebar-link {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            color: #666;
            text-decoration: none;
            white-space: nowrap;
            transition: background 0.15s, color 0.15s;        }
        
        .sidebar-link:hover {
            background: #dff8fd;
            color: #333;
            border-left-color: #667eea;
        }
        
        .sidebar-link.active {
            background: #dff8fd;
            color: #333;
            font-weight: 600;
            border-left-color: #667eea;
        }
        
        .sidebar-icon {
            flex-shrink: 0;
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
        }
        
        .sidebar-label {
            opacity: 0;
            transition: opacity 0.2s;
            font-size: 14px;
            font-weight: 500;
        }
        
        .sidebar-container:hover .sidebar-label,
        .sidebar-container.mobile-open .sidebar-label {
            opacity: 1;
        }
        
        .sidebar-divider {
            height: 1px;
            background: #e0e0e0;
            margin: 8px 18px;
        }
        
        .sidebar-link-small {
            font-size: 13px;
            padding: 8px 18px;
        }
        
        .sidebar-footer-links {
            margin-top: auto;
            padding-bottom: 20px;
        }
        
        /* Overlay za mobilni */
        .sidebar-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            z-index: 998;
        }
        
        .sidebar-overlay.active {
            display: block;
        }
        
        /* ============ LAYOUT ============ */
        /*.layout-container {
            display: flex;
            margin-left: 60px;
            transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .sidebar-container:hover ~ .layout-container {
            margin-left: 220px;
        }*/

        /* ============ CONTENT WRAPPER SA AD PLACEMENTOM ============ */


.content-main {
    flex: 1;
    min-width: 0; /* Sprečava overflow */
    box-shadow: 0px;
}


.content-sidebar-right {
    flex-shrink: 0;
    width: 270px;
    position: sticky;
    top: 81px; /* Ispod headera */
}

/* Ad placement */
/*.ad-placement {
    width: 270px;
    height: 270px;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    text-align: center;
    overflow: hidden;
    position: sticky;
    top: 81px;
}

.ad-placement iframe,
.ad-placement img {
    max-width: 100%;
    max-height: 100%;
}*/

/* Related calculators widget */
.related-calculators-widget {
    margin-top: 20px;
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #e0e0e0;
}

.related-calculators-widget h4 {
    font-size: 14px;
    color: #3a3d41;
    margin-bottom: 10px;
}

.related-calculators-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-calculators-widget li {
    margin-bottom: 6px;
}

.related-calculators-widget a {
    color: #666;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.related-calculators-widget a:hover {
    color: #3f89d7;
    text-decoration: underline 1px;
}

/* ============ MOBILNI AD PLACEMENT (unutar contenta) ============ */
/*.mobile-ad-placement {
    display: none; 
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
    text-align: center;
}

.mobile-ad-placement .ad-placement {
    width: 100%;
    max-width: 270px;
    height: 270px;
    margin: 0 auto;
}*/

/* ============ RESPONSIVE ============ */
@media (max-width: 968px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    .content-sidebar-right {
        display: none; /* Sakrij ad placement na tabletu/mobilnom */
    }
    
    .content-main {
        width: 100%;
    }
    
    .layout-container {
        margin-left: 0;
        width: 100%;
    }
    
    .sidebar-container {
        width: 0;
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        z-index: 1001;
    }
    
    .sidebar-container.mobile-open {
        width: 260px;
    }
    
    .sidebar-container.mobile-open .sidebar-label {
        opacity: 1;
    }
    
    .site-footer {
        margin-left: 0;
    }

    /*.mobile-ad-placement {
    display: flex; 
    width: 100%;
  
    margin: 20px auto;
    text-align: center;
}

.mobile-ad-placement .ad-placement {
    width: 100%;
    max-width: 300px;
    height: 270px;
    margin: 0 auto;
}*/
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .content-card {
        padding: 15px;
        padding-top: 70px;
    }
    
    h1 {
        font-size: 22px;
    }
    
    h2 {
        font-size: 18px;
    }
}
        
        .main-content-area {
            flex: 1;
            padding: 30px 20px;
            max-width: 1200px;
            margin: 0 auto;
            width: 100%;
        }
        
       
        
        .breadcrumbs {
            margin-bottom: 20px;
            font-size: 14px;
            color: #999;
        }
        
        .breadcrumbs a {
            color: #308df1;
            text-decoration: none;
        }
        
        .breadcrumbs a:hover {
            text-decoration: underline;
        }
        
        h1 {
            font-size: 32px;
            margin-bottom: 15px;
            color: #222;
        }
        
        h2 {
            font-size: 24px;
            margin: 30px 0 15px;
            color: #333;
            padding-top: 10px;
            border-top: 1px solid #eee;
        }
        
        h3 {
            font-size: 18px;
            margin: 20px 0 10px;
            color: #444;
        }
        
        p {
            margin-bottom: 15px;
            color: #555;
            line-height: 1.7;
        }
        
        ul {
            margin-bottom: 15px;
            padding-left: 20px;
        }
        
        ul li {
            margin-bottom: 8px;
            color: #555;
        }
        
        /* Kalkulator kontejner */
        .calculator-container {
            margin: 30px 0;
            min-height: 400px;
        }
        
        .calculator-loading {
            text-align: center;
            padding: 60px;
            color: #999;
            font-size: 16px;
        }
        
        .calculator-loading::after {
            content: '';
            display: block;
            width: 40px;
            height: 40px;
            margin: 20px auto 0;
            border: 3px solid #f0f0f0;
            border-top-color: #667eea;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }
        
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        
        /* Tabele */
        .gpa-table {
            width: 100%;
            border-collapse: collapse;
            margin: 20px 0;
            font-size: 14px;
        }
        
        .gpa-table th,
        .gpa-table td {
            padding: 10px 12px;
            text-align: left;
            border-bottom: 1px solid #eee;
        }
        
        .gpa-table th {
            background: #f8f9fa;
            font-weight: 600;
            color: #444;
            font-size: 13px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        .gpa-table tr:hover {
            background: #fafbff;
        }
        
        /* Formula box */
        .formula-box {
            background: #f8f9fa;
            padding: 15px 20px;
            border-radius: 4px;
            font-family: 'Courier New', monospace;
            text-align: center;
            font-size: 16px;
            border: 1px solid #e0e0e0;
            margin: 15px 0;
        }
        
        /* Footer */
        .site-footer {
    background: #f9f9f9;
    /* border-top: 1px solid #e0e0e0; */
    padding: 25px 0;
    /* margin-top: 40px; */
    text-align: center;
    color: #999;
    margin-left: 60px;
    transition: margin-left 0.1s;
}
        
        .footer-links {
            display: flex;
            justify-content: center;
            gap: 20px;
            list-style: none;
            margin-bottom: 10px;
            padding: 0;
        }
        
        .footer-links a {
            color: #666;
            text-decoration: none;
            font-size: 13px;
        }
        
        .footer-links a:hover {
            color: #398bd7;
            text-decoration: underline 1px;
        }
        
        /* ============ RESPONSIVE ============ */
        @media (max-width: 768px) {
            .mobile-menu-toggle {
                display: flex;
            }
            
            .header-center {
                max-width: 100%;
                display: flex;
                justify-content: flex-end;
            }
            
            .top-header {
        background: #f9f9f9;
        /* border-bottom: 1px solid #e0e0e0; */
        padding: 0;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 1000;
        /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); */
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
        will-change: transform;
    }

    .search-wrapper {
    display: flex !important;
    position: relative !important;
    width: 70%;
}
            .site-logo {
                font-size: 18px;
            }
            
            .sidebar-container {
                width: 0;
                position: fixed;
                top: 0;
                left: 0;
                height: 100%;
                z-index: 1001;
                box-shadow: 4px 0 20px rgba(0,0,0,0.2);
            }
            
            .sidebar-container.mobile-open {
                width: 260px;
            }
            
            .sidebar-container.mobile-open .sidebar-label {
                opacity: 1;
            }
            
            .layout-container {
                margin-left: 0;
            }
            
            .sidebar-container:hover ~ .layout-container {
                margin-left: 0;
            }
            
            .site-footer {
                margin-left: 0;
            }
            
            .main-content-area {
                padding: 20px 15px;
            }
            
            .content-card {
                padding: 20px 15px;
                padding-top: 70px !important;
            }
            
            h1 {
                font-size: 24px;
            }
            
            h2 {
                font-size: 20px;
            }
            
            .gpa-table {
                font-size: 12px;
            }
            
            .gpa-table th,
            .gpa-table td {
                padding: 8px 6px;
            }
        }
    
        
        @media (max-width: 480px) {
            .header-container {
                padding: 8px 12px;
                gap: 10px;
            }
            
.layout-container {
                margin-left: 0;
            }

            .search-input {
                font-size: 10px;
                padding: 7px 12px 7px 36px;
            }
            
            .site-logo {
                font-size: 16px;
            }
        }


        @media (max-width: 399px) {
            
            
.layout-container {
                margin-left: 0 ;
            }
        }
        
/* Mali mobilni - 360px i manje */
@media (max-width: 360px) {
 
    
.top-header {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    /* HARDVERSKO UBRZANJE - sprečava blur */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
    
}

.search-wrapper {
    display: flex !important;
    position: relative !important;
    width: 80%;
}

    .site-logo {
        font-size: 15px;
    }
    
    .site-logo a {
        font-size: 15px;
    }
    
    .search-input {
        font-size: 10px;
        padding: 7px 10px 7px 32px;
    }
    
    .search-icon {
        left: 10px;
        width: 16px;
        height: 16px;
    }
    
    .mobile-menu-toggle {
        padding: 6px;
    }
    
    .mobile-menu-toggle svg {
        width: 20px;
        height: 20px;
    }
    
    .content-wrapper {
        padding: 10px 8px;
    }

    .layout-container {
                margin-left: 0;
            }
    
    .content-card {
        padding: 15px 10px;
        border-radius: 8px;
        padding-top: 60px;
    }
    
    h1 {
        font-size: 20px;
    }
    
    h2 {
        font-size: 17px;
    }
    
    h3 {
        font-size: 15px;
    }
    
    p, li {
        font-size: 14px;
    }
    
    .gpa-table {
        font-size: 11px;
    }
    
    .gpa-table th,
    .gpa-table td {
        padding: 6px 4px;
        font-size: 11px;
    }
    
    .formula-box {
        font-size: 13px;
        padding: 10px 12px;
    }
    
    .breadcrumbs {
        font-size: 12px;
    }
    
    .calculator-container {
        margin: 20px 0;
        min-height: 300px;
    }
    
    .calculator-loading {
        padding: 40px 10px;
        font-size: 14px;
    }
    
    /*.ad-placement {
        width: 100%;
        max-width: 270px;
        height: 250px;
        margin: 0 auto;
    }*/
    
    .site-footer {
        padding: 20px 10px;
        font-size: 12px;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .footer-links a {
        font-size: 12px;
    }

    
}

/* Super mali - 320px */
@media (max-width: 320px) {
    .header-container {
        padding: 6px 8px;
        gap: 6px;
    }
    
    .site-logo {
        font-size: 14px;
    }
    
    .search-input {
        font-size: 9px;
        padding: 6px 8px 6px 28px;
        width: 120px;
    }
    
    .search-icon {
        left: 8px;
        width: 14px;
        height: 14px;
    }
    
    .content-card {
        padding: 12px 8px;
    }
    
    h1 {
        font-size: 18px;
    }
    
    h2 {
        font-size: 16px;
    }
    
    .gpa-table {
        font-size: 10px;
    }
    
    .gpa-table th,
    .gpa-table td {
        padding: 5px 3px;
        font-size: 10px;
    }
}


    .copyright {
    font-size: 12px;
    color: #777;
    margin-bottom: 2px;
}


/* ============ ZAŠTITA MOBILNIH ELEMENATA ============ */

/* Osiguraj da se header elementi nikad ne sakriju */
/*.top-header,
.top-header *,
.header-container,
.header-left,
.header-center,
.header-right,
.site-logo,
.site-logo a,
.search-wrapper,
.search-input,
.search-icon,
.mobile-menu-toggle,
.hamburger-icon,
.hamburger-icon span {
    visibility: visible !important;
    opacity: 1 !important;
    display: flex !important;
}

/* Specifično za search */
.header-center {
    display: flex !important;
    visibility: visible !important;
}

  .header-container{
width: 100%;
}

.search-form {
    display: flex !important;
    width: 100% !important;
    justify-content: flex-end;
}

.search-wrapper {
    display: flex !important;
    position: relative !important;
}

.search-input {
    display: block !important;
    visibility: visible !important;
}

/* Specifično za hamburger */
.mobile-menu-toggle {
    display: flex !important;
}

.hamburger-icon {
    display: flex !important;
    flex-direction: column !important;
}

.hamburger-icon span {
    display: block !important;
}

/* Override za box-sizing */
/*.top-header,
.top-header *,
.header-container,
.header-container * {
    box-sizing: border-box !important;
}*/

/*ad placement*/

/* ============ AD PLACEMENT STYLES ============ */

/* ============ AD PLACEMENT STYLES ============ */

/* Svi ad kontejneri */
[id^="ad-"] {
    overflow: hidden;
    box-sizing: border-box;
}

/* Slike u ad kontejnerima */
[id^="ad-"] img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Desktop right sidebar */
#ad-desktop-right {
    width: 270px;
    max-height: 270px;
    display: flex;
    border-radius: 4px;
    align-items: center;
    justify-content: center;
}

/* Leaderboard */
#ad-desktop-leaderboard {
    width: 100%;
    max-width: 728px;
    max-height: 90px;
    margin: 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile top */
#ad-mobile-top {
    width: 100%;
    max-width: 340px;
    max-height: 200px;
    margin: 20px auto;
    display: none; /* Sakriven na desktopu */
}

/* Mobile bottom */
#ad-mobile-bottom {
    width: 100%;
    max-width: 340px;
    min-height: 100px;
    margin: 20px auto;
    display: none; /* Sakriven na desktopu */
}

/* Responsive - prikaži mobilne na mobilnom */
@media (max-width: 968px) {
    #ad-desktop-leaderboard {
        display: none; /* Sakrij leaderboard */
    }
    
    #ad-mobile-top {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    #ad-mobile-bottom {
        display: flex;
        align-items: center;
        justify-content: center;
        max-height: 100px;


    }
}





/* === OVO JE KLJUČNO === */
/* Sakrij SVE posle 3. SAMO ako NIJE more-btn ili show-less-btn */
/*.sidebar-submenu.collapsed .sidebar-link:nth-child(n+4):not(.sidebar-more-btn):not(.sidebar-show-less-btn) {
    display: none;
}*/

//* ============ SIDEBAR SA SUBMENIJIMA - ISPRAVLJEN ============ */

.sidebar-submenu {
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: rgba(0,0,0,0.015);
}

.sidebar-submenu.collapsed {
    max-height: 175px;
}

.sidebar-submenu.open {
    max-height: 500px;
}

.sidebar-submenu .sidebar-link1 {
    padding-left: 20px !important;
    font-size: 13px !important;
    opacity: 0.85;
}

.sidebar-container:hover .sidebar-submenu .sidebar-link1 {
    padding-left: 20px !important;
}

.sidebar-submenu .sidebar-link1:hover {
    background: rgba(102,126,234,0.08);
}

.sidebar-submenu .sidebar-icon {
    width: 18px;
    height: 18px;
    font-size: 14px;
}

.sidebar-submenu .sidebar-link1.active {
    background: #dff8fd;
    font-weight: 600;
}

/* Sakrij stavke 4+ SAMO kada je collapsed */
.sidebar-submenu.collapsed .sidebar-link1:nth-child(n+4):not(.sidebar-more-btn):not(.sidebar-show-less-btn) {
    display: none;
}

/* "More..." dugme */
.sidebar-more-btn {
    padding: 6px 20px 8px !important;
    font-size: 11px !important;
    color: #999 !important;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    gap: 6px;
}

.sidebar-container:hover .sidebar-more-btn {
    padding-left: 20px !important;
}

.sidebar-more-btn:hover {
    color: #2d5fa8 !important;
}

/* Sakrij "More..." kada je otvoren - ISPRAVLJENO */
.sidebar-submenu.open .sidebar-more-btn {
    display: none !important;
}

/* "Show less" dugme */
.sidebar-show-less-btn {
    padding: 6px 20px 8px !important;
    font-size: 11px !important;
    color: #999 !important;
    cursor: pointer;
    display: none !important;
    align-items: center;
    gap: 6px;
}

.sidebar-container:hover .sidebar-show-less-btn {
    padding-left: 20px !important;
}

.sidebar-show-less-btn:hover {
    color: #2d5fa8!important;
}

/* Prikaži "Show less" kada je otvoren */
.sidebar-submenu.open .sidebar-show-less-btn {
    display: flex !important;
}


.sidebar-link1 {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            color: #666;
            text-decoration: none;
            white-space: nowrap;
            transition: background 0.15s, color 0.15s;        }
        
        .sidebar-link1:hover {
            background: #dff8fd;
            color: #333;
            border-left-color: #2d5fa8;
        }
        
        .sidebar-link1.active {
            background: #dff8fd;
            color: #333;
            font-weight: 600;
            border-left-color: #2d5fa8;
        }



/* ============ SEARCH DROPDOWN ============ */

.search-form {
    position: relative;
}

.search-dropdown {
    animation: fadeIn 0.15s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.search-result-item:hover {
    background: #f0f0ff !important;
}

.search-result-item:last-child {
    border-bottom: none !important;
}