.bi {
  display: inline-block;
  width: 1rem;
  height: 1rem;
}
@media (min-width: 576px) {
    .h-sm-100 {
        height: 100%;
    }
}
/*
 * Sidebar
 */

@media (min-width: 768px) {
  .sidebar .offcanvas-lg {
    position: -webkit-sticky;
    position: sticky;
    top: 48px;
  }
  .navbar-search {
    display: block;
  }
}

.sidebar .nav-link {
  font-size: .875rem;
  font-weight: 500;
}

.sidebar .nav-link.active {
  color: #2470dc;
}

.sidebar-heading {
  font-size: .75rem;
}

/*
 * Navbar
 */

.navbar-brand {
  padding-top: .75rem;
  padding-bottom: .75rem;
  background-color: rgba(0, 0, 0, .25);
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.navbar .form-control {
  padding: .75rem 1rem;
}

.alert-error{
  background:#fdcccc;
}

.alert-container {
    width: 100vw; /* Full width of the viewport */
    height: 100%; /* Full height of the viewport */
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    position: fixed; /* Make it fixed to the screen */
    top: 0;
    left: 0;
    z-index: 100; /* Ensure it appears above all other elements */
    display: flex; /* Center contents inside */
    align-items: center;
    justify-content: center;
}

.alert-message {
    opacity: 1; /* Fully visible by default */
    visibility: visible; /* Fully visible by default */
    transition: opacity 2s ease; /* Smooth fade-out over 2 seconds */
    z-index: 101; /* Higher than alert-container */
    position: absolute;
    top: 20%;
}

.fade-out {
    opacity: 0; /* Fades out element */
    visibility: hidden; /* Hides the content */
    pointer-events: none; /* Prevents user interactions during fade-out */
}