/* Dawah Compact Countries and Reset Fix V49 */

/* Compact country selection */

.ct49-page {
  width: min(1160px, calc(100% - 32px));
  margin: 25px auto 75px;
}

.ct49-intro {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(370px, 0.65fr);
  gap: 30px;
  align-items: center;
  padding: 27px 29px;
  border: 1px solid #d6e3da;
  border-radius: 21px;
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(222, 246, 154, 0.23),
      transparent 36%
    ),
    linear-gradient(
      135deg,
      #ffffff,
      #f4f8f2
    );
  box-shadow:
    0 18px 45px rgba(3, 54, 42, 0.075);
}

.ct49-intro-copy {
  display: grid;
  grid-template-columns:
    53px
    minmax(0, 1fr);
  gap: 17px;
  align-items: start;
}

.ct49-intro-icon {
  display: grid;
  width: 53px;
  height: 53px;
  place-items: center;
  border-radius: 15px;
  background:
    linear-gradient(
      135deg,
      #087057,
      #064537
    );
  color: #def69a;
  box-shadow:
    0 13px 27px rgba(5, 72, 55, 0.18);
}

.ct49-intro-icon .ui-icon {
  width: 23px;
  height: 23px;
}

.ct49-kicker {
  margin: 0;
  color: #778a80;
  font-size: 0.53rem;
  font-weight: 850;
  letter-spacing: 0.13em;
}

body.public-application
.ct49-intro h1 {
  margin: 5px 0 6px;
  color: #0a4034;
  font-size:
    clamp(2rem, 3.8vw, 3.25rem);
  font-weight: 630;
  line-height: 1;
  letter-spacing: -0.055em;
}

body.public-application
.ct49-intro-copy > div > p:last-child {
  max-width: 610px;
  margin: 0;
  color: #687b72;
  font-size: 0.67rem;
  line-height: 1.55;
}

.ct49-intro-tools {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    auto;
  gap: 10px;
}

.ct49-search {
  display: grid;
  grid-template-columns:
    41px
    minmax(0, 1fr)
    34px;
  min-height: 50px;
  align-items: center;
  overflow: hidden;
  border:
    1px solid #cbdcd1;
  border-radius: 13px;
  background: #ffffff;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.ct49-search:focus-within {
  border-color: #12815f;
  box-shadow:
    0 0 0 4px rgba(18, 129, 95, 0.09);
}

.ct49-search > span {
  display: grid;
  height: 100%;
  place-items: center;
  color: #688078;
}

.ct49-search .ui-icon {
  width: 18px;
  height: 18px;
}

body.public-application
.ct49-search input {
  width: 100%;
  height: 48px;
  min-width: 0;
  padding: 0 6px;
  border: 0 !important;
  outline: 0;
  background: transparent !important;
  color: #153e33;
  font: inherit;
  font-size: 0.69rem;
  box-shadow: none !important;
}

body.public-application
.ct49-search button {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #edf3ee;
  color: #526b61;
  cursor: pointer;
  font: inherit;
  font-size: 1rem;
}

.ct49-count {
  display: grid;
  min-width: 95px;
  align-content: center;
  justify-items: center;
  padding: 7px 12px;
  border-radius: 13px;
  background: #07513f;
  color: #ffffff;
}

.ct49-count strong {
  color: #def69a;
  font-size: 1.15rem;
  line-height: 1;
}

.ct49-count span {
  margin-top: 4px;
  color: #c0d4ca;
  font-size: 0.46rem;
  white-space: nowrap;
}

.ct49-results {
  margin-top: 25px;
}

.ct49-results-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 13px;
  padding: 0 3px;
}

