.home-banner{
  background-image: url('../../images/2148931127.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.banner-overlay{
  background-color: rgb(0, 0, 0, 0.6);
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bg-color{
  background-color: #1E3A8A;
  color: white;
}
.custom-bg{
  background-color: #FF6600;
}
.styling{
  border-top: 4px solid #FF6600;
  background-color: rgba(255, 102, 0, 0.1)
}
.text-size{
  font-size: 100%;
}
.custom-radius{
  border-radius: 30px;
}
.form-bg{
  background-color: #002B36;
  color: white;
}
.height{
  height: 30rem;
  overflow-y: scroll;
}
.btn-custom{
  background-color: #3B82F6;
  color: #fff;
}
.btn-custom:hover{
  background-color: #FF6600;
  color: #fff;
}
.c-fs{
  font-size: 12px;
}
.c-border{
  border-left: 1px solid grey;
}

/*::-webkit-scrollbar {
  background: none;
  width: 5px;
}

 ::-webkit-scrollbar-thumb {
  background: #004AAD;
  border-radius: 10px;
}*/

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #aaa;
}

.toggle-password:hover {
    color: #333;
}

.nl-border{
  border-left: 1px solid white;
}

.file-upload {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.file-upload input[type="file"] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.file-upload label {
  cursor: pointer;
}

.file-name {
  margin-top: 10px;
  font-size: 14px;
  color: #333;
}

.image-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.image-preview div {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 50px;
  overflow: hidden;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media only screen and (max-width: 700px){
  .banner-overlay{
    height: 30vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .text-size{
    font-size: 12px;
  }
  .nl-border{
    border: none;
    border-top: 1px solid white;
  }
  .c-border{
    border: none;
    border-top: 1px solid grey;
  }
}
/*for ipads*/
@media only screen and (min-width: 768px) and (max-width: 1366px) and (orientation: portrait){
  .banner-overlay{
    height: 30vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.auto-grow-scroll{
  max-height: 250px;
  overflow-y: auto;
}

.scroll-container {
    overflow: auto;       /* Enables scrolling */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */

    /* Optional: for smoother experience */
    overscroll-behavior: contain;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.scroll-container::-webkit-scrollbar {
    display: none;
}


/*select.custom-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 10px 40px 10px 15px;
    font-size: 16px;
    border-radius: 5px;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="10"><polygon points="0,0 12,0 6,10" fill="%23777"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px 10px;
    width: 100%;
    max-width: 300px;
    cursor: pointer;
  }

  select.custom-select:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
  }*/









body {
  overflow-x: hidden;
}

.sidebar {
  width: 250px;
  transition: all 0.3s;
  z-index: 1050;
}

.sidebar.collapsed {
  width: 70px;
}

.sidebar .nav-link span {
  transition: opacity 0.3s, margin 0.3s;
}

.sidebar.collapsed .nav-link span {
  opacity: 0;
  margin-left: -9999px;
  width: 0;
}

.toggle-btn {
  cursor: pointer;
}

#mainContent {
  transition: margin-left 0.3s;
}

/* Mobile behavior */
@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
    position: fixed;
    height: 100vh;
  }

  .sidebar.mobile-open {
    transform: translateX(0);
  }

  #mainContent {
    margin-left: 0 !important;
  }
}
