/* Sign-in dialog for the free tools (assets/js/tool-gate.js). */
html.gg-lock { overflow: hidden; }
.gg-modal { position: fixed; inset: 0; z-index: 2000; background: rgba(15,23,42,.6); display: flex; align-items: center; justify-content: center; padding: 1rem; }
.gg-modal[hidden] { display: none !important; }
.gg-modal__box { position: relative; background: #fff; color: #0f172a; border-radius: 18px; padding: 2rem 1.75rem 1.5rem; width: 100%; max-width: 420px; box-shadow: 0 24px 60px rgba(15,23,42,.35); text-align: center; }
.gg-modal__x { position: absolute; top: .6rem; right: .8rem; width: 2.2rem; height: 2.2rem; border: 0; background: transparent; font-size: 1.6rem; line-height: 1; cursor: pointer; color: #64748b; border-radius: 8px; }
.gg-modal__x:hover { background: #f1f5f9; }
.gg-modal__title { margin: 0 0 .6rem; font-size: 1.4rem; }
.gg-modal__text { margin: 0 0 1.25rem; color: #475569; line-height: 1.55; }
.gg-btn { display: flex; align-items: center; justify-content: center; gap: .65rem; width: 100%; padding: .8rem 1rem; font: inherit; font-weight: 600; background: #fff; color: #1f2937; border: 1px solid #cbd5e1; border-radius: 10px; cursor: pointer; }
.gg-btn:hover { background: #f8fafc; border-color: #94a3b8; }
.gg-btn:focus-visible, .gg-modal__x:focus-visible, .gg-modal__alt:focus-visible { outline: 3px solid rgba(29,78,216,.45); outline-offset: 2px; }
.gg-btn.is-loading { opacity: .6; pointer-events: none; }
.gg-modal__err { color: #b91c1c; font-size: .9rem; min-height: 1.2em; margin: .8rem 0 .2rem; }
.gg-modal__alt { display: inline-block; font-size: .9rem; margin-bottom: .6rem; }
.gg-modal__fine { margin: .8rem 0 0; font-size: .8rem; color: #64748b; line-height: 1.45; }
