.oyp-offer-button {
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
    border: 1px solid #e7e6e6 !important;
}

.oyp-offer-button:hover {
    opacity: 0.9;
}

.extoyp_popup_block input::-webkit-outer-spin-button,
.extoyp_popup_block input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
.extoyp_popup_block input[type=number] {
  -moz-appearance: textfield;
}

.extoyp_popup_overlay {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(54, 115, 178, 0.7);
  z-index: 9999;
  overflow-y: auto;
}

.extoyp_popup_outer {
  min-height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}

.extoyp_popup_block {
  width: 100%;
  max-width: 1000px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  position: relative;
  margin: 20px 0;
}

.extoyp_popup_block .extoyp_col_left {
  background-color: #fff;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 335px;
  padding: 60px;
  box-sizing: border-box;
}

.extoyp_popup_block .extoyp_col_left .extoyp_prod_img {
  background-color: #e9f3ff;
  border-radius: 10px;
  padding: 12px;
  display: inline-block;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.extoyp_popup_block .extoyp_col_left .extoyp_prod_content {
  margin-top: 20px;
}

.extoyp_popup_block .extoyp_col_left .extoyp_prod_content .extoyp_prod_title {
  color: #3a3a3a;
  font-size: 18px;
  line-height: 22px;
  margin: 0 0 5px 0;
}

.extoyp_popup_block .extoyp_col_left .extoyp_prod_content .extoyp_prod_price {
  color: #484848;
  font-size: 15px;
  line-height: 18px;
}

.extoyp_price_range {
  margin-top: 20px;
  width: 100%;
}

.extoyp_price_range .price-info {
  margin-bottom: 10px;
}

.extoyp_popup_block .extoyp_col_right {
  width: calc(100% - 335px);
  background-color: #e9f4ff;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.extoyp_popup_block .extoyp_col_right .extoyp_make_offer {
  padding: 45px;
}

.extoyp_popup_block .extoyp_col_right .extoyp_make_offer .extoyp_offer_header {
  color: #3a3a3a;
  font-size: 23px;
  line-height: 30px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgb(166 166 166 / 35%);
  margin: 0 0 20px 0;
}

.extoyp_popup_block .extoyp_col_right .extoyp_make_offer .extoyp_popup_form {
  padding: 20px 25px 0 25px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.extoyp_popup_block .extoyp_col_right .extoyp_make_offer .extoyp_popup_form .extoyp_form_row .extoyp_popup_input,
.extoyp_popup_block .extoyp_col_right .extoyp_make_offer .extoyp_popup_form .extoyp_form_row .extoyp_popup_textarea {
  width: 100%;
  background-color: #fff;
  border-radius: 5px;
  font-size: 14px;
  line-height: 14px;
  border: 1px solid rgba(54, 115, 178, 0.25);
  color: #9c9fa3;
  font-weight: 400;
  padding: 12px 10px;
  box-sizing: border-box;
  resize: none;
  outline-style: none;
}

.extoyp_popup_block .extoyp_col_right .extoyp_make_offer .extoyp_popup_form .extoyp_form_row .extoyp_popup_input:focus,
.extoyp_popup_block .extoyp_col_right .extoyp_make_offer .extoyp_popup_form .extoyp_form_row .extoyp_popup_textarea:focus {
  border: 1px solid rgba(54, 115, 178, 0.75);
}

.extoyp_popup_block .extoyp_col_right .extoyp_make_offer .extoyp_popup_form .extoyp_form_row .extoyp_popup_submit_btn {
  background-color: #3673b2;
  border-radius: 5px;
  font-weight: 500;
  font-size: 14px;
  line-height: 18px;
  color: #ffffff;
  padding: 11px 37px;
  border: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.extoyp_popup_block .extoyp_col_right .extoyp_make_offer .extoyp_popup_form .extoyp_form_row .extoyp_popup_submit_btn:hover {
  border: 1px solid #3673b2;
  color: #3673b2;
  background-color: transparent;
}

.extoyp_popup_block .extoyp_popup_close_btn {
  position: absolute;
  right: 15px;
  top: 15px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 5px;
  z-index: 10;
}

.extoyp_popup_block .extoyp_popup_close_btn .dashicons {
  font-size: 24px;
  width: 24px;
  height: 24px;
  color: #3673b2;
}

@media screen and (min-width: 1025px) and (max-width: 1280px) {
  .extoyp_popup_block {
    max-width: 850px;
  }

  .extoyp_popup_block .extoyp_col_left {
    padding: 40px;
  }

  .extoyp_popup_block .extoyp_col_left .extoyp_prod_content .extoyp_prod_title {
    font-size: 16px;
    line-height: 20px;
  }

  .extoyp_popup_block .extoyp_col_right .extoyp_make_offer {
    padding: 35px;
  }

  .extoyp_popup_block .extoyp_col_right .extoyp_make_offer .extoyp_offer_header {
    font-size: 21px;
    line-height: 27px;
    padding-bottom: 14px;
  }

  .extoyp_popup_block .extoyp_col_right .extoyp_make_offer .extoyp_popup_form {
    padding: 20px;
    gap: 12px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .extoyp_popup_block {
    max-width: 750px;
  }

  .extoyp_popup_block .extoyp_col_left {
    padding: 30px;
    width: 280px;
  }

  .extoyp_popup_block .extoyp_col_right {
    width: calc(100% - 280px);
  }

  .extoyp_popup_block .extoyp_col_left .extoyp_prod_content .extoyp_prod_title {
    font-size: 15px;
    line-height: 19px;
  }

  .extoyp_popup_block .extoyp_col_left .extoyp_prod_content .extoyp_prod_price {
    font-size: 14px;
    line-height: 17px;
  }

  .extoyp_popup_block .extoyp_col_right .extoyp_make_offer .extoyp_offer_header {
    font-size: 18px;
    line-height: 26px;
    padding-bottom: 14px;
  }

  .extoyp_popup_block .extoyp_col_right .extoyp_make_offer {
    padding: 25px;
  }

  .extoyp_popup_block .extoyp_col_right .extoyp_make_offer .extoyp_popup_form {
    padding: 20px;
    gap: 10px;
  }

  .extoyp_popup_block .extoyp_col_right .extoyp_make_offer .extoyp_popup_form .extoyp_form_row .extoyp_popup_input,
  .extoyp_popup_block .extoyp_col_right .extoyp_make_offer .extoyp_popup_form .extoyp_form_row .extoyp_popup_textarea {
    padding: 10px;
  }
}

@media screen and (max-width: 767px) {
  .extoyp_popup_outer {
    align-items: flex-start;
    padding: 10px;
  }

  .extoyp_popup_block {
    flex-direction: column;
    justify-content: flex-start;
    max-width: 100%;
    margin: 10px;
  }

  .extoyp_popup_block .extoyp_col_left {
    width: 100%;
    padding: 25px 20px;
    border-bottom-left-radius: 0;
    border-top-right-radius: 10px;
    align-items: center;
    text-align: center;
  }

  .extoyp_popup_block .extoyp_col_left .extoyp_prod_details {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .extoyp_popup_block .extoyp_col_left .extoyp_prod_img {
    padding: 10px;
    margin-bottom: 15px;
  }

  .extoyp_popup_block .extoyp_col_left .extoyp_prod_img img {
    max-width: 120px;
    height: auto;
  }

  .extoyp_popup_block .extoyp_col_left .extoyp_prod_content {
    margin-top: 0;
    text-align: center;
  }

  .extoyp_popup_block .extoyp_col_left .extoyp_prod_content .extoyp_prod_title {
    font-size: 16px;
    line-height: 20px;
  }

  .extoyp_popup_block .extoyp_col_left .extoyp_prod_content .extoyp_prod_price {
    font-size: 14px;
    line-height: 17px;
    display: block;
    margin-top: 5px;
  }

  .extoyp_price_range {
    margin-top: 20px;
    width: 100%;
    text-align: center;
  }

  .extoyp_price_range .price-info {
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
  }

  .extoyp_popup_block .extoyp_col_right {
    width: 100%;
    border-top-right-radius: 0;
    border-bottom-left-radius: 10px;
  }

  .extoyp_popup_block .extoyp_col_right .extoyp_make_offer {
    padding: 20px;
  }

  .extoyp_popup_block .extoyp_col_right .extoyp_make_offer .extoyp_offer_header {
    font-size: 18px;
    line-height: 24px;
    padding-bottom: 12px;
    text-align: center;
  }

  .extoyp_popup_block .extoyp_col_right .extoyp_make_offer .extoyp_popup_form {
    padding: 10px 0;
    gap: 12px;
  }

  .extoyp_popup_block .extoyp_col_right .extoyp_make_offer .extoyp_popup_form .extoyp_form_row .extoyp_popup_input,
  .extoyp_popup_block .extoyp_col_right .extoyp_make_offer .extoyp_popup_form .extoyp_form_row .extoyp_popup_textarea {
    font-size: 14px;
    line-height: 18px;
    padding: 10px;
  }

  .extoyp_popup_block .extoyp_col_right .extoyp_make_offer .extoyp_popup_form .extoyp_form_row .extoyp_popup_submit_btn {
    width: 100%;
    font-size: 14px;
    line-height: 18px;
    padding: 12px;
  }

  .extoyp_popup_block .extoyp_popup_close_btn {
    right: 10px;
    top: 10px;
  }
}

@media screen and (max-width: 480px) {
  .extoyp_popup_block .extoyp_col_left {
    padding: 20px 15px;
  }
  
  .extoyp_popup_block .extoyp_col_right .extoyp_make_offer {
    padding: 15px;
  }
  
  .extoyp_popup_block .extoyp_col_left .extoyp_prod_img img {
    max-width: 100px;
  }
  .extoyp_price_range .price-info {
    font-size: 13px;
    margin-bottom: 6px;
  }
  
  .extoyp_price_range .price-info .label {
    font-weight: 500;
  }
  
  .extoyp_popup_block .extoyp_col_right .extoyp_make_offer .extoyp_offer_header {
    font-size: 16px;
    line-height: 22px;
    padding-bottom: 10px;
  }
  
  .extoyp_popup_block .extoyp_col_right .extoyp_make_offer .extoyp_popup_form {
    gap: 10px;
  }
  
  .extoyp_popup_block .extoyp_col_right .extoyp_make_offer .extoyp_popup_form .extoyp_form_row .extoyp_popup_input,
  .extoyp_popup_block .extoyp_col_right .extoyp_make_offer .extoyp_popup_form .extoyp_form_row .extoyp_popup_textarea {
    padding: 8px;
    font-size: 13px;
  }
}




/* ////////////////////// */


@media screen and (max-width: 600px) {
  .extoyp_popup_block { max-width: 400px; }
}

@media screen and (max-width: 400px) {
  .extoyp_popup_block { max-width: 300px; }
}



.extoyp_popup_block .extoyp_col_left{
  flex-direction: column;
  gap: 20px;
}



@media screen and (min-width: 768px) and (max-width: 1024px) {
  .extoyp_popup_block {
    max-width: 90%;
    min-height: auto;
    height: auto;
    margin: 20px;
  }

  .extoyp_popup_block .extoyp_col_left {
    width: 40%;
    padding: 30px;
  }

  .extoyp_popup_block .extoyp_col_right {
    width: 60%;
    height: auto;
    overflow: visible;
  }

  .extoyp_popup_block .extoyp_col_left .extoyp_prod_img {
    width: 100%;
    height: auto;
  }

  .extoyp_popup_block .extoyp_col_right .extoyp_make_offer {
    padding: 30px;
  }

  .extoyp_popup_block .extoyp_col_right .extoyp_make_offer .extoyp_popup_form {
    padding: 25px;
  }

  /* Improve touch targets for iPad */
  .extoyp_popup_block .extoyp_col_right .extoyp_make_offer .extoyp_popup_form .extoyp_form_row .extoyp_popup_input,
  .extoyp_popup_block .extoyp_col_right .extoyp_make_offer .extoyp_popup_form .extoyp_form_row .extoyp_popup_textarea {
    padding: 12px;
    font-size: 16px;
  }

  /* .extoyp_popup_block .extoyp_popup_close_btn {
    padding: 15px;
    right: 15px;
    top: 15px;
  } */

  /* Ensure proper scrolling on iPad */
  .extoyp_popup_overlay {
    -webkit-overflow-scrolling: touch;
  }
}

/* iPad Pro specific adjustments */
@media screen and (min-width: 1024px) and (max-width: 1366px) {
  .extoyp_popup_block {
    max-width: 95%;
  }
}

@media screen and (min-width: 1025px) and (max-width: 1280px) {
  .extoyp_popup_block {
      max-width: 90%;
      min-height: auto;
      height: auto;
      margin: 20px;
  }

  .extoyp_popup_block .extoyp_col_left {
      width: 35%;
      padding: 40px;
  }

  .extoyp_popup_block .extoyp_col_right {
      width: 65%;
      height: auto;
      overflow: visible;
  }

  .extoyp_popup_block .extoyp_col_left .extoyp_prod_img {
      width: 100%;
      height: auto;
  }

  .extoyp_popup_block .extoyp_col_right .extoyp_make_offer {
      padding: 40px;
  }

  .extoyp_popup_block .extoyp_col_right .extoyp_make_offer .extoyp_popup_form {
      padding: 30px;
  }

  .extoyp_popup_block .extoyp_col_right .extoyp_make_offer .extoyp_popup_form .extoyp_form_row .extoyp_popup_input,
  .extoyp_popup_block .extoyp_col_right .extoyp_make_offer .extoyp_popup_form .extoyp_form_row .extoyp_popup_textarea {
      padding: 12px;
      font-size: 15px;
  }
}



.extoyp_popup_overlay {
  display: none;
  top: 0;
  left: 0;
  z-index: 9999;
}

.extoyp_prod_img {
  text-align: center;
  margin-bottom: 15px;
}

.extoyp_prod_img img {
  max-width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
}

.extoyp_prod_content {
  text-align: center;
}

.extoyp_prod_title {
  margin: 10px 0;
  font-size: 18px;
  font-weight: 600;
}

.extoyp_prod_price {
  display: block;
  font-size: 16px;
  color: #333;
  font-weight: 500;
}

.extoyp_price_range {
  margin-top: 20px;
  padding: 15px;
  background: #f7f7f7;
  border-radius: 5px;
  width:200px;
}

.price-info {
  display: flex;
  justify-content: space-around;
  margin-bottom: 10px;
}

.price-info:last-child {
  margin-bottom: 0;
}

.price-info .label {
  font-weight: 600;
  color: #333;
}

.price-info .value {
  color: #2c5282;
}


/* my account */

.ext-offers-table-wrapper {
  margin: 20px 0;
}
.offer-status {
  padding: 5px 10px;
  border-radius: 3px;
  font-weight: 500;
}
.offer-status-offer_accepted {
  background: #c6e1c6;
  color: #5b841b;
}

.offer-status-counter_offer {
  background: #f8dda7;
  color: #94660c;
}
.offer-status-offer_rejected {
  background: #eba3a3;
  color: #761919;
}
.coupon-code {
  display: block;
  font-weight: 600;
}
.coupon-expiry {
  display: block;
  font-size: 0.9em;
  color: #777;
}
.no-offers {
  text-align: center;
  padding: 20px;
  color: #777;
}

.ext-offers-table-wrapper {
margin: 20px 0;
overflow-x: auto;
}

.woocommerce-orders-table {
min-width: 800px;
width: 100%;
border-collapse: collapse;
}

@media screen and (max-width: 768px) {
.woocommerce-orders-table thead {
display: none;
}

.woocommerce-orders-table tr {
display: block;
margin-bottom: 20px;
border: 1px solid #ddd;
}

.woocommerce-orders-table td {
display: block;
padding: 10px 15px;
text-align: right;
border-bottom: 1px solid #eee;
}

.woocommerce-orders-table td:before {
content: attr(data-title);
float: left;
font-weight: 600;
}

.woocommerce-orders-table td:last-child {
border-bottom: none;
}
}

.offer-status {
padding: 5px 10px;
border-radius: 3px;
font-weight: 500;
display: inline-block;
}

.coupon-code {
font-weight: 600;
margin-bottom: 5px;
display: inline-block;
}

.oyp-offer-button {
margin: 5px 0;
display: inline-block;
}


.extoyp_popup_input.invalid {
	border-color: #ff0000;
}

.price-error {
	color: #ff0000;
	font-size: 12px;
	display: block;
	margin-top: 5px;
}


.offer-status-pending {
  background-color: #f5f5f5;
  color: #616161;
}

/* Coupon styles */
.coupon-status-pending {
  background-color: #f5f5f5;
  color: #616161;
  padding: 5px 10px;
  border-radius: 4px;
  display: inline-block;
}

/* Action styles */
.action-status-pending {
  background-color: #f5f5f5;
  color: #616161;
  padding: 5px 10px;
  border-radius: 4px;
  display: inline-block;
}





