.gift-card-settings{
  max-width: 760px;
}
.gift-card-settings .form-table{
  margin-top: 20px;
  background: #fff !important;
  border: 1px solid #dcdcde !important;
  border-radius: 4px;
}
.gift-card-settings .form-table th,
.gift-card-settings .form-table td{
  padding: 20px;
  vertical-align: top;
}
.gift-card-settings .form-table th{
  width: 220px;
}
.gift-card-settings__tabs{
  margin: 20px 0 0;
}
.gift-card-settings__cards{
  display: grid;
  gap: 20px;
  max-width: 760px;
  margin-top: 24px;
}
.gift-card-settings__card{
  padding: 24px;
  background: #fff;
  border: 1px solid #dcdcde;
  border-radius: 6px;
}
.gift-card-settings__card h2{
  margin: 0 0 8px;
  font-size: 20px;
}
.gift-card-settings__card > p{
  margin: 0 0 8px;
  color: #50575e;
}
.gift-card-settings__card--shortcode{
  background: #f6f7f7;
}
.gift-card-settings__shortcode{
  display: inline-block;
  padding: 10px 12px;
  color: #1d2327;
  background: #fff;
  border: 1px solid #c3c4c7;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
}
.gift-card-settings__card > .form-table{
  margin: 0;
  border: 0 !important;
}
.gift-card-settings__card > .form-table > tbody > tr > th,
.gift-card-settings__card > .form-table > tbody > tr > td{
  padding: 16px 0;
}
.gift-card-logo-field__select{
  margin-top: 8px !important;
}
.gift-card-settings__card--amounts{
  max-width: 720px;
  margin-top: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
}
.gift-card-settings__card--amounts > .form-table,
.gift-card-settings__card--amounts > .form-table > tbody,
.gift-card-settings__card--amounts > .form-table > tbody > tr,
.gift-card-settings__card--amounts > .form-table > tbody > tr > td{
  display: block;
  width: auto;
}
.gift-card-settings__card--amounts > .form-table > tbody > tr > th{
  display: none;
}
.gift-card-settings__card--amounts > .form-table > tbody > tr > td{
  padding: 12px 0 0;
}
.gift-card-amounts-field__table{
  width: 100%;
  max-width: 680px;
  margin: 0;
  border-spacing: 0;
  border-collapse: separate;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dedede;
  border-radius: 7px;
}
.gift-card-amounts-field__table th{
  display: table-cell !important;
  width: auto !important;
  padding: 10px 14px;
  color: #50575e;
  background: #f6f7f7;
  border-bottom: 1px solid #dedede;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-align: left;
  text-transform: uppercase;
}
.gift-card-amounts-field__row{
  background: #fff;
}
.gift-card-amounts-field__row + .gift-card-amounts-field__row td{
  border-top: 1px solid #ededed;
}
.gift-card-amounts-field__row td{
  display: table-cell !important;
  width: auto !important;
  padding: 10px 14px;
}
.gift-card-amounts-field__currency-input{
  display: flex;
  align-items: center;
  gap: 10px;
}
.gift-card-amounts-field__currency-input > span{
  color: #666;
  font-weight: 700;
}
.gift-card-amounts-field__currency-input input{
  box-sizing: border-box;
  width: 100%;
  min-width: 100px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid #b7b7b7;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
}
.gift-card-amounts-field__currency-input input[readonly]{
  color: #787c82;
  background: #f6f7f7;
  cursor: not-allowed;
}
.gift-card-amounts-field__manual-toggle{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0 0 26px;
  color: #50575e;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.gift-card-amounts-field__manual-toggle input{
  margin: 0;
}
.gift-card-amounts-field__row input:focus{
  border-color: #111;
  box-shadow: 0 0 0 1px #111;
  outline: 0;
}
.gift-card-amounts-field__remove{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: #b42318;
  background: #fff4f3;
  border: 1px solid #fecdca;
  border-radius: 4px;
  cursor: pointer;
}
.gift-card-amounts-field__remove:hover,
.gift-card-amounts-field__remove:focus{
  color: #fff;
  background: #b42318;
  border-color: #b42318;
  outline: 0;
}
.gift-card-amounts-field__remove .dashicons{
  width: 17px;
  height: 17px;
  font-size: 17px;
}
.gift-card-amounts-field__action{
  width: 54px;
  text-align: center !important;
}
.gift-card-amounts-field__add{
  min-height: 40px;
  margin-top: 16px !important;
  padding: 0 16px !important;
  color: #fff !important;
  background: #111 !important;
  border-color: #111 !important;
  border-radius: 4px !important;
  font-weight: 600;
}
.gift-card-amounts-field__add:hover,
.gift-card-amounts-field__add:focus{
  background: #333 !important;
  border-color: #333 !important;
}
.gift-card-amounts-field .description{
  margin-top: 12px;
}
.gift-card-settings .button-primary{
  min-height: 40px;
  padding: 0 18px;
  background: #111 !important;
  border-color: #111 !important;
  box-shadow: none !important;
  font-weight: 600;
}
.gift-card-settings .button-primary:hover,
.gift-card-settings .button-primary:focus{
  background: #333 !important;
  border-color: #333 !important;
}
.gift-card-email-previews{
  max-width: 760px;
  margin-top: 24px;
}
.gift-card-email-preview{
  margin-top: 24px;
}
.gift-card-email-preview h2{
  margin: 0 0 12px;
  font-size: 18px;
}
.gift-card-email-preview__content{
  background: #f6f7f7;
  border: 1px solid #dcdcde;
}
.gift-card-tabs{
  max-width: 1020px;
  margin: 0 auto;
  padding: 50px 0;
}
.gift-card-tabs__title{
  margin: 0 0 34px !important;
  color: #000 !important;
  font-size: 32px;
  text-align: center;
  text-transform: uppercase;
}
.gift-card-tabs__list{
  display: flex;
  justify-content: center;
  border-bottom: 1px solid #d4d4d4 !important;
}
.gift-card-tabs__button{
  padding: 14px 22px;
  color: #000 !important;
  background: transparent !important;
  border: 0;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}
