/* 日期 / 月份选择器(bootstrap-report-datepicker.js)的完整样式：
 * 后台页面在 bootstrap-adapter.css 之后加载；系统概览等独立页面单独加载此文件。 */
.brdp-popup{position:fixed;z-index:3000;width:286px;max-width:calc(100vw - 20px);box-sizing:border-box;padding:.75rem;border:1px solid #c9d9e4;border-radius:.5rem;background:#fff;box-shadow:0 .5rem 1.25rem rgba(23,50,77,.2);color:#17324d;font:13px/1.5 "Microsoft YaHei",Arial,sans-serif}
.brdp-popup *{box-sizing:border-box}
.brdp-header,.brdp-footer{display:flex;align-items:center;justify-content:space-between;gap:.5rem}
.brdp-header{padding-bottom:.6rem;border-bottom:1px solid #e5eef3}
.brdp-header strong{flex:1;text-align:center;font-size:.95rem}
.brdp-popup .brdp-header button,.brdp-popup .brdp-footer button{width:auto;height:auto;min-height:30px;margin:0;padding:.2rem .55rem;border:1px solid #c9d9e4;border-radius:.3rem;background:#fff;color:#176486;font:inherit;cursor:pointer;box-shadow:none}
.brdp-popup .brdp-header button{width:32px;font-size:1.25rem;line-height:1}
.brdp-popup .brdp-header button:hover,.brdp-popup .brdp-footer button:hover{border-color:#0d9dcc;background:#eaf6fb}
.brdp-week,.brdp-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:.2rem}
.brdp-week{padding:.5rem 0 .25rem;color:#6a8292;font-size:.78rem;text-align:center}
.brdp-days{padding-bottom:.6rem}
.brdp-popup .brdp-days>button.brdp-day{width:100%;min-width:0;max-width:100%;min-height:30px;margin:0;padding:.2rem 0;border:1px solid transparent;border-radius:.3rem;background:#fff;color:#17324d;text-align:center;cursor:pointer;box-shadow:none}
.brdp-popup .brdp-days>button.brdp-day:hover{border-color:#71c8e5;background:#eaf6fb}
.brdp-popup .brdp-days>button.brdp-selected{border-color:#0d9dcc;background:#0d9dcc;color:#fff}
.brdp-empty{min-height:30px}
.brdp-footer{padding-top:.55rem;border-top:1px solid #e5eef3}
.brdp-popup .brdp-footer .brdp-today{border-color:#0d9dcc;background:#0d9dcc;color:#fff}
.brdp-popup .brdp-footer .brdp-today:hover{background:#0b8ab3;color:#fff}

/* 月份模式：4 列 × 3 行 */
.brdp-month-popup{width:262px}
.brdp-months{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.35rem;padding:.65rem 0}
.brdp-popup .brdp-months>button.brdp-month{width:100%;min-width:0;height:auto;min-height:34px;margin:0;padding:.25rem 0;border:1px solid transparent;border-radius:.35rem;background:#fff;color:#17324d;font:inherit;text-align:center;cursor:pointer;box-shadow:none}
.brdp-popup .brdp-months>button.brdp-month:hover{border-color:#71c8e5;background:#eaf6fb}
.brdp-popup .brdp-months>button.brdp-current{border-color:#bfe3f0;color:#0d7fa6;font-weight:600}
.brdp-popup .brdp-months>button.brdp-selected{border-color:#0d9dcc;background:#0d9dcc;color:#fff}

/* 替换后的原生日期框：保持可读宽度 */
input.brdp-input{cursor:pointer}
