/** 
 * WOOCOMMERCE SIDEBAR LAYOUT
 **/
@media (max-width: 1279px) {
  .wc-block-components-sidebar-layout {
    flex-direction: column;
  }

    .wc-block-components-sidebar-layout .wc-block-components-main,
    .wc-block-components-sidebar-layout .wc-block-components-sidebar {
      width: 100%;
      padding-right: 0;
      padding-left: 0;
    }
}

/**
 * WOOCOMMERCE CONFIRMATION ORDER
 **/
.wc-block-order-confirmation-totals table {
  border: 1px solid #2d2b2e26 !important;
  border-radius: 1rem !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

.wc-block-order-confirmation-order-note, 
.wc-block-order-confirmation-shipping-address .wc-block-order-confirmation-billing-address {
  border: 1px solid #2d2b2e26 !important;
  border-radius: 1rem !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important; 
}

/**
 * WOOCOMMERCE ACCOUNT
 */
.woocommerce-account main .woocommerce {
  max-width: inherit !important;
}

.woocommerce-account section.wp-block-group .wp-block-group {
  width: 100%;
}

  .woocommerce-account .woocommerce-MyAccount-content {
    display: flex;
    float: none !important;
    width: 100% !important;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
  }

/**
 * WOOCOMMERCE ORDER DETAILS
 */
.woocommerce-view-order .woocommerce-table--order-details {
  display: none !important;
}

.woocommerce-view-order .woocommerce-customer-details {
  display: none !important;
}

.woocommerce-view-order .woocommerce-shipments-list__title {
  display: none !important;
}

.woocommerce-view-order .woocommerce-MyAccount-shipments {
  display: none !important;
}

/**
 * WOOCOMMERCE ORDER CONFIG
 **/
.woocommerce-order-config .wp-site-blocks section.wp-block-group > .wp-block-group {
  display: flex;
  width: 100%;
  max-width: 1536px;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
}

  /* .woocommerce-order-config .wc-block-order-confirmation-totals-wrapper {
    width: 100%;
  } */

    .woocommerce-order-config .wc-block-order-confirmation-totals {
      display: flex;
      margin-top: 0;
      flex-direction: column;
      align-items: center;
      gap: 0;
    }

  .woocommerce-order-config .woocommerce-order-config__title {
    margin: 0;
    font-size: var(--wp--preset--font-size--extra-large) !important;
    text-align: center;
  }

  .woocommerce-order-config table.woocommerce-table--order-details thead,
  .woocommerce-order-config table.woocommerce-table--order-details tfoot {
    display: none !important;
  } 

.woocommerce-order-config .wc-block-order-confirmation-status,
.woocommerce-order-config .wc-block-order-confirmation-summary,
.woocommerce-order-config .wp-block-woocommerce-order-confirmation-status,
.woocommerce-order-config .wc-block-order-confirmation-totals-wrapper h3.wp-block-heading,
.woocommerce-order-config .wc-block-order-confirmation-shipping-wrapper,
.woocommerce-order-config .wc-block-order-confirmation-billing-wrapper,
.woocommerce-order-config .wc-block-order-confirmation-additional-information {
  display: none !important;
}

/* Exception: Always show creator success message */
.woocommerce-order-config .creator-success-message {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
}

.woocommerce-order-config h1 {
  margin: 0;
  margin-bottom: 4rem;
}

.woocommerce-order-config table.wc-block-order-confirmation-totals__table {
  max-width: 640px;
}

  .woocommerce-order-config table.wc-block-order-confirmation-totals__table thead,
  .woocommerce-order-config table.wc-block-order-confirmation-totals__table tfoot {
    display: none;
  }

    .woocommerce-order-config table.wc-block-order-confirmation-totals__table .wc-block-order-confirmation-totals__product a {
      font-size: var(--wp--preset--font-size--small-medium) !important;
      font-weight: 600;
      text-decoration: none;
      pointer-events: none;
    }

    .woocommerce-order-config table.wc-block-order-confirmation-totals__table .wc-block-order-confirmation-totals__product .product-quantity {
      display: none;
    }

    .woocommerce-order-config table.wc-block-order-confirmation-totals__table .wc-block-order-confirmation-totals__product .wc-item-meta {
      display: flex;
      margin-top: 0.5rem;
      flex-direction: column;
      gap: 0.25rem;
    }
    
    .woocommerce-order-config table.wc-block-order-confirmation-totals__table .wc-block-order-confirmation-totals__product .wc-item-meta * {
      font-weight: 400;
    }

      .woocommerce-order-config table.wc-block-order-confirmation-totals__table .wc-block-order-confirmation-totals__product .wc-item-meta p > strong {
        display: none;
      }

.woocommerce-order-config .wc-block-order-confirmation-order-note {
  display: none;
}

.woocommerce-order-config .order-status {
  display: flex;
  width: 100%;
  max-width: 640px;
  margin-bottom: 4rem;
  padding: 0;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
}

.woocommerce-order-config .order-status li {
    display: flex;
    padding: 0.5rem 0;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #2d2b2e26 !important;
    color: var(--wp--preset--color--contrast);
    font-size: var(--wp--preset--font-size--normal) !important;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.woocommerce-order-config .wc-block-order-confirmation-totals-wrapper .wp-block-group {
  width: 100%;
  margin-bottom: 4rem;
}

.woocommerce-order-config .acfe-form {
  width: 100%;
  max-width: 100%;
  border: 1px solid #2d2b2e26 !important;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

  .woocommerce-order-config .acfe-form.-success {
    cursor: not-allowed;
    pointer-events: none;
  }

  .woocommerce-order-config #message {
    position: fixed;
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    padding: 1rem 0;
    top: 0;
    left: 0;
    background-color: #ffffff80;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    font-size: var(--wp--preset--font-size--small-medium) !important;
    font-weight: 600;
    text-align: center;
    z-index: 99;
  }

  .woocommerce-order-config #submit {
    display: flex;
    position: fixed;
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    padding: 1rem 0;
    bottom: 0;
    left: 0;
    background-color: #ffffff80;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    font-size: var(--wp--preset--font-size--small-medium) !important;
    font-weight: 600;
    text-align: center;
    flex-direction: column;
    align-items: center;
    z-index: 99;
  }

    .woocommerce-order-config #submit:not(.active),
    .woocommerce-order-config-cc #submit {
      display: none !important;
    }

    .woocommerce-order-config #submit > .wp-block-button {
      display: flex;
    }

      .woocommerce-order-config #submit > .wp-block-button a {
  background-color: #22c55e;
      }

    .woocommerce-order-config .acfe-form .acf-button {
      display: inline-block;
      padding-top: 0.75rem;
      padding-right: var(--wp--preset--spacing--10);
      padding-bottom: 0.75rem;
      padding-left: var(--wp--preset--spacing--10);
      background-color: var(--wp--preset--color--contrast) !important;
      border-color: var(--wp--preset--color--contrast);
      border-width: 0;
      border-radius: 0.5rem;
      color: var(--wp--preset--color--base) !important;
      --tw-block-border-color: currentcolor;
      font-family: var(--wp--preset--font-family--roboto);
      font-size: var(--wp--preset--font-size--normal);
      font-style: normal;
      font-weight: 500;
      line-height: inherit;
      text-align: center;
      text-decoration: none;
      word-break: break-word;
      box-shadow: none;
      box-sizing: border-box;
      cursor: pointer;
    }

      .woocommerce-order-config-cc .acfe-form .acf-button.disabled {
        display: none;
      }

