@charset "UTF-8";
.color-green {
  color: #6fb300;
}

.color-red {
  color: #830000;
}

.dataTables_wrapper {
  overflow-x: auto;
}

.highlight-required {
  border: 2px solid #e74c3c !important; /* ярко-красный */
  box-shadow: 0 0 6px rgba(231, 76, 60, 0.6);
  background-color: #fff5f5; /* лёгкий красноватый фон */
  transition: all 0.2s ease;
  border-radius: 8px;
}

.highlight-required:focus {
  border-color: #c0392b !important;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(192, 57, 43, 0.8);
}

#user_line {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 5px;
  border: 1px solid #000;
  border-radius: 4px;
  margin-top: 3px;
}
#user_line .user_menu {
  margin-right: 20px;
}
#top_menu {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  padding: 15px;
  border-radius: 4px;
  border: 1px solid #000;
  margin: 5px 0 60px 0;
}
#top_menu .btn-group {
  margin: 5px;
}
#top_menu .fa, #top_menu .fas {
  margin-right: 5px;
}

a.btn {
  min-height: 38px;
}

.radio_button {
  margin-right: 15px;
}
.radio_button input {
  margin-right: 5px;
}

.hide {
  display: none !important;
}

.zoom_image {
  margin-left: 5px;
}

.no-button {
  border: 0;
  background: transparent;
  cursor: pointer;
  outline: none !important;
}

.form-control {
  min-height: 38px;
}

.data_table {
  margin-bottom: 40px !important;
}

button.close {
  border-radius: 50%;
  border: 0;
  color: #000;
  background: transparent;
}

.select2-container {
  width: 100% !important;
}

.reset-filter {
  position: absolute;
  right: 25px;
  top: 50%;
  z-index: 3;
  display: none;
  padding: 0 5px;
  background: transparent;
  border: none;
  color: #999;
}

.reset-filter:hover {
  color: #666;
}

.form-group {
  position: relative;
  margin-bottom: 1rem !important;
}

.select2-container {
  width: 100% !important;
}

.reset-filter {
  position: absolute;
  right: 25px;
  top: 50%;
  z-index: 3;
  display: none;
  padding: 0 5px;
  background: transparent;
  border: none;
  color: #999;
}

.reset-filter:hover {
  color: #666;
}

.form-group {
  position: relative;
  margin-bottom: 1rem !important;
}

.dataTables_length, .dataTables_filter {
  margin-bottom: 10px;
}
.dataTables_length label, .dataTables_filter label {
  width: 250px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dataTables_length select, .dataTables_filter select {
  width: 80px;
}

.dataTables_filter {
  margin-right: 70px;
}

.dataTables_paginate {
  display: flex;
  justify-content: end;
}

.disabled, .onload_disable {
  pointer-events: none;
  background: #ccc;
}

.dataTables_wrapper {
  width: 100%;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
  padding: 0;
  margin-left: 0;
  border: 0;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: transparent;
  border: 0;
}
.dataTables_wrapper table.dataTable {
  overflow-x: auto;
}
.dataTables_wrapper #column-visibility-btn {
  position: absolute;
  right: 0;
  top: -8px;
}

.data_table {
  display: none;
  width: 100% !important;
}

.data_table.initialized {
  display: table !important;
  animation: fadeIn 0.3s ease-in;
}