.gift-card-tabs__button.is-active{
  color: #1d5dcc !important;
  border-bottom-color: #1d5dcc !important;
}
.gift-card-tab-panel{
  padding-top: 48px;
}
.gift-card-layout{
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 48px;
  max-width: 1020px;
  align-items: start;
}
.gift-card-form{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.gift-card-form__group{
  display: contents;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.gift-card-form__group-title{
  display: block;
  grid-column: 1 / -1;
  padding: 0;
  margin: 0;
  color: #000 !important;
  font-size: 16px;
  font-weight: 600;
}
.gift-card-form__field{
  position: relative;
  margin: 0 !important;
}
.gift-card-form__field--full{
  grid-column: 1 / -1;
}
.gift-card-form__field input:not([type="radio"]),
.gift-card-form__field select{
  box-sizing: border-box;
  width: 100%;
  height: 54px;
  padding: 0 18px;
  color: #000 !important;
  background: #fff !important;
  border: 1px solid #d4d4d4 !important;
  border-radius: 0;
  font: inherit;
  font-size: 16px;
}
.gift-card-form__field select{
  appearance: auto;
}
.gift-card-form__field input:focus,
.gift-card-form__field select:focus{
  border-color: #000 !important;
  outline: 1px solid #000 !important;
  outline-offset: -1px;
}
.gift-card-form__field--amount small{
  display: block;
  margin-top: 8px;
  color: #000 !important;
  font-size: 13px;
}
.gift-card-form__field--amount{
  grid-column: 1 / -1;
}
.gift-card-form__submit{
  grid-column: 1 / -1;
  margin: 8px 0 0 !important;
}
.gift-card-form__submit button{
  width: 100%;
  min-height: 56px;
  padding: 12px 20px;
  color: #fff !important;
  background: #000 !important;
  border: 1px solid #000 !important;
  border-radius: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-transform: uppercase;
}
.gift-card-form__amount-label{
  display: block;
  margin-bottom: 10px;
  color: #000 !important;
  font-size: 16px;
}
.gift-card-form__amounts{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.gift-card-form__amount{
  position: relative;
  cursor: pointer;
}
.gift-card-form__amount input{
  position: absolute;
  opacity: 0;
}
.gift-card-form__amount > span{
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 16px;
  color: #000 !important;
  background: #fff !important;
  border: 1px solid #d4d4d4 !important;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}
.gift-card-form__amount > span .woocommerce-Price-amount,
.gift-card-form__amount > span .woocommerce-Price-amount *,
.gift-card-form__amount > span bdi,
.gift-card-form__amount > span .woocommerce-Price-currencySymbol{
  display: inline !important;
  padding: 0 !important;
  margin: 0 !important;
  color: inherit !important;
  background: transparent !important;
  border: 0 !important;
  font: inherit !important;
}
.gift-card-form__amount input:checked + span{
  color: #fff !important;
  border-color: #000 !important;
  background: #000 !important;
}
.gift-card-form__amount input:checked + span *{
  color: #fff !important;
}
.gift-card-form__amount input:focus-visible + span{
  outline: 1px solid #000 !important;
  outline-offset: 2px;
}
.gift-card-form__hidden-label{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.gift-card-preview{
  min-height: 220px;
  padding: 28px;
  color: #fff !important;
  background: #000 !important;
  border-radius: 2px;
  box-sizing: border-box;
}
.gift-card-preview__eyebrow{
  display: block;
  color: #b5b5b5 !important;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.gift-card-preview h3{
  margin: 32px 0 8px;
  color: #fff !important;
  font-size: 28px;
  line-height: 1;
}
.gift-card-preview__recipient{
  margin: 0;
  color: #d1d1d1 !important;
  font-size: 14px;
}
.gift-card-preview__amount{
  display: block;
  margin-top: 34px;
  color: #fff !important;
  font-size: 34px;
  line-height: 1;
}
.gift-card-redeem *{
  color: #000 !important;
}
.gift-card-redeem h3{
  margin: 0 0 36px;
  font-size: 28px;
  text-transform: uppercase;
}
.gift-card-redeem p{
  margin: 0 0 24px;
}
.gift-card-redeem ol{
  padding-left: 20px;
  margin: 0;
}
.gift-card-redeem li{
  margin-bottom: 8px;
}
.gift-card-balance * {
  color: #000 !important;
}
.gift-card-balance{
  max-width: 660px;
  margin: 0 auto;
}
.gift-card-balance h3{
  margin: 0 0 36px;
  font-size: 28px;
  text-transform: uppercase;
  text-align: center;
}
.gift-card-balance p{
  margin: 0 0 24px;
  text-align: center;
}
.gift-card-balance input{
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 54px;
  padding: 0 14px;
  color: #000 !important;
  background: #fff !important;
  border: 1px solid #d4d4d4 !important;
  border-radius: 0;
  font: inherit;
  font-size: 16px;
}
.gift-card-balance button{
  width: 100%;
  min-height: 56px;
  margin-top: 24px;
  padding: 12px 20px;
  color: #fff !important;
  background: #000 !important;
  border: 1px solid #000 !important;
  border-radius: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-transform: uppercase;
}
.gift-card-balance__result{
  min-height: 24px;
  margin-top: 16px !important;
  font-weight: 600;
  text-align: center;
}
.gift-card-balance__result.is-error{
  color: #b42318 !important;
}
@media (max-width: 640px){
  .gift-card-amounts-field__currency-input input{
    min-width: 80px;
  }
  .gift-card-tabs__title{
    margin-bottom: 24px;
    font-size: 26px;
  }
  .gift-card-tabs__list{
    justify-content: flex-start;
    overflow-x: auto;
  }
  .gift-card-tabs__button{
    flex: 0 0 auto;
    padding: 12px 14px;
    font-size: 14px;
  }
  .gift-card-tab-panel{
    padding-top: 32px;
  }
  .gift-card-layout{
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .gift-card-form{
    grid-template-columns: 1fr;
  }
  .gift-card-form__amounts{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
