/* Global auth modal — used site-wide by AuthGate. Self-contained styling so it
   works on any page (doesn't depend on the business-card calculator's CSS). */
.ga-auth-modal {
  display: none; position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  align-items: center; justify-content: center;
}
.ga-auth-modal.is-active { display: flex; }
.ga-auth-modal__inner {
  background: #fff; border-radius: 12px; max-width: 420px; width: 92%;
  padding: 1.5rem; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,.25);
  font-family: var(--font-body, system-ui, sans-serif);
}
.ga-auth-modal__close { position: absolute; top: .6rem; right: .8rem; background: none; border: none; font-size: 1.5rem; line-height: 1; color: #999; cursor: pointer; }
.ga-auth-modal__tabs { display: flex; border-bottom: 2px solid #e8ede4; margin-bottom: 1.2rem; }
.ga-auth-modal__tab {
  flex: 1; padding: .6rem; background: none; border: none; border-bottom: 2px solid transparent;
  margin-bottom: -2px; font-weight: 600; font-size: .88rem; color: #999; cursor: pointer;
  font-family: var(--font-display, inherit); transition: color .15s, border-color .15s;
}
.ga-auth-modal__tab.is-active { color: var(--forest, #1c3010); border-bottom-color: var(--forest, #1c3010); }
.ga-auth-modal__panel { display: none; }
.ga-auth-modal__panel.is-active { display: block; }
.ga-auth-lead { font-size: .85rem; color: #555; margin: 0 0 1rem; }
.ga-auth-row { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.ga-auth-field { margin-bottom: .7rem; }
.ga-auth-field label { display: block; font-size: .78rem; font-weight: 600; color: var(--forest, #1c3010); margin-bottom: .2rem; text-transform: uppercase; letter-spacing: .03em; }
.ga-auth-hint { color: #aaa; font-weight: 400; text-transform: none; }
.ga-auth-field input { width: 100%; padding: .55rem .7rem; border: 1.5px solid #d0d8c4; border-radius: 6px; font-size: .88rem; box-sizing: border-box; }
.ga-auth-field input:focus { outline: none; border-color: var(--sage, #7a8e6c); box-shadow: 0 0 0 3px rgba(126,142,108,.15); }
.ga-auth-error { color: var(--ip-red, #c41e1e); font-size: .82rem; margin-bottom: .5rem; min-height: 1.2em; }
.ga-auth-btn {
  width: 100%; padding: .65rem; background: var(--forest, #1c3010); color: #fff; border: none;
  border-radius: 8px; font-family: var(--font-display, inherit); font-weight: 700; font-size: .9rem; cursor: pointer;
}
.ga-auth-btn:disabled { opacity: .6; cursor: default; }
.ga-auth-forgot { display: block; text-align: center; font-size: .78rem; color: var(--sage, #7a8e6c); margin-top: .5rem; }
