/* SBJ Web - Daily Review access flow */

.auth-page {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background:
    linear-gradient(90deg, rgba(251, 246, 235, 0.96), rgba(251, 246, 235, 0.7)),
    linear-gradient(145deg, #fff8ec 0%, #f0ddbd 52%, #c5d6bd 100%);
}

.auth-access-panel {
  width: min(1080px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
  gap: 28px;
  align-items: stretch;
  padding: 24px;
  border: 1px solid rgba(232, 224, 212, 0.9);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 248, 0.82);
  box-shadow: 0 18px 48px rgba(68, 62, 49, 0.1);
}

.auth-story,
.auth-action-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 250, 0.9);
}

.auth-story {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.96), rgba(255, 253, 248, 0.72)),
    url("/assets/landing-daily-review-o.png") right bottom / min(58%, 520px) auto no-repeat;
}

.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: #1d3528;
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
}

.auth-logo {
  width: 62px;
  height: 62px;
  display: block;
  object-fit: contain;
}

.auth-copy {
  max-width: 500px;
  padding: 54px 0 34px;
}

.auth-eyebrow,
.auth-card-kicker {
  margin: 0 0 10px;
  color: #0f6f3c;
  font-size: 14px;
  font-weight: 800;
}

.auth-copy h1 {
  margin: 0 0 16px;
  color: #1c7341;
  font-size: 44px;
  line-height: 1.08;
}

.auth-copy p,
.auth-card-header p,
.auth-line-card p,
.auth-step p {
  color: #4d5a51;
}

.auth-copy > p {
  max-width: 460px;
  margin: 0;
  font-size: 20px;
  line-height: 1.65;
}

.auth-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 650px;
}

.auth-step {
  min-height: 118px;
  padding: 16px;
  border: 1px solid rgba(231, 222, 204, 0.9);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
}

.auth-step span {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 50%;
  background: #d7ecd7;
  color: #0f6f3c;
  font-weight: 900;
}

.auth-step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

.auth-action-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.auth-card-header {
  margin-bottom: 24px;
}

.auth-card-header h2 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 28px;
  line-height: 1.25;
}

.auth-card-header p:last-child {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

.auth-error {
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid #f2c4b8;
  border-radius: var(--radius-md);
  background: #fff2ee;
  color: #9d3b2f;
  font-size: 15px;
  line-height: 1.5;
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-field {
  display: grid;
  gap: 8px;
}

.auth-field label {
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
}

.auth-field input {
  width: 100%;
  min-height: 60px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--text);
  font-family: var(--font-family);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 8px;
  text-align: center;
}

.auth-field input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(106, 90, 74, 0.12);
}

.auth-primary-action,
.auth-secondary-action {
  width: 100%;
}

.auth-line-card {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.auth-line-title {
  margin: 0 0 4px;
  color: var(--text);
  font-weight: 800;
}

.auth-line-card p:last-child {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.auth-line-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 26px;
  border-radius: 999px;
  background: #06c755;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

@media (max-width: 900px) {
  .auth-page {
    align-items: flex-start;
    padding: 20px 14px;
  }

  .auth-access-panel {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 14px;
  }

  .auth-story {
    min-height: auto;
    padding: 22px;
    background:
      linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(255, 253, 248, 0.9)),
      url("/assets/landing-daily-review-o.png") right bottom / 280px auto no-repeat;
  }

  .auth-copy {
    padding: 34px 0 22px;
  }

  .auth-copy h1 {
    font-size: 38px;
  }

  .auth-copy > p {
    font-size: 18px;
  }

  .auth-steps {
    grid-template-columns: 1fr;
  }

  .auth-step {
    min-height: 0;
  }
}

@media (max-width: 520px) {
  .auth-access-panel {
    padding: 10px;
  }

  .auth-story,
  .auth-action-card {
    padding: 18px;
  }

  .auth-brand {
    font-size: 18px;
  }

  .auth-logo {
    width: 52px;
    height: 52px;
  }

  .auth-copy h1 {
    font-size: 32px;
  }

  .auth-copy > p,
  .auth-card-header p:last-child {
    font-size: 16px;
  }

  .auth-card-header h2 {
    font-size: 24px;
  }

  .auth-field input {
    font-size: 24px;
    letter-spacing: 5px;
  }
}
