/* GoGetThemes neo auth modal */

.ggt-auth {
  --ggt-auth-ink: #111;
  --ggt-auth-muted: #7a7a7a;
  --ggt-auth-line: rgba(17, 17, 17, 0.1);
  --ggt-auth-yellow: #f5d547;
  position: fixed;
  inset: 0;
  z-index: 100050;
  display: grid;
  place-items: center;
  padding: 20px;
}

.ggt-auth[hidden] {
  display: none !important;
}

.ggt-auth-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.45);
  backdrop-filter: blur(4px);
}

.ggt-auth-dialog {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
  min-height: 520px;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(17, 17, 17, 0.22);
  border: 1px solid rgba(17, 17, 17, 0.06);
}

.ggt-auth-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--ggt-auth-line);
  background: #fff;
  color: var(--ggt-auth-ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}

.ggt-auth-close:hover {
  background: #f4f3ef;
}

.ggt-auth-panel {
  position: relative;
  background: #eceae4;
  min-height: 100%;
  overflow: hidden;
}

.ggt-auth-panel-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 520px;
}

.ggt-auth-panel-fade {
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(to top, rgba(17, 17, 17, 0.25), transparent);
  pointer-events: none;
}

.ggt-auth-body {
  padding: 42px 40px 28px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 14px;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  color: var(--ggt-auth-ink);
}

.ggt-auth-brand {
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}

.ggt-auth-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 12px;
  background: var(--ggt-auth-yellow);
  padding: 6px;
}

.ggt-auth-view h2 {
  margin: 0 0 18px;
  text-align: center;
  font-family: "Syne", "DM Sans", sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.ggt-auth-view[hidden] {
  display: none !important;
}

.ggt-auth-provider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1.5px solid var(--ggt-auth-line);
  background: #fff;
  color: var(--ggt-auth-ink) !important;
  text-decoration: none !important;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.ggt-auth-provider:hover {
  background: #f7f6f2;
  border-color: rgba(17, 17, 17, 0.18);
  transform: translateY(-1px);
}

.ggt-auth-provider-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.ggt-auth-or {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 6px 0;
  color: var(--ggt-auth-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.ggt-auth-or::before,
.ggt-auth-or::after {
  content: "";
  height: 1px;
  background: var(--ggt-auth-line);
}

.ggt-auth-back {
  align-self: flex-start;
  border: 0;
  background: transparent;
  color: var(--ggt-auth-muted);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0;
  margin-bottom: 4px;
}

.ggt-auth-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ggt-auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ggt-auth-muted);
}

.ggt-auth-field input {
  min-height: 46px;
  border-radius: 12px;
  border: 1.5px solid var(--ggt-auth-line);
  padding: 0 14px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ggt-auth-ink);
  text-transform: none;
  letter-spacing: 0;
  background: #fff;
}

.ggt-auth-field input:focus {
  outline: none;
  border-color: var(--ggt-auth-ink);
  box-shadow: 0 0 0 3px rgba(245, 213, 71, 0.35);
}

.ggt-auth-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ggt-auth-ink);
  text-transform: none;
  letter-spacing: 0;
}

.ggt-auth-submit {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--ggt-auth-ink);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
}

.ggt-auth-submit:hover {
  background: #000;
}

.ggt-auth-submit[disabled] {
  opacity: 0.65;
  cursor: wait;
}

.ggt-auth-error {
  margin: 0;
  color: #b42318;
  font-size: 0.88rem;
  font-weight: 600;
}

.ggt-auth-lost {
  margin: 4px 0 0;
  text-align: center;
  font-size: 0.88rem;
}

.ggt-auth-lost a {
  color: var(--ggt-auth-muted) !important;
  font-weight: 700;
  text-decoration: underline !important;
}

.ggt-auth-legal {
  margin: 18px 0 0;
  text-align: center;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--ggt-auth-muted);
  font-weight: 500;
}

.ggt-auth-legal a {
  color: #5b7a3a !important;
  font-weight: 700;
  text-decoration: underline !important;
}

body.ggt-auth-open {
  overflow: hidden;
}

@media (max-width: 780px) {
  .ggt-auth-dialog {
    grid-template-columns: 1fr;
    min-height: 0;
    max-height: min(92vh, 760px);
    overflow: auto;
  }

  .ggt-auth-panel {
    min-height: 180px;
    max-height: 200px;
  }

  .ggt-auth-panel-media {
    min-height: 180px;
    max-height: 200px;
  }

  .ggt-auth-body {
    padding: 28px 22px 22px;
  }

  .ggt-auth-view h2 {
    font-size: 1.4rem;
  }
}
