/* SS Registration Gate */
html.ssrg-locked { overflow: hidden; }

.ssrg-modal {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  visibility: hidden; opacity: 0; pointer-events: none;
  transition: opacity .2s ease;
}
.ssrg-modal.is-open { visibility: visible; opacity: 1; pointer-events: auto; }

.ssrg-backdrop {
  position: absolute; inset: 0;
  background: rgba(17, 24, 39, .72);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}

.ssrg-dialog {
  position: relative; width: 100%; max-width: 440px; max-height: calc(100vh - 32px);
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  background: #fff; color: #111827; border-radius: 16px;
  padding: 28px 24px 22px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .35);
  font-size: 15px; line-height: 1.5;
}
@media (max-width: 480px) {
  .ssrg-modal { padding: 0; align-items: flex-end; }
  .ssrg-dialog { max-width: none; max-height: 92vh; border-radius: 16px 16px 0 0; padding: 24px 18px 18px; }
}

.ssrg-close {
  position: absolute; top: 10px; right: 10px;
  width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: transparent; color: #6b7280; font-size: 26px; line-height: 1; cursor: pointer;
}
.ssrg-close:hover { background: #f3f4f6; color: #111827; }

.ssrg-title { margin: 0 0 6px; font-size: 22px; line-height: 1.25; font-weight: 600; }
.ssrg-sub { margin: 0 0 18px; color: #4b5563; }

.ssrg-social { display: flex; flex-direction: column; gap: 10px; }
.ssrg-social .fs_auth_google_wrapper, .ssrg-social iframe { width: 100% !important; }
.ssrg-social a, .ssrg-social button { width: 100%; box-sizing: border-box; }

.ssrg-or { display: flex; align-items: center; gap: 10px; margin: 16px 0; color: #9ca3af; font-size: 13px; }
.ssrg-or::before, .ssrg-or::after { content: ""; flex: 1; border-top: 1px solid #e5e7eb; }

.ssrg-form .fluentform { margin: 0; }
.ssrg-form .ff-el-group { margin-bottom: 12px; }
.ssrg-form .ff-btn-submit { width: 100%; }

.ssrg-consent { margin: 12px 0 0; font-size: 12px; line-height: 1.45; color: #6b7280; }

.ssrg-magic { margin-top: 14px; font-size: 13px; }
.ssrg-magic summary { cursor: pointer; color: #1d4ed8; }
.ssrg-magic summary::-webkit-details-marker { display: none; }
.ssrg-magic > div, .ssrg-magic form { margin-top: 10px; }
