/* Public booking enrollment — availability picker */
.bk-enroll {
  margin: 10px 0 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.25);
}

.bk-enroll-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 10px;
}

.bk-enroll-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bk-enroll-legend i {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  display: inline-block;
}

.bk-enroll-legend .lg-open i { background: rgba(46, 160, 67, 0.55); }
.bk-enroll-legend .lg-busy i { background: rgba(200, 50, 50, 0.45); }
.bk-enroll-legend .lg-deploy i { background: rgba(210, 130, 20, 0.5); }
.bk-enroll-legend .lg-off i { background: rgba(80, 80, 80, 0.4); }

.bk-enroll-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.bk-enroll-nav button {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: inherit;
  border-radius: 4px;
  padding: 4px 10px;
  cursor: pointer;
  font-size: 14px;
}

.bk-enroll-nav button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.bk-enroll-month-title {
  font-size: 13px;
  font-weight: 600;
}

.bk-enroll-dow {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  font-size: 10px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 4px;
}

.bk-enroll-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.bk-enroll-day {
  aspect-ratio: 1;
  min-height: 32px;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  cursor: default;
  background: rgba(80, 80, 80, 0.25);
  color: rgba(255, 255, 255, 0.35);
}

.bk-enroll-day--pad {
  visibility: hidden;
  pointer-events: none;
}

.bk-enroll-day--open {
  background: rgba(46, 160, 67, 0.28);
  color: #b8f0c0;
  cursor: pointer;
}

.bk-enroll-day--open:hover {
  filter: brightness(1.1);
}

.bk-enroll-day--busy {
  background: rgba(200, 50, 50, 0.35);
  color: #ffb0b0;
}

.bk-enroll-day--deploy {
  background: rgba(210, 130, 20, 0.35);
  color: #f0d080;
}

.bk-enroll-day--selected {
  box-shadow: inset 0 0 0 2px #7ee787;
  font-weight: 700;
}

.bk-enroll-selected {
  font-size: 12px;
  margin: 10px 0 6px;
  color: rgba(255, 255, 255, 0.8);
}

.bk-enroll-dates-input {
  width: 100%;
  margin-top: 4px;
}

.bk-enroll-loading {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  padding: 8px 0;
}

@media (max-width: 520px) {
  .bk-enroll-day {
    min-height: 28px;
    font-size: 11px;
  }
}