.ct49-results-heading span {
  color: #788a81;
  font-size: 0.51rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

body.public-application
.ct49-results-heading h2 {
  margin: 4px 0 0;
  color: #0b4034;
  font-size:
    clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.04em;
}

body.public-application
.ct49-results-heading > p {
  margin: 0;
  color: #087057;
  font-size: 0.59rem;
  font-weight: 730;
}

.ct49-grid {
  display: grid;
  grid-template-columns:
    repeat(4, minmax(0, 1fr));
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ct49-grid li {
  min-width: 0;
}

.ct49-grid li[hidden] {
  display: none;
}

.ct49-grid a {
  display: grid;
  grid-template-columns:
    61px
    minmax(0, 1fr)
    31px;
  gap: 12px;
  min-height: 96px;
  align-items: center;
  padding: 14px;
  border:
    1px solid #dce6df;
  border-radius: 16px;
  background: #ffffff;
  color: #123e33 !important;
  text-decoration: none;
  box-shadow:
    0 9px 23px rgba(3, 54, 42, 0.045);
  transition:
    transform 170ms ease,
    border-color 170ms ease,
    box-shadow 170ms ease;
}

.ct49-grid a:hover {
  transform: translateY(-3px);
  border-color: #aac9b5;
  box-shadow:
    0 16px 31px rgba(3, 54, 42, 0.09);
}

.ct49-flag {
  position: relative;
  display: grid;
  width: 61px;
  height: 46px;
  place-items: center;
  overflow: hidden;
  border:
    1px solid #dde5df;
  border-radius: 10px;
  background: #f3f6f3;
  box-shadow:
    0 7px 16px rgba(3, 54, 42, 0.075);
}

.ct49-flag > span {
  color: #74887e;
  font-size: 0.52rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.ct49-flag img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ct49-country {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.ct49-country small {
  color: #85958d;
  font-size: 0.44rem;
  font-weight: 850;
  letter-spacing: 0.11em;
}

.ct49-country strong {
  overflow: hidden;
  color: #0a4034;
  font-size: 0.77rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ct49-country > span {
  color: #75877e;
  font-size: 0.5rem;
}

.ct49-open {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 9px;
  background: #edf5e7;
  color: #07513f;
}

.ct49-open .ui-icon {
  width: 14px;
  height: 14px;
}

.ct49-grid a:hover
.ct49-open {
  background: #07513f;
  color: #ffffff;
}

.ct49-help {
  display: grid;
  grid-template-columns:
    39px
    minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  max-width: 470px;
  margin-top: 18px;
  padding: 12px 14px;
  border:
    1px solid #dde6df;
  border-radius: 13px;
  background: #f5f8f4;
}

.ct49-help > span {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 11px;
  background: #ffffff;
  color: #07513f;
}

.ct49-help .ui-icon {
  width: 17px;
  height: 17px;
}

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

.ct49-help strong {
  color: #1b493d;
  font-size: 0.6rem;
}

body.public-application
.ct49-help p {
  margin: 0;
  color: #71837a;
  font-size: 0.52rem;
  line-height: 1.45;
}

.ct49-empty {
  display: grid;
  max-width: 650px;
  justify-items: center;
  margin: 30px auto 0;
  padding: 47px 25px;
  border:
    1px solid #dbe5de;
  border-radius: 20px;
  background: #ffffff;
  text-align: center;
}

.ct49-empty > span {
  display: grid;
  width: 63px;
  height: 63px;
  place-items: center;
  margin-bottom: 17px;
  border-radius: 18px;
  background: #edf5e7;
  color: #07513f;
}

.ct49-empty .ui-icon {
  width: 27px;
  height: 27px;
}

body.public-application
.ct49-empty h2 {
  margin: 7px 0 9px;
  color: #0b4034;
  font-size: 1.8rem;
}

body.public-application
.ct49-empty > p:last-of-type {
  margin: 0;
  color: #6f8178;
  font-size: 0.65rem;
}

.ct49-empty a {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  margin-top: 18px;
  padding: 9px 14px;
  border-radius: 11px;
  background: #07513f;
  color: #ffffff !important;
  font-size: 0.61rem;
  font-weight: 750;
  text-decoration: none;
}

/* Make the reset form slightly more focused */

.ac48-action-shell.is-reset {
  grid-template-columns:
    minmax(320px, 0.82fr)
    minmax(420px, 1.18fr);
}

.ac48-action-shell.is-reset
.ac47-action-card {
  max-width: 455px;
}

.ac48-action-shell.is-reset
.ac47-action-heading {
  margin-bottom: 24px;
}

.ac48-action-shell.is-reset
.ac47-action-heading h2 {
  max-width: 430px;
}

.ac48-action-shell.is-reset
.ac47-field input {
  height: 57px;
}

.ac48-action-shell.is-reset
.ac47-submit {
  min-height: 59px !important;
}

/* Responsive */

@media (max-width: 1020px) {
  .ct49-grid {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .ct49-intro {
    grid-template-columns: 1fr;
    gap: 19px;
  }

  .ct49-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .ct49-page {
    width: calc(100% - 20px);
    margin: 11px auto 105px;
  }

  .ct49-intro {
    padding: 20px;
    border-radius: 18px;
  }

  .ct49-intro-copy {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 13px;
  }

  .ct49-intro-icon {
    width: 46px;
    height: 46px;
  }

  body.public-application
  .ct49-intro h1 {
    font-size: 2.25rem;
  }

  .ct49-intro-tools {
    grid-template-columns: 1fr;
  }

  .ct49-count {
    grid-template-columns: auto auto;
    gap: 6px;
    min-height: 43px;
    align-items: center;
    justify-content: center;
  }

  .ct49-count span {
    margin: 0;
  }

  .ct49-results-heading {
    display: grid;
    align-items: start;
  }

  .ct49-grid {
    grid-template-columns: 1fr;
  }

  .ct49-grid a {
    min-height: 90px;
  }

  .ac48-action-shell.is-reset {
    grid-template-columns: 1fr;
  }
}