.smartgifty-woo-total {
  text-align: right;
  font-weight: bold;
}

.smartgifty-woo-total-paid {
  color: #20ad3f;
}

.smartgifty-woo-action-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.smartgifty-woo-remove-card {
  background: transparent;
  border: none;
  color: #cc1818;
  font-size: 1.25em;
  font-weight: bold;
  cursor: pointer;
  padding: 0.25em 0.5em;
  margin-left: 0.5em;
  line-height: 1;
  transition: color 0.2s ease, transform 0.2s ease;
}

.smartgifty-woo-redeem-card {
  background: #20ad3f; 
  border: none;
  color: #fff;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  padding: 0.5em 1em;
  margin-left: 0;
  line-height: 1.2;
  border-radius: 9999px; 
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 4px rgba(32, 173, 63, 0.25);
}

.smartgifty-woo-redeem-card:hover {
  background: #1b8d34;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(32, 173, 63, 0.3);
}

.smartgifty-woo-redeem-card:active {
  background: #157229;
  transform: translateY(0);
  box-shadow: 0 2px 3px rgba(32, 173, 63, 0.25);
}

.smartgifty-woo-redeem-card:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(32, 173, 63, 0.4);
}

.smartgifty-woo-global-error {
  padding: 15px;
  margin: 10px 0;
  border: 1px solid transparent;
  border-radius: 4px;

  color: #cc1818;
  background-color: #f2dede;
  border-color: #ebccd1;

  font-family: sans-serif;
  font-size: 14px;
}




.smartgifty-woo-remove-card:hover {
  color: #a30000;
  transform: scale(1.1);
}

.smartgifty-woo-remove-card:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(204, 24, 24, 0.5);
  border-radius: 4px;
}

.smartgifty-woo-gift-card-field-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  gap: 1rem;
}

.smartgifty-woo-gift-card-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.smartgifty-woo-gift-card-field input[type="text"] {
  background-color: #fff;
  border: 1px solid hsla(0, 0%, 7%, 0.8);
  border-radius: 4px;
  box-sizing: border-box;
  color: #2b2d2f;
  font-size: 1em;
  height: 3.125em;
  line-height: 1em;
  padding: 1em 0.5em;
  width: 100%;
  font-family: inherit;
  transition: border 0.2s ease;
}

.smartgifty-woo-gift-card-field-error input[type="text"], 
.smartgifty-woo-gift-card-field-error small {
  border-color: red;
}

.smartgifty-woo-gift-card-field-error small {
  color: red;
}

.smartgifty-woo-gift-card-field input[type="text"]:focus {
  border: 1.5px solid;
  outline: none;
}

.smartgifty-woo-gift-card-field-amount {
  white-space: nowrap;
  text-align: right;
  font-size: 1em;
  color: #2b2d2f;
  min-width: 80px;
}
