/* ======================================================
   Birthday Calendar Picker — shared component
   ====================================================== */

.bday-picker-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 11px 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(201,168,76,.15);
  border-radius: var(--radius);
  color: rgba(255,255,255,.4);
  font-size: .85rem;
  cursor: pointer;
  transition: all .2s;
  box-sizing: border-box;
}

.bday-picker-trigger:hover {
  border-color: rgba(201,168,76,.35);
  background: rgba(201,168,76,.04);
}

.bday-picker-trigger svg {
  color: rgba(201,168,76,.6);
  flex-shrink: 0;
}

.bday-picker-has-value {
  color: #fff;
  border-color: rgba(201,168,76,.3);
}

.bday-calendar {
  display: none;
  background: rgba(10,10,16,.98);
  border: 1px solid rgba(201,168,76,.18);
  border-radius: var(--radius);
  padding: 12px;
  margin-top: 6px;
}

.bday-calendar-open {
  display: block;
}

.bday-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.bday-cal-title {
  font-size: .85rem;
  font-weight: 600;
  color: rgba(201,168,76,.9);
}

.bday-cal-arrow {
  background: none;
  border: 1px solid rgba(201,168,76,.15);
  color: rgba(201,168,76,.7);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .15s;
  padding: 0;
  line-height: 1;
}

.bday-cal-arrow:hover {
  background: rgba(201,168,76,.1);
  border-color: rgba(201,168,76,.3);
  color: #c9a84c;
}

.bday-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 4px;
}

.bday-cal-weekdays span {
  font-size: .65rem;
  color: rgba(201,168,76,.45);
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 4px 0;
}

.bday-cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.bday-cal-empty {
  aspect-ratio: 1;
}

.bday-cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid transparent;
  border-radius: 50%;
  color: rgba(255,255,255,.7);
  font-size: .78rem;
  cursor: pointer;
  transition: all .15s;
  padding: 0;
}

.bday-cal-day:hover {
  background: rgba(201,168,76,.1);
  border-color: rgba(201,168,76,.25);
  color: #fff;
}

.bday-cal-selected {
  background: rgba(201,168,76,.2) !important;
  border-color: rgba(201,168,76,.5) !important;
  color: #c9a84c !important;
  font-weight: 600;
}

.bday-cal-disabled {
  color: rgba(255,255,255,.12) !important;
  cursor: default;
  pointer-events: none;
}

.bday-cal-footer {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(201,168,76,.08);
}

.bday-cal-footer select {
  flex: 1;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(201,168,76,.12);
  color: rgba(255,255,255,.7);
  padding: 6px 8px;
  border-radius: var(--radius);
  font-size: .75rem;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='rgba(201,168,76,0.4)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 6px center;
  padding-right: 20px;
}

.bday-cal-footer select:focus {
  outline: none;
  border-color: rgba(201,168,76,.3);
}

.bday-cal-footer select option {
  background: #0a0a10;
  color: #fff;
}
