/* General styles for the sidebar */
.sidehoverbar {
    position: fixed;
    font-size: 18px;
    z-index: 9;
    overflow: visible;
    transition: 0.5s; /* Smooth transition for hover effects */
}

/* Styles for Arabic sidebar */
.ArabicHoverSidebar {
    right: 0px; /* Adjusted for Arabic */
    direction: rtl; /* RTL for Arabic */
}

/* Styles for English sidebar */
.EnglishHoverSidebar {
    left: 0px; /* Adjusted for English */
    direction: ltr; /* LTR for English */
}

/* General styles for each box in the sidebar */
.right-box {
    padding: 10px;
    display: block;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.75);
	box-shadow: 0px 8px 35px 1px rgba(0, 0, 0, 0.75);
    }

.hover-text {
  display: none; /* Hidden by default */
  position: absolute;
  left: 100%; /* Position to the right of <a> */
  transform: translateY(-100%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  white-space: nowrap; /* Prevent text wrapping */
  z-index: 10;
}
.ArabicHoverSidebar .hover-text{
	right:100%;
	left:auto;
}

.right-box:hover + .hover-text {
  display: inline-block; /* Show text on hover */
}