.btn-close {
  position: absolute;
  right: 10px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.badge-primary {
  background-color: #0d6efd;
  color: #fff;
}

.badge {
  display: inline-block;
  padding: 0.35em 0.65em;
  font-size: 0.75em;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
  margin: 0 15px;
}

.bold {
  font-weight: bold;
}

.table_button_block {
  display: flex;
  gap: 4px;
  white-space: nowrap;
}
.table_button_block .btn {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  min-height: auto;
  width: 38px !important;
}
.table_button_block .btn i {
  margin: 0;
}

.head_button_block {
  display: flex;
  gap: 4px;
  white-space: nowrap;
}
.head_button_block .btn {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.head_button_block .btn i {
  margin: 0;
}

.fixed-bottom-actions {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid #dee2e6;
  padding: 15px 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.fixed-bottom-actions .selected-count {
  font-weight: 500;
  color: #495057;
}

.fixed-bottom-actions .action-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

body {
  padding-bottom: 80px;
}

@media (max-width: 768px) {
  .fixed-bottom-actions .action-buttons {
    flex-direction: column;
    gap: 5px;
  }
  .fixed-bottom-actions .action-buttons .btn {
    width: 100%;
  }
}
#createActiveModel {
  width: 650px;
}

#active_model_image {
  display: flex;
  align-items: center;
  height: 100%;
}

.row-warning td {
  background-color: #fff3cd !important;
}

.row-warning:hover td {
  background-color: #ffe8a1 !important;
}

.form-group {
  margin-bottom: 1.5rem;
}
.form-group:last-child {
  margin-bottom: 0;
}

fieldset {
  border: 1px solid #fff;
  border-radius: 0.25rem;
  padding: 1rem;
  margin: 20px 0;
  flex-wrap: wrap;
  display: flex;
  justify-content: space-around;
}
fieldset legend {
  padding: 0 0.5rem;
  margin-bottom: 0;
  font-size: 1rem;
  font-weight: 500;
  color: #495057;
  width: 100%;
}

.select2-container {
  width: 100% !important;
}
.select2-container .select2-selection {
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  min-height: 38px;
  background-color: #fff;
}
.select2-container .select2-selection:hover {
  border-color: #80bdff;
}
.select2-container .select2-selection:focus {
  border-color: #80bdff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.select2-container .select2-selection__rendered {
  padding: 0.375rem 0.75rem;
  line-height: 1.5;
}
.select2-container .select2-selection__arrow {
  height: 36px;
}
.select2-container.select2-container--open .select2-selection {
  border-color: #80bdff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.select2-container.disabled .select2-selection,
.onload_disable .select2-selection {
  background-color: #ccc !important;
}

.select2-selection.disabled {
  background-color: #ccc !important;
}

.toast-container {
  z-index: 1050;
}

.toast {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.navbar .nav-link {
  padding: 0.5rem 1rem;
  transition: color 0.2s ease-in-out;
}
.navbar .nav-link:hover {
  color: var(--bs-primary);
}
.navbar .dropdown-menu {
  border: none;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.user-menu .dropdown-toggle::after {
  margin-left: 0.5rem;
}
.user-menu .dropdown-item {
  padding: 0.5rem 1rem;
}
.user-menu .dropdown-item i {
  width: 1.25rem;
  text-align: center;
}

.notification-badge {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(50%, -50%);
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
}

.navbar-nav .nav-item {
  margin-right: 1.5rem;
}
.navbar-nav .nav-item .nav-link {
  font-size: 1.1rem;
  padding: 0.8rem 1rem;
  color: #333;
  transition: all 0.3s ease;
}
.navbar-nav .nav-item .nav-link:hover {
  color: #007bff;
  background-color: rgba(0, 123, 255, 0.1);
  border-radius: 0.5rem;
}
.navbar-nav .nav-item .nav-link.active {
  color: #007bff;
  font-weight: 600;
  background-color: rgba(0, 123, 255, 0.1);
  border-radius: 0.5rem;
}
.navbar-nav .nav-item .nav-link i {
  width: 1.5rem;
  text-align: center;
}

.container-fluid {
  position: relative;
}
.container-fluid .notification_button {
  position: absolute;
  right: 0;
  top: 0;
}

.notification-dropdown {
  width: 300px;
  max-height: 400px;
  overflow-y: hidden;
  position: relative !important;
  top: 0 !important;
}
.notification-dropdown .notification-list {
  max-height: 300px;
  overflow-y: auto;
}
.notification-dropdown .notification-item {
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #e9ecef;
  transition: background-color 0.2s;
}
.notification-dropdown .notification-item:hover {
  background-color: #f8f9fa;
}
.notification-dropdown .notification-item.unread {
  background-color: rgba(0, 123, 255, 0.05);
  font-weight: 500;
}
.notification-dropdown .notification-item .notification-time {
  font-size: 0.75rem;
  color: #6c757d;
}
.notification-dropdown .notification-item a {
  color: inherit;
  text-decoration: none;
}
.notification-dropdown .notification-item a:hover {
  color: #007bff;
}

.notification-counter {
  font-size: 0.75rem;
  padding: 0 !important;
  margin: 0;
  margin-top: 10px;
  width: 23px;
  text-align: center;
  line-height: 23px;
}

#notificationDropdown {
  text-align: right;
}

.top-menu .navbar-toggler {
  border: none;
  padding: 0.5rem;
}
.top-menu .navbar-toggler:focus {
  box-shadow: none;
}
.top-menu.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  animation: slideDown 0.3s ease-in-out;
}
.top-menu.is-sticky .notification_button {
  right: 50px;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}
body.has-sticky-menu {
  padding-top: 60px;
}

@media (max-width: 991.98px) {
  .desktop-only {
    display: none !important;
  }
  .mobile-only {
    display: block !important;
  }
  .top-menu {
    position: relative;
    padding: 0.5rem 0;
    z-index: 999;
  }
  .top-menu .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding-left: 0;
    padding-right: 0;
  }
  .top-menu .navbar-toggler {
    margin-right: 3.5rem;
  }
  .top-menu .notification_button {
    position: absolute;
    right: 0;
    transform: translateY(-50%);
    margin: 0;
    width: auto;
    z-index: 1030;
    margin-top: 25px;
  }
  .top-menu .notification_button .nav-link {
    padding: 0.5rem !important;
    background: none !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 2.5rem !important;
    height: 2.5rem !important;
  }
  .top-menu .notification_button .notification-counter {
    top: 0;
    right: 0;
    transform: translate(25%, -25%);
  }
  .top-menu .navbar-collapse {
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
    padding: 0.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    z-index: 1020;
    width: 100%;
  }
  .top-menu .navbar-collapse.show {
    height: auto;
    opacity: 1;
    visibility: visible;
  }
  .top-menu .navbar-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.35rem;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .top-menu .navbar-nav .nav-item {
    width: 100%;
    margin: 0;
  }
  .top-menu .navbar-nav .nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.25rem;
    font-size: 0.85rem;
    background-color: #f8f9fa;
    border-radius: 0.4rem;
    margin: 0;
    text-align: center;
    height: 100%;
    min-height: 3.5rem;
  }
  .top-menu .navbar-nav .nav-link i {
    font-size: 1.1rem;
    margin: 0 0 0.2rem 0;
  }
  .top-menu .navbar-nav .nav-link span {
    font-size: 0.75rem;
    line-height: 1.1;
    white-space: normal;
    word-wrap: break-word;
    width: 100%;
    padding: 0 0.25rem;
  }
  .top-menu .notification-dropdown {
    width: calc(100vw - 2rem);
    max-width: 400px;
    max-height: 80vh;
    position: fixed !important;
    transform: none !important;
    margin: 0;
    background: white;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    padding: 0.5rem;
    border-radius: 0.5rem;
    z-index: 1040;
    right: 0;
    top: 3rem !important;
    overflow-y: hidden;
    overflow-x: hidden;
  }
  .top-menu .notification-dropdown .notification-list {
    max-height: calc(80vh - 3rem);
    overflow-y: auto;
  }
  .top-menu .notification-dropdown .notification-item {
    background-color: #f8f9fa;
    margin: 0.25rem 0;
    border-radius: 0.5rem;
    white-space: normal;
    word-wrap: break-word;
  }
}
@media (min-width: 992px) {
  .mobile-only {
    display: none !important;
  }
  .desktop-only {
    display: block !important;
  }
  .navbar-collapse {
    display: flex !important;
    height: auto !important;
    padding: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}
.toggle-sidebar-button {
  z-index: 1000;
}

.activity-sidebar {
  position: fixed;
  right: 0;
  top: 0;
  height: 100vh;
  width: 300px;
  background: #f8f9fa;
  border-left: 1px solid #dee2e6;
  z-index: 1001;
  transition: transform 0.3s ease;
  transform: translateX(100%);
}
.activity-sidebar.active {
  transform: translateX(0);
}
.activity-sidebar .sidebar-header {
  border-bottom: 1px solid #dee2e6;
}
.activity-sidebar .sidebar-content {
  height: calc(100vh - 60px);
  overflow-y: auto;
}

.toggle-sidebar {
  position: fixed;
  right: 20px;
  top: 10px;
  z-index: 1000;
}

.body {
  display: flex;
  justify-content: center;
}

body.bg-light {
  background: #ddd !important;
}

@media screen and (min-width: 1981px) {
  .container {
    max-width: 80%;
  }
}

.content {
  padding: 0 15px;
  width: 100%;
}
@media screen and (min-width: 576px) {
  .content {
    max-width: 540px;
  }
}
@media screen and (min-width: 768px) {
  .content {
    max-width: 720px;
  }
}
@media screen and (min-width: 992px) {
  .content {
    max-width: 960px;
  }
}
@media screen and (min-width: 1200px) {
  .content {
    max-width: 1140px;
  }
}
@media screen and (min-width: 1600px) {
  .content {
    max-width: 1320px;
  }
}
@media screen and (min-width: 1981px) {
  .content {
    max-width: 80%;
  }
}
.content .page_header {
  display: flex;
}
.content .page_header .head_button_block {
  margin-left: 15px;
}
.content .page_header .head_button_block a {
  margin-right: 10px;
}

.column_block {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}
.column_block .left_column {
  width: 55%;
  margin-right: 5%;
}
.column_block .right_column {
  width: 40%;
}

.file_list {
  width: 100%;
}
.file_list .file_block {
  display: flex;
  align-items: center;
}
.file_list .file_block .delete_button {
  cursor: pointer;
  color: #ff0000;
  margin-left: 10px;
}

.img_block, .file_block {
  display: inline-block;
  position: relative;
  margin: 10px;
}
.img_block .image_delete, .img_block .image_zoom, .file_block .image_delete, .file_block .image_zoom {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  justify-content: center;
  align-items: center;
  display: none;
}
.img_block .image_delete i, .img_block .image_zoom i, .file_block .image_delete i, .file_block .image_zoom i {
  cursor: pointer;
}
.img_block:hover .image_delete, .img_block:hover .image_zoom, .file_block:hover .image_delete, .file_block:hover .image_zoom {
  display: flex;
}

.button_with_field {
  display: flex;
  justify-content: flex-start;
  height: 38px;
}
.button_with_field .scanner_btn {
  position: absolute;
  height: 38px;
  width: auto;
}
.button_with_field .scanner_btn .fa {
  margin: 0;
}
.button_with_field .right-align {
  text-align: right;
}

.scanner_btn i {
  margin-right: 10px;
}

#scanner .modal-body {
  display: flex;
  justify-content: center;
}

