.row>* {
    flex-shrink: 0;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-top: 2px;
}

.row {
    display: flex;  
    flex-wrap: wrap;
    margin-top: calc(-.1 * var(--bs-gutter-y));
    margin-right: calc(-.5 * var(--bs-gutter-x));
    margin-left: calc(-.5 * var(--bs-gutter-x));
    margin-bottom: calc(-.3 * var(--bs-gutter-y));;
}

.btn {
    padding: 4px 0px 4px 0px;
}

.keyboard {
  display: none;
  margin-top: 20px;
  bottom: 0;
  left: 0;
  /*width: 100%;*/
}

.keyboard button {
  width: 45px;
  height: 45px;
  padding: 1px;
  margin: 0px 10px 10px 0px;
  font-size: 28px;
}

.position-item {
  background-color: #f8f9fa;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s ease;
  padding: 10px;
  margin-bottom: 8px;
  border: 1px solid #dee2e6;
  border-radius: 5px;
  font-size: 1.1em;
}

.position-item:hover {
  background-color: #e2e6ea;
}

.position-name {
  font-weight: 600;
  margin-bottom: 5px;
}

.position-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.9em;
  color: #555;
}

#positionsContainer {
  padding-bottom: 50px;
  overflow-y: auto;
  flex-grow: 1;
  scroll-padding-bottom: 50px;
}

input[type="text"] {
  font-size: 1.2em;
  /*padding: 10px;*/
}

.fixed-buttons {
  position: sticky;
  bottom: 0;
  background: #fff;
  padding: 5px 0;
  z-index: 100;
}

#loadingSpinner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.7);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-family: sans-serif;
  font-size: 18px;
}

.spinner {
  border: 5px solid #f3f3f3;
  border-top: 5px solid #3498db;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin-bottom: 10px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
  
html, body {
  position: fixed;
  overflow: hidden;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.sidebar {
  position: fixed;
  top: 0;
  right: -250px;
  width: 250px;
  height: 100%;
  background-color: #f8f9fa;
  transition: right 0.3s ease;
  z-index: 1050;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
}

.sidebar.open {
  right: 0;
}

/*.btn-close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
}*/

.mt-2 {
  margin-top: 10px !important;
}

/*.container{
  margin-top: 40px !important;
}*/

.m-3 {
  margin-top: 5px !important;
  margin-left: 0px !important;
  margin-right: 0px !important;
  margin-bottom: 0px !important;
}

.btnn {
  background-color: transparent;
  border: 1px solid transparent;
  border-color: #007bff;
  border-radius: .25rem;
  padding: 0px 4px ;
}

.sidebar {
  width: 150px;
}

/* Размытие основного контента */
.blur {
  filter: blur(5px);
  pointer-events: none;
  user-select: none;
  transition: filter 0.3s ease;
  
}

  
  
 