#accountCardsSection .account-section-heading {
  margin-bottom: 10px;
}
#accountCardsSection .customer-message:empty {
  display: none;
}
.account-body #accountCardsSection .customer-text-button {
  color: #007ba8;
}
html[data-theme='dark'] .account-body #accountCardsSection .customer-text-button {
  color: #70d6ff;
}
#accountCardsSection .profile-card-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.profile-card-details {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 14px;
}
#accountCardsSection .profile-card-details p {
  margin: 0;
  font-size: 13px;
}
.profile-card-row strong {
  font-size: 14px;
  font-weight: 600;
}
.card-dialog-overlay {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  padding: 20px;
  overflow-y: auto;
  background: rgb(15 28 43 / 48%);
  backdrop-filter: blur(4px);
}
.card-dialog-overlay[hidden],
.card-dialog [hidden] {
  display: none !important;
}
body.card-dialog-open {
  overflow: hidden;
}
.card-dialog {
  --dark-action: #007ba8;
  --dark-action-ink: #fff;
  --dark-action-hover: #006b93;
  width: min(100%, 440px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  border: 1px solid var(--account-line, #dce5ed);
  border-radius: 22px;
  padding: 26px;
  background: var(--account-surface, #fff);
  color: var(--account-ink, #17304b);
  box-shadow: 0 24px 80px rgb(8 28 45 / 20%);
  text-align: right;
  direction: rtl;
}
.card-dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.card-dialog h2 {
  color: inherit;
  margin: 0;
  font-size: 22px;
  line-height: 1.4;
}
.card-dialog-close {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--account-soft, #f2f7fa);
  color: inherit;
  cursor: pointer;
  font:
    26px/1 Arial,
    sans-serif;
}
.card-dialog p {
  margin: 10px 0;
  font-size: 14px;
  line-height: 1.6;
}
#cardDialogDescription,
.card-dialog-privacy {
  color: var(--account-muted, #64768a);
}
#cardDialogStatus:empty {
  display: none;
}
.card-dialog-loading {
  width: 30px;
  height: 30px;
  margin: 28px auto;
  border: 3px solid var(--account-line, #dce5ed);
  border-top-color: var(--dark-action);
  border-radius: 50%;
  animation: card-dialog-spin 0.8s linear infinite;
}
@keyframes card-dialog-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .card-dialog-loading {
    animation: none;
  }
}
.card-dialog-test {
  color: #916b13;
}
.card-dialog form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}
.card-dialog-field {
  min-width: 0;
}
.card-dialog-field label {
  color: inherit;
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 600;
}
.card-dialog-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.profile-card-details .card-network-icon {
  width: 40px;
  height: 26px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  margin-inline-end: 8px;
}
.profile-card-details img[alt='Visa'] {
  object-fit: cover;
}
.card-dialog-hosted {
  height: 52px;
  border: 1px solid var(--account-line, #dce5ed);
  border-radius: 11px;
  padding-inline: 10px;
  background: #fff;
  overflow: hidden;
}
.card-dialog-hosted iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.card-dialog-consent {
  color: inherit;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  line-height: 1.6;
}
.card-dialog-consent input {
  margin-top: 4px;
  flex: 0 0 auto;
  accent-color: #00a9e8;
}
.card-dialog-submit {
  width: 100%;
  justify-content: center;
  min-height: 48px;
}
.account-body .card-dialog .btn-primary {
  background: #007ba8;
  border-color: #007ba8;
  color: #fff;
}
html[data-theme='dark'] .card-dialog-test {
  color: #e9ba58;
}
.card-dialog .card-dialog-privacy {
  margin: 16px 0 0;
  font-size: 11px;
}
.card-dialog a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.card-dialog :focus-visible {
  outline: 3px solid #00a9e8;
  outline-offset: 3px;
}
@media (max-width: 480px) {
  .card-dialog-overlay {
    padding: 14px;
  }
  .card-dialog {
    padding: 21px;
    max-height: calc(100dvh - 28px);
  }
  .card-dialog h2 {
    font-size: 20px;
  }
}
