/* WOLKO 공용 날짜 달력 — 둥글둥글한 팝업 + 날짜 입력칸 아이콘 */
input[data-datepick] {
  cursor: pointer; caret-color: transparent; padding-right: 34px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237a8b93' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='4'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center;
}
.wl-cal {
  position: fixed; z-index: 10000; width: 304px; max-width: calc(100vw - 16px); padding: 16px 16px 12px;
  border-radius: 24px; background: #fff; border: 1px solid #dbe6ec;
  box-shadow: 0 22px 54px rgba(10, 45, 60, .24), 0 2px 10px rgba(10, 45, 60, .08);
  font-family: 'Noto Sans KR', -apple-system, sans-serif; color: #102936; user-select: none;
  animation: wlCalIn .18s cubic-bezier(.22, 1, .36, 1);
}
.wl-cal[hidden] { display: none; }
@keyframes wlCalIn { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .wl-cal { animation: none; } }
.wl-cal-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.wl-cal-title { flex: 1; text-align: center; font: 800 15px/1 'Noto Sans KR', sans-serif; letter-spacing: -.01em; }
.wl-cal-nav {
  width: 34px; height: 34px; min-height: 34px !important; padding: 0; border: 0; border-radius: 50%;
  background: #eef5f8; color: var(--blue, #004f68); font-size: 18px; line-height: 1; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; transition: background .15s;
}
.wl-cal-nav:hover { background: #dcebf1; }
.wl-cal-week, .wl-cal-days { display: grid; grid-template-columns: repeat(7, 1fr); }
.wl-cal-week span { text-align: center; padding: 6px 0; font: 700 11px/1 'Noto Sans KR', sans-serif; color: #8aa0aa; }
.wl-cal-week span:first-child { color: #c4574f; }
.wl-cal-day {
  height: 38px; min-height: 38px !important; margin: 1px auto; width: 38px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: #102936; font: 600 13.5px/1 'Noto Sans KR', sans-serif; cursor: pointer;
  transition: background .12s, color .12s, transform .12s;
}
.wl-cal-day:hover { background: #e6f1f6; }
.wl-cal-day.out { color: #b9c7ce; }
.wl-cal-day.sun { color: #c4574f; }
.wl-cal-day.out.sun { color: #e1b9b6; }
.wl-cal-day.cur { background: #f1f7fa; }
.wl-cal-day.today { box-shadow: inset 0 0 0 1.8px var(--blue, #004f68); font-weight: 800; }
.wl-cal-day.sel { background: var(--blue, #004f68); color: #fff !important; font-weight: 800; box-shadow: 0 6px 14px rgba(0, 79, 104, .3); transform: scale(1.04); }
.wl-cal-foot { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px solid #edf2f5; }
.wl-cal-foot button {
  min-height: 34px !important; padding: 0 16px; border: 0; border-radius: 999px; background: #eef5f8;
  color: var(--blue, #004f68); font: 800 12.5px/1 'Noto Sans KR', sans-serif; cursor: pointer; transition: background .15s;
}
.wl-cal-foot button:hover { background: #dcebf1; }
.wl-cal button:focus-visible { outline: 2px solid var(--blue, #004f68); outline-offset: 2px; }
.wl-cal-title .wl-cal-sel { height: 32px; margin: 0 2px; padding: 0 6px; border: 1px solid #dbe6ec; border-radius: 10px; background: #fff; color: #102936; font: 800 14px/1 'Noto Sans KR', sans-serif; cursor: pointer; }
.wl-cal-title .wl-cal-sel:focus { outline: 2px solid #0d9488; outline-offset: 1px; }
.wl-cal-backdrop { position: fixed; inset: 0; z-index: 9999; background: rgba(5, 18, 28, .45); animation: wlCalFade .18s ease-out; }
.wl-cal-backdrop[hidden] { display: none; }
@keyframes wlCalFade { from { opacity: 0; } to { opacity: 1; } }
/* 가운데 달력은 위치를 JS 가 정확히 잡으므로 이동·확대 애니메이션 없이 부드럽게 나타나기만 한다 */
.wl-cal.wl-cal-center { animation: wlCalFade .18s ease-out; }
