/* ============================================================
   AUTH.CSS — shared styles for /login/ and /registration/
   Auth form card + auth hero + security checklist.
   Builds on base + components. Mobile-first.
   ============================================================ */

/* ---------- Auth hero (login / sign-up) ---------- */
.auth-hero {
  background: var(--mint-pale);
  padding: 40px 0 48px;
}

.auth-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.auth-hero__lead {
  font-size: 16.5px;
  margin: 14px 0 20px;
  max-width: 520px;
}

.auth-hero__points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.auth-hero__points li {
  position: relative;
  padding-left: 26px;
  font-weight: 600;
  color: var(--forest);
  font-size: 14.5px;
}

.auth-hero__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--action);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4 10-10'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ---------- Auth card / form ---------- */
.auth {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  padding: 28px 24px;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.auth__title {
  font-size: 22px;
  margin-bottom: 4px;
}

.auth__sub {
  font-size: 14px;
  margin-bottom: 22px;
}

.auth__field {
  margin-bottom: 16px;
}

.auth__label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 6px;
}

.auth__input {
  width: 100%;
  padding: 13px 15px;
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--forest);
  background: var(--mint-pale);
  border: 1px solid #D6E8D8;
  border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}

.auth__input::placeholder { color: #9AAE9D; }

.auth__input:focus {
  outline: none;
  border-color: var(--action);
  box-shadow: 0 0 0 3px rgba(46, 155, 52, .15);
}

/* textarea + select variants of the auth input */
textarea.auth__input {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

select.auth__input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23226D26' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
}

.auth__row {
  display: flex;
  justify-content: flex-end;
  margin: -4px 0 18px;
}

.auth__link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--action);
}

.auth__link:hover { text-decoration: underline; }

/* 18+ / terms checkbox */
.auth__check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--body-text);
  line-height: 1.5;
  margin: 4px 0 18px;
}

.auth__check input {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--action);
}

.auth__check a { color: var(--action); font-weight: 600; }
.auth__check a:hover { text-decoration: underline; }

.auth__note {
  font-size: 12.5px;
  color: var(--body-text);
  text-align: center;
  margin-top: 14px;
  line-height: 1.5;
}

.auth__alt {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #E5F0E6;
  text-align: center;
  font-size: 14px;
}

.auth__alt a {
  font-weight: 600;
  color: var(--action);
}

.auth__alt a:hover { text-decoration: underline; }

/* ---------- Support channel meta (contact page) ---------- */
.support-channel__meta {
  display: block;
  margin-top: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--action);
}

/* ---------- Security / checklist list ---------- */
.sec-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.sec-list__item {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
}

.sec-list__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--mint-light);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23153317' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4 10-10'/%3E%3C/svg%3E");
  background-size: 13px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ---------- Larger screens ---------- */
@media (min-width: 768px) {
  .auth-hero { padding: 56px 0 64px; }
  .auth-hero__inner { grid-template-columns: 1.05fr 0.95fr; gap: 48px; }
  .auth { padding: 34px 32px; }
}

@media (min-width: 992px) {
  .auth-hero__inner { gap: 64px; }
}
