/* --- ADAPTIVE ACRONYM VIEW TABS (Full Component) --- */
.acronym-view-container {
    /* Adjust size of the outer container */
    max-width: 263px; /* Increased for 3 tabs (80*3 + padding) */
    width: 90%;       /* Make it responsive up to max-width */
    /* margin: 0 auto;   Center the container horizontally on the page */
    margin-bottom: 5px;
    padding: 3px;
}

.acronym-view-tabs {
  display: flex;
  position: relative;
  background-color: #fff;
  /* Adjust box shadow for potential Dark Mode contrast if needed */
  box-shadow: 0 0 1px 0 rgba(24, 94, 224, 0.15), 0 6px 12px 0 rgba(24, 94, 224, 0.15);
  padding: 0.5rem;
  border-radius: 99px;
}

.acronym-view-tabs * {
  z-index: 2;
}

.acronym-view-container input[type="radio"] {
  display: none;
}

.tab {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 25px;
  width: 80px; /* <--- NEW WIDTH */
  font-size: .8rem;
  color: black;
  font-weight: 500;
  border-radius: 99px;
  cursor: pointer;
  transition: color 0.15s ease-in;
}

.notification {
  display: flex;
  align-items: center;
  justify-content: center;
  width: .8rem;
  height: .8rem;
  position: absolute;
  top: 10px;
  /* LEFT POSITION ADJUSTED FOR NEW TAB WIDTH (approximate center for the first tab) */
  left: calc(50% - 40px); 
  font-size: 10px;
  margin-left: 0.75rem;
  border-radius: 50%;
  margin: 0px;
  background-color: #e6eef9;
  transition: 0.15s ease-in;
}

.acronym-view-container input[type="radio"]:checked + label {
  color: #185ee0;
}

.acronym-view-container input[type="radio"]:checked + label > .notification {
  background-color: #185ee0;
  color: #8796a5;
  margin: 0px;
}

/* --- GLIDER MOVEMENT (ADJUSTED FOR 80PX WIDTH) --- */

.acronym-view-container input[id="radio-1"]:checked ~ .glider {
  transform: translateX(0);
}

.acronym-view-container input[id="radio-2"]:checked ~ .glider {
  transform: translateX(80px);
}

.acronym-view-container input[id="radio-3"]:checked ~ .glider {
  transform: translateX(160px); /* Movement for the 3rd tab */
}

.glider {
  position: absolute;
  display: flex;
  height: 25px;
  width: 80px; /* <--- NEW WIDTH */
  background-color: #e6eef9;
  z-index: 1;
  border-radius: 99px;
  transition: 0.25s ease-out;
}

/* --- DARK MODE STYLES --- */

[data-bs-theme="dark"] .acronym-view-tabs {
  background-color: #343a40; /* Dark background for the tab container */
  box-shadow: 0 0 1px 0 rgba(255, 255, 255, 0.05), 0 6px 12px 0 rgba(255, 255, 255, 0.05); /* Faint white glow for depth */
}

[data-bs-theme="dark"] .tab {
  color: #adb5bd; /* Lighter text for unselected tabs */
}

[data-bs-theme="dark"] .acronym-view-container input[type="radio"]:checked + label {
  color: #ffffff; /* White text for the selected tab */
}

[data-bs-theme="dark"] .glider {
  background-color: #0d6efd; /* Use Bootstrap's primary blue for the slider */
}



/* --- MEDIA QUERY --- */

@media (max-width: 700px) {
  
  .acronym-view-container {
    /* Adjust the container's max-width for three smaller tabs */
    max-width: 225px; /* (70*3 + padding) */
  }

  .acronym-view-tabs {
    /* Instead of scaling, adjust properties for smaller screens */
    padding: 0.3rem;
  }

  .tab {
    /* Reduce size and font for smaller screens */
    height: 22px;
    width: 70px;
    font-size: 0.7rem;
  }

  .glider {
    /* Adjust glider to match the new tab dimensions */
    height: 22px;
    width: 70px;
  }

  .acronym-view-container input[id="radio-2"]:checked ~ .glider {
    transform: translateX(70px);
  }
  .acronym-view-container input[id="radio-3"]:checked ~ .glider {
    transform: translateX(140px);
  }
}

/* .acronym-view-tabs {
  display: flex;
  position: relative;
  background-color: #fff;
  box-shadow: 0 0 1px 0 rgba(24, 94, 224, 0.15), 0 6px 12px 0 rgba(24, 94, 224, 0.15);
  padding: 0.75rem;
  border-radius: 99px;
}

.acronym-view-tabs * {
  z-index: 2;
}

.acronym-view-container input[type="radio"] {
  display: none;
}

.tab {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  width: 50px;
  font-size: .8rem;
  color: black;
  font-weight: 500;
  border-radius: 99px;
  cursor: pointer;
  transition: color 0.15s ease-in;
}

.notification {
  display: flex;
  align-items: center;
  justify-content: center;
  width: .8rem;
  height: .8rem;
  position: absolute;
  top: 10px;
  left: 30%;
  font-size: 10px;
  margin-left: 0.75rem;
  border-radius: 50%;
  margin: 0px;
  background-color: #e6eef9;
  transition: 0.15s ease-in;
}

.acronym-view-container input[type="radio"]:checked + label {
  color: #185ee0;
}

.acronym-view-container input[type="radio"]:checked + label > .notification {
  background-color: #185ee0;
  color: #fff;
  margin: 0px;
}

.acronym-view-container input[id="radio-1"]:checked ~ .glider {
  transform: translateX(0);
}

.acronym-view-container input[id="radio-2"]:checked ~ .glider {
  transform: translateX(100%);
}


.glider {
  position: absolute;
  display: flex;
  height: 30px;
  width: 50px;
  background-color: #e6eef9;
  z-index: 1;
  border-radius: 99px;
  transition: 0.25s ease-out;
}

@media (max-width: 700px) {
 
  .acronym-view-tabs {
    transform: scale(0.6);
  }
} */