input[name="woocommerce_matkahuolto_user_id"] {
  margin-right: 4px;
}

.wpa-ajax-indicator {
  display: inline-block;
  margin: 0 0 0 5px;
  line-height: 30px;
}

a.woo-carrier-agents-mh-check-customer-number {
  display: inline-block;
  line-height: 30px;
  margin-left: 5px;
}

.wpa-result-errors {
  display: inline-block;
  margin-left: 5px;
  line-height: 30px;
}

#wca-agent-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
}

#wca-agent-actions a {
  flex: none;
  display: block;
}

#wca-agent-actions #wca-delete-agent-button {
  color: #b32d2e;
}

/**
 * Carrier logos in the meta box
 */
.wca-logo {
  margin: 10px 0;
}

.wca-logo img {
  display: inline-block;
  margin-right: 10px;
  max-width: 64px;
  max-height: 64px;
  vertical-align: middle;
}

/**
 * Modal for updating agent
 */
#wca-update-agent-form .search-params .form-input {
  display: inline-block;
  margin-bottom: 10px;
}

#wca-update-agent-form .search-params .form-input .button {
  vertical-align: baseline;
}

#wca-update-agent-form .form-input select {
  max-width: 100%;
}

/**
 * Settings
 */
.wpa-weight-rates fieldset {
  width: 400px;
}

.wpa-weight-rates table.wc_input_table.wpa-weight-rates-table {
  width: 400px;
  table-layout: fixed;
  border-radius: 4px;
  border: 1px solid #8c8f94 !important;
}

.wpa-weight-rates table.wc_input_table.wpa-weight-rates-table th, .wpa-weight-rates table.wc_input_table.wpa-weight-rates-table td {
  width: auto;
  padding: 10px;
}

.wpa-weight-rates table.wc_input_table.wpa-weight-rates-table th:first-child, .wpa-weight-rates table.wc_input_table.wpa-weight-rates-table td:first-child {
  padding-left: 10px;
}

.wpa-weight-rates table.wc_input_table.wpa-weight-rates-table th.wpa-remove, .wpa-weight-rates table.wc_input_table.wpa-weight-rates-table td.wpa-remove {
  width: 40px;
  text-align: center;
  padding: 0;
}

.wpa-weight-rates table.wc_input_table.wpa-weight-rates-table tbody tr td {
  padding: 0;
}

.wpa-weight-rates table.wc_input_table.wpa-weight-rates-table tbody tr td:first-child {
  padding: 0;
}

.wpa-weight-rates table.wc_input_table.wpa-weight-rates-table tbody tr td input {
  padding: 0 10px !important;
}

.wpa-weight-rates table.wc_input_table.wpa-weight-rates-table tbody tr td a.wpa-remove-rate {
  color: #646970 !important;
  text-decoration: none;
}

.wpa-weight-rates table.wc_input_table.wpa-weight-rates-table tbody tr td a.wpa-remove-rate:focus, .wpa-weight-rates table.wc_input_table.wpa-weight-rates-table tbody tr td a.wpa-remove-rate:hover {
  outline: none;
  box-shadow: none;
}

.wpa-weight-rates table.wc_input_table.wpa-weight-rates-table tfoot tr td {
  border-top: 1px solid #dfdfdf;
  padding: 10px;
}

.wc-modal-shipping-method-settings table.wc_input_table.wpa-weight-rates-table {
  width: 100%;
  margin-top: 6px;
}

.wc-modal-shipping-method-settings table.wc_input_table.wpa-weight-rates-table thead th {
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}

/**
 * Logos for shipping methods
 */
fieldset.wc-shipping-zone-method-selector .wc-shipping-zone-method-input:has( > input#pakettipiste) {
  background: url("../../assets/img/pakettipiste.svg") no-repeat right 20px center;
  background-size: auto 22px;
}

fieldset.wc-shipping-zone-method-selector .wc-shipping-zone-method-input:has( > input#pakettipiste) .dashicons-yes {
  display: none !important;
}

fieldset.wc-shipping-zone-method-selector .wc-shipping-zone-method-input:has( > input#posti) {
  background: url("../../assets/img/posti.svg") no-repeat right 20px center;
  background-size: auto 30px;
}

fieldset.wc-shipping-zone-method-selector .wc-shipping-zone-method-input:has( > input#posti) .dashicons-yes {
  display: none !important;
}

fieldset.wc-shipping-zone-method-selector .wc-shipping-zone-method-input:has( > input#postnord) {
  background: url("../../assets/img/postnord.svg") no-repeat right 20px center;
  background-size: auto 18px;
}

fieldset.wc-shipping-zone-method-selector .wc-shipping-zone-method-input:has( > input#postnord) .dashicons-yes {
  display: none !important;
}

fieldset.wc-shipping-zone-method-selector .wc-shipping-zone-method-input:has( > input#schenker) {
  background: url("../../assets/img/schenker.svg") no-repeat right 20px center;
  background-size: auto 18px;
}

fieldset.wc-shipping-zone-method-selector .wc-shipping-zone-method-input:has( > input#schenker) .dashicons-yes {
  display: none !important;
}

fieldset.wc-shipping-zone-method-selector .wc-shipping-zone-method-input:has( > input#matkahuolto) {
  background: url("../../assets/img/matkahuolto.svg") no-repeat right 20px center;
  background-size: auto 30px;
}

fieldset.wc-shipping-zone-method-selector .wc-shipping-zone-method-input:has( > input#matkahuolto) .dashicons-yes {
  display: none !important;
}

fieldset.wc-shipping-zone-method-selector .wc-shipping-zone-method-input:has( > input#ups) {
  background: url("../../assets/img/ups.svg") no-repeat right 20px center;
  background-size: auto 30px;
}

fieldset.wc-shipping-zone-method-selector .wc-shipping-zone-method-input:has( > input#ups) .dashicons-yes {
  display: none !important;
}

fieldset.wc-shipping-zone-method-selector .wc-shipping-zone-method-input:has( > input#gls) {
  background: url("../../assets/img/gls.svg") no-repeat right 20px center;
  background-size: auto 22px;
}

fieldset.wc-shipping-zone-method-selector .wc-shipping-zone-method-input:has( > input#gls) .dashicons-yes {
  display: none !important;
}

/**
 * License status label
 */
.markup-license-status-label {
  color: #ffffff;
  padding: 5px 7px;
  font-size: 13px;
  border-radius: 5px;
  text-transform: uppercase;
  display: inline-block;
}

.markup-license-status-label.license-ok {
  background: #2b8a3e;
  color: #ffffff;
}

.markup-license-status-label.license-disabled {
  background: #c92a2a;
}

.markup-license-status-label.license-unknown {
  background: #212529;
}

.markup-license-domain {
  margin-top: 10px;
}

.markup-license-error {
  display: inline-block;
  margin-left: 5px;
}

.markup-license-last-checked {
  color: #666666;
  margin-top: 10px;
}

.markup-license-renew {
  margin-top: 10px;
}

#woo-printables-license-nag {
  display: block;
}
