@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

.pt-auth-page {
  --pt-auth-navy: #1f2858;
  --pt-auth-navy-2: #242f66;
  --pt-auth-green: #1dae8d;
  --pt-auth-orange: #fcb321;
  --pt-auth-border: #d9deea;
  --pt-auth-text: #2a3362;
  --pt-auth-text-soft: #6d7390;
  --pt-auth-danger: #dc4d4d;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--pt-auth-navy);
  font-family: 'Montserrat', sans-serif;
}

.pt-auth-grid {
  min-height: 100vh;
  display: flex;
}

.pt-auth-side {
  width: 440px;
  max-width: 100%;
  background: #fff;
  position: relative;
  z-index: 2;
  box-shadow: 24px 0 60px rgba(22, 31, 75, 0.15);
}

.pt-auth-inner {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 38px 34px 30px;
  box-sizing: border-box;
  justify-content: space-between;
}

.pt-auth-form {
  width: 100%;
}

.pt-auth-brand {
  display: inline-block;
  text-decoration: none;
}

.pt-auth-brand img {
  width: 290px;
  max-width: 100%;
  height: auto;
  display: block;
}

.pt-auth-intro {
  margin-top: 38px;
  margin-bottom: 16px;
}

.pt-auth-kicker {
  display: block;
  color: var(--pt-auth-green);
  font-weight: 700;
  font-size: 1.5em;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.pt-auth-title {
  margin: 10px 0 0;
  color: var(--pt-auth-text);
  font-weight: 800;
  font-size: 3em;
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.pt-auth-title-dot {
  color: var(--pt-auth-orange);
}

.pt-auth-copy {
  margin: 0 0 18px;
  color: var(--pt-auth-text-soft);
  font-size: 14px;
  line-height: 1.7;
}

.pt-auth-copy p {
  margin: 0 0 10px;
}

.pt-auth-content {
  margin-top: 8px;
}

.pt-auth-content .iqf-form {
  width: 100%;
}

.pt-auth-content .iqf-fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.pt-auth-content .iqf-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pt-auth-content .iqf-item {
  margin-bottom: 14px;
}

.pt-auth-content .iqf-item:last-child {
  margin-bottom: 0;
}

.pt-auth-content .iqf-label {
  display: block;
  color: var(--pt-auth-text);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}

.pt-auth-content .iqf-text {
  width: 100%;
  border: 2px solid var(--pt-auth-border);
  padding: 12px 14px;
  font-size: 16px;
  box-sizing: border-box;
  color: var(--pt-auth-text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pt-auth-content .iqf-text:focus {
  border-color: var(--pt-auth-green);
  box-shadow: 0 0 0 3px rgba(29, 174, 141, 0.12);
}

.pt-auth-content .iqf-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--pt-auth-orange);
  text-decoration: none;
  margin-right: 14px;
  margin-top: 2px;
}

.pt-auth-content .iqf-link:hover {
  text-decoration: underline;
}

.pt-auth-content .iqf-submit-btn {
    display: flex;
    align-items: center;
    gap: 6px;
  border: 0;
  background: var(--pt-auth-green);
  color: #fff;
  border-radius: 999px;
  height: 46px;
  float: left;
  padding: 0 28px;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.pt-auth-content .iqf-submit-label {
  line-height: 1;
}

.pt-auth-content .iqf-submit-icon {
  width: 15px;
  height: 15px;
  display: block;
  flex-shrink: 0;
}

.iqf-submit-login-icon {}

.pt-auth-content .iqf-submit-btn:hover {
  background: var(--pt-auth-navy);
}

.pt-auth-content .error {
  border: 1px solid rgba(220, 77, 77, 0.35);
  background: rgba(220, 77, 77, 0.06);
  color: var(--pt-auth-danger);
  font-size: 13px;
  font-weight: 600;
  border-radius: 10px;
  padding: 10px 12px;
  margin: 0 0 10px;
}

.pt-auth-message {
  border: 1px solid rgba(29, 174, 141, 0.4);
  background: rgba(29, 174, 141, 0.08);
  color: var(--pt-auth-text);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.6;
}

.pt-auth-message a {
  color: var(--pt-auth-green);
  text-decoration: none;
  font-weight: 700;
}

.pt-auth-message a:hover {
  text-decoration: underline;
}

.pt-auth-visual {
  position: relative;
  flex: 1;
  overflow: hidden;
  background: var(--pt-navy);
}

.pt-auth-watermark {
  position: absolute;
  left: 10%;
  top: 50%;
  transform: translateY(-50%);
  width: 260px;
  max-width: 30vw;
  opacity: 1;
}

.pt-auth-visual-img {
    position: absolute;
    right: -65%;
    top: -10%;
    height: 145%;
    width: 165%;
    object-fit: contain;
}

.pt-auth-side-actions {
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.pt-auth-help-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pt-auth-help-item {
  margin: 0;
}

.pt-auth-help-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--pt-auth-text);
  font-size: .875em;
  line-height: 1.3;
  font-weight: 600;
}

.pt-auth-help-link:hover {
  color: var(--pt-auth-green);
}

.pt-auth-help-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.pt-auth-side-actions .pt-auth-home-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 46px;
  padding: 0 18px 0 22px;
  border-radius: 999px;
  background: var(--pt-auth-navy);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  font-size: 13px;
}

.pt-auth-side-actions .pt-auth-home-link:hover {
  background: #182048;
}

.pt-auth-home-link-icon {
  width: 12px;
  height: 12px;
  display: block;
  flex-shrink: 0;
}

@media screen and (max-width: 1024px) {
  .pt-auth-side {
    width: 360px;
  }

  .pt-auth-inner {
    padding: 34px 26px 26px;
  }

  .pt-auth-kicker {
    font-size: 28px;
  }

  .pt-auth-title {
    font-size: 50px;
  }

  .pt-auth-help-link {
    font-size: 14px;
  }
}

@media screen and (max-width: 820px) {
  .pt-auth-page {
    background: #fff;
  }

  .pt-auth-grid {
    min-height: auto;
    display: block;
  }

  .pt-auth-side {
    width: 100%;
    box-shadow: none;
  }

  .pt-auth-inner {
    min-height: auto;
    padding: 30px 18px 24px;
  }

  .pt-auth-visual {
    display: none;
  }

  .pt-auth-kicker {
    font-size: 24px;
  }

  .pt-auth-title {
    font-size: 40px;
  }

  .pt-auth-side-actions {
    gap: 14px;
  }

  .pt-auth-side-actions .pt-auth-home-link {
    min-width: 0;
    justify-content: center;
  }

  .pt-auth-home-link-icon {
    margin-left: 8px;
  }
}


[data-theme="light"] .pt-auth-side {
  box-shadow: 24px 0 60px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .pt-auth-brand img {
  /* Use dark logo variant if available, otherwise keep default */
}
