body {
    font-family: 'Montserrat', sans-serif;
    background-image: url("../images/background_image.jpg");
    background-size: auto auto;
    background-repeat: no-repeat;
    background-position: center top;
    
}



/* ✅ Поправка за целиот распоред */
.container-fluid {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-bottom: 6%;
    
    margin-top: 60px !important; /* Ако навбарот е фиксиран */
}

/* ✅ Навбар подобрувања */
.navbar {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar-brand {
    font-size: 20px;
    font-weight: bold;
    color: #f8f9fa !important;
}

.navbar-nav .nav-item .nav-link {
    color: #f8f9fa !important;
    transition: 0.3s;
}

.navbar-nav .nav-item .nav-link:hover {
    color: #20B2AA !important;
}

/* ✅ Подобрување на dropdown менито */
.dropdown-menu {
    background-color: #343a40;
}

.dropdown-menu .dropdown-item {
    color: #f8f9fa;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #20B2AA;
    color: white;
}

/* ✅ Подесување на navbar за мобилни */
@media (max-width: 768px) {
    .navbar-nav {
        text-align: center;
    }

    .navbar-nav .nav-item {
        margin-bottom: 10px;
    }
}

/* ✅ Подобрување на табелите */
.table-responsive {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 auto;
    padding: 10px;
}

.table {
    width: 98% !important;
    table-layout: auto;
    margin: auto;
}

/* ✅ Подесување на колоните за да не се собираат премногу */
.table th, .table td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 8px;
}

/* ✅ Подесување за мобилни уреди */
@media (max-width: 768px) {
    .table th, .table td {
        font-size: 14px;
        padding: 6px;
    }

    .table-responsive {
        display: block;
        width: 100%;
        overflow-x: auto;
    }
}

/* ✅ Подобрување на форма за пребарување */
.search-form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* ✅ Подесување за десктоп */
@media (min-width: 768px) {
    .search-form {
        flex-direction: row;
    }

    .search-form .col-md-2, .search-form .col-md-3 {
        flex: 1;
        min-width: 150px;
    }

    .search-button {
        width: auto;
        height: 38px;
        align-self: end;
    }
}

/* ✅ Подесување за мобилни */
@media (max-width: 768px) {
    .search-form {
        flex-direction: column;
        align-items: center;
    }

    .search-form .col-6 {
        width: 100%;
    }

    .search-button {
        width: 100%;
        margin-top: 10px;
    }
}



