/* Bikram Sambat date picker (see assets/js/nepali-datepicker.js) */
.bsdp-field { cursor: pointer; background-color: #fff; }
.bsdp-field:disabled, .bsdp-field[readonly] { cursor: default; background-color: #e9ecef; }
.bsdp-datetime { display: flex; gap: .4rem; }
.bsdp-datetime .bsdp-field { flex: 1 1 auto; }
.bsdp-datetime .bsdp-time { flex: 0 0 120px; }

.bsdp-popup {
    display: none; position: fixed; z-index: 2000; width: 264px; padding: 8px;
    background: #fff; border: 1px solid #d5d9e0; border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .15); font-size: 13px; color: #212529;
}
.bsdp-head { display: flex; align-items: center; gap: 4px; margin-bottom: 6px; }
.bsdp-head select { flex: 1; min-width: 0; height: 28px; padding: 0 4px; border: 1px solid #ced4da; border-radius: 4px; font-size: 13px; background: #fff; }
.bsdp-nav { width: 28px; height: 28px; border: 0; border-radius: 4px; background: #f1f3f5; font-size: 18px; line-height: 1; cursor: pointer; }
.bsdp-nav:hover { background: #e2e6ea; }
.bsdp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.bsdp-dow { font-size: 11px; font-weight: 600; color: #6c757d; padding: 2px 0; }
.bsdp-day { height: 30px; border: 0; border-radius: 4px; background: transparent; cursor: pointer; font-size: 13px; color: inherit; }
.bsdp-day:hover:not(:disabled) { background: #e8f0fe; }
.bsdp-day:disabled { color: #c4c8cc; cursor: not-allowed; }
.bsdp-sat { color: #dc3545; }
.bsdp-now { box-shadow: inset 0 0 0 1px #007bff; }
.bsdp-selected, .bsdp-selected:hover:not(:disabled) { background: #007bff; color: #fff; }
.bsdp-foot { display: flex; justify-content: space-between; margin-top: 6px; border-top: 1px solid #eee; padding-top: 6px; }
.bsdp-foot button { border: 0; background: none; color: #007bff; cursor: pointer; font-size: 12px; padding: 2px 4px; }
.bsdp-foot button:hover { text-decoration: underline; }
