/*
 * dn_datepicker — T3/T4(SBsouvenir) 달력 디자인 재현 (Blade+jQuery 스택용 자작 위젯)
 * 파일럿: 입점예약관리 화면 전용. 전역 적용 아님.
 */
.dn-dp-popup {
    position: absolute;
    z-index: 9999;
    width: 240px;
    padding: 8px;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    user-select: none;
    box-sizing: border-box;
    font-family: inherit;
}
.dn-dp-popup * { box-sizing: border-box; }

/* 인라인(펼침) 달력 — 팝업과 동일 카드 룩, 위치는 문서 흐름 */
.dn-dp-inline {
    display: block;
    position: static;
    width: 100%;
    max-width: 280px;
    padding: 8px;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    user-select: none;
    box-sizing: border-box;
}
.dn-dp-inline * { box-sizing: border-box; }

/* 헤더: [◀ 2026 ▶]  [◀ 6월 ▶] */
.dn-dp-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}
.dn-dp-nav {
    display: flex;
    align-items: center;
    gap: 2px;
}
.dn-dp-navbtn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    background: #fff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}
.dn-dp-navbtn:hover { background: #f3f4f6; }
.dn-dp-label {
    font-size: 14px;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
}
.dn-dp-label--year { min-width: 48px; }
.dn-dp-label--month { min-width: 36px; }

/* 요일 헤더 */
.dn-dp-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 2px;
}
.dn-dp-weekday {
    font-size: 11px;
    font-weight: 600;
    color: #9ca3af;
    padding: 4px 0;
}

/* 날짜 그리드 */
.dn-dp-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    text-align: center;
}
.dn-dp-day {
    font-size: 13px;
    padding: 5px 0;
    border-radius: 6px;
    cursor: pointer;
    color: #374151;
    background: transparent;
}
.dn-dp-day:hover { background: #f3f4f6; }
.dn-dp-day--empty { cursor: default; }
.dn-dp-day--empty:hover { background: transparent; }
.dn-dp-day--today {
    background: #eef2ff;
    color: #4f46e5;
    font-weight: 700;
}
.dn-dp-day--today:hover { background: #eef2ff; }
.dn-dp-day--selected,
.dn-dp-day--selected:hover {
    background: #4f46e5;
    color: #fff;
    font-weight: 700;
}
.dn-dp-day--disabled,
.dn-dp-day--disabled:hover {
    color: #d1d5db;
    cursor: not-allowed;
    background: transparent;
    opacity: 0.5;
}
