/* ========================
   components.css
   Buttons, badges, icons, small reusable components
   ======================== */

/* Circular navigation buttons */
.nav-circle-btn.back,
.nav-circle-btn.forward {
    position: fixed;
    bottom: 20px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 1050;
}

/* Positioning for back and forward buttons */
.nav-circle-btn.back { left: 240px; }
.nav-circle-btn.forward { right: 20px; }

/* Version badge styles */
.version-badge {
  position: fixed;
  bottom: 8px;
  right: 12px;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.8rem;
  padding: 4px 8px;
  border-radius: 8px;
  cursor: default;
  z-index: 9999;
  transition: all 0.2s ease;
}

/* Hover effect for version badge */
.version-badge:hover {
  background-color: rgba(0, 0, 0, 0.85);
}

/* Popup for version details */
.version-popup {
  display: none;
  position: fixed;
  bottom: 35px;
  right: 12px;
  background: #222;
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
  max-width: 250px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  z-index: 10000;
}

/* Show popup on hover */
.version-badge:hover + .version-popup {
  display: block;
}

/* Teams progress indicator */
.teams-progress {
    justify-content: flex-start;
}

/* Individual step styles */
.teams-progress .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-right: 20px;
    color: #6c757d;
}

/* Active step styles */
.teams-progress .step.active {
    color: #0d6efd; /* Bootstrap primary */
}

/* Circle styles */
.teams-progress .step .circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 4px;
}

/* Active circle styles */
.teams-progress .step.active .circle {
    border-color: #0d6efd;
    background-color: #0d6efd;
    color: white;
}

/* Arrow styles */
.teams-progress .arrow {
    font-size: 20px;
    margin: 0 10px;
    color: #6c757d;
}

/* Active arrow styles */
.teams-progress .arrow.active {
    color: #0d6efd;
}

/* Multi-select selected options */
select[multiple] option:checked {
    background-color: #0d6efd; /* Bootstrap primary */
    color: #fff;
}

/* Disabled but selected (USER role) */
select[multiple] option:checked:disabled {
    background-color: #0d6efd;
    color: #fff;
    font-weight: 600;
}

select[multiple] option:hover {
    background-color: #cfe2ff;
    color: #000;
}