/**
 * WOOCOMMERCE ORDER DETAILS FEEDBACK
 **/
.woocommerce-order-config .acfe-form .acf-fields > .acf-field[data-name="fbd88b6d-b59c-4b6d-a5a6-e411b0d7e594"] > .acf-label,
.woocommerce-order-config .acfe-form .acf-fields > .acf-field[data-name="fbd88b6d-b59c-4b6d-a5a6-e411b0d7e594"] > .acf-label + .acf-input,
.woocommerce-order-config .acfe-form .acf-fields > .acf-field[data-name="8ef8d11c-bbd3-482a-85ec-54d5eb21a94e"] > .acf-label,
.woocommerce-order-config .acfe-form .acf-fields > .acf-field[data-name="8ef8d11c-bbd3-482a-85ec-54d5eb21a94e"] > .acf-label + .acf-input,
.woocommerce-order-config .acfe-form .acf-fields > .acf-field[data-name="d4d8fde8-30ad-41e8-8c5f-6776744f11f3"] > .acf-label,
.woocommerce-order-config .acfe-form .acf-fields > .acf-field[data-name="d4d8fde8-30ad-41e8-8c5f-6776744f11f3"] > .acf-label + .acf-input {
  grid-column: span 12 / span 12;
}

.woocommerce-order-config .acfe-form .acf-field[data-name="d4d8fde8-30ad-41e8-8c5f-6776744f11f3"] .acf-field-group > .acf-label,
.woocommerce-order-config .acfe-form .acf-field[data-name="3397b934-320a-4cec-ac5f-f65838d7fdab"] {
  display: none !important;
}

.woocommerce-order-config .acfe-form .acf-fields > .acf-field[data-name="fbd88b6d-b59c-4b6d-a5a6-e411b0d7e594"] > .acf-label {
  display: none;
}

.woocommerce-order-config .acfe-form .acf-field[data-name="fbd88b6d-b59c-4b6d-a5a6-e411b0d7e594"] .acf-button-group label {
  color: var(--wp--preset--color--base) !important;
}

.woocommerce-order-config .acfe-form .acf-field[data-name="fbd88b6d-b59c-4b6d-a5a6-e411b0d7e594"] .acf-button-group label:first-child {
  display: none !important;
}

.woocommerce-order-config .acfe-form .acf-field[data-name="fbd88b6d-b59c-4b6d-a5a6-e411b0d7e594"] .acf-button-group label:nth-child(2) {
  background-color: #22c55e;
}

.woocommerce-order-config .acfe-form .acf-field[data-name="fbd88b6d-b59c-4b6d-a5a6-e411b0d7e594"] .acf-button-group label:nth-child(3) {
  background-color: #ef4444;
}

.woocommerce-order-config .acfe-form .acf-field[data-name="d4d8fde8-30ad-41e8-8c5f-6776744f11f3"] .acf-actions {
  display: none !important;
}

.woocommerce-order-config h2,
.woocommerce-order-config .acf-repeater-tab-group,
.woocommerce-order-config .pdf-wrapper,
.woocommerce-order-config .pdf-wrapper + .acf-field:not([data-width]) {
  width: 100%;
}
  
  .woocommerce-order-config .acfe-form .acf-fields h2 {
    text-align: center;
  }

  .woocommerce-order-config .feedback__wrapper {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    column-gap: 2rem;
  }

    .woocommerce-order-config .feedback__wrapper h2,
    .woocommerce-order-config .feedback__wrapper form-feedback1,
    .woocommerce-order-config .feedback__wrapper form-feedback2,
    .woocommerce-order-config .feedback__wrapper pdf-final {
      width: 100%;
      grid-column: span 8;
    }

    .woocommerce-order-config .feedback__wrapper #feedback-status {
      width: 100%;
      grid-column: span 2;
    }

    .woocommerce-order-config .feedback__wrapper .pdf-wrapper {
      width: 100%;
      grid-column-start: 4;
      grid-column-end: 8;
    }

    .woocommerce-order-config .feedback__wrapper #feedback {
      grid-column: span 8;
    }

    .woocommerce-order-config .feedback__wrapper #feedback .acf-tab-wrap {
      display: none;
    }

  .woocommerce-order-config .acf-repeater-tab-group {
    display: flex;
    width: 100%;
    max-width: 100%;
    padding: 0;
    flex-direction: column;
    column-gap: 2rem;
  }

    .woocommerce-order-config .acf-repeater-tab-group button {
      display: flex;
      padding: 0.5rem 0.25rem;
      background-color: transparent;
      border: none;
      border-bottom: 1px solid #2d2b2e26 !important;
      color: var(--wp--preset--color--contrast);
      font-size: var(--wp--preset--font-size--normal) !important;
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
      column-gap: 0.5rem;
      cursor: pointer;
    }

      .woocommerce-order-config .acf-repeater-tab-group button.active {
  background-color: #efefef;
      }

      .woocommerce-order-config .acf-repeater-tab-group button i {
        margin-left: auto;
        font-size: var(--wp--preset--font-size--small) !important;
        font-style: normal;
      }

      .woocommerce-order-config .acf-repeater-tab-group button .status {
        display: flex;
        width: 1.5rem;
        height: 1.5rem;
        /*background-color: #FACC15;*/
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        text-indent: 9999em;
        overflow: hidden;
      }

      .woocommerce-order-config .acf-repeater-tab-group button .status--1,
      .woocommerce-order-config .acf-repeater-tab-group button .status--2 {
        background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="%232d2b2e"><path d="M382-240 154-468l57-57 171 171 367-367 57 57-424 424Z"></path></svg>');
      }

        /*
        .woocommerce-order-config .acf-repeater-tab-group button .status--1 {
          background-color: #22C55E;
        }

        .woocommerce-order-config .acf-repeater-tab-group button .status--2 {
          background-color: #EF4444;
        }
        */