.close_btn {
  border-radius: 50%;
  border: 0;
  height: 25px;
  width: 25px;
  font-size: 12px;
}

.movement_item a {
  color: #ff0000;
}

@media screen and (min-width: 992px) {
  #movementModal .modal-dialog {
    max-width: 768px !important;
  }
}

.button_block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.movement_list {
  margin-top: 15px;
}

.approve_button, .button {
  padding: 10px 10px;
}

.user_menu {
  justify-content: flex-end !important;
}

.scrollable-dropdown .select2-results__options {
  max-height: 250px;
  overflow-y: auto;
}

.custom_table {
  border: 1px solid #eee;
  padding: 10px;
  border-radius: 8px;
}
.custom_table .header {
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.budget_summary__value {
  font-weight: 600;
  font-size: 1.1rem;
}

.budget_summary__label {
  font-weight: bold;
}

.budget_summary--positive .sum_data {
  color: #198754; /* bootstrap green */
}

.budget_summary--negative .sum_data {
  color: #dc3545; /* bootstrap red */
}

.budget_summary--zero .sum_data {
  color: #6c757d; /* muted */
}

@media screen and (max-width: 1200px) {
  #movementModal .modal-dialog {
    max-width: 992px !important;
  }
}
@media screen and (max-width: 992px) {
  #top_menu {
    justify-content: flex-start;
  }
  #movementModal .modal-dialog {
    max-width: 768px !important;
  }
}
@media screen and (max-width: 768px) {
  .left_column, .right_column {
    width: 100% !important;
  }
  .table_button_block {
    max-width: 80px;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
  }
  .table_button_block .btn {
    width: 100%;
  }
}
@media screen and (max-width: 576px) {
  .content .page_header {
    flex-wrap: wrap;
  }
  .content .page_header .head_button_block {
    width: 100%;
    margin: 0 0 15px 0;
  }
  .user_menu {
    justify-content: flex-start !important;
  }
  .notification_button {
    position: absolute;
    top: -7px !important;
    right: 0;
  }
}
.table_button_block {
  display: flex;
  gap: 5px;
}
.table_button_block .btn {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  white-space: nowrap;
}

