.rounded-sidebar {
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  /* Щоб внутрішні елементи також слідували закругленню */
}

.sidebar {
  height: 100vh;
  padding-top: 20px;
}

.position-sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1020;
  height: calc(100vh - 20px);
  overflow-y: auto;
}

.container-fluid-img {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.site-request-password-reset {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.card {
  border-radius: 10px;
  border: 1px solid #e6e6e6;
}

.alert {
  position: relative;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
}

.alert-dismissible .close {
  position: absolute;
  top: 0;
  right: 0;
  padding: 1rem 1.25rem;
  color: inherit;
}

.alert-primary {
  color: #004085;
  background-color: #cce5ff;
  border-color: #b8daff;
}

.alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.alert-warning {
  color: #856404;
  background-color: #fff3cd;
  border-color: #ffeeba;
}

.breadcrumb {
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb li {
  display: inline-block;
  font-size: 14px;
}

.breadcrumb li+li:before {
  content: "›";
  margin: 0 5px;
  color: #bbb;
}

.breadcrumb li a {
  color: #bbb;
  text-decoration: none;
}

.breadcrumb li.active {
  color: #333;
  font-weight: bold;
}

.help-block {
  color: #dc3545;
  /* Це колір помилок у Bootstrap 5 */
  display: none;
  /* Спочатку приховано */
  margin-top: 0.25rem;
  /* Додати трохи простору зверху */
  font-size: 0.875em;
  /* Можете змінити на розмір, який вам підходить */
}

.has-error .help-block {
  display: block;
  /* Показати, коли є помилка */
}

.has-error .form-control {
  border-color: #dc3545;
  /* Це колір рамки інпуту при помилці */
}

#bomaSelectedInfoWrapper {
  position: sticky;
  top: 1rem;
  z-index: 10;
}

@media (max-width: 768px) {
  #bomaSelectedInfoWrapper {
    position: static !important;
    /* скидаємо фіксацію */
    max-height: none;
    box-shadow: none;
    border-radius: 0;
    margin-bottom: 1rem;
  }

  #bomaSelectedInfoWrapper .card {
    margin-bottom: 0;
    border-radius: 0;
  }

  #bomaSelectedInfoWrapper .card-body {
    max-height: none;
    overflow-y: visible;
  }
}