/* Schedule day click popup (formatEventDate.js).

   Clicking a day toggles its popup (one open at a time; the click
   handler manages the .abs-open class). Click-driven -- not hover -- so
   the buttons are actually reachable and there's no trail of cards as
   the cursor crosses dates. */

.abs-day-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.abs-day-pop {
  display: none;
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 400;
  min-width: 150px;
  padding: 8px;
  margin-bottom: 6px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.abs-day-wrap.abs-open .abs-day-pop {
  display: block;
}

.abs-day-pop-title {
  font-weight: 700;
  font-size: 12px;
  color: #03202e;
  text-align: center;
  margin-bottom: 4px;
}

.abs-day-btn {
  display: block;
  text-align: center;
  padding: 5px 10px;
  margin-top: 4px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  background: #03202e;
  color: #f6e3aa;
}

.abs-day-btn:hover {
  background: #0a3345;
}

.abs-day-btn-disabled {
  display: block;
  text-align: center;
  padding: 5px 10px;
  margin-top: 4px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  background: #d8d2c4;
  color: #8a8577;
  cursor: not-allowed;
}
