/* Nepali / English date picker */
.topbar-calendar-label {
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.04em;
}

.ndp-dropdown-host {
    position: absolute;
    z-index: 1055;
}

.ndp-dropdown {
    background: #fff;
    border: 1px solid #d7dde5;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    padding: 10px;
    width: 280px;
    font-size: 13px;
    color: #1f2937;
}

.ndp-mode-toggle {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
}

.ndp-mode-btn {
    flex: 1;
    border: 1px solid #d7dde5;
    background: #f8fafc;
    border-radius: 4px;
    padding: 4px 8px;
    font-weight: 600;
    cursor: pointer;
}

.ndp-mode-btn.active {
    background: #2e86c1;
    border-color: #2e86c1;
    color: #fff;
}

.ndp-mode-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.ndp-header {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 8px;
}

.ndp-nav,
.ndp-title {
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 4px;
}

.ndp-nav:hover,
.ndp-title:hover {
    background: #f1f5f9;
}

.ndp-title {
    flex: 1;
    font-weight: 600;
    text-align: center;
}

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

.ndp-weekday {
    text-align: center;
    font-size: 11px;
    color: #64748b;
    padding: 4px 0;
}

.ndp-day,
.ndp-month,
.ndp-year {
    border: 0;
    background: transparent;
    border-radius: 4px;
    height: 32px;
    cursor: pointer;
}

.ndp-day:hover:not(:disabled),
.ndp-month:hover,
.ndp-year:hover:not(:disabled) {
    background: #e8f1f8;
}

.ndp-day.ndp-selected,
.ndp-month.ndp-selected,
.ndp-year.ndp-selected {
    background: #2e86c1;
    color: #fff;
}

.ndp-day.ndp-today:not(.ndp-selected) {
    box-shadow: inset 0 0 0 1px #2e86c1;
}

.ndp-day.ndp-empty,
.ndp-year.ndp-disabled {
    visibility: hidden;
}

.ndp-months,
.ndp-years {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.ndp-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #eef2f7;
}

.ndp-today-btn,
.ndp-clear-btn {
    border: 0;
    background: transparent;
    color: #2e86c1;
    font-weight: 600;
    cursor: pointer;
    padding: 2px 4px;
}

.has-ndp {
    cursor: pointer;
    background-color: #fff;
}
