/* Silvestr – výběr délky účasti: dvě samostatná pole, portálové popup okno. v2.1.29 */
.silv-field-label{padding:5px 5px 0;font-size:13px;font-weight:bold;color:#333;text-transform:uppercase}
.silv-date-picker{--silv-accent:#156394;--silv-accent-light:#d6e9f7;position:relative;width:100%;max-width:540px;margin:8px 0 12px;color:#263442;font-size:14px;font-weight:normal;text-transform:none}
.silv-date-picker *,.silv-date-popover *{box-sizing:border-box}
.silv-date-picker button,.silv-date-popover button{font-family:inherit;text-transform:none;text-shadow:none;letter-spacing:normal}
.silv-date-trigger{width:100%;display:flex;align-items:center;gap:0;min-height:64px;text-align:left;padding:0 8px;background:#fff;color:#25313b;border:1px solid #aab6c1;border-radius:6px;transition:border-color .15s,box-shadow .15s}
.silv-date-picker.is-open .silv-date-trigger{border-color:#156394;box-shadow:0 0 0 1px #156394}
.silv-trigger-icon{color:#156394;display:flex;flex:none;margin:0 8px 0 5px}
.silv-date-picker .silv-date-part{position:relative;display:flex;flex:1;min-width:0;min-height:58px;padding:10px 12px;align-items:flex-start;justify-content:center;flex-direction:column;gap:3px;border:0;border-radius:5px;background:transparent;box-shadow:none;color:#25313b;text-align:left;line-height:1.3;cursor:pointer}
.silv-date-picker .silv-date-part:hover{background:#edf5fb}
.silv-date-picker .silv-date-part:focus-visible{outline:2px solid #156394;outline-offset:-2px}
.silv-date-picker.is-open .silv-date-part.is-current{background:#edf5fb}
.silv-trigger-label{font-size:11px;font-weight:600;line-height:1.2;color:#65717b;white-space:nowrap}
.silv-date-part strong{font-size:15px;color:#1c2934;line-height:1.35;font-weight:700;white-space:nowrap}
.silv-trigger-divider{align-self:center;width:1px;height:32px;background:#d9dfe4;flex:none}
.silv-trigger-chevron{position:absolute;right:8px;top:calc(50% - 10px);font-size:17px;color:#156394;pointer-events:none}
.silv-date-part-to{padding-right:22px!important}
.silv-trigger-duration{font-size:12px;color:#53606b;margin:4px 3px 0;min-height:16px}
/* Popup je přesunut do body – je mimo stacking context a overflow registračního formuláře. */
.silv-date-popover{--silv-accent:#156394;--silv-accent-light:#d6e9f7;position:fixed;z-index:2147483000;box-sizing:border-box;width:640px;max-width:calc(100vw - 24px);padding:17px 18px 14px;border:1px solid #aab6c1;border-radius:9px;box-shadow:0 14px 45px rgba(21,45,65,.26);background-color:#fff!important;opacity:1!important;color:#25313b;font:normal 14px/1.4 Arial,sans-serif;text-transform:none;max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain;isolation:isolate}
.silv-date-popover[hidden]{display:none!important}
.silv-date-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 6px;min-height:34px}
.silv-month-caption{text-transform:none;font-size:13px;font-weight:700;text-align:center;color:#364452}
.silv-date-popover .silv-date-toolbar button,.silv-date-popover .silv-action-buttons button{border:1px solid #c6cfd7;border-radius:5px;padding:7px 11px;background:#fff;color:#25313b;cursor:pointer;font-size:13px;line-height:1.3;min-height:32px;box-shadow:none}
.silv-date-popover .silv-date-toolbar button{min-width:36px;font-size:15px}
.silv-date-popover .silv-date-toolbar button:hover:not(:disabled),.silv-date-popover .silv-action-buttons button:hover{border-color:#156394;background:#eef5fa}
.silv-date-popover button:focus-visible{outline:2px solid #156394;outline-offset:2px}
.silv-date-popover .silv-date-toolbar button:disabled{opacity:.3;cursor:not-allowed}
.silv-date-hint{font-size:12px;margin:2px 0 11px;line-height:1.4;color:#5a6670;text-align:left;font-weight:normal}
.silv-date-months{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.silv-date-month{min-width:0}
.silv-month-heading{font-size:14px;font-weight:700;text-transform:capitalize;text-align:center;margin:3px 0 10px;color:#25313b}
.silv-date-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.silv-weekday{padding:5px 0;font-size:11px;font-weight:700;color:#5f6c75}
.silv-date-grid .silv-date-day,.silv-date-unavailable,.silv-date-empty{font-size:13px;min-height:34px;line-height:33px;min-width:0;display:block;text-align:center}
.silv-date-grid .silv-date-day{border:1px solid transparent;border-radius:5px;background:transparent;color:#25313b;cursor:pointer;padding:0;box-shadow:none}
.silv-date-grid .silv-date-day:hover{border-color:#156394;background:#e9f3fa}
.silv-date-grid .silv-date-day.silv-date-selected{background:#d6e9f7;color:#15364d}
.silv-date-grid .silv-date-day.silv-date-start,.silv-date-grid .silv-date-day.silv-date-end{background:#156394;color:#fff;font-weight:700}
.silv-date-unavailable{color:#bec5ca}
.silv-date-actions{margin-top:13px;padding-top:11px;border-top:1px solid #e1e6eb;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px}
.silv-range-summary{font-size:12px;line-height:1.45;color:#364452;flex:1 1 210px}
.silv-action-buttons{display:flex;gap:8px;flex:none}
.silv-date-popover .silv-action-buttons .silv-apply-range{background:#156394;color:#fff;border-color:#156394;font-weight:700}
.silv-date-popover .silv-action-buttons .silv-apply-range:hover{background:#0e4e77;color:#fff}
@media(max-width:759px){
 .silv-date-picker{max-width:100%}
 .silv-date-popover{width:min(370px,calc(100vw - 24px));padding:13px 13px 12px;max-height:calc(100dvh - 24px)}
 .silv-date-months{grid-template-columns:minmax(0,1fr)}
 .silv-date-month{width:100%}
 .silv-date-grid .silv-date-day,.silv-date-unavailable,.silv-date-empty{min-height:36px;line-height:35px}
 .silv-date-toolbar{margin-bottom:5px}
}
@media(max-width:385px){
 .silv-date-trigger{min-height:58px;padding:0 3px}
 .silv-trigger-icon{margin:0 5px 0 4px}
 .silv-trigger-icon svg{width:20px;height:20px}
 .silv-date-picker .silv-date-part{padding:7px 5px;min-height:56px}
 .silv-date-part strong{font-size:13px}
 .silv-trigger-label{font-size:10px}
 .silv-trigger-chevron{font-size:14px;right:2px}
 .silv-date-part-to{padding-right:14px!important}
}
