.ui-widget-header {
    border-color: #37a6cd;
    background: #37a6cd;
    color: #fff;
}

.alert.alert-info {
    background: #dff3f8;
    color: #7399b9;
    border-color: #93b9d8;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loader {
    border: 8px solid #8dc63f;
    border-top: 8px solid #000;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -25px;
    margin-left: -25px;
    display: none;
    z-index: 1001;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}

.invalid-feedback-custom {
    display: block !important;
    width: 100%;
    margin-top: .25rem;
    font-size: 80%;
    color: #dc3545;
}

.more-products {
    margin-bottom: 0;
}


.image-container:hover {
    background-color: #ffffff;
}

#sortable-small-images .ui-state-default {
    cursor: move;
}

#sortable-small-images .non-sortable {
    cursor: not-allowed; /* Pokazivač pokazuje da nije moguće premještanje */
}

.white {
    background-color: white;
}

.image-link {
    display: inline-block;
    font-size: 16px;
    color: #007bff !important;
    text-decoration: underline !important;
    margin-top: 10px;
}

.image-link:hover {
    color: #0056b3; /* Tamnija plava na hover */
    text-decoration: none; /* Uklanja podcrtavanje na hover */
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

li.jstree-leaf > a .jstree-icon {
    background-position: -103px -71px;
}

.context-icon {
    position: relative;
    top: -1px;
    left: -38px;
}

.context-text {
    position: relative;
    left: -30px;
}

.jstree-contextmenu {
    z-index: 30000 !important;
}


.alert-feedback {
    cursor: pointer;
    margin: 10px 0;
}

.image-container {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
    background-color: #f9f9f9;
}

.image-container img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 5px;
}

.image-container h6 {
    flex-grow: 1;
    margin-left: 15px;
    font-size: 16px;
}

.image-container .delete-btn {
    margin-left: auto;
}

.modal {
    z-index: 1050;
    display: block;
    background-color: rgba(0, 0, 0, 0.5); /* Pozadina blago tamna */
}

.modal-dialog {
    max-width: 80%;
}

.modal-content {
    background: white;
    padding: 20px;
}

/* Menu Status Badges Animation */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Menu Status Styling */
.menu-status .badge {
    transition: transform 0.2s ease;
    cursor: pointer;
}

.menu-status .badge:hover {
    transform: scale(1.1);
}

/* Ensure proper spacing for flex layout */
.d-flex.flex-wrap {
    align-items: center;
}

/* Additional styling for better badge visibility */
.badge.text-decoration-none:hover {
    text-decoration: none !important;
}
