.date-range-field { min-width:0; }
.date-range-trigger { display:flex; align-items:center; gap:10px; width:100%; min-height:44px; padding:10px 12px; border:1px solid var(--color-border); border-radius:var(--radius-button); background:var(--color-surface); color:var(--color-text); font:inherit; font-size:14px; line-height:1.5; text-align:left; cursor:pointer; }
.date-range-trigger > span { flex:1; min-width:0; }
.date-range-trigger .icon { width:17px; height:17px; }
.date-range-trigger[aria-invalid=true] { border-color:var(--color-danger); }
.date-range-field .date-range-native { margin:0; gap:14px; }
.date-range-field [hidden] { display:none!important; }
.editor-form input.date-picker-input:not([type=checkbox]):not([type=radio]):not([type=hidden]),input.date-picker-input { padding-right:42px; background-image:var(--picker-icon,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23505050' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M7 3v4m10-4v4M3 10h18'/%3E%3C/svg%3E")); background-position:right 12px center; background-repeat:no-repeat; background-size:19px; }
input.time-picker-input { --picker-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23505050' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.torneo-date-range-picker { z-index:1050; width:max-content; margin:0; }
.torneo-date-range-picker::before,.torneo-date-range-picker::after { display:none; }
.torneo-date-range-picker .drp-selected { display:none; }
.torneo-date-range-picker.single.auto-apply .drp-buttons { display:block; }
.torneo-date-range-picker.single.auto-apply .applyBtn,.torneo-date-range-picker.single.auto-apply .cancelBtn { display:none; }
.torneo-date-range-picker .date-picker-clear { background:var(--color-surface); color:var(--color-text); }
.torneo-date-range-picker select.monthselect,.torneo-date-range-picker select.yearselect { min-height:32px; padding:3px; font:inherit; font-size:12px; }
.torneo-time-picker { width:292px; }
.torneo-time-picker .calendar-table { display:none; }
.torneo-time-picker .drp-calendar { float:none; box-sizing:border-box; width:100%; max-width:none; padding:12px; }
.torneo-time-picker .time-picker-heading { margin:0; padding:12px 12px 0; font-size:13px; font-weight:600; }
.torneo-time-picker .calendar-time { display:flex; align-items:center; justify-content:center; gap:8px; margin:0; }
.torneo-time-picker .calendar-time select { width:auto; min-width:60px; min-height:44px; padding:6px; border:1px solid var(--color-border); border-radius:7px; background:var(--color-surface); color:var(--color-text); font:inherit; font-size:16px; }
@media(max-width:600px) {
  .date-range-trigger { font-size:16px; }
  .date-range-field .date-range-native { grid-template-columns:minmax(0,1fr); }
  .torneo-date-range-picker { width:min(340px,calc(100vw - 20px)); }
  .torneo-date-range-picker .drp-calendar { float:none; width:100%; max-width:290px; margin-inline:auto; padding:8px; }
}

@media screen {
  :root[data-court-theme^='dark-'] input.date-picker-input { --picker-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E3E5EB' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M7 3v4m10-4v4M3 10h18'/%3E%3C/svg%3E"); }
  :root[data-court-theme^='dark-'] input.time-picker-input { --picker-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E3E5EB' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
}
