/* 날짜 입력 달력 (js/fm_date.js) */
input.fm-date {
  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='%23667085' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; padding-right: 34px !important;
  font-variant-numeric: tabular-nums;
}
input.fm-date.fm-date-bad { border-color: #e33 !important; box-shadow: 0 0 0 2px rgba(238, 51, 51, .15) !important; }
.fmd-pop {
  position: absolute; z-index: 10000; width: 280px; padding: 12px; box-sizing: border-box;
  background: #fff; border: 1px solid #d0d7e2; border-radius: 10px; box-shadow: 0 10px 28px rgba(10, 20, 40, .18);
  font-family: 'Pretendard', '맑은 고딕', 'Malgun Gothic', sans-serif; font-size: 14px; color: #222; line-height: 1;
}
.fmd-pop button { font-family: inherit; cursor: pointer; }
.fmd-head { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.fmd-head select { flex: 1; height: 32px; padding: 0 6px; border: 1px solid #d0d7e2; border-radius: 6px; font-size: 14px; background: #fff; color: #222; }
.fmd-nav { width: 32px; height: 32px; border: 1px solid #d0d7e2; border-radius: 6px; background: #fff; font-size: 18px; color: #0a2a66; }
.fmd-nav:hover { background: #f1f5fa; }
.fmd-grid { width: 100%; border-collapse: collapse; table-layout: fixed; }
.fmd-grid th { padding: 6px 0; font-size: 12px; font-weight: 600; color: #667085; text-align: center; }
.fmd-grid th.sun, .fmd-grid .sun { color: #e33; }
.fmd-grid th.sat, .fmd-grid .sat { color: #2f6fd6; }
.fmd-grid td { padding: 1px; text-align: center; }
.fmd-grid td button, .fmd-grid td .off { display: block; width: 100%; height: 32px; line-height: 32px; border: 0; border-radius: 6px; background: none; font-size: 14px; color: #222; padding: 0; }
.fmd-grid td button.sun { color: #e33; }
.fmd-grid td button.sat { color: #2f6fd6; }
.fmd-grid td button:hover { background: #e8f3fc; }
.fmd-grid td button.today { box-shadow: inset 0 0 0 1px #33ccff; }
.fmd-grid td button.on { background: #0a2a66; color: #fff; font-weight: 700; }
.fmd-grid td .off { color: #c5cbd3; }
.fmd-foot { display: flex; justify-content: flex-end; gap: 6px; margin-top: 8px; padding-top: 8px; border-top: 1px solid #eef1f5; }
.fmd-foot button { height: 28px; padding: 0 12px; border: 1px solid #d0d7e2; border-radius: 6px; background: #fff; font-size: 13px; color: #344054; }
.fmd-foot button:first-child { border-color: #0a2a66; color: #0a2a66; font-weight: 600; }
.fmd-foot button:hover { background: #f1f5fa; }
