/* MahyaTimeField P37 — shared 24h control; design-system tokens only. */
.mahya-time-shell{display:flex;align-items:center;position:relative;min-width:0;max-width:100%;border:1px solid var(--border,#e2e8f0);background:var(--surface,#fff);border-radius:11px;min-height:40px;box-sizing:border-box;transition:border-color .15s,box-shadow .15s}
.mahya-time-shell:focus-within{border-color:var(--primary,#1a73e8);box-shadow:0 0 0 3px var(--primary-weak,#e8f0fe)}
.mahya-time-shell[data-mt-invalid=true]{border-color:var(--danger,#d93025)}
.mahya-time-shell>.mahya-time-input{border:0!important;outline:none!important;box-shadow:none!important;background:transparent!important;border-radius:inherit!important;min-height:38px!important;height:38px!important;flex:1 1 auto;min-width:0;width:100%;padding:0 12px!important;text-align:right!important;direction:ltr!important;font:inherit;font-variant-numeric:tabular-nums;letter-spacing:.3px}
.mahya-time-shell>.mahya-time-input:focus{box-shadow:none!important}
.mahya-time-trigger{display:inline-grid;place-items:center;flex:0 0 34px;margin-inline:3px;border:0;background:transparent;color:var(--muted,#64748b);height:33px;width:34px;padding:5px;border-radius:8px;cursor:pointer}
.mahya-time-trigger svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mahya-time-trigger:hover{background:var(--surface-2,#f1f5f9);color:var(--primary,#1a73e8)}
.mahya-time-trigger:focus-visible,.mahya-time-option:focus-visible{outline:2px solid var(--primary,#1a73e8);outline-offset:2px}
.mahya-time-popover{position:fixed;z-index:100100;width:214px;max-width:calc(100vw - 16px);max-height:220px;overflow-y:auto;overscroll-behavior:contain;background:var(--surface,#fff);border:1px solid var(--border,#e2e8f0);border-radius:12px;box-shadow:0 14px 32px rgba(15,23,42,.16);padding:8px;direction:rtl;box-sizing:border-box}
.mahya-time-popover[hidden]{display:none!important}
.mahya-time-popover-heading{font-size:11px;color:var(--muted,#64748b);font-weight:600;padding:3px 4px 8px}
.mahya-time-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
.mahya-time-option{border:1px solid var(--border,#e2e8f0);border-radius:8px;background:var(--surface,#fff);min-height:34px;padding:3px 2px;cursor:pointer;color:var(--text,#172033);font:inherit;font-size:12px;direction:ltr;font-variant-numeric:tabular-nums}
.mahya-time-option:hover,.mahya-time-option[aria-selected=true]{border-color:var(--primary,#1a73e8);background:var(--primary-weak,#e8f0fe);color:var(--primary,#1a73e8)}
.mahya-time-error{display:block;font-size:11px;line-height:1.7;color:var(--danger,#d93025);margin-block-start:4px;text-align:right}
.mahya-time-error[hidden]{display:none!important}
@media(max-width:540px){.mahya-time-popover{width:206px}.mahya-time-shell{min-height:42px}}


/* Shared MahyaTimeField T03 — extended 24-hour picker for marked inputs. */
.mahya-time-popover{width:250px!important;max-height:min(340px,calc(100dvh - 20px))!important;z-index:100102!important}
.mahya-time-custom-t03{display:grid;grid-template-columns:minmax(0,1fr) 8px minmax(0,1fr) auto;gap:8px;align-items:end;padding:8px 0 10px;border-bottom:1px solid var(--border,#e2e8f0);margin-bottom:8px}
.mahya-time-custom-t03 label{display:grid;gap:5px;min-width:0;text-align:center;font-size:11px;color:var(--muted,#64748b)}
.mahya-time-custom-t03>span{padding-bottom:10px;font-size:18px;color:var(--muted,#64748b)}
.mahya-time-custom-t03 input{box-sizing:border-box!important;width:100%!important;min-width:0!important;height:40px!important;min-height:40px!important;padding:4px!important;text-align:center!important;direction:ltr!important;border:1px solid var(--border,#e2e8f0)!important;border-radius:8px!important;background:var(--surface,#fff)!important;color:var(--text,#172033)!important;font:inherit!important;font-size:16px!important}
.mahya-time-apply-t03{height:40px;min-width:44px;padding:0 8px;border:0;border-radius:8px;background:var(--primary,#1a73e8);color:white;font:inherit;font-size:12px;cursor:pointer}
.mahya-time-custom-error-t03{display:block;line-height:1.7;color:var(--danger,#d93025);font-size:11px;margin-top:8px}
.mahya-time-custom-error-t03[hidden]{display:none!important}
.mahya-time-popover :focus-visible{outline:2px solid var(--primary,#1a73e8)!important;outline-offset:2px!important}
.mahya-time-shell{min-width:0!important;max-width:100%!important;width:100%!important}
.mahya-time-shell>.mahya-time-input[data-mahya-time-persian]{font-variant-numeric:tabular-nums;letter-spacing:0!important;text-align:center!important;font-size:13px!important;cursor:pointer}


/* Mahya TimeWheel v42.407 — shared 24-hour hour/minute picker; design tokens. */
.mahya-time-popover.mahya-time-wheel-popover-v42407{
  width:min(304px,calc(100vw - 16px))!important;
  max-width:calc(100vw - 16px)!important;
  max-height:calc(100dvh - 20px)!important;
  padding:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  border-radius:14px!important;
  box-shadow:0 16px 36px rgba(15,23,42,.20)!important;
  z-index:100110!important;
  direction:rtl!important;
}
.mahya-time-popover.mahya-time-wheel-popover-v42407[hidden]{display:none!important}
.mahya-time-wheel-head-v42407{
  display:flex;justify-content:space-between;align-items:center;gap:16px;
  min-height:58px;box-sizing:border-box;
  padding:12px 16px;
  background:var(--primary-weak,#e8f0fe);
  border-bottom:1px solid var(--border,#e2e8f0);
}
.mahya-time-wheel-head-v42407>div{display:grid;gap:3px;min-width:0}
.mahya-time-wheel-head-v42407 strong{font-size:14px;color:var(--text,#172033);font-weight:700}
.mahya-time-wheel-head-v42407 small{font-size:11px;color:var(--muted,#64748b)}
.mahya-time-wheel-head-v42407 output{font-size:22px;font-weight:750;line-height:1.2;color:var(--primary,#1a73e8);direction:ltr;unicode-bidi:isolate;font-variant-numeric:tabular-nums;white-space:nowrap}
.mahya-time-wheel-body-v42407{
  display:grid;grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr);
  gap:12px;align-items:center;justify-items:stretch;
  padding:12px 20px 16px;
  background:var(--surface,#fff);
}
.mahya-time-wheel-unit-v42407{
  display:grid;grid-template-rows:auto 32px 58px 32px;
  gap:5px;min-width:0;justify-items:stretch;text-align:center;
}
.mahya-time-wheel-label-v42407{font-size:11px;font-weight:650;color:var(--muted,#64748b);line-height:1.4}
.mahya-time-wheel-unit-v42407>button{
  display:grid;place-items:center;justify-self:center;
  width:40px;height:32px;min-height:32px;padding:4px;
  border:0;border-radius:8px;background:transparent;
  color:var(--muted,#64748b);cursor:pointer;
}
.mahya-time-wheel-unit-v42407>button:hover{
  background:var(--primary-weak,#e8f0fe);color:var(--primary,#1a73e8);
}
.mahya-time-wheel-unit-v42407>button svg{
  width:21px;height:21px;fill:none;stroke:currentColor;
  stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;
}
.mahya-time-wheel-unit-v42407>input{
  width:100%!important;min-width:0!important;
  height:58px!important;min-height:58px!important;
  box-sizing:border-box!important;
  padding:0 4px!important;
  border:1px solid var(--border,#e2e8f0)!important;
  border-radius:11px!important;
  box-shadow:none!important;
  background:var(--surface-2,#f1f5f9)!important;
  color:var(--text,#172033)!important;
  font:inherit!important;font-size:30px!important;font-weight:700!important;
  text-align:center!important;direction:ltr!important;
  font-variant-numeric:tabular-nums;
}
.mahya-time-wheel-unit-v42407>input:focus{
  border-color:var(--primary,#1a73e8)!important;
  box-shadow:0 0 0 3px var(--primary-weak,#e8f0fe)!important;
  outline:none!important;
  background:var(--surface,#fff)!important;
}
.mahya-time-wheel-colon-v42407{
  font-size:27px;line-height:1;color:var(--muted,#64748b);
  font-weight:750;align-self:center;padding-top:18px;text-align:center;
}
.mahya-time-wheel-error-v42407{
  display:block;margin:0 16px 8px;padding:8px 10px;
  color:var(--danger,#d93025);font-size:11px;line-height:1.65;
}
.mahya-time-wheel-error-v42407[hidden]{display:none!important}
.mahya-time-wheel-footer-v42407{
  position:sticky;bottom:0;
  display:flex;gap:8px;align-items:center;
  padding:10px 12px;
  border-top:1px solid var(--border,#e2e8f0);
  background:var(--surface,#fff);
}
.mahya-time-wheel-footer-v42407>button{
  display:inline-flex;justify-content:center;align-items:center;
  min-width:52px;min-height:36px;padding:6px 12px;
  border-radius:9px;border:1px solid var(--border,#e2e8f0);
  background:var(--surface,#fff);color:var(--text,#172033);
  font:inherit;font-size:12px;font-weight:600;cursor:pointer;
}
.mahya-time-wheel-footer-v42407>button:hover{
  border-color:var(--primary,#1a73e8);background:var(--primary-weak,#e8f0fe);
}
.mahya-time-wheel-footer-v42407>.mahya-time-wheel-now-v42407{
  border-color:transparent;color:var(--primary,#1a73e8);
}
.mahya-time-wheel-spacer-v42407{flex:1}
.mahya-time-wheel-footer-v42407>.mahya-time-wheel-confirm-v42407{
  border-color:var(--primary,#1a73e8);
  background:var(--primary,#1a73e8);color:#fff;
}
.mahya-time-wheel-footer-v42407>.mahya-time-wheel-confirm-v42407:hover{filter:brightness(.95);background:var(--primary,#1a73e8);color:#fff}
.mahya-time-wheel-popover-v42407 button:focus-visible{
  outline:2px solid var(--primary,#1a73e8)!important;
  outline-offset:2px!important;
}
@media(max-width:430px){
 .mahya-time-wheel-body-v42407{padding:12px 16px;gap:8px}
 .mahya-time-wheel-head-v42407{min-height:54px}
}


/* TimeWheel T08: centered, compact shared picker; minute on the RTL right. */
.mahya-time-popover.mahya-time-wheel-popover-v42407{
 width:min(264px,calc(100vw - 16px))!important;
 max-width:calc(100vw - 16px)!important;
 border-radius:12px!important;
 box-shadow:0 14px 34px rgba(15,23,42,.17)!important;
}
.mahya-time-wheel-head-v42407{min-height:44px!important;padding:8px 12px!important;gap:9px!important}
.mahya-time-wheel-head-v42407 strong{font-size:12px!important}
.mahya-time-wheel-head-v42407 small{font-size:10px!important}
.mahya-time-wheel-head-v42407 output{font-size:19px!important}
.mahya-time-wheel-body-v42407{
 grid-template-columns:minmax(0,1fr) 12px minmax(0,1fr)!important;
 padding:9px 14px 12px!important;
 gap:8px!important;
}
.mahya-time-wheel-unit-v42407{
 grid-template-rows:auto 25px 44px 25px!important;
 gap:3px!important;
}
.mahya-time-wheel-label-v42407{font-size:10.5px!important}
.mahya-time-wheel-unit-v42407>button{width:34px!important;height:25px!important;min-height:25px!important;padding:2px!important}
.mahya-time-wheel-unit-v42407>button svg{width:18px!important;height:18px!important}
.mahya-time-wheel-unit-v42407>input{
 height:44px!important;min-height:44px!important;
 font-size:24px!important;border-radius:9px!important;
}
.mahya-time-wheel-colon-v42407{font-size:23px!important;padding-top:14px!important}
.mahya-time-wheel-footer-v42407{padding:8px 10px!important;gap:6px!important}
.mahya-time-wheel-footer-v42407>button{
 min-height:34px!important;padding:5px 9px!important;font-size:11px!important;min-width:48px!important;
}
@media(max-width:430px){
 .mahya-time-wheel-body-v42407{padding:9px 12px 11px!important}
}