.column-visibility-panel {
  display: none;
  position: fixed;
  z-index: 1000;
  width: 300px;
  background: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  max-height: 80vh;
  overflow-y: auto;
}
.column-visibility-panel .card-header {
  position: sticky;
  top: 0;
  background: white;
}

.dataTables_wrapper.has-horizontal-scroll {
  overflow-x: auto;
  cursor: grab;
}
.dataTables_wrapper.has-horizontal-scroll:active {
  cursor: grabbing;
}

.data_table.initialized {
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.notification-counter {
  display: none;
}

.notification-dropdown {
  max-height: 400px;
  overflow-y: auto;
}

.notification-list {
  overflow-y: visible;
}

.table th[data-orderable=false].photo-column {
  width: 3%;
}
.table th[data-orderable=false].qr-column {
  width: 5%;
}
.table th.name-column {
  width: 15%;
}
.table th.model-column {
  width: 5%;
}

.inventory-row--checked {
  background-color: #def8b1;
}
.inventory-row--unchecked {
  background-color: #ffc8c8;
}

#qr-reader {
  width: 400px;
}

.form-control.readonly {
  background-color: #F2F2F2;
}

.select2 {
  width: 100% !important;
}

.filter-header {
  cursor: pointer;
}
.filter-header__content {
  flex: 1 1 auto;
}

.action-button {
  margin: 15px 0;
}
.action-button--remove {
  margin-left: 5px;
}

.hidden-form {
  display: none;
}

/*# sourceMappingURL=app.css.map */
