/* Hide price label for all calculation fields */
.gfield--type-product.gfield--input-type-calculation .ginput_product_price_label {
    display: none;
}

/* Styling for price text (whether tooltip is present or not) */
.gfield--type-product.gfield--input-type-calculation .ginput_product_price {
    font-weight: 600;
    font-size: 16px !important;
}

.gfield_label {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #090909;
}

body .gform_wrapper form#gform_1 .gfield,
body .gform_wrapper form#gform_62 .gfield,
body .gform_wrapper form#gform_71 .gfield,
body .gform_wrapper form#gform_72 .gfield {
  margin-bottom: 2em !important;
}

body .gform_wrapper input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
  border: 1px solid #CACACA;
  width: 1.2em;
  height: 1.2em;
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.5em;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

body .gform_wrapper input[type="radio"]:checked {
  background-color: #090909;
  border-color: #090909;
}

body .gform_wrapper .gchoice label {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

#gform_wrapper_1,
#gform_wrapper_62,
#gform_wrapper_71,
#gform_wrapper_72 {
  max-width: 768px;
  margin: 0 auto;
  padding: 0 1em;
}

/* Universal input + textarea styling */
body .gform_wrapper .gform_body input, 
body .gform_wrapper .gform_body select, 
body .gform_wrapper .gform_body textarea {
    border-radius: 0 !important;
    font-size: 16px !important;
}

/* Universal label styling */
body .gform_wrapper label,
body .gform_wrapper .gfield_label.gform-field-label {
    font-size: 16px !important;
}

.gform_wrapper .gform_button,
.gform_wrapper .gform_button:visited {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #fff !important;
    background: #C8102E !important;
    padding: 14px 25px !important;
    border: 0 !important;
    border-radius: 0 !important;
    letter-spacing: 0.5px;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative;
    text-transform: uppercase !important;
    overflow: hidden;
    cursor: pointer !important;
    box-shadow: 0 4px 8px -2px rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    line-height: 1.5em !important;
    height: auto !important;
    text-align: center !important;
    white-space: nowrap !important;
}

/* Hover effect */
.gform_wrapper .gform_button::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
    pointer-events: none;
}

.gform_wrapper .gform_button:hover::before {
    transform: scaleX(1);
}

.gform_wrapper .gform_button:hover {
    color: #fff !important;
}

#gform_wrapper_2 .gform_button {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #fff !important;
    background: none !important;
    padding: 12px 23px !important;
    border: 2px solid rgba(255, 255, 255, 0.5) !important;
    border-radius: 0 !important;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s ease-in-out;
    text-transform: uppercase !important;
    overflow: hidden;
    cursor: pointer !important;
    box-shadow: none !important;
    line-height: 1.5em !important;
    height: auto !important;
    text-align: center !important;
    white-space: nowrap !important;
}

#gform_wrapper_2 .gform_button::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.2);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
}

#gform_wrapper_2 .gform_button:hover::before {
    transform: scaleX(1);
}

#gform_wrapper_2 .gform_button:hover {
    border-color: rgba(255, 255, 255, 1) !important;
    color: #fff !important;
}

#gform_browse_button_62_24 {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #090909 !important;
    background: #fff !important;
    padding: 7px 18px !important;
    border: 2px solid #090909 !important;
    border-radius: 0 !important;
    letter-spacing: 0.5px;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative;
    text-transform: uppercase !important;
    cursor: pointer !important;
    box-shadow: 0 4px 8px -2px rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    line-height: 1.5em !important;
    height: auto !important;
    text-align: center !important;
    white-space: nowrap !important;
    margin: 0 0.75em 1em !important;
    overflow: hidden; /* Required for hover effect */
}

#gform_browse_button_62_24::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
    z-index: 0;
}

#gform_browse_button_62_24:hover::before {
    transform: scaleX(1);
}

#gform_browse_button_62_24:hover {
    color: #090909 !important;
}

.gpnf-add-entry {
	font-size: 16px !important;
    font-weight: 600 !important;
    color: #090909 !important;
    background: #fff !important;
    padding: 7px 18px !important;
    border: 2px solid #090909 !important;
    border-radius: 0 !important;
    letter-spacing: 0.5px;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative;
    text-transform: uppercase !important;
    cursor: pointer !important;
    box-shadow: 0 4px 8px -2px rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    line-height: 1.5em !important;
    height: auto !important;
    text-align: center !important;
    white-space: nowrap !important;
    margin: 0 0.5em 1em !important;
}

.gpnf-add-entry::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
}

.gpnf-add-entry:hover::before {
    transform: scaleX(1);
}

.gpnf-add-entry:hover {
    color: #090909 !important;
}

.gpnf-nested-entries {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #cacaca;
  font-size: 1rem;
  background-color: #fff;
  box-shadow: 0 4px 8px -2px rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
}

.gpnf-nested-entries thead,
.gpnf-nested-entries thead tr,
.gpnf-nested-entries thead th {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
}

.gpnf-nested-entries td {
  padding: 0.75em 1em;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.gpnf-nested-entries td {
  color: #292929;
  vertical-align: middle;
}

table.gpnf-nested-entries td:last-child {
  background-color: transparent !important;
}

.gpnf-nested-entries td.gpnf-row-actions {
  width: 1%;
  white-space: nowrap;
}

.gpnf-nested-entries .gpnf-row-actions {
text-align: right;
}

.gpnf-nested-entries .gpnf-row-actions ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0.5em;
  justify-content: flex-end;
}

.gpnf-nested-entries .gpnf-row-actions button {
  padding: 0.4em 0.8em;
  font-size: 0.85rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.gpnf-nested-entries .edit-button {
  background-color: #090909;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 8px -2px rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
}

.gpnf-nested-entries .edit-button:hover {
  background-color: rgba(9, 9, 9, 0.7);
}

.gpnf-nested-entries .delete-button {
  background-color: #C8102E;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 8px -2px rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
}

.gpnf-nested-entries .delete-button:hover {
  background-color: rgba(200, 16, 46, 0.7);
}

.gpnf-no-entries td {
  text-align: center;
  padding: 0.75em 1em;
  color: #6b6b6b;
  font-style: italic;
}