
.topbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
    color: var(--bs-primary);
  }
  
  .topbar .dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
  }
  
  .topbar .dropdown .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    padding-top: 11px;
    border: 0;
    transition: .5s;
    opacity: 1;
  }
  
  .topbar a {
    position: relative; /* Ensures it is positioned above any potential overlaps */
    z-index: 9999; /* Makes sure it stays above other elements */
  }
  
  /* Ensure proper alignment for smaller devices */
  @media (max-width: 992px) {
    .topbar .d-flex {
      text-align: center; /* Center the content on smaller devices */
    }
  
    .topbar a {
      display: block; /* Ensures each link takes the full width on smaller screens */
      margin-bottom: 10px;
    }
  }

body {
    background-color: #f8f9fa;
    padding: 40px 0;
}
.registration-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}
.form-title {
    color: #2c3e50;
    margin-bottom: 50px;
    text-align: center ;
}
.form-check-label {
    font-size: 0.9rem;
}
.btn-register {
    background-color: #2c3e50;
    border: none;
    padding: 10px 30px;
}
.btn-register:hover {
    background-color: #34495e;
}



.is-valid {
    border-color: green;
}
.is-invalid {
    border-color: red;
}

.toast-body {
    padding: 1.5rem; /* Increase or decrease padding as needed */
}


.toast {
  position: fixed;
  top: 90px !important;
  right: 20px;
  width: 200px;
  height: 50px; /* Increased width for the toast */
  padding: 10px;
  background-color: red;
  color: white;
  border-radius: 5px;
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.toast.show {
  display: block;
  opacity: 1;
}

/* Progress bar inside the toast */
.progress-bar {
  height: 5px;
  background-color: white;
  width: 100%;
  transition: width 5s linear; /* Makes the bar shrink over 5 seconds */
}