/* Mhints - stili formy prodvizheniya podskazok (obschiy fail dlya vsekh stranits) */


.mh-form { max-width: 560px; margin-top: 32px; }
.mh-row { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; padding: 8px; background: #fbfdff; border: 1px solid #e6ecf6; border-radius: 12px; animation: maai-pop .25s ease; transition: border-color .2s ease, box-shadow .2s ease; }
.mh-row:hover { border-color: #dbe4fb; box-shadow: 0 4px 12px rgba(51, 102, 204, .08); }
.mh-row-num { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: #eef3fd; color: #3366cc; font-size: 12px; font-weight: 700; }
.mh-row .maai-url-input { flex: 1; align-self: stretch; padding-top: 10px; padding-bottom: 10px; }
.mh-kbtn { flex-shrink: 0; width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; font-size: 22px; line-height: 1; cursor: pointer; transition: background .2s ease, border-color .2s ease, color .2s ease, transform .15s ease, box-shadow .2s ease; }
.mh-plus { border: 1px solid #b7e0bb; background: #eaf5eb; color: #0fa100; }
.mh-plus:hover { background: #0fa100; border-color: #0fa100; color: #ffffff; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(15, 161, 0, .35); }
.mh-minus { border: 1px solid #f5c3bd; background: #fdecea; color: #d93025; }
.mh-minus:hover { background: #d93025; border-color: #d93025; color: #ffffff; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(217, 48, 37, .35); }
.mh-form.is-busy .mh-row,
.mh-form.is-busy .mh-slider,
.mh-form.is-busy .mh-limit { opacity: .5; pointer-events: none; }
.mh-limit { font-size: 12px; color: #5b6b8c; margin-bottom: 22px; }
.mh-warn { display: flex; align-items: center; gap: 8px; margin: -6px 0 14px; padding: 10px 14px; background: #fff8e6; border: 1px solid #f5d98a; border-left: 4px solid #f5b301; border-radius: 10px; color: #8a5a00; font-size: 13px; line-height: 1.4; animation: maai-pop .25s ease; }
.mh-warn[hidden] { display: none; }
.mh-warn::before { content: "!"; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: #f5b301; color: #ffffff; font-size: 12px; font-weight: 800; }
.mh-ex { display: inline-block; margin-top: 8px; padding: 6px 12px; background: linear-gradient(135deg, #eef3fd, #f8faff); border: 1px solid #dbe4fb; border-radius: 10px; color: #1a3d8f; font-size: 14px; line-height: 1.5; box-shadow: 0 1px 4px rgba(51, 102, 204, .08); }
.mh-slider { margin-bottom: 18px; }
.mh-slider-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.mh-slider-label { font-size: 14px; color: #1a3d8f; }
.mh-slider-val { min-width: 48px; padding: 3px 12px; text-align: center; font-size: 14px; font-weight: 700; color: #ffffff; background: linear-gradient(135deg, #5b7fe9, #3366cc); border-radius: 999px; box-shadow: 0 3px 8px rgba(51, 102, 204, .35); }
.mh-range { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px; outline: none; cursor: pointer; background: linear-gradient(to right, #3366cc 0%, #5b7fe9 var(--mh-p, 0%), #e6ecf6 var(--mh-p, 0%), #e6ecf6 100%); transition: background .1s linear; }
.mh-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #5b7fe9, #3366cc); border: 3px solid #ffffff; box-shadow: 0 2px 8px rgba(51, 102, 204, .5); cursor: grab; transition: transform .15s ease, box-shadow .15s ease; }
.mh-range::-webkit-slider-thumb:hover { transform: scale(1.15); box-shadow: 0 4px 12px rgba(51, 102, 204, .6); }
.mh-range:active::-webkit-slider-thumb { cursor: grabbing; transform: scale(1.05); }
.mh-range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: linear-gradient(135deg, #5b7fe9, #3366cc); border: 3px solid #ffffff; box-shadow: 0 2px 8px rgba(51, 102, 204, .5); cursor: grab; }
.mh-range::-moz-range-track { height: 8px; border-radius: 999px; background: #e6ecf6; }
.mh-range::-moz-range-progress { height: 8px; border-radius: 999px; background: linear-gradient(135deg, #5b7fe9, #3366cc); }
.mh-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(245, 179, 1, .25), 0 2px 8px rgba(51, 102, 204, .5); }
.mh-range-marks { display: flex; justify-content: space-between; margin-top: 7px; font-size: 12px; color: #9aa7c0; }
.mh-run { position: relative; width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 20px; font-size: 16px; letter-spacing: .2px; overflow: hidden; }
.mh-run-ico { display: inline-flex; width: 20px; height: 20px; }
.mh-run-ico svg { display: block; width: 100%; height: 100%; }
.mh-run::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent); transform: skewX(-20deg); transition: left .5s ease; }
.mh-run:hover::after { left: 120%; }
.mh-run:disabled::after { display: none; }
.mh-run:disabled { opacity: .6; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
#mhStatus.mh-load { background: linear-gradient(160deg, #f7faff, #eef3fd); border: 1px solid #dbe4fb; color: #3d5a99; padding: 22px 18px; border-radius: 16px; }
.mh-loader { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.mh-loader-ring { position: relative; width: 150px; height: 150px; border-radius: 50%; animation: mh-pulse 2s ease-in-out infinite; }
.mh-loader-ring svg { display: block; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.mh-ring-track { fill: none; stroke: #dfe8f8; stroke-width: 8; }
.mh-ring-fill { fill: none; stroke: url(#mhGrad); stroke-width: 8; stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.mh-loader-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.mh-timer { font-size: 32px; font-weight: 800; color: #1a3d8f; letter-spacing: 1px; font-variant-numeric: tabular-nums; }
.mh-loader-label { margin-top: 2px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: #8296c2; }
.mh-loader-text { max-width: 440px; text-align: center; font-size: 14px; line-height: 1.55; color: #3d5a99; }
.mh-dots { display: inline-flex; gap: 3px; margin-left: 5px; vertical-align: middle; }
.mh-dots i { width: 4px; height: 4px; border-radius: 50%; background: #3366cc; opacity: .3; animation: mh-dot 1.2s infinite; }
.mh-dots i:nth-child(2) { animation-delay: .2s; }
.mh-dots i:nth-child(3) { animation-delay: .4s; }
@keyframes mh-dot { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes mh-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(51, 102, 204, .25); } 50% { box-shadow: 0 0 0 16px rgba(51, 102, 204, 0); } }

