/* John Astral 360 · Acordeones de afiliados · staging */
#customerAccount.ja-board-mode .account-rate-guide {
  padding-inline: 8px;
}

#customerAccount.ja-board-mode .account-country-rate {
  margin: 12px 8px;
  overflow: hidden;
}

#customerAccount.ja-board-mode .account-country-rate summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 10px 18px;
}

#customerAccount.ja-board-mode .account-country-name {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding-left: 4px;
}

#customerAccount.ja-board-mode .account-country-flag {
  display: inline-grid;
  flex: 0 0 30px;
  place-items: center;
  width: 30px;
  height: 30px;
  overflow: hidden;
  border: 1px solid rgba(241, 203, 117, .7);
  border-radius: 50%;
  background: rgba(8, 13, 39, .72);
  font-size: 0;
  line-height: 1;
  position: relative;
}

#customerAccount.ja-board-mode .account-country-flag--cl {
  background: linear-gradient(to bottom, #fff 0 50%, #d52b1e 50%);
}

#customerAccount.ja-board-mode .account-country-flag--cl::before {
  content: "★";
  position: absolute;
  inset: 0 auto auto 0;
  display: grid;
  width: 50%;
  height: 50%;
  place-items: center;
  color: #fff;
  background: #0039a6;
  font-size: 9px;
}

#customerAccount.ja-board-mode .account-country-flag--co {
  background: linear-gradient(to bottom, #fcd116 0 50%, #003893 50% 75%, #ce1126 75%);
}

#customerAccount.ja-board-mode .account-country-flag--ec {
  background: linear-gradient(to bottom, #fcd116 0 50%, #034ea2 50% 75%, #ed1c24 75%);
}

#customerAccount.ja-board-mode .account-country-flag--es {
  background: linear-gradient(to bottom, #aa151b 0 25%, #f1bf00 25% 75%, #aa151b 75%);
}

#customerAccount.ja-board-mode .account-country-flag--mx {
  background: linear-gradient(to right, #006847 0 33.33%, #fff 33.33% 66.66%, #ce1126 66.66%);
}

#customerAccount.ja-board-mode .account-country-flag--pe {
  background: linear-gradient(to right, #d91023 0 33.33%, #fff 33.33% 66.66%, #d91023 66.66%);
}

#customerAccount.ja-board-mode .account-country-flag--us {
  background: repeating-linear-gradient(to bottom, #b22234 0 14.28%, #fff 14.28% 28.56%);
}

#customerAccount.ja-board-mode .account-country-flag--us::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 48%;
  height: 54%;
  background: #3c3b6e;
}

#customerAccount.ja-board-mode .account-country-flag--world {
  background: linear-gradient(135deg, #7f5cff, #f1cb75);
}

#customerAccount.ja-board-mode .account-country-rate summary small {
  margin-left: auto;
  padding-right: 6px;
}

#customerAccount.ja-board-mode .account-country-rate ul {
  margin: 0;
  padding: 10px 20px 15px;
}

#customerAccount.ja-board-mode .account-country-rate li {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 48px;
  padding: 10px 8px;
}

#customerAccount.ja-board-mode .account-country-rate li > span {
  min-width: 0;
  padding-left: 8px;
}

#customerAccount.ja-board-mode .account-country-rate li > strong {
  flex: 0 0 auto;
  margin-left: auto;
  padding-right: 8px;
  white-space: nowrap;
}

@media (max-width: 640px) {
  #customerAccount.ja-board-mode .account-rate-guide {
    padding-inline: 0;
  }

  #customerAccount.ja-board-mode .account-country-rate {
    margin-inline: 2px;
  }

  #customerAccount.ja-board-mode .account-country-rate summary {
    padding-inline: 14px;
  }

  #customerAccount.ja-board-mode .account-country-rate ul {
    padding-inline: 14px;
  }

  #customerAccount.ja-board-mode .account-country-rate li {
    gap: 12px;
    padding-inline: 6px;
  }
}
