.hidden {
  display: none !important;
}

.gyfield {
  font-size: 18px;
  margin-bottom: 5px;
}

.gyfRedeem {
  font-size: 18px;
  margin-bottom: 5px;
}

/* this changed */
.gyf__root {
  height: 0;
  overflow: hidden;
  padding: 0px 5px 0px 0px;
  transition: max-height 0.5s ease-in-out, margin-bottom 0.5s ease-in-out;
}

/* this changed */
.visible {
  margin-bottom: 40px;
  height: 100%;
  max-height: 500px;
}

.showthyaga {
  cursor: pointer;
}

.gyflbl .optional {
  display: none;
}

#gyfChkF_btn {
  margin-right: 10px;
}

#gyf_code:valid {
  text-transform: uppercase;
}

::-webkit-input-placeholder {
  text-transform: none;
}
:-moz-placeholder {
  text-transform: none;
}
::-moz-placeholder {
  text-transform: none;
}
:-ms-input-placeholder {
  text-transform: none;
}

.gyf-heading::before {
  content: url('/wp-content/plugins/thyaga-woocommerce-plugin/Icon-29.png');
  margin: 0px 5px;
}

.gyf-heading {
  margin-left: -5px;
}

.gyf-info {
  /* color: var(--wp-admin-theme-color); */
  color: black;
  margin-top: 2px;
}

.gyf-form-row {
  padding: 3px 3px 3px 0px !important;
}

/* Applied vouchers list */
#gyf-vouchers-list {
  margin-bottom: 15px;
  padding: 10px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background: #f9f9f9;
}

.gyf-vouchers-label {
  margin: 0 0 8px 0;
  font-size: 14px;
}

.gyf-voucher-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 5px 0;
  border-bottom: 1px solid #ececec;
  font-size: 14px;
}

.gyf-voucher-item:last-of-type {
  border-bottom: none;
}

.gyf-voucher-code {
  flex: 1;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.gyf-voucher-amount {
  color: #2e7d32;
  font-weight: 600;
  white-space: nowrap;
}

.gyf-remove-voucher {
  color: #c62828;
  font-size: 12px;
  text-decoration: none;
  white-space: nowrap;
}

.gyf-remove-voucher:hover {
  text-decoration: underline;
}

.gyf-total-redeemed {
  margin: 10px 0 0 0;
  font-size: 15px;
  text-align: right;
}

/* Expand max-height to accommodate voucher list */
.visible {
  max-height: 900px;
}