/**
 * SPECIAL STUFF
 **/
.woocommerce-order-config .acfe-form .acf-field[data-name="a69b1700-c558-4573-a9ea-076e3628eb7a"] .acf-label + .acf-input > .acf-fields > .acf-field[data-type="group"],
.woocommerce-order-config .acfe-form .acf-field[data-name="93479e3f-5466-42d2-9c6f-bcb790cddc33"] .acf-label + .acf-input > .acf-fields > .acf-field[data-type="group"] {
  margin: 0;
}

  .woocommerce-order-config .acfe-form .acf-field[data-name="a69b1700-c558-4573-a9ea-076e3628eb7a"] .acf-label + .acf-input > .acf-fields > .acf-field[data-type="group"] > .acf-label,
  .woocommerce-order-config .acfe-form .acf-field[data-name="93479e3f-5466-42d2-9c6f-bcb790cddc33"] .acf-label + .acf-input > .acf-fields > .acf-field[data-type="group"] > .acf-label {
    display: none;
  }

  .woocommerce-order-config .acfe-form .acf-field[data-name="a69b1700-c558-4573-a9ea-076e3628eb7a"] .acf-label + .acf-input > .acf-fields > .acf-field[data-type="group"] > .acf-label + .acf-input > .acf-fields,
  .woocommerce-order-config .acfe-form .acf-field[data-name="93479e3f-5466-42d2-9c6f-bcb790cddc33"] .acf-label + .acf-input > .acf-fields > .acf-field[data-type="group"] > .acf-label + .acf-input > .acf-fields {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

    .woocommerce-order-config .acfe-form .acf-field[data-name="a69b1700-c558-4573-a9ea-076e3628eb7a"] .acf-label + .acf-input > .acf-fields > .acf-field[data-type="group"] > .acf-label + .acf-input > .acf-fields > .acf-field,
  .woocommerce-order-config .acfe-form .acf-field[data-name="93479e3f-5466-42d2-9c6f-bcb790cddc33"] .acf-label + .acf-input > .acf-fields > .acf-field[data-type="group"] > .acf-label + .acf-input > .acf-fields > .acf-field {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

/**
 * PDF
 **/
.woocommerce-order-config .pdf-wrapper {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
}

  .woocommerce-order-config .pdf-wrapper > canvas {
    border: 1px solid #2d2b2e26 !important;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  }

  .woocommerce-order-config .pdf-wrapper .pdf-navigation {
    display: flex;
    width: 100%;
    position: absolute;
    margin-top: -4rem;
    top: 50%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .woocommerce-order-config .pdf-wrapper .pdf-navigation button {
    display: flex;
    width: 3rem;
    height: 3rem;
    background-color: var(--wp--preset--color--base-2) !important;
    border: 0;
    border-radius: 50%;
    outline-color: #e8bfb0bf;
    outline-style: solid;
    outline-width: 4px;
    text-indent: -9999em;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

    .woocommerce-order-config .pdf-wrapper .pdf-navigation button:after {
      display: flex;
      position: absolute;
      width: 1.75rem;
      height: 1.75rem;
      background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="%232D2B2E"><path d="M504-480 320-664l56-56 240 240-240 240-56-56 184-184Z"/></svg>');
      background-size: 1.75rem;
  content: "";
    }

    .woocommerce-order-config .pdf-wrapper .pdf-navigation button.pdf-prev {
      left: -1.5rem;
    }

    @media (max-width: 1023px) {
      .woocommerce-order-config .pdf-wrapper .pdf-navigation button.pdf-prev {
        left: 1rem;
      }
    }

      .woocommerce-order-config .pdf-wrapper .pdf-navigation button.pdf-prev:after {
        margin-right: 0.1rem;
        transform: rotate(180deg);
      }

    .woocommerce-order-config .pdf-wrapper .pdf-navigation button.pdf-next {
      right: -1.5rem;
    }

    @media (max-width: 1023px) {
      .woocommerce-order-config .pdf-wrapper .pdf-navigation button.pdf-next {
        right: 1rem;
      }
    }

      .woocommerce-order-config .pdf-wrapper .pdf-navigation button.pdf-next a:after {
        margin-left: 0.1rem;
      }

.woocommerce-order-config .acf-field[data-name="d4d8fde8-30ad-41e8-8c5f-6776744f11f3"] > .acf-label {
  display: none;
}

  .woocommerce-order-config .acf-field[data-name="d4d8fde8-30ad-41e8-8c5f-6776744f11f3"] .acf-table thead {
    display: none;
  }

  .woocommerce-order-config .acf-field[data-name="d4d8fde8-30ad-41e8-8c5f-6776744f11f3"] .acf-table tr {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

    .woocommerce-order-config .acf-field[data-name="d4d8fde8-30ad-41e8-8c5f-6776744f11f3"] .acf-table tr td.acf-row-handle {
      display: none !important;
    }

    .woocommerce-order-config .acf-field[data-name="d4d8fde8-30ad-41e8-8c5f-6776744f11f3"] .acf-table tr td.acf-field-clone {
      padding: 0 !important;
    }

      .woocommerce-order-config .acf-field[data-name="d4d8fde8-30ad-41e8-8c5f-6776744f11f3"] .acf-table tr td.acf-field-clone .acf-field[data-name="fbd88b6d-b59c-4b6d-a5a6-e411b0d7e594"] {
        margin: 0 !important;
        padding: 0 !important;
      }

/**
 * CUSTOMER ORDER DATA SECTION
 * Displays customer-provided data to creators
 **/
.customer-order-data-section {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid #2d2b2e26;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  width: 100%;
}

/* Secondary variant - grayed out for reference */
.customer-order-data-section--secondary {
  opacity: 0.7;
  background: #f9f9f9;
  border-color: #2d2b2e20;
}

.customer-order-data-section--secondary .customer-order-data-section__title {
  color: #666;
  border-bottom-color: #999;
}

.customer-order-data-section__title {
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  color: #2d2b2e;
  border-bottom: 2px solid #2d2b2e;
  padding-bottom: 0.75rem;
}

.customer-order-data-section__separator {
  border-top: 1px solid #ddd;
  margin: 2rem 0;
}

.customer-order-data-section__field {
  margin-bottom: 1.5rem;
}

.customer-order-data-section__field--nested {
  margin-top: 1.25rem;
  margin-left: 20px;
}

.customer-order-data-section__label {
  color: #2d2b2e;
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 1.05em;
}

.customer-order-data-section__label--main {
  font-size: 1.1em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #2d2b2e;
}

.customer-order-data-section__content {
  background: #fafafa;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid #2d2b2e15;
}

.customer-order-data-section__content--nested {
  margin-left: 20px;
}

.customer-order-data-section__value {
  margin: 0.4rem 0;
  color: #2d2b2e;
  line-height: 1.6;
}

.customer-order-data-section__field-item {
  margin: 0.6rem 0;
}

.customer-order-data-section__field-label {
  color: #666666;
  font-size: 0.95em;
}

.customer-order-data-section__field-value {
  color: #2d2b2e;
}

.customer-order-data-section__file-link {
  color: #2d2b2e;
  text-decoration: none;
  border-bottom: 2px solid #2d2b2e;
  transition: opacity 0.2s ease;
}

.customer-order-data-section__file-link:hover {
  opacity: 0.7;
}

/**
 * CREATOR FILES SECTION
 * Displays creator-uploaded files in WooCommerce backend
 **/
.creator-files-section {
  margin: 20px 0;
  padding: 15px;
  background: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.creator-files-section__title {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: #23282d;
  border-bottom: 2px solid #0073aa;
  padding-bottom: 10px;
}

.creator-files-section__file-item {
  margin: 10px 0;
  padding: 10px;
  background: white;
  border-radius: 3px;
  border: 1px solid #e5e5e5;
}

.creator-files-section__file-item strong {
  display: inline-block;
  min-width: 200px;
  color: #555d66;
}

/**
 * CREATOR UPLOAD FORM (ORDER CONFIRMATION PAGE)
 * Styles for ACFE form where creators upload PDF and InDesign files
 **/
.woocommerce-order-config .acfe-form[data-name="creator"] {
  margin: 2rem 0;
  padding: 2rem;
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid #2d2b2e26;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Form field container */
.woocommerce-order-config .acfe-form[data-name="creator"] .acf-fields {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Individual field styling */
.woocommerce-order-config .acfe-form[data-name="creator"] .acf-field {
  background: #fafafa;
  border: 1px solid #2d2b2e15;
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin: 0 !important;
}

/* Field labels */
.woocommerce-order-config .acfe-form[data-name="creator"] .acf-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2d2b2e;
  margin-bottom: 0.75rem;
}

.woocommerce-order-config .acfe-form[data-name="creator"] .acf-label label {
  color: #2d2b2e;
  font-weight: 600;
}

/* Instructions text */
.woocommerce-order-config .acfe-form[data-name="creator"] .description,
.woocommerce-order-config .acfe-form[data-name="creator"] .acf-label .description {
  color: #666666;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  font-weight: 400;
}

/* File upload button styling */
.woocommerce-order-config .acfe-form[data-name="creator"] .acf-button {
  background: #2d2b2e !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 0.5rem !important;
  padding: 0.75rem 1.5rem !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: opacity 0.2s ease !important;
}

.woocommerce-order-config .acfe-form[data-name="creator"] .acf-button:hover {
  opacity: 0.8 !important;
}

/* File upload area */
.woocommerce-order-config .acfe-form[data-name="creator"] .acf-file-uploader {
  background: #ffffff;
  border: 2px dashed #2d2b2e26;
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
}

/* Uploaded file display */
.woocommerce-order-config .acfe-form[data-name="creator"] .acf-file-uploader .file-info {
  background: #ffffff;
  border: 1px solid #2d2b2e15;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-top: 1rem;
}

.woocommerce-order-config .acfe-form[data-name="creator"] .acf-file-uploader .file-info .file-title {
  color: #2d2b2e;
  font-weight: 500;
}

/* Submit button */
.woocommerce-order-config .acfe-form[data-name="creator"] .acf-form-submit {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #2d2b2e15;
}

.woocommerce-order-config .acfe-form[data-name="creator"] .acf-form-submit .acf-button {
  background: #2d2b2e !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 0.75rem !important;
  padding: 1rem 2.5rem !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

.woocommerce-order-config .acfe-form[data-name="creator"] .acf-form-submit .acf-button:hover {
  opacity: 0.9 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}

/* Success message styling */
.woocommerce-order-config .acfe-form[data-name="creator"].-success .acfe-form-success {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 0.75rem;
  padding: 1.5rem;
  color: #0c4a6e;
  font-weight: 500;
}

/* Loading state */
.woocommerce-order-config .acfe-form[data-name="creator"] .acf-loading {
  opacity: 0.6;
}

/**
 * HIDE DEFAULT THANK YOU CONTENT FOR PROCESSING STATUSES
 **/
body.order-status-processing .entry-title,
body.order-status-processing .woocommerce-order-received .entry-header h1,
body.order-status-processing .woocommerce-order-received .wp-block-post-title {
  display: none !important;
}

body.order-status-processing .woocommerce-order-received > .entry-content > p:first-of-type {
  display: none !important;
}

.order-app-start-button--container {
  margin: 40px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 40px 0;
}
