/* ═══════════════════════════════════════════════════════════
   NP2 Print Date Picker — Multi-Month
   ═══════════════════════════════════════════════════════════ */

.pdp-widget.pdp-multi {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    overflow: hidden;
    max-width: 100%;
}

/* ─── Top Bar ───────────────────────────────────────────── */

.pdp-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.pdp-top-title {
    font-weight: 700;
    font-size: 14px;
    color: #374151;
}

/* ─── Month Row ─────────────────────────────────────────── */

.pdp-months-row {
    display: flex;
    gap: 0;
}

.pdp-month-panel {
    flex: 1;
    min-width: 0;
    padding: 8px 10px;
    border-right: 1px solid #f3f4f6;
}

.pdp-month-panel:last-child {
    border-right: none;
}

/* ─── Month Header ──────────────────────────────────────── */

.pdp-month-label {
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    color: #111827;
    padding: 4px 0 6px;
}

/* ─── Nav Buttons ───────────────────────────────────────── */

.pdp-nav-btn {
    width: 32px;
    height: 32px;
    border: 1.5px solid #d1d5db;
    border-radius: 6px;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: all 0.15s;
}

.pdp-nav-btn:hover {
    background: #eff6ff;
    color: #2563eb;
    border-color: #93c5fd;
}

/* ─── Day Names ─────────────────────────────────────────── */

.pdp-day-names {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 10px;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 2px 0;
}

/* ─── Calendar Grid ─────────────────────────────────────── */

.pdp-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    padding: 2px 0;
}

.pdp-cell {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 500;
    color: #d1d5db;
    position: relative;
    transition: all 0.1s;
}

.pdp-empty {
    visibility: hidden;
}

.pdp-available {
    color: #111827;
    background: #f0fdf4;
    cursor: pointer;
    border: 1.5px solid #bbf7d0;
}

.pdp-available:hover {
    background: #dcfce7;
    border-color: #4ade80;
    transform: scale(1.08);
}

.pdp-selected {
    background: #2563eb !important;
    color: white !important;
    border-color: #1d4ed8 !important;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(37, 99, 235, 0.3);
}

.pdp-selected:hover {
    background: #1d4ed8 !important;
    transform: scale(1.08);
}

.pdp-today {
    box-shadow: inset 0 0 0 2px #f59e0b;
}

.pdp-past {
    color: #e5e7eb;
    cursor: default;
}

.pdp-excluded {
    color: #dc2626;
    background: #fef2f2;
    text-decoration: line-through;
    cursor: help;
    border: 1px dashed #fca5a5;
}

.pdp-unavailable {
    color: #f3f4f6;
    cursor: default;
}

.pdp-day-num {
    position: relative;
    z-index: 1;
}

/* ─── Controls ──────────────────────────────────────────── */

.pdp-controls {
    padding: 10px 14px;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
}

.pdp-run-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #374151;
    flex-wrap: wrap;
}

.pdp-run-controls input {
    padding: 4px 8px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 13px;
    font-family: inherit;
    text-align: center;
}

.pdp-selected-count {
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #2563eb;
}

/* ─── Selected Date Tags ────────────────────────────────── */

.pdp-selected-list {
    padding: 0 14px 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.pdp-selected-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    color: #1d4ed8;
}

.pdp-remove-date {
    border: none;
    background: none;
    cursor: pointer;
    color: #dc2626;
    font-size: 14px;
    font-weight: bold;
    padding: 0 2px;
    line-height: 1;
}

.pdp-selected-summary {
    font-size: 12px;
    color: #374151;
    font-weight: 500;
}

/* ─── Responsive ────────────────────────────────────────── */

@media (max-width: 779px) {
    .pdp-month-panel {
        padding: 6px 8px;
    }
    .pdp-cell {
        font-size: 11px;
    }
}

@media (max-width: 519px) {
    .pdp-months-row {
        flex-direction: column;
    }
    .pdp-month-panel {
        border-right: none;
        border-bottom: 1px solid #f3f4f6;
    }
    .pdp-month-panel:last-child {
        border-bottom: none;
    }
}