.site-navbar {
    background-color: #363435 !important;
}

.loader-overlay {
    background: #365abd !important;
}

.hidden {
    display: none;
}

.btn-primary {
    background-color: #f46523 !important;
    border-color: #f46523 !important;
}

.btn-primary.focus, .btn-primary.hover, .btn-primary:focus, .btn-primary:hover {
    background-color: #ed1b24 !important;
    border-color: #ed1b24 !important;
}

.btn-success {
    background-color: #00e263 !important;
    border-color: #00e263 !important;
}

.btn-success.focus, .btn-success.hover, .btn-success:focus, .btn-success:hover {
    background-color: #00b54f !important;
    border-color: #00b54f !important;
}

input[type=date], input[type=datetime-local], input[type=month], input[type=time]
{
    -webkit-appearance: none!important;
    -moz-appearance: none!important;
}

body {
    overflow-x: hidden;
}

@media (max-width: 767.98px) {
    .site-navbar .btn-group.dropdown {
        position: absolute;
        margin-top: 35px;
    }

    #form-usage .table-responsive table th:last-of-type.w-50 {
        width: 0!important;
        padding: 0!important;
        border: 0;
    }

    #form-usage .table-responsive tbody > tr {
        position: relative;
        z-index: 1;
    }

    #form-usage .table-responsive tbody > tr:not(.opened) > td:last-of-type, #form-usage .table-responsive tbody > tr:not(.opened) > td:last-of-type a {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        padding: 0;
        width: 100%;
        height: 100%;
        /*opacity: 0;*/
        background: rgba(000,000,000, .2);
    }
}

.nav .nav-item .active
{
    background-color: #f46523 !important;
}

.form-group:has(> .seeker-autocomplete[readonly])
{
    position: relative;
}

.form-group:has(> .seeker-autocomplete[readonly])::before
{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

body.show-loading .loading{
    display: block;
}
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Toast box */
.toast {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: #fff;
    color: #333;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #4caf50;
    border-left: 5px solid #4caf50;
    animation: slideIn 0.3s ease-out, fadeOut 0.3s ease-in 2.7s forwards;
    max-width: 350px;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

/* Toast content */
.toast-icon {
    font-size: 24px;
}

.toast-content {
    flex-grow: 1;
}

.toast-title {
    font-weight: bold;
    font-size: 16px;
    margin: 0;
}

.toast-message {
    font-size: 14px;
    margin: 0;
    color: #666;
}

/* Close button */
.toast-close {
    background: none;
    border: none;
    color: #999;
    font-size: 16px;
    cursor: pointer;
    transition: color 0.2s;
}

.toast-close:hover {
    color: #333;
}

/* Animations */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

.loading {
    display: none;
    content: '';
    position: fixed;
    z-index: 99999999!important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .8);
}

.loading .box-loading {
    float: left;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading .spinner {
    width: 58px;
    height: 58px;
    border: 5px solid #FFF;
    border-bottom-color: #FF3D00;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

.modal-xl-custom {
    max-width: 1140px;
}

.modal::before {
    content: '';
    width: 100%;
    height: 100%;
    background: #000000;
    position: absolute;
    opacity: .5;
}

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

@media (max-width: 767.98px) {
    .panel-body {
        padding: 15px;
    }
}