@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
    --bs-dark-rgb: 33, 33, 33;
    --bs-bg-opacity: 1;
    --bs-tertiary-bg-rgb: 56, 56, 56;
    --bs-body-font-family: "Open sans", sans-serif;
    --bs-heading-color: #ffffff;
    --bs-primary-rgb: 4, 165, 247;
    --bs-secondary-rgb: 85, 85, 85;
    --bs-table-striped-bg: #555555;
    --bs-table-bg: #555555;
    --bs-link-color-rgb: 255, 255, 255;
    --bs-link-hover-color-rgb: 85, 85, 85
}

.btn-primary {
    --bs-btn-bg: rgb(var(--bs-primary-rgb));
}

.btn-secondary {
    --bs-btn-bg: rgb(var(--bs-secondary-rgb));
}
[data-bs-theme=dark] {
    --bs-body-bg: white;
    --bs-secondary-bg: #C6C6C6;
    --bs-body-color: #0B0B0D;
    --bs-accordion-color: white;
    --bs-accordion-btn-color: var(--bs-accordion-color);
    --bs-accordion-bg: #555555;
    --bs-accordion-active-bg: var(--bs-accordion-bg);
    --bs-accordion-active-color: #dee2e6;
    --bs-accordion-btn-focus-box-shadow: none;
}
header {
    height: 67px;
}
main {
    background: #0B0B0D;
    overflow-y: auto;
    height: calc(100vh - 67px);
}
.navbar-brand {
    background-color: #0B0B0D;
}
.navbar-brand {
    background-color: #0B0B0D;
}

/* Custom background color for the dropdown menu */
.dropdown-menu {
    border-radius: 4px; /* Rounded corners for the menu */
    background-color: #555555;
    color: #dee2e6;
    --bs-dropdown-link-hover-bg: none;
    --bs-dropdown-link-active-bg: 0;
}

/* Align the icon and arrow properly */
.dropdown-toggle .bi-person-circle {
    margin-right: 10px; /* Space between icon and text */
}

/* Add some space between the items in the dropdown */
.dropdown-item {
    padding: 8px 20px;
}
.custom-dropdown-button {
    min-width: 250px;
    background-color: #383838;
    height:67px;
    border-radius: 0;
    color: #FFFFFF;
    font-weight: 600;
}
.custom-dropdown-item {
    min-width: 250px;
    color: #FFFFFF;
    border-radius: 4px;
}
.custom-dropdown-button::after {
    position: absolute;
    right: 17px;
}
.menu {
    height: 42px;
}
.nav-link {
    color: #D0D0D0;
    font-size: 14px;
    line-height: 14px;
    font-style: normal;
    font-weight: 400;
}
li.menu {
    padding: 0 9px;
    border: 1px solid #404040;
}
li.menu.active a {
    border-radius: 4px;
    border: 1px solid #404040;
    background: #04A5F7;
}
li.menu.active a {
    color: #fff;
}

.nav-link:hover, .nav-link:focus {
    color: #fff;
}
.nav-link:hover > .menu-item-icon, .menu.active > .nav-link > .menu-item-icon {
    filter: brightness(0) invert(1);
}
.nav-link .menu-item-icon {
    width: 20px;
}
ul.nav:first-child {
    margin-top: 16px;
}
.content {
    overflow-y: auto; /* Enable scrolling if content overflows */
    height: 100vh; /* Ensure the content takes full viewport height */
}
h1 {
    color: #FFF;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}
.form-container {
    background-color: #555555;
    border-radius: 2px;
}
.form-container label {
    color:#ffffff;
    font-size:14px;
}
.form-check-input:checked {
    background-color: #5CC015 !important;
}

.form-check-input.filter-zone:checked {
    background-color: #065DA5 !important;
}

.form-check-input {
    background-color: #8B8B8B !important;
}

.form-control[readonly]:not([disabled]) {
    background-color: #e9ecef;
    opacity: 1;
    cursor: not-allowed;
}

.bootstrap-select .dropdown-toggle.form-select,
.bootstrap-select .dropdown-toggle.form-select:focus,
.bootstrap-select .dropdown-toggle.form-select:active {
    display: block !important;
    width: 100% !important;
    color: #212529 !important;
    background-color: #fff !important;
    background-repeat: no-repeat !important;
    background-position: right 0.75rem center !important;
    background-size: 16px 12px !important;
    border: 1px solid #ced4da !important;
    border-radius: 0.375rem !important;
    -webkit-appearance: none !important;
    padding: 0.375rem 2.25rem 0.375rem 0.75rem !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    min-height: calc(1.5em + 0.75rem + 2px) !important;
    text-align: left !important;
    justify-content: flex-start !important;
    box-shadow: none !important;
    outline: none !important;
}

.bootstrap-select .dropdown-menu {
    background-color: #fff !important;
    color: #212529 !important;
    border: 1px solid #ced4da !important;
    box-shadow: none !important;
}

.bootstrap-select .dropdown-menu.show {
    transform: none !important;
    margin: 0 !important;
    left: 0 !important;
}

.bootstrap-select .dropdown-menu li a.active,
.bootstrap-select .dropdown-menu li a:focus,
.bootstrap-select .dropdown-menu li a.active:focus {
    background-color: #0d6efd !important;
    color: #fff !important;
    box-shadow: none !important;
    outline: none !important;
}

.bootstrap-select.form-select {
    padding: 0 !important;
    background-image: none !important;
}

.plus-btn, .minus-btn {
    background-color: #fff !important;
    color: #8B8B8B !important;
    border: 1px solid #ced4da !important;
    padding: 0.25rem !important;
    font-size: 1.2rem !important;
    font-weight: 1000 !important;
    line-height: 1 !important;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.minus-btn {
    border-right: none !important;
}

.plus-btn {
    border-left: none !important;
}

.plus-btn:hover, .minus-btn:hover {
    background-color: #f8f9fa !important;
    border-color: #bbbfc3 !important;
}

.plus-btn:focus, .minus-btn:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25) !important;
    outline: none !important;
}

.plus-btn:active, .minus-btn:active {
    background-color: #e9ecef !important;
    border-color: #bbbfc3 !important;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

input.form-control {
    border: 1px solid #fff !important;
}

.accordion-button:not(.collapsed) {
    color: #FFFFFF;
}

.col-form-label {
    font-size: 14px;
}

.py-2.row:has(.second-level) {
    background-color: #5F5F5F;
    margin-left: -20px;
    margin-right: -20px;
}

.second-level {
    padding-left: 54px;
}

.py-2.row:has(.third-level) {
    background-color: #656565;
    margin-left: -20px;
    margin-right: -20px;
}

.third-level {
    padding-left: 86px;
}

button.btn.btn-primary {
    background-color: #04A5F7;
    border: none;
}

a.btn.btn-secondary {
    background-color: #8B8B8B;
    border: none;
}

label.required::after {
    content: "*";
}
.title {
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0;
}

.form-switch input {
    width: 3.75rem!important;
    height: 1.75rem;
}

[data-bs-theme=dark] .form-switch .form-check-input:not(:checked):not(:focus),
.form-switch .form-check-input:focus{
    --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23FFFFFF'/%3e%3c/svg%3e");
}

.form-check-input:focus, .form-check-input:active, .form-check-input:checked {
    border-width: 0;
    box-shadow: initial;
}

.form-control.disabled {
    background-color: var(--bs-secondary-bg);
}

table {
    background-color: var(--bs-table-bg);
}