.legal_content .div {
  margin-bottom: 20px;
  font-size: 16px;
}

.legal_content h4 {
  font-size: 20px;
}

.legal_content ul li:before {
  padding-right: 5px;
  content: "\eed7";
  font-family: IcoFont !important;
  color: var(--primery);
}

.cms-content img {
  max-width: 100%;
  height: auto;
}

.contact_form .alert {
  margin-bottom: 20px;
}

.captcha_row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.captcha_row .captcha_label {
  white-space: nowrap;
  margin: 0;
  font-weight: 600;
}

.portal-auth-page {
  position: relative;
  z-index: 2;
  padding: 70px 15px 100px;
  margin: 0;
  background: #fff8f1;
  display: block;
}

.portal-auth-page .container {
  max-width: 560px;
  margin: 0 auto;
}

.portal-auth-page .portal-auth-card {
  display: block;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid rgba(47, 36, 28, 0.12);
  border-radius: 20px;
  padding: 40px 32px;
  box-shadow: 0 16px 40px rgba(36, 28, 22, 0.12);
}

.portal-auth-page h2 {
  font-family: "Elsie", serif;
  font-size: 1.75rem;
  color: #2f241c;
  margin: 0 0 8px;
}

.portal-auth-page .lead {
  color: #6b645c;
  margin-bottom: 22px;
  font-size: 15px;
  line-height: 1.5;
}

.portal-auth-page .form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #2f241c;
}

.portal-auth-page .form-control {
  display: block;
  width: 100%;
  border-radius: 12px;
  min-height: 46px;
  border: 1px solid rgba(47, 36, 28, 0.18);
  padding: 10px 14px;
  background: #fff;
}

.portal-auth-page .portal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  background: linear-gradient(135deg, #c45c26, #a84418);
  color: #fff !important;
  text-decoration: none;
  cursor: pointer;
}

.portal-auth-page .portal-btn.secondary {
  background: transparent;
  color: #1c1a17 !important;
  border: 1px solid rgba(47, 36, 28, 0.14);
}

.portal-auth-page .portal-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.portal-auth-page .portal-tabs button {
  flex: 1;
  border: 1px solid rgba(47, 36, 28, 0.14);
  background: #fff;
  border-radius: 999px;
  padding: 10px;
  font-weight: 600;
  cursor: pointer;
}

.portal-auth-page .portal-tabs button.active {
  background: #2f241c;
  color: #fff;
  border-color: #2f241c;
}

@media (max-width: 575px) {
  .portal-auth-page {
    padding: 40px 12px 70px;
  }

  .portal-auth-page .portal-auth-card {
    padding: 28px 18px;
    border-radius: 16px;
  }
}
