.auth-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: calc(100vh - 78px);
}

.auth-hero__content-right {
  width: 660px;
  height: 100%;
}
.auth-hero__content-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.auth-card {
  width: min(480px, 100%);
  border-radius: 16px;
  padding: 22px 22px 18px;
  backdrop-filter: blur(6px);
  margin-right: 200px;
}

.auth-card__header {
  margin-bottom: 12px;
}

.auth-title {
  margin: 0 0 6px;
  font-size: 28px;
  font-weight: 800;
  color: #191919;
}

.auth-tip {
  font-size: 14px;
  color: #596178;
}

.auth-link {
  color: #2468f2;
  text-decoration: none;
  font-size: 14px;
}
.auth-link:hover {
  text-decoration: underline;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 10px 0 6px;
}

.auth-tab {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 38px;
  border-radius: 10px;
  background: #eef3ff;
  color: #252d47;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}
.auth-tab.is-active {
  background: #2468f2;
  color: #fff;
}

.auth-panels {
  padding-top: 10px;
}

.auth-panel {
  display: none;
}
.auth-panel.is-active {
  display: block;
}

.form-group {
  margin-bottom: 12px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #252d47;
  margin: 0 0 6px;
}

.form-input {
  width: 100%;
  height: 44px;
  border-radius: 12px;
  border: 1px solid #e5e9f2;
  background: #fff;
  padding: 0 12px;
  outline: none;
  font-size: 14px;
  color: #252d47;
}

.form-input:focus {
  border-color: #2468f2;
}

.form-input-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.form-icon-btn {
  flex: 0 0 auto;
  height: 44px;
  width: 44px;
  border-radius: 12px;
  border: 1px solid #e5e9f2;
  background: #fff;
  cursor: pointer;
}

.form-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 12px 0;
}
.form-row--between {
  justify-content: space-between;
}

.btn-primary {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  background: #2468f2;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.btn-secondary {
  height: 44px;
  border: 1px solid #e5e9f2;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  padding: 0 12px;
  font-weight: 800;
  color: #252d47;
  white-space: nowrap;
}

.btn-secondary[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-tip {
  margin: 10px 0 0;
  font-size: 12px;
  color: #596178;
  text-align: center;
}

.eyeIcon {
  width: 16px;
  height: 16px;
}
/* captcha row (login) */
.form-group--captcha {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 10px;
  align-items: end;
}

.captcha-img {
  height: 44px;
  border-radius: 12px;
  border: 1px solid #e5e9f2;
  background: #f7f9ff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.captcha-img__text {
  font-size: 12px;
  color: #596178;
}

/* email code rows */
.form-group--code {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: end;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  background: rgba(25, 25, 25, 0.92);
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(-6px);
}

/* Responsive */
@media (max-width: 420px) {
  .auth-title {
    font-size: 24px;
  }
  .auth-tabs {
    grid-template-columns: 1fr;
  }
}
