.custom-toolbar {
  --background: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.search-bar {
  padding: 10px;
  width: 100%;
}

.custom-searchbar {
  --background: #ffffff;
  --border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.header {
  height: 80px;
  margin-top: -10px;
}

.knowledge {
  height: 100%;
  width: 100%;
}

.content {
  margin-top: -5px;
  width: 100%;
}

ion-card {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

ion-card-content {
  font-size: 1.2em;
  width: 100%;
  height: auto;
}

.carousel-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
}

.slide img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 12px;
  border: none;
  cursor: pointer;
  border-radius: 50%;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  background: #bbb;
  border-radius: 50%;
  cursor: pointer;
}

.dot.active {
  background: #717171;
}

.no-results {
  text-align: center;
  margin: 50px auto;
}

.bottom-modal {
  --height: 100vh;
  --width: 100%;
  --offset-y: 0;
}

.share-modal {
  --height: 30vh;
  --width: 100%;
  --offset-y: 0;
}

.modal-content {
  padding: 20px;
}

.image-container {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.medicine-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.stats {
  display: flex;
  justify-content: space-between;
  margin: 20px 30px;
}

ion-footer ion-item {
  display: flex;
  align-items: center;
}

ion-footer ion-input {
  flex: 1;
  margin-right: 10px;
}