/* Dawah accounts and feedback V44 */

body[data-public-shell] .fb44-shell {
  box-sizing: border-box;
  display: grid;
  grid-template-columns:
    minmax(300px, 0.78fr)
    minmax(480px, 1.22fr);
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto 75px;
  overflow: hidden;
  border: 1px solid rgba(8, 61, 49, 0.11);
  border-radius: 24px;
  background: #ffffff;
  box-shadow:
    0 28px 75px rgba(5, 52, 41, 0.1);
}

body[data-public-shell] .fb44-intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 43px 39px;
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(213, 242, 127, 0.25),
      transparent 35%
    ),
    linear-gradient(
      145deg,
      #04362c,
      #086049
    );
  color: #ffffff;
}

body[data-public-shell] .fb44-intro::after {
  position: absolute;
  z-index: -1;
  right: -130px;
  bottom: -180px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(223, 245, 154, 0.14);
  border-radius: 50%;
  content: "";
}

body[data-public-shell] .fb44-symbol {
  display: grid;
  width: 55px;
  height: 55px;
  place-items: center;
  margin-bottom: 26px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  color: #ddf69a;
}

body[data-public-shell] .fb44-symbol .ui-icon {
  width: 25px;
  height: 25px;
}

body[data-public-shell] .fb44-intro > .eyebrow {
  color: #d8f28d;
  font-size: 0.62rem;
}

body[data-public-shell] .fb44-intro h1 {
  max-width: 420px;
  margin: 9px 0 15px;
  color: #ffffff;
  font-size: clamp(2.15rem, 4vw, 3.5rem);
  font-weight: 560;
  letter-spacing: -0.06em;
  line-height: 1;
}

body[data-public-shell] .fb44-intro > p:not(.eyebrow) {
  max-width: 470px;
  margin: 0;
  color: #c6d9cf;
  font-size: 0.76rem;
  line-height: 1.75;
}

body[data-public-shell] .fb44-privacy {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: 32px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.065);
}

body[data-public-shell] .fb44-privacy-icon {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 11px;
  background: rgba(220, 245, 154, 0.13);
  color: #ddf69a;
}

body[data-public-shell] .fb44-privacy-icon .ui-icon {
  width: 18px;
  height: 18px;
}

body[data-public-shell] .fb44-privacy div {
  display: grid;
  gap: 3px;
}

body[data-public-shell] .fb44-privacy strong {
  color: #ffffff;
  font-size: 0.72rem;
}

body[data-public-shell] .fb44-privacy span {
  color: #bfd2c8;
  font-size: 0.62rem;
  line-height: 1.45;
}

body[data-public-shell] .fb44-form {
  display: grid;
  align-content: start;
  gap: 20px;
  padding: 39px;
  background:
    linear-gradient(
      145deg,
      rgba(239, 246, 233, 0.55),
      transparent 38%
    ),
    #ffffff;
}

body[data-public-shell] .fb44-form-heading {
  padding-bottom: 18px;
  border-bottom: 1px solid #e1e9e1;
}

body[data-public-shell] .fb44-form-heading > span {
  color: #69825e;
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.11em;
}

body[data-public-shell] .fb44-form-heading h2 {
  margin: 5px 0;
  color: #123b30;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
}

body[data-public-shell] .fb44-form-heading p {
  margin: 0;
  color: #819088;
  font-size: 0.66rem;
}

body[data-public-shell] .fb44-identity-grid {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 13px;
}

body[data-public-shell] .fb44-form label {
  display: grid;
  gap: 7px;
  min-width: 0;
}

body[data-public-shell] .fb44-form label > span {
  color: #315548;
  font-size: 0.7rem;
  font-weight: 700;
}

body[data-public-shell] .fb44-form input,
body[data-public-shell] .fb44-form textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #d6e2d6;
  border-radius: 11px;
  outline: 0;
  background: #fafcf9;
  color: #123b30;
  box-shadow: none;
  font: inherit;
  font-size: 0.82rem;
}

body[data-public-shell] .fb44-form input[readonly] {
  border-color: #dbe6d7;
  background: #eff5eb;
  color: #456456;
}

body[data-public-shell] .fb44-form textarea {
  min-height: 180px;
  resize: vertical;
  line-height: 1.6;
}

body[data-public-shell] .fb44-form input:focus,
body[data-public-shell] .fb44-form textarea:focus {
  border-color: #4b8a70;
  background: #ffffff;
  box-shadow:
    0 0 0 4px rgba(32, 111, 80, 0.09);
}

body[data-public-shell] .fb44-message-field small {
  color: #89978f;
  font-size: 0.61rem;
}

body[data-public-shell] .fb44-form footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid #e5ece4;
}

body[data-public-shell] .fb44-form footer p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #76877e;
  font-size: 0.65rem;
}

body[data-public-shell] .fb44-form footer p > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #72a74e;
  box-shadow:
    0 0 0 4px rgba(114, 167, 78, 0.12);
}

body[data-public-shell] .fb44-form footer .button {
  display: inline-flex;
  min-width: 155px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0;
  border: 0;
  border-radius: 11px;
  background:
    linear-gradient(
      145deg,
      #075642,
      #0a4034
    );
  color: #ffffff;
}

body[data-public-shell]
.fb44-form footer .button .ui-icon {
  width: 16px;
  height: 16px;
}

/* Registration form */

body[data-public-shell]
.page-intro:has(+ form[action="/account/register"]) {
  box-sizing: border-box;
  width: min(720px, calc(100% - 32px));
  max-width: none;
  margin: 30px auto 0;
  padding: 28px 31px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 0;
  border-radius: 21px 21px 0 0;
  background:
    radial-gradient(
      circle at 95% 0,
      rgba(216, 243, 137, 0.2),
      transparent 38%
    ),
    linear-gradient(
      135deg,
      #04362c,
      #086049
    );
  color: #ffffff;
}

body[data-public-shell]
.page-intro:has(+ form[action="/account/register"]) .eyebrow {
  color: #dcf59a;
}

body[data-public-shell]
.page-intro:has(+ form[action="/account/register"]) h1 {
  margin: 7px 0;
  color: #ffffff;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
}

body[data-public-shell]
.page-intro:has(+ form[action="/account/register"]) p {
  color: #c6d9cf;
}

body[data-public-shell]
form[action="/account/register"].editor-form {
  box-sizing: border-box;
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(720px, calc(100% - 32px));
  max-width: none;
  margin: 0 auto 75px;
  padding: 31px;
  border: 1px solid #dbe5dc;
  border-top: 0;
  border-radius: 0 0 21px 21px;
  background: #ffffff;
  box-shadow:
    0 24px 65px rgba(6, 52, 42, 0.09);
}

body[data-public-shell]
form[action="/account/register"].editor-form .field {
  margin: 0;
}

body[data-public-shell]
form[action="/account/register"].editor-form .field:first-of-type,
body[data-public-shell]
form[action="/account/register"].editor-form .field:nth-of-type(2),
body[data-public-shell]
form[action="/account/register"].editor-form .field:last-of-type,
body[data-public-shell]
form[action="/account/register"].editor-form > .button,
body[data-public-shell]
form[action="/account/register"].editor-form > p {
  grid-column: 1 / -1;
}

body[data-public-shell]
form[action="/account/register"].editor-form input {
  min-height: 49px;
  border-radius: 11px;
}

/* Existing member profile */

body[data-public-shell]
.profile27-panel dl {
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
}

@media (max-width: 760px) {
  body[data-public-shell] .fb44-shell {
    grid-template-columns: 1fr;
    width: calc(100% - 20px);
    margin: 12px auto 105px;
    border-radius: 20px;
  }

  body[data-public-shell] .fb44-intro {
    padding: 29px 22px;
  }

  body[data-public-shell] .fb44-intro h1 {
    font-size: 2.3rem;
  }

  body[data-public-shell] .fb44-form {
    gap: 17px;
    padding: 26px 20px 29px;
  }

  body[data-public-shell] .fb44-identity-grid {
    grid-template-columns: 1fr;
  }

  body[data-public-shell] .fb44-form input,
  body[data-public-shell] .fb44-form textarea {
    font-size: 16px;
  }

  body[data-public-shell] .fb44-form footer {
    align-items: stretch;
    flex-direction: column;
  }

  body[data-public-shell] .fb44-form footer .button {
    width: 100%;
  }

  body[data-public-shell]
  .page-intro:has(+ form[action="/account/register"]) {
    width: calc(100% - 20px);
    margin-top: 12px;
    padding: 25px 20px;
    border-radius: 18px 18px 0 0;
  }

  body[data-public-shell]
  form[action="/account/register"].editor-form {
    grid-template-columns: 1fr;
    width: calc(100% - 20px);
    margin-bottom: 105px;
    padding: 25px 19px 28px;
    border-radius: 0 0 18px 18px;
  }

  body[data-public-shell]
  form[action="/account/register"].editor-form .field,
  body[data-public-shell]
  form[action="/account/register"].editor-form > .button,
  body[data-public-shell]
  form[action="/account/register"].editor-form > p {
    grid-column: 1;
  }

  body[data-public-shell]
  form[action="/account/register"].editor-form input {
    font-size: 16px;
  }

  body[data-public-shell]
  .profile27-panel dl {
    grid-template-columns: 1fr;
  }
}