/* Styles for listings/templates/listings/login.html
   (moved out of an inline <style> block so browsers cache them). */

.pr-shell {
  display: block;
  max-width: 1000px;
  margin: 30px auto;
  padding: 0 16px;
}
.pr-panel-wrap {
  display: flex;
  background: var(--card);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.pr-brand {
  position: relative;
  flex: 0 0 40%;
  overflow: hidden;
  background: linear-gradient(160deg, #002A5C 0%, #064C8D 35%, #0B6FBF 70%, #1FA6F0 100%);
  padding: 40px 32px;
  display: flex;
  align-items: center;
}
.pr-brand-glow-a {
  position: absolute; top: -100px; left: -100px; width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 166, 240,0.45), transparent 70%);
}
.pr-brand-glow-b {
  position: absolute; bottom: -80px; right: -80px; width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 128, 0,0.35), transparent 70%);
}
.pr-brand-inner {
  position: relative;
  z-index: 2;
}

.pr-logo-badge {
  display: inline-flex;
  align-items: center;
  background: var(--card);
  border-radius: 14px;
  padding: 9px 14px;
  margin-bottom: 28px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.pr-logo-img {
  display: block;
  height: 24px;
  width: auto;
}

.pr-headline {
  color: #fff;
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 12px;
}
.pr-subhead {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 0 28px;
}
.pr-trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pr-trust-list li {
  color: #fff;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pr-trust-icon {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.pr-form-panel {
  flex: 1;
  min-width: 0;
  padding: 40px 36px;
}
.pr-login-form-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pr-form-title {
  margin: 0 0 4px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
}
.pr-form-sub {
  margin: 0 0 24px;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.pr-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pr-field label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 0.88rem;
  color: var(--text);
}
.pr-inline-link {
  color: var(--link);
  font-weight: 600;
  text-decoration: underline;
}

.pr-pw-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pr-pw-toggle {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card-sunken);
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pr-submit-btn {
  width: 100%;
  margin-top: 4px;
}
.pr-forgot-hint {
  text-align: center;
  font-size: 0.85rem;
  margin: 14px 0 0;
}
.pr-login-hint {
  text-align: center;
  margin-top: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.pr-oauth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin: 18px 0;
}
.pr-oauth-divider::before,
.pr-oauth-divider::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--border);
}
.pr-oauth-divider span {
  padding: 0 12px;
}
.pr-google-btn-wrap {
  display: flex;
  justify-content: center;
}

@media (max-width: 860px) {
  .pr-shell {
    margin: 0;
    padding: 0;
    min-height: 100dvh;
    display: flex;
    align-items: stretch;
  }
  .pr-panel-wrap {
    flex-direction: column;
    border-radius: 0;
    box-shadow: none;
    border: none;
    width: 100%;
    min-height: 100dvh;
  }
  .pr-brand {
    flex: none;
    padding: 14px 20px 12px;
  }
  .pr-logo-badge {
    padding: 6px 11px;
    margin-bottom: 8px;
  }
  .pr-logo-img {
    height: 17px;
  }
  .pr-headline {
    font-size: 1.05rem;
    margin: 0 0 5px;
  }
  .pr-subhead {
    font-size: 0.76rem;
    margin-bottom: 9px;
  }
  .pr-trust-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px 14px;
  }
  .pr-trust-list li {
    font-size: 0.75rem;
  }
  .pr-form-panel {
    padding: 20px 20px 28px;
  }
  .pr-login-form-panel {
    flex: 1;
    justify-content: flex-start;
  }
}

@media (max-width: 360px) {
  .pr-brand {
    padding: 12px 16px 10px;
  }
  .pr-form-panel {
    padding: 16px 14px 24px;
  }
  .pr-trust-list li {
    font-size: 0.75rem;
  }
}
