.table {
    --bs-secondary-bg: transparent; /* On BS update from 5.0 to 5.3 - the tables color is white - this fixes it */
}
/* Footer responsive */
@media (max-width: 767.98px) {
    body[data-layout=horizontal] .page-content {
     padding-bottom: 84px;   
    }
    .footer {
        height: 84px;
    }
}
/* sidebar menu category title */
.menu-title {
    text-transform: none;
    font-weight: normal;
    font-size: 14px;
    color: #999;
}
/* page title (breadcrumb) */
.page-title-box h4 {
    text-transform: none;
}
/* bold gets lost for cyrilic - FIX */
.form-label, .btn {
    font-weight: bold;
}
/* Theme Lighbox class - zoom cursor */
.image-popup-no-margins {
    cursor: zoom-in;
}
/* Red text under image upload */
.img-red-text {
    font-size: 13px;
    color: red;
}

/* logo */
.navbar-brand-box {
    padding-right: 0.5rem;
}
@media (max-width: 991.98px) { /* md */
    .navbar-brand-box {
        padding-top: 3px;
        padding-left: 3px;
        padding-right: 0;
    }
}

/* custom responsive font size */
.fs1-res {
    font-size: 12px;
}
.fs2-res {
    font-size: 10px;
}
@media (min-width: 576px) { /* sm */
    .fs1-res {
        font-size: 14px;
    }
    .fs2-res {
        font-size: 12px;
    }
}
@media (min-width: 768px) { /* md */
    .fs1-res {
        font-size: 16px;
    }
}
@media (min-width: 992px) { /* md */
    .fs1-res {
        font-size: 18px;
    }
    .fs2-res {
        font-size: 14px;
    }
}
@media (min-width: 1200px) { /* lg */
    .fs1-res {
        font-size: 20px;
    }
}
@media (min-width: 1400px) {/* xl */
    .fs1-res {
        font-size: 22px;
    }
}


.container-fluid {
    padding-left: 0;
    padding-right: 0;
}

/* btn new features */
@keyframes blink {
    0%, 100% {
        color: #ffffff;
    }
    50% {
        color: #ffc6c6;
    }
}
.btn_blink {
    font-weight: bold;
    animation: blink 2s linear infinite;
    transition: transform 0.2s ease-in-out;
}


/* Cropper.js */
.crop-modal .modal-body {
    min-height: 300px;
    max-height: 68vh;
}
.preview-container, .preview-image {
    width: 228px;
    height: 128px;
}
.image_to_crop {
    visibility: hidden;
}
.preview-image {
    overflow: hidden;
    border: 1px solid #39f;
}
@media (max-width: 575.98px) {
    .preview-container,
    .preview-image {
        width: 119px;  /* Adjust as needed */
        height: 64px;  /* Adjust as needed */
    }
}
#brightness-value, #contrast-value, #saturation-value {
    display: inline-block;
    width: 30px;
    text-align: left;
}
@keyframes borderGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    }
    50% {
        box-shadow: 0 0 6px 4px rgba(0, 123, 255, 0.8);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    }
}
.preview-image.animated-border {
    animation: borderGlow 0.6s ease-out;
}
.current-image-div {
    display: inline-flex;
    align-items: center;
}
.current-image-div img {
    max-width: 100%;
    max-height: 56px;
}
.cropped_image_preview_div {
    display: inline-flex;
    align-items: center;
}
.cropped_image_preview_div img {
    max-width: 100%;
    max-height: 128px;
    box-shadow: 0 0 2px #333;
}
/* END Cropper.js */

/* when the menu is activated (on small devices) */
.navbar-collapse.show {
    border-bottom: 1px solid #ddd;
}


button.mfp-close {
    color: white !important;
}


/* Toastr */
.toast-top-center .toast {
    width: 420px !important;
    max-width: 90%; /* for responsiveness */
}
/* toastr notification opacity fix */
#toast-container > div {
    opacity: 1;
}
/* Disable pointer events for the toastr container */
.toast {
    pointer-events: none !important;
}
/* Re-enable pointer events for the close button */
.toast .toast-close-button {
    pointer-events: auto;
    cursor: pointer;
}
/* END Toastr */

/* Reverse hover effect for toggle buttons */
.btn-outline-success:hover {
    background-color: var(--bs-gray-200);
    color: var(--bs-gray-600);
    border-color: var(--bs-gray-400);
}
.btn-soft-secondary:hover {
    background-color: var(--bs-success-bg-subtle);
    color: var(--bs-success);
    border-color: var(--bs-success);
}

/* Disable interactlion below the toastr windows */
#toast-container {
    pointer-events: none; /* Prevent interaction with background elements */
}
#toast-container .toast {
    pointer-events: all !important; /* Enforce interaction with the toast itself */
}

/* Global tooltip customazation */
.tooltip-inner {
    padding: 0.3rem 0.5rem;
    font-size: 0.8rem;
}