.hover-item:hover {
  background-color: rgba(var(--bs-secondary-rgb), 0.9);
}

.delete-chat {
  transition: all 0.1s ease-in;;
}



.hover-item:hover .delete-chat {
  opacity: 1 !important;
  margin-right: -20px;
}

.hover-item:hover i {
  color: #fff !important;
}

.hover-item .topic-chat {
  width: 100%;
  transition: all 0.1s ease-in;
}

.hover-item:hover .topic-chat {
  width: 85%;
}

.hover-item:hover .fade-effect {
  background: none ;
}

.fade-effect {
  position: absolute;
  top: 0;
  right: 0;
  width: 30px; /* Adjust the width as needed */
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(var(--bs-primary-rgb), 1));
  pointer-events: none; /* Prevent interference with the text clickability */
}

.active .fade-effect {
  background: none;
}


.nav-item.active {
  background-color: #464646;
}

.nav-heading {
  font-size: 0.875rem; /* Smaller than normal text */
  letter-spacing: 0.05em; /* Slight spacing for a polished look */
  font-weight: 700;
  margin-bottom: 0.5em;
}

#chatTextarea:focus {
  outline: none;
  box-shadow: none;
  border: none;
}

li + .active {
  background-color: rgba(var(--bs-secondary-rgb));
} 

.tes {
  transition: all 0.5s ease;
}

#mainPageContent {
  margin-left: 280px;
}

label span.text-danger {
  color: red;
  font-weight: bold;
}

#inputBox {
  transition: all 0.5s ease;
}

#environment-list li {
  border: solid 1px white;
  border-radius: 10px;
  transition: all 0.5s ease;
}

#environment-list li.selected {
  border: solid 2px rgba(var(--bs-success-rgb)) !important;
  font-weight: 700;
  background-color: rgba(var(--bs-info-rgb)) !important;
  color: rgba(var(--bs-success-rgb)) !important
}

#environment-list li button.active {
  border: solid 2px white !important;
  font-weight: 700;
  background-color: rgba(var(--bs-info-rgb)) !important;
  /* color: orange */
  /* text-shadow: orange 2px 2px; */
}


@media (max-width: 768px) {
  #sidebar {
    width: 0; /* Equivalent to adding the Bootstrap 'd-none' class */
  }

  #mainPageContent {
    margin-left: 0;
  }

  #outside-sidebar {
    display: block;
  }

  #outside-new {
    display:block;
  }
}

.verification-input {
  width: 40px; 
  text-align: center; 
  padding: 0.5rem; 
}

.form-control {
  border: 1px solid rgba(var(--bs-secondary-rgb), 0.5)
}

.right-icon { 
  transition: all 0.1s ease-in;
}
.back-hover:hover .right-icon {
  margin-left: 16px !important;
  margin-right: -4px !important;
  
}

.left-icon {
  transition: all 0.1s ease-in;
}

.back-hover:hover .left-icon {
  margin-left: -4px !important;
  margin-right: 16px !important;
  
}

.primary-button-hover {
  transition: all 0.2s ease-in;
}

.primary-button-hover:hover {
  background-color: white !important;
  color:  rgba(var(--bs-secondary-rgb))
}

.hover-account {
  transition: all 0.2s ease-in;
}

.hover-login {
  transition: all 0.2s ease-in;
}

.hover-login:hover {
  background-color: rgba(255,255,255, 0.6) !important;
}

.hover-account:hover {
  padding: 4px 12px !important;
  background-color: rgba(var(--bs-primary-rgb), 0.8) !important;
  cursor: pointer;
  /* margin-left: 10px !important; */
}

#drop-zone {
  /* border: 2px dashed #6c757d; */
  /* border-radius: 10px;
  padding: 15px;
  text-align: center; */
  transition: 0.3s;
}

#drop-zone.dragover {
  border: 2px dashed #6c757d;
  border-color: #0d6efd;
  /* background: rgba(13, 110, 253, 0.1); */
}

#uploadedFilePreview img {
  max-width: 100%;
  max-height: 200px;
  border-radius: 10px;
}

/* Set the size of the scrollbar */
::-webkit-scrollbar {
  width: 12px; /* Horizontal scrollbar width */
  height: 12px; /* Vertical scrollbar height */
}

/* Style the scrollbar track (background) */
::-webkit-scrollbar-track {
  background: rgba(var(--bs-secondary-rgb), 0.5); /* Light grey background for the track */
  border-radius: 10px; /* Rounded corners for the track */
}

#environment-list::-webkit-scrollbar-track {
  /* border: solid 1px white; */
  background: rgba(var(--bs-primary-rgb), 1);
}

#environment-list::-webkit-scrollbar-thumb {
  /* border: none; */
  background-color: rgba(var(--bs-info-rgb), 1);

}



/* Style the scrollbar thumb (draggable part) */
::-webkit-scrollbar-thumb {
  background-color: rgba(var(--bs-info-rgb), 0.8); /* Dark grey for the thumb */
  border-radius: 10px; 
  border: 1px solid black;
}

/* Style the thumb when hovered */
body::-webkit-scrollbar-thumb:hover {
  background-color: rgba(var(--bs-primary-rgb), 1);  /* Darker grey when hovered */
}

/* Optional: Style the corner where both scrollbars meet */
body::-webkit-scrollbar-corner {
  background: #f1f1f1;
}

/* Set the size of the scrollbar */
body::-webkit-scrollbar {
  width: 12px; /* Horizontal scrollbar width */
  height: 12px; /* Vertical scrollbar height */
}

/* Style the scrollbar track (background) */
body::-webkit-scrollbar-track {
  background: rgba(var(--bs-info-rgb), 0.5); /* Light grey background for the track */
  border-radius: 0px;
  border: solid 1px rgba(255,255,255,0.2)
}

/* Style the scrollbar thumb (draggable part) */
body::-webkit-scrollbar-thumb {
  background-color: rgba(var(--bs-primary-rgb), 1); /* Dark grey for the thumb */
  border-radius: 0px;
  
  border: 1px solid black;
}

/* Style the thumb when hovered */
body::-webkit-scrollbar-thumb:hover {
  background-color: rgba(var(--bs-primary-rgb), 1);  /* Darker grey when hovered */
}

/* Optional: Style the corner where both scrollbars meet */
body::-webkit-scrollbar-corner {
  background: #f1f1f1;
}



.weather-wrapper {
  text-align: center;

  color: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  max-width: 400px;
}

.weather-container {
  animation: fadeIn 1s ease-in-out;
}

.weather-info {
  display: flex;
  align-items: center;
  justify-content: center;
  /* gap: 12px; */
}

.weather-icon {
  width: 80px;
  height: 80px;
}

.weather-temp {
  font-weight: bold;
}

.weather-description {
  font-style: italic;
}

.weather-extra {
  margin-top: 10px;
}

.loading {
  animation: pulse 1.5s infinite;
}

.error-message {
  color: #ff3b3b;
  font-weight: bold;
}

/* Fade-in animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Loading animation */
@keyframes pulse {
  0% { opacity: 0.5; }
  50% { opacity: 1; }
  100% { opacity: 0.5; }
}

#settingProfileImage {
  width: 100%; 
  max-width: 130px;
  height: auto;
  max-height: 130px;
  aspect-ratio: 1 / 1; 
  object-fit: cover; 
  border: 3px solid #ffffff;
}