.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px; /* optional spacing */
  height: 50px;
  margin-bottom: -50px;
}

.segmented {
  border-radius: 10px;
  padding: 5px;
  width: fit-content !important;
  margin-block: auto;
}

.segmented button {
  background: none;
  border: none;
  padding: 10px 10px 13px 10px;
  color: #666;
  font-size: 1em;
  transition: all 0.3s ease;
  cursor: pointer;
  border-radius: 10px;
  margin: 0px 1px;
}
.segmented button svg {
  height: 24px;
  margin-bottom: -5px;
}
.segmented button.active {
  background: #f19b1a;
  font-weight: bold;
}

.segmented button .mode-icon {
  color: #a0a1a5; /* or any color you want */
}

.segmented button.active .mode-icon {
  color: white; /* or any color you want */
}

.segmented button:not(.active):hover {
  background: #4e4f58;
}

.segmented button.active:hover {
  color: #f19b1a; /* or any color you want */
}
.display-screen-dropdown {
  padding-right: 4px;
  padding-top: 4px;
  border-radius: 10px;
  position: relative;
  width: 140px;
  text-align: right;
  color: white;
  font-family: "Almarai", sans-serif;
  cursor: pointer;
}

.display-screen-title {
  color: #aaa;
  font-size: 14px;
}

.display-screen-current {
  font-size: 16px;
  font-weight: bold;
  padding-top: 5px;
}

.display-screen-arrow {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s;
  font-size: 20px;
}

.display-screen-dropdown.open .display-screen-arrow {
  transform: translateY(0%);
}

.display-screen-options {
  display: none;
  background-color: #2b2c33;
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  z-index: 10;
  overflow: hidden;
}

.display-screen-dropdown.open .display-screen-options {
  display: block;
}

.display-screen-options div {
  padding: 12px 15px;
  border-top: 1px solid #444;
  cursor: pointer;
  position: relative; /* allow hint positioning */
}

.display-screen-options div:hover {
  background-color: #35363e;
}

/* Hint for external screen */
.display-screen-options .hint {
  font-size: 0.8em;
  color: #f19b1a;
  margin-bottom: 0px;
  margin-top: 5px;
}
