/* Системні поля вводу v2: календар, час і випадаючий список замість браузерних.
   Нативні input[type=date|time] і select лишаються в DOM (приховані) — вони
   тримають значення й далі шлють подію change, тож логіка сторінок не змінюється. */
body.v2 .v2-pick {
  display: inline-flex; align-items: center; gap: 8px; box-sizing: border-box;
  width: 100%; height: 32px; padding: 0 10px 0 12px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.08); background: #0f1219; color: #e8eaf0;
  font: 500 12.5px 'Manrope', sans-serif; cursor: pointer; text-align: left;
}
body.v2 .v2-pick:hover { border-color: rgba(255,255,255,.16); }
body.v2 .v2-pick.open { border-color: rgba(156,39,176,.6); }
body.v2 .v2-pick .v { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.v2 .v2-pick .v.ph { color: #4a5568; }
body.v2 .v2-pick .ic { font-size: 11px; color: #667085; flex: 0 0 auto; }
body.v2 .v2-pick:disabled { opacity: .5; cursor: default; }

body.v2 .v2-pop {
  position: fixed; z-index: 200; min-width: 180px; padding: 10px;
  background: #171b24; border: 1px solid rgba(255,255,255,.10); border-radius: 12px;
  box-shadow: 0 18px 44px rgba(0,0,0,.55); color: #e8eaf0; font-family: 'Manrope', sans-serif;
}

/* календар */
body.v2 .v2-pop .pk-head { display: flex; align-items: center; height: 24px; margin-bottom: 4px; }
body.v2 .v2-pop .pk-head button { border: 0; background: transparent; color: #98a2b3; font-size: 14px; line-height: 1; cursor: pointer; width: 22px; padding: 0; }
body.v2 .v2-pop .pk-head button:hover { color: #e8eaf0; }
body.v2 .v2-pop .pk-head .m { flex: 1; text-align: center; font-size: 12px; font-weight: 600; color: #e8eaf0; }
body.v2 .v2-pop .pk-grid { display: grid; grid-template-columns: repeat(7, 36px); }
body.v2 .v2-pop .pk-grid .wd { height: 20px; font-size: 9.5px; color: #667085; text-align: center; line-height: 20px; }
body.v2 .v2-pop .pk-grid .d { height: 28px; line-height: 28px; font-size: 11.5px; color: #c9d1e0; text-align: center; cursor: pointer; position: relative; }
body.v2 .v2-pop .pk-grid .d span { position: relative; z-index: 1; }
body.v2 .v2-pop .pk-grid .d.we { color: #8a93a5; }
body.v2 .v2-pop .pk-grid .d.out { color: #4a5568; }
body.v2 .v2-pop .pk-grid .d:hover::before { content: ''; position: absolute; left: 3px; right: 3px; top: 2px; bottom: 2px; border-radius: 7px; background: rgba(255,255,255,.06); }
body.v2 .v2-pop .pk-grid .d.today { color: #e9b6f5; }
body.v2 .v2-pop .pk-grid .d.sel::before { content: ''; position: absolute; left: 3px; right: 3px; top: 2px; bottom: 2px; border-radius: 7px; background: rgba(156,39,176,.55); }
body.v2 .v2-pop .pk-grid .d.sel { color: #fff; font-weight: 600; }
body.v2 .v2-pop .pk-foot { display: flex; gap: 8px; margin-top: 8px; }
body.v2 .v2-pop .pk-foot button {
  flex: 1; height: 26px; border-radius: 7px; border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.05); color: #98a2b3; font: 600 11.5px 'Manrope', sans-serif; cursor: pointer;
}
body.v2 .v2-pop .pk-foot button:hover { color: #e8eaf0; }

/* списки: час і select */
body.v2 .v2-pop .pk-list { max-height: 244px; overflow: auto; margin: -2px; padding: 2px; }
body.v2 .v2-pop .pk-opt {
  height: 30px; display: flex; align-items: center; gap: 8px; padding: 0 10px; border-radius: 7px;
  font-size: 12.5px; color: #c9d1e0; cursor: pointer; white-space: nowrap;
}
body.v2 .v2-pop .pk-opt:hover { background: rgba(255,255,255,.06); color: #e8eaf0; }
body.v2 .v2-pop .pk-opt.on { background: rgba(156,39,176,.22); color: #fff; font-weight: 600; }
body.v2 .v2-pop .pk-opt .ck { width: 12px; font-size: 10px; color: #e9b6f5; }
body.v2 .v2-pop .pk-sec { font-size: 9.5px; font-weight: 700; letter-spacing: .05em; color: #4a5568; padding: 6px 10px 4px; }
body.v2 .v2-pop .pk-search { margin-bottom: 6px; }
body.v2 .v2-pop .pk-search input {
  width: 100%; box-sizing: border-box; height: 30px; border-radius: 8px; border: 1px solid rgba(255,255,255,.08);
  background: #0f1219; color: #e8eaf0; font: 500 12px 'Manrope', sans-serif; padding: 0 10px; outline: none;
}
body.v2 .v2-pop .pk-search input:focus { border-color: rgba(156,39,176,.5); }
body.v2 .v2-pop .pk-empty { padding: 10px; font-size: 11.5px; color: #667085; }
