/* Dawah Premium Error Page V37 */

body.public-application
.e37-page {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(360px, 0.95fr);
  gap: 35px;
  width: min(1180px, calc(100% - 32px));
  min-height: 540px;
  align-items: center;
  overflow: hidden;
  margin: 30px auto 70px;
  padding: 42px;
  border:
    1px solid rgba(255, 255, 255, 0.1);
  border-radius: 27px;
  background:
    radial-gradient(
      circle at 88% -15%,
      rgba(213, 244, 129, 0.29),
      transparent 35%
    ),
    radial-gradient(
      circle at -5% 115%,
      rgba(36, 145, 108, 0.34),
      transparent 42%
    ),
    linear-gradient(
      130deg,
      #032f27,
      #07513f 60%,
      #093d33
    );
  color: #ffffff;
  box-shadow:
    0 31px 80px rgba(2, 43, 34, 0.2);
}

.e37-orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.e37-orb-one {
  top: -170px;
  left: 30%;
  width: 330px;
  height: 330px;
  background:
    rgba(213, 244, 129, 0.08);
  filter: blur(8px);
}

.e37-orb-two {
  bottom: -220px;
  left: -120px;
  width: 440px;
  height: 440px;
  border:
    1px solid rgba(255, 255, 255, 0.08);
}

.e37-content {
  min-width: 0;
}

.e37-brand-row {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 27px;
}

.e37-brand-mark {
  display: grid;
  width: 41px;
  height: 41px;
  place-items: center;
  border:
    1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  background:
    rgba(255, 255, 255, 0.09);
  color: #def69a;
  font-weight: 850;
}

.e37-brand-row > div {
  display: grid;
  gap: 2px;
}

.e37-brand-row > div span {
  color: #b5ccc0;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.e37-brand-row > div strong {
  color: #ffffff;
  font-size: 0.68rem;
}

.e37-code {
  display: flex;
  align-items: center;
  gap: 11px;
  height: 88px;
  margin-bottom: 18px;
  color: #def69a;
  font-size: clamp(4.2rem, 9vw, 7rem);
  font-weight: 760;
  line-height: 1;
  letter-spacing: -0.08em;
}

.e37-compass {
  position: relative;
  display: grid;
  width: 75px;
  height: 75px;
  flex: 0 0 auto;
  place-items: center;
  border:
    1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
  background:
    rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.e37-compass .ui-icon {
  width: 31px;
  height: 31px;
  opacity: 0.9;
}

.e37-compass i {
  position: absolute;
  inset: 8px;
  border:
    1px dashed rgba(222, 246, 154, 0.31);
  border-radius: 50%;
}

.e37-compass b {
  position: absolute;
  top: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #def69a;
  box-shadow:
    0 0 0 4px rgba(222, 246, 154, 0.1);
}

.e37-eyebrow {
  color: #b8d0c4;
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

body.public-application
.e37-page h1 {
  margin: 7px 0 10px;
  color: #ffffff;
  font-size:
    clamp(2.1rem, 4.5vw, 3.8rem);
  font-weight: 540;
  line-height: 1;
  letter-spacing: -0.06em;
}

body.public-application
.e37-page .e37-content > p {
  max-width: 580px;
  margin: 0;
  color: #c4d7cd;
  font-size: 0.8rem;
  line-height: 1.7;
}

.e37-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 23px;
}

.e37-primary,
.e37-secondary {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 11px;
  cursor: pointer;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 750;
  text-decoration: none;
}

.e37-primary {
  border: 0;
  background: #def69a;
  color: #07372c !important;
  box-shadow:
    0 12px 25px rgba(0, 26, 19, 0.18);
}

.e37-secondary {
  border:
    1px solid rgba(255, 255, 255, 0.14);
  background:
    rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.e37-primary .ui-icon {
  width: 16px;
  height: 16px;
}

.e37-help {
  display: grid;
  grid-template-columns:
    39px
    minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  max-width: 520px;
  margin-top: 28px;
  padding-top: 19px;
  border-top:
    1px solid rgba(255, 255, 255, 0.12);
}

.e37-help-icon {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 11px;
  background:
    rgba(255, 255, 255, 0.08);
  color: #def69a;
}

.e37-help-icon .ui-icon {
  width: 18px;
  height: 18px;
}

.e37-help > div {
  display: grid;
  gap: 3px;
}

.e37-help strong {
  color: #ffffff;
  font-size: 0.68rem;
}

.e37-help span {
  color: #a9c1b5;
  font-size: 0.59rem;
  line-height: 1.4;
}

/* Illustration */

.e37-art {
  position: relative;
  display: grid;
  min-height: 430px;
  align-content: end;
  overflow: hidden;
  padding: 25px;
  border:
    1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  background:
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.025)
    );
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.08);
}

.e37-arch {
  position: absolute;
  top: 31px;
  right: 28px;
  left: 28px;
  height: 300px;
  overflow: hidden;
  border:
    1px solid rgba(255, 255, 255, 0.13);
  border-bottom: 0;
  border-radius: 190px 190px 0 0;
  background:
    linear-gradient(
      to bottom,
      rgba(222, 246, 154, 0.1),
      rgba(255, 255, 255, 0.015)
    );
}

.e37-sun {
  position: absolute;
  top: 53px;
  right: 67px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #def69a;
  box-shadow:
    0 0 60px rgba(222, 246, 154, 0.28);
}

.e37-path {
  position: absolute;
  right: 31%;
  bottom: -85px;
  width: 93px;
  height: 280px;
  border:
    1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50% 50% 0 0;
  transform: rotate(10deg);
}

.e37-path i {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  border-left:
    1px dashed rgba(222, 246, 154, 0.34);
}

.e37-tree {
  position: absolute;
  bottom: 33px;
  display: block;
  width: 34px;
  height: 83px;
}

.e37-tree-one {
  left: 52px;
}

.e37-tree-two {
  right: 63px;
  bottom: 15px;
  transform: scale(0.78);
}

.e37-tree i {
  position: absolute;
  bottom: 0;
  left: 15px;
  width: 4px;
  height: 37px;
  border-radius: 3px;
  background:
    rgba(222, 246, 154, 0.5);
}

.e37-tree b {
  position: absolute;
  top: 0;
  width: 34px;
  height: 48px;
  border-radius: 50% 50% 45% 45%;
  background:
    rgba(222, 246, 154, 0.19);
}

.e37-art-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 4px;
  padding-top: 17px;
  border-top:
    1px solid rgba(255, 255, 255, 0.12);
}

.e37-art-copy span {
  color: #afc7bb;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.e37-art-copy strong {
  color: #ffffff;
  font-size: 0.78rem;
}

/* Mobile */

@media (max-width: 800px) {
  body.public-application
  .e37-page {
    grid-template-columns: 1fr;
  }

  .e37-art {
    min-height: 350px;
  }
}

@media (max-width: 620px) {
  body.public-application
  .e37-page {
    width: calc(100% - 20px);
    min-height: 0;
    gap: 25px;
    margin: 11px auto 105px;
    padding: 24px 19px;
    border-radius: 21px;
  }

  .e37-brand-row {
    margin-bottom: 21px;
  }

  .e37-code {
    height: 69px;
    font-size: 4.4rem;
  }

  .e37-compass {
    width: 61px;
    height: 61px;
  }

  body.public-application
  .e37-page h1 {
    font-size: 2.4rem;
  }

  .e37-actions {
    display: grid;
  }

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

  .e37-art {
    min-height: 310px;
    padding: 19px;
    border-radius: 18px;
  }

  .e37-arch {
    top: 21px;
    right: 19px;
    left: 19px;
    height: 225px;
  }
}