.wp-core-ui .icon-button {
  display: flex;
  align-items: center;
  padding: 5px;
}

.wrap h2.wp-heading-inline {
  display: inline-block;
  margin-right: 5px;
  margin-bottom: 0.25em;
}
.wrap h2.wp-heading-inline + .page-title-action {
  top: -1px;
}

#poststuff h2.mpa-fields-group-title {
  font-size: 1.3em;
  line-height: 1.3;
  font-weight: 600;
  margin: 1em 0;
  padding: 0;
}

.mpa-hide {
  display: none !important;
}

.mpa-error {
  color: #e25950;
  font-weight: bold;
  font-style: italic;
}

.mpa-loading {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: no-repeat center url("../images/loading.gif?ver=2.4.3"), rgba(255, 255, 255, 0.5);
  background-size: 32px 32px;
  z-index: 9000;
}

.mpa-loaded > .mpa-loading {
  display: none;
}

.mpa-table-centered td, .mpa-table-centered th {
  text-align: center;
}
.mpa-table-centered .no-items td,
.mpa-table-centered .no-items th {
  text-align: left;
}

table.fitwidth {
  table-layout: auto;
}

th.fitwidth,
td.fitwidth {
  width: 1%;
  white-space: nowrap;
}

.mpa-description {
  font-style: italic;
}

.mpa-small-description {
  font-size: 75%;
}

.center-text {
  text-align: center;
}

.mpa-preloader {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: no-repeat center url("../images/preloader.gif?ver=2.4.3");
}

.mpa-table th {
  padding-left: 10px;
  vertical-align: middle;
}

.mpa-deprecated {
  opacity: 0.5;
}
.mpa-deprecated strong {
  color: darkred;
  cursor: help;
}

.mpa-list-table .column-label a {
  font-weight: bold;
}
.mpa-list-table .column-actions {
  width: 100px;
}

#mpa-admin-emails .column-label,
#mpa-customer-emails .column-label {
  width: 40%;
}
#mpa-admin-emails .column-label a,
#mpa-customer-emails .column-label a {
  font-weight: bold;
}
#mpa-admin-emails .column-switch,
#mpa-customer-emails .column-switch {
  width: 100px;
}
#mpa-admin-emails .column-type,
#mpa-customer-emails .column-type {
  width: 120px;
}
#mpa-admin-emails .column-recipients,
#mpa-customer-emails .column-recipients {
  width: calc(60% - 320px);
  min-width: 25%;
}

#mpa-email-template-parts .column-label {
  width: calc(100% - 100px);
}

#mpa_stripe_payment_gateway_payment_methods-apple_pay,
#mpa_stripe_payment_gateway_payment_methods-google_pay,
#mpa_stripe_payment_gateway_payment_methods-link {
  margin-left: 22px;
}

.mpa-settings__tab-content {
  display: flex;
  flex-wrap: nowrap;
}

.mpa-settings__tab-sections {
  display: flex;
  flex-direction: column;
  margin: 1.2em 1.5em 1.2em 0;
  row-gap: 0.5em;
  border-right: 2px dotted #ddd;
  padding-right: 1.5em;
  min-width: 130px;
}

.mpa-settings__tab-sections .mpa-settings__tab-section {
  white-space: nowrap;
  text-align: right;
}

.mpa-settings__tab-section--active {
  color: #000;
  display: inline-block;
  margin: 0;
}

.mpa-container-ctrl-wrapper > td {
  padding: 0;
}

.mpa-container-ctrl__label {
  margin-bottom: 0;
}

.mpa-checkbox-ctrl input {
  margin-top: 0;
}

.mpa-color-picker-ctrl .sp-replacer {
  padding: 0;
}
.mpa-color-picker-ctrl .sp-replacer .sp-preview {
  border: none;
  margin: auto;
}
.mpa-color-picker-ctrl .sp-replacer .sp-dd {
  height: auto;
}
.mpa-color-picker-ctrl .sp-container {
  border: none;
}
.mpa-color-picker-ctrl .sp-container .sp-picker-container, .mpa-color-picker-ctrl .sp-container .sp-palette-container {
  margin: auto;
}

.iti__flag {
  background-image: url("../js/intl-tel-input-17.0.19/img/flags.png");
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .iti__flag {
    background-image: url("../js/intl-tel-input-17.0.19/img/flags@2x.png");
  }
}
.mpa-checkout-form .iti {
  width: 100%;
}

.mpa-phone-number--invalid {
  border-color: red;
  color: red;
}

.mpa-phone-field-error {
  color: red;
  margin: 5px 0;
  display: inline-block;
}

.wp-admin .mpa-phone-number--invalid {
  border: 1px solid red;
  color: red;
}