    .sg-modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.85);
      backdrop-filter: blur(10px);
      z-index: 9999;
      /* Scrollable overlay: margin:auto on the box centres it when it fits and
         lets it scroll (top-anchored, never clipped) when the box is taller than
         the viewport — e.g. a phone with the keyboard open on a form field.
         align-items:center + no overflow would strand the Continue/close buttons
         off-screen (the whole registration/booking funnel runs through here). */
      display: flex;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      padding: 24px 16px;
      box-sizing: border-box;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
    }
    .sg-modal-overlay.show {
      opacity: 1;
      pointer-events: auto;
    }
    .sg-modal-box {
      margin: auto;
      background: hsl(240, 6%, 10%);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 20px;
      padding: 40px;
      width: 100%;
      max-width: 450px;
      box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
      transform: translateY(20px);
      transition: transform 0.3s ease;
      position: relative;
    }
    @media (max-width: 480px) {
      .sg-modal-box { padding: 28px 22px; }
    }
    .sg-modal-overlay.show .sg-modal-box {
      transform: translateY(0);
    }
    .sg-modal-close {
      position: absolute;
      top: 20px;
      right: 20px;
      background: none;
      border: none;
      color: #999;
      font-size: 24px;
      cursor: pointer;
      line-height: 1;
      transition: color 0.2s;
    }
    .sg-modal-close:hover {
      color: var(--primary);
    }
    .sg-modal-title {
      font-family: var(--font-header);
      font-size: 1.8rem;
      text-transform: uppercase;
      color: var(--text-white);
      margin-bottom: 8px;
    }
    .sg-modal-subtitle {
      font-size: 0.9rem;
      color: var(--text-grey);
      margin-bottom: 24px;
    }
    .sg-form-group {
      margin-bottom: 16px;
      text-align: left;
    }
    .sg-form-label {
      display: block;
      font-family: var(--font-header);
      font-weight: 600;
      font-size: 0.8rem;
      text-transform: uppercase;
      color: var(--primary);
      margin-bottom: 6px;
    }
    .sg-form-input {
      width: 100%;
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 8px;
      padding: 12px;
      color: var(--text-white);
      font-family: var(--font-body);
      font-size: 0.95rem;
      outline: none;
      transition: border-color 0.2s;
    }
    .sg-form-input:focus {
      border-color: var(--primary);
    }
    .sg-pw-wrap {
      position: relative;
    }
    .sg-pw-wrap .sg-form-input {
      padding-right: 46px;
    }
    .sg-pw-toggle {
      position: absolute;
      right: 4px;
      top: 50%;
      transform: translateY(-50%);
      background: none;
      border: none;
      color: var(--text-grey);
      font-size: 18px;
      cursor: pointer;
      padding: 8px 10px;
      line-height: 1;
    }
    .sg-modal-btn {
      width: 100%;
      background: var(--primary);
      color: var(--text-white);
      font-family: var(--font-header);
      font-weight: 700;
      text-transform: uppercase;
      font-size: 0.9rem;
      letter-spacing: 0.05em;
      padding: 14px;
      border: none;
      border-radius: 30px;
      cursor: pointer;
      margin-top: 10px;
      transition: var(--transition-smooth);
    }
    .sg-modal-btn:hover {
      transform: scale(1.02);
      box-shadow: 0 4px 15px rgba(var(--primary-hsl), 0.3);
    }
    .sg-modal-btn:disabled {
      background: rgba(255,255,255,0.05);
      color: rgba(255,255,255,0.3);
      cursor: not-allowed;
      transform: none;
      box-shadow: none;
    }
