/* ===== Local enhancements for the UsmanovaFit mirror ===== */

/* ---- horizontal sliders: nicer cursor + smooth drag ---- */
.gc-slider-wrapper {
  cursor: grab;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.gc-slider-wrapper.uf-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;          /* free dragging, no snap fight */
  user-select: none;
}
.gc-slider-wrapper.uf-dragging img { pointer-events: none; }

/* ---- signup popup ("Записаться на занятие") ---- */
.uf-modal-overlay {
  position: fixed; inset: 0; z-index: 100000;
  background: rgba(20, 10, 15, .55);
  backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.uf-modal-overlay.uf-open { opacity: 1; visibility: visible; }

.uf-modal {
  background: #fff;
  border-radius: 24px;
  width: 100%; max-width: 420px;
  padding: 32px 28px 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  font-family: 'Gilroy','Roboto',sans-serif;
  position: relative;
  transform: translateY(18px) scale(.98);
  transition: transform .25s ease;
  max-height: 92vh; overflow-y: auto;
}
.uf-modal-overlay.uf-open .uf-modal { transform: translateY(0) scale(1); }

.uf-modal__close {
  position: absolute; top: 14px; right: 16px;
  width: 34px; height: 34px; border: none; background: #f4f4f6;
  border-radius: 50%; cursor: pointer; font-size: 20px; line-height: 1;
  color: #888; transition: background .2s, color .2s;
}
.uf-modal__close:hover { background: #FF7F95; color: #fff; }

.uf-modal__title {
  font-size: 24px; font-weight: 700; color: #1a1a1a;
  margin: 0 0 6px; text-align: center;
}
.uf-modal__subtitle {
  font-size: 14px; color: #888; text-align: center; margin: 0 0 22px;
}
.uf-field { margin-bottom: 14px; }
.uf-field input {
  width: 100%; box-sizing: border-box;
  padding: 14px 16px; font-size: 16px;
  border: 1.5px solid #ececef; border-radius: 14px;
  background: #fafafb; transition: border-color .2s, background .2s;
  font-family: inherit; color: #1a1a1a;
}
.uf-field input:focus {
  outline: none; border-color: #FF7F95; background: #fff;
}
.uf-field input.uf-invalid { border-color: #ff4d4f; background: #fff5f5; }

.uf-submit {
  width: 100%; padding: 16px; margin-top: 6px;
  font-size: 16px; font-weight: 600; color: #fff;
  background: #FF7F95; border: none; border-radius: 14px;
  cursor: pointer; transition: background .2s, transform .1s;
  font-family: inherit;
}
.uf-submit:hover { background: #ff6982; }
.uf-submit:active { transform: scale(.985); }
.uf-submit:disabled { opacity: .6; cursor: default; }

.uf-policy { font-size: 11px; color: #aaa; text-align: center; margin: 14px 0 0; }

.uf-success {
  text-align: center; padding: 14px 4px;
  font-family: 'Gilroy','Roboto',sans-serif;
}
.uf-success__check {
  width: 64px; height: 64px; margin: 0 auto 16px;
  background: #FF7F95; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 34px;
}
.uf-success h3 { font-size: 22px; color: #1a1a1a; margin: 0 0 8px; }
.uf-success p { font-size: 15px; color: #888; margin: 0; }
