/* =======================================================
   One Click Order Pro – Frontend Form CSS
   File: oneclickorder-style.css
   Author: PluginNest
   ======================================================= */


/* ===========================================================
   FRONTEND ORDER FORM STYLES
   For: The main order form visible to users on the frontend.
   =========================================================== */
.oneclickorder-order-form {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-family: var(--oco-font-family, "Segoe UI", Tahoma, sans-serif);
  max-width: 800px;
  margin: 64px auto 64px auto; /* top and bottom margin: always space from header/footer */
  padding: 30px;
  background: var(--oco-form-bg, #f7fafd);
  border: 1px solid var(--oco-border-color, #ddd);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  color: var(--oco-text-color, #2e3947);
}

.oneclickorder-order-form h1,
.oneclickorder-order-form h2,
.oneclickorder-order-form h3,
.oneclickorder-order-form h4,
.oneclickorder-order-form .oco-form-heading {
  color: var(--oco-heading-color, #0073aa);
  font-family: var(--oco-font-family, "Segoe UI", Tahoma, sans-serif);
  font-weight: 700;
  width: 100%;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--oco-border-color, #ddd);
  padding-bottom: 5px;
  text-align: left;
}

.oneclickorder-order-form p {
  margin: 0;
  width: 100%;
  text-align: left;
  color: var(--oco-text-color, #2e3947);
  font-family: var(--oco-font-family, "Segoe UI", Tahoma, sans-serif);
}

@media (min-width: 768px) {
  .oneclickorder-order-form p { width: 48%; }
  .oneclickorder-order-form p.full { width: 100%; }
}

.oneclickorder-order-form input,
.oneclickorder-order-form select,
.oneclickorder-order-form button,
.oneclickorder-order-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid var(--oco-border-color, #ccc);
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: var(--oco-font-family, "Segoe UI", Tahoma, sans-serif);
  background: var(--oco-input-bg, #fff);
  color: var(--oco-input-text, #172142);
}

.oneclickorder-order-form input:focus,
.oneclickorder-order-form select:focus,
.oneclickorder-order-form textarea:focus {
  border-color: var(--oco-heading-color, #0073aa);
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
}

.oneclickorder-order-form input::placeholder,
.oneclickorder-order-form textarea::placeholder {
  color: var(--oco-input-placeholder, #a0aec0);
  opacity: 1;
}

.oneclickorder-order-form .payment-options {
  width: 100%;
  margin-top: 10px;
  display: flex;
  gap: 30px;
  align-items: center;
}

.oneclickorder-order-form .payment-options label {
  font-size: 17px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--oco-text-color, #2e3947);
}

/* ==== Universal mobile bottom spacing fix ==== */
@media (max-width: 767px) {
  .oneclickorder-order-form {
    margin-top: 32px;
    margin-bottom: 32px !important;
    padding: 18px 2vw;
  }
}

/* ==== RADIO BUTTONS: Custom Color Sync ==== */
.oneclickorder-order-form .payment-options input[type="radio"] {
  position: relative;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  cursor: pointer;
  accent-color: var(--oco-buy-btn-bg, #0073aa);
  appearance: none;
  -webkit-appearance: none;
  border: 2px solid var(--oco-border-color, #ccc);  /* <-- sync with border */
  border-radius: 50%;
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
  display: inline-block;
  vertical-align: middle;
}

.oneclickorder-order-form .payment-options input[type="radio"]:checked::before {
  content: "";
  display: block;
  margin: 3px auto;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--oco-buy-btn-bg, #0073aa); /* match Buy Now btn bg */
}
.oneclickorder-order-form .payment-options input[type="radio"]:focus {
  box-shadow: 0 0 0 2px var(--oco-heading-color, #0073aa);
}

/* ==== BUTTON ==== */
.oneclickorder-order-form button {
  background: var(--oco-buy-btn-bg, #0073aa);
  color: var(--oco-buy-btn-text, #fff);
  border: none;
  cursor: pointer;
  font-weight: bold;
  font-size: 18px;
  padding: 14px;
  border-radius: 6px;
  transition: background 0.3s, color 0.2s;
  font-family: var(--oco-font-family, "Segoe UI", Tahoma, sans-serif);
}
.oneclickorder-order-form button:hover {
  background: var(--oco-heading-color, #005b8c);
  color: var(--oco-buy-btn-text, #fff);
}

/* ==== CHOOSE FILE BUTTON (Upload Receipt) ==== */
.oneclickorder-order-form input[type="file"] {
  padding: 7px 14px;
  background: var(--oco-input-bg, #fff) !important;
  color: var(--oco-input-text, #172142) !important;
  border: 1px solid var(--oco-border-color, #ccc);
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  font-family: var(--oco-font-family, "Segoe UI", Tahoma, sans-serif);
}
.oneclickorder-order-form input[type="file"]::-webkit-file-upload-button,
.oneclickorder-order-form input[type="file"]::file-selector-button {
  background: var(--oco-buy-btn-bg, #0073aa);
  color: var(--oco-buy-btn-text, #fff);
  border: none;
  border-radius: 6px;
  padding: 8px 20px;
  font-family: var(--oco-font-family, "Segoe UI", Tahoma, sans-serif);
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s, color 0.2s;
}
.oneclickorder-order-form input[type="file"]:hover::file-selector-button,
.oneclickorder-order-form input[type="file"]:hover::-webkit-file-upload-button {
  background: var(--oco-heading-color, #005b8c);
  color: var(--oco-buy-btn-text, #fff);
}

.oneclickorder-receipt-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.oneclickorder-error {
  color: #e74c3c;
  margin: 0.5em 0;
  font-weight: 500;
}

/* =======================================================
   📋 Custom Input Row Fields (Label + Input)
   ======================================================= */
.oneclickorder-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.oneclickorder-field-label {
  font-weight: 500;
  font-size: 15px;
  min-width: 120px;
  color: var(--oco-text-color, #2e3947);
  font-family: var(--oco-font-family, "Segoe UI", Tahoma, sans-serif);
}
.oneclickorder-input {
  flex: 1;
  min-width: 200px;
  padding: 10px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid var(--oco-border-color, #ccc);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
  background: var(--oco-input-bg, #fff);
  color: var(--oco-input-text, #172142);
}

/* =======================================================
   ADDITIONAL INFO SECTION COLOR SYNC
   ======================================================= */
.oneclickorder-admin-message,
.oneclickorder-additional-info,
.oneclickorder-summary-box {
  background: var(--oco-additional-bg, #e7f1ff) !important;
  color: var(--oco-additional-text, #2188ff) !important;
  border: 2px solid var(--oco-border-color, #b8d4f3) !important;
  border-radius: 12px;
  font-size: 18px;
  margin: 16px 0 24px 0;
  padding: 16px 20px;
  box-shadow: 0 2px 14px rgba(33,136,255,0.04);
}
.oneclickorder-admin-message {
  background: var(--oco-additional-bg, #e7f1ff) !important;
  color: var(--oco-additional-text, #2188ff) !important;
  border: 2px solid var(--oco-border-color, #b8d4f3) !important;
}




/* ===========================================================
   "THANK YOU" / ORDER SUMMARY PAGES
   For: Success, summary, and receipt components after order.
   Fully CSS variable-based for order form sync!
   =========================================================== */
.oneclickorder-thankyou-box {
  background: var(--oco-form-bg, #e6fff1);
  border-left: 6px solid var(--oco-heading-color, #00aa66);
  padding: 30px;
  margin: 80px auto 64px auto; /* top: 80px, bottom: 64px, always spaced */
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  font-family: var(--oco-font-family, "Segoe UI", sans-serif);
  max-width: 700px;
  text-align: center;
  color: var(--oco-text-color, #006644);
}
.oneclickorder-check-icon {
  font-size: 48px;
  margin-bottom: 10px;
  color: var(--oco-heading-color, #00aa66);
}
.oneclickorder-thankyou-heading {
  margin-top: 0;
  font-size: 26px;
  color: var(--oco-heading-color, #006644);
  text-align: center;
  font-family: var(--oco-font-family, "Segoe UI", sans-serif);
}
.oneclickorder-summary-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
  justify-content: center;
}
.oneclickorder-summary-box {
  flex: 1 1 300px;
  background: var(--oco-additional-bg, #fff);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.07);
  min-width: 280px;
  max-width: 370px;
  text-align: left;
  margin: 0 auto;
  color: var(--oco-additional-text, #333);
  border: 2px solid var(--oco-border-color, #b8d4f3);
}
.oneclickorder-summary-box h3 {
  margin-bottom: 15px;
  font-size: 18px;
  color: var(--oco-heading-color, #333) !important;
  text-align: left;
  font-family: var(--oco-font-family, "Segoe UI", sans-serif);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.oneclickorder-summary-box p {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.4;
  text-align: left;
  color: var(--oco-additional-text, #2e3947);
}
.oneclickorder-summary-list {
  list-style: none;
  padding: 0;
  margin: 15px 0;
  font-size: 16px;
  text-align: left;
  color: var(--oco-additional-text, #2e3947);
}
.oneclickorder-summary-list li {
  margin: 5px 0;
  text-align: left;
}
.oneclickorder-receipt-preview,
.oneclickorder-receipt-pdf {
  margin: 0 0 16px 0;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.oneclickorder-receipt-preview img {
  max-width: 140px;
  max-height: 90px;
  border-radius: 8px;
  border: 1px solid var(--oco-border-color, #eee);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  background: var(--oco-input-bg, #f9f9f9);
  display: block;
}
.oneclickorder-receipt-pdf a {
  font-size: 1.16em;
  color: var(--oco-heading-color, #0073aa);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.oneclickorder-receipt-pdf a:hover {
  color: var(--oco-buy-btn-bg, #005b8c);
}
.oneclickorder-receipt-pdf span {
  font-size: 2em;
  margin-right: 7px;
}


@media (max-width: 700px) {
  .oneclickorder-thankyou-box {
    margin-top: 40px !important;
    margin-bottom: 80px !important;
    border-radius: 11px;
    padding: 22px 2vw 22px 2vw;
    max-width: 98vw;
  }
}



.oneclickorder-buttons-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
  width: 100%;
}

.oneclickorder-shop-button,
.oneclickorder-whatsapp-button {
  display: inline-block;
  text-align: center;
  min-width: 200px;
  width: 100%;
  padding: 14px 0;
  font-size: 19px;
  font-weight: 700;
  font-family: var(--oco-font-family, "Segoe UI", sans-serif);
  border-radius: 8px;
  border: none;
  outline: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin: 0 auto;
  text-decoration: none !important;
  letter-spacing: 0.01em;
  transition: background 0.17s, transform 0.17s, box-shadow 0.17s;
  cursor: pointer;
}

.oneclickorder-shop-button {
  background-color: var(--oco-buy-btn-bg, #0073aa);
  color: var(--oco-buy-btn-text, #fff);
}

.oneclickorder-whatsapp-button {
  background-color: #25d366;
  color: #fff;
}

.oneclickorder-shop-button:hover,
.oneclickorder-shop-button:focus {
  background: var(--oco-heading-color, #005b8c);
  color: var(--oco-buy-btn-text, #fff);
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 6px 18px rgba(0,115,170,0.11);
}

.oneclickorder-whatsapp-button:hover,
.oneclickorder-whatsapp-button:focus {
  background: #128c7e;
  color: #fff !important;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 6px 18px rgba(37,211,102,0.13);
}

/* Responsive: stack buttons on mobile */
@media (max-width: 850px) {
  .oneclickorder-buttons-row {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
  }
  .oneclickorder-shop-button,
  .oneclickorder-whatsapp-button {
    width: 100%;
    min-width: 0;
    font-size: 17px;
    padding: 14px 0;
  }
}

@media (max-width: 480px) {
  .oneclickorder-buttons-row {
    margin-top: 12px;
    gap: 10px;
    width: 100%;
  }
  .oneclickorder-shop-button,
  .oneclickorder-whatsapp-button {
    width: 100%;
    font-size: 16px;
    padding: 12px 0;
    border-radius: 6px;
    margin: 0;
  }
}




/* ===========================================================
   THANK YOU / ACTION BUTTONS ROW
   For: Row of buttons on the success/thank-you page.
   =========================================================== */

.oneclickorder-buy-now-button {
  display: inline-block;
  background: linear-gradient(90deg, #2563eb 0%, #1da1f2 100%);
  color: #fff !important;
  padding: 14px 28px;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 9px;
  text-decoration: none;
  transition:
    background 0.22s cubic-bezier(.4,0,.2,1),
    color 0.16s cubic-bezier(.4,0,.2,1),
    box-shadow 0.20s cubic-bezier(.4,0,.2,1),
    transform 0.17s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  outline: none;
  border: none;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  text-align: center;
  margin-bottom: 10px;
  margin-top: 10px;
  margin-right: 12px;
}

.oneclickorder-buy-now-button:hover,
.oneclickorder-buy-now-button:focus {
  background: linear-gradient(90deg, #1d78d7 0%, #238dc9 100%);
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(0,123,255,0.12);
  transform: translateY(-1px) scale(1.01);
}

.oneclickorder-buy-now-button:active {
  transform: translateY(0);
}

.oneclickorder-buy-now-button:not(.oneclickorder-bottom-center):hover {
  transform: translateY(-2px);
}

/* For Buy Now Button container (adds spacing below for separation, except for after-add-to-cart placement) */
.oneclickorder-product-buy-now {
  margin: 32px 0 14px 0;
  text-align: left;
}

/* Only "after add to cart" (line break + spacing fix) */
.oneclickorder-product-buy-now.placement-woocommerce_after_add_to_cart_button {
  width: 100%;
  display: block !important;
  margin-top: 14px !important;
  clear: both;
  margin-bottom: 0;
}
.oneclickorder-product-buy-now.placement-woocommerce_after_add_to_cart_button .oneclickorder-buy-now-button {
  display: inline-block;
  width: auto;
  min-width: 180px;
  margin: 0;
  text-align: center;
}

/* ===============================
   STICKY BUY NOW BUTTON (NORMAL)
   =============================== */
.oneclickorder-sticky-button {
  position: fixed !important;
  z-index: 9999;
  margin: 0 !important;
  left: auto; right: auto; top: auto; bottom: auto;
  text-align: center !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: none !important;
  box-shadow: none !important;
}

/* Positions */
.oneclickorder-sticky-bottom_center { left: 50%; bottom: 28px; transform: translateX(-50%);}
.oneclickorder-sticky-bottom_right  { right: 28px; bottom: 28px; transform: none;}
.oneclickorder-sticky-bottom_left   { left: 28px; bottom: 28px; transform: none;}
.oneclickorder-sticky-top_center    { left: 50%; top: 28px; transform: translateX(-50%);}
.oneclickorder-sticky-top_right     { right: 28px; top: 28px; transform: none;}
.oneclickorder-sticky-top_left      { left: 28px; top: 28px; transform: none;}

/* WordPress admin bar overlap fix */
body.admin-bar .oneclickorder-sticky-top_center,
body.admin-bar .oneclickorder-sticky-top_right,
body.admin-bar .oneclickorder-sticky-top_left { top: 60px !important; }
@media (max-width: 782px) {
  body.admin-bar .oneclickorder-sticky-top_center,
  body.admin-bar .oneclickorder-sticky-top_right,
  body.admin-bar .oneclickorder-sticky-top_left { top: 46px !important; }
}

/* Responsive: sticky/floating button on mobile */
@media (max-width: 600px) {
  .oneclickorder-sticky-bottom_center,
  .oneclickorder-sticky-bottom_right,
  .oneclickorder-sticky-bottom_left { bottom: 12px !important; }
  .oneclickorder-sticky-top_center,
  .oneclickorder-sticky-top_right,
  .oneclickorder-sticky-top_left { top: 12px !important; }

  .oneclickorder-floating-btn-wrapper.bottom_right,
  .oneclickorder-floating-btn-wrapper.bottom_left,
  .oneclickorder-floating-btn-wrapper.bottom_center {
    bottom: 18px;
  }
  .oneclickorder-floating-btn-wrapper.top_right,
  .oneclickorder-floating-btn-wrapper.top_left {
    top: 18px;
  }
}

/* Remove extra spacing from wrapper when sticky */
.oneclickorder-product-buy-now .oneclickorder-sticky-button {
  margin: 0 !important;
}

/* ===============================
   FLOATING BUY NOW BUTTON
   =============================== */
.oneclickorder-floating-btn-wrapper {
  position: fixed;
  z-index: 9998;
  margin: 0;
  padding: 0;
}
.oneclickorder-floating-btn-wrapper.bottom_right    { bottom: 30px; right: 30px; }
.oneclickorder-floating-btn-wrapper.bottom_left     { bottom: 30px; left: 30px; }
.oneclickorder-floating-btn-wrapper.bottom_center   { bottom: 30px; left: 50%; transform: translateX(-50%);}
.oneclickorder-floating-btn-wrapper.top_right       { top: 30px; right: 30px; margin-top: 16px; }
.oneclickorder-floating-btn-wrapper.top_left        { top: 30px; left: 30px; margin-top: 16px; }

/* ===============================
   ANIMATIONS
   =============================== */
.oco-animated-btn {
  will-change: transform, box-shadow, filter, opacity;
  backface-visibility: hidden;
}
/* Pulse */
.oco-anim-pulse { animation: ocoPulse 1.2s cubic-bezier(.66,0,.34,1) infinite; }
@keyframes ocoPulse {
  0% { transform: scale(1); box-shadow: 0 4px 14px rgba(0,0,0,0.1);}
  50% { transform: scale(1.08); box-shadow: 0 6px 24px rgba(36,99,235,0.23);}
  100% { transform: scale(1); box-shadow: 0 4px 14px rgba(0,0,0,0.1);}
}
/* Pop */
.oco-anim-pop { animation: ocoPop 1.1s cubic-bezier(.36,1.28,.48,.93) infinite; }
@keyframes ocoPop {
  0%   { transform: scale(1);}
  7%   { transform: scale(1.18);}
  14%  { transform: scale(0.94);}
  20%  { transform: scale(1.1);}
  22%  { transform: scale(0.98);}
  25%  { transform: scale(1);}
  100% { transform: scale(1);}
}
/* Bounce */
.oco-anim-bounce { animation: ocoBounce 1.2s cubic-bezier(.43,.09,.56,.98) infinite; }
@keyframes ocoBounce {
  0%,100% { transform: translateY(0);}
  18%     { transform: translateY(-10px);}
  25%     { transform: translateY(-22px);}
  32%     { transform: translateY(-10px);}
  38%     { transform: translateY(-2px);}
  50%     { transform: translateY(0);}
}
/* Glow */
.oco-anim-glow { animation: ocoGlow 1.5s cubic-bezier(.4,0,.2,1) infinite; }
@keyframes ocoGlow {
  0% { box-shadow: 0 0 0px #3cc6ff99, 0 4px 14px rgba(0,0,0,0.09);}
  50% { box-shadow: 0 0 24px 6px #1da1f2cc, 0 4px 14px rgba(0,0,0,0.15);}
  100% { box-shadow: 0 0 0px #3cc6ff99, 0 4px 14px rgba(0,0,0,0.09);}
}
/* Shake */
.oco-anim-shake { animation: ocoShake 0.62s cubic-bezier(.36,.07,.19,.97) infinite; }
@keyframes ocoShake {
  0%, 100% { transform: translateX(0);}
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px);}
  20%, 40%, 60%, 80% { transform: translateX(5px);}
}
/* Swing */
.oco-anim-swing { animation: ocoSwing 1.25s cubic-bezier(.45,.05,.55,.95) infinite; transform-origin: 50% 80%; }
@keyframes ocoSwing {
  0%, 100% { transform: rotate(0deg);}
  20%      { transform: rotate(14deg);}
  40%      { transform: rotate(-12deg);}
  60%      { transform: rotate(8deg);}
  80%      { transform: rotate(-5deg);}
}
/* Heartbeat */
.oco-anim-heartbeat { animation: ocoHeartbeat 1.18s cubic-bezier(.215,.61,.355,1) infinite; }
@keyframes ocoHeartbeat {
  0%   { transform: scale(1);}
  10%  { transform: scale(1.1);}
  20%  { transform: scale(1);}
  30%  { transform: scale(1.15);}
  50%  { transform: scale(1);}
  100% { transform: scale(1);}
}
/* RubberBand */
.oco-anim-rubberband { animation: ocoRubberband 1.1s cubic-bezier(.3,.7,.4,1) infinite; }
@keyframes ocoRubberband {
  0%   { transform: scale3d(1,1,1);}
  14%  { transform: scale3d(1.28,0.8,1);}
  28%  { transform: scale3d(0.85,1.15,1);}
  42%  { transform: scale3d(1.09,0.93,1);}
  56%  { transform: scale3d(0.98,1.03,1);}
  70%  { transform: scale3d(1.01,0.97,1);}
  100% { transform: scale3d(1,1,1);}
}
/* Flip */
.oco-anim-flip { animation: ocoFlip 1.4s cubic-bezier(.57,.21,.69,1.25) infinite; perspective: 500px;}
@keyframes ocoFlip {
  0%, 100% { transform: rotateY(0);}
  12% { transform: rotateY(24deg);}
  24% { transform: rotateY(-18deg);}
  36% { transform: rotateY(10deg);}
  48% { transform: rotateY(-5deg);}
  60% { transform: rotateY(0);}
}

/* ===============================
   COLOR PICKER (for admin UI)
   =============================== */
.oneclickorder-color-picker[type="color"] {
  width: 42px;
  height: 38px;
  border: none;
  background: none;
  padding: 0;
  vertical-align: middle;
  cursor: pointer;
}




/* ===============================
   ACCESSIBILITY
   =============================== */
@media (prefers-reduced-motion: reduce) {
  .oco-animated-btn,
  .oco-animated-btn[class*="oco-anim-"] {
    animation: none !important;
    transition: none !important;
  }
}

/* ===============================
   LICENSE/ERROR MESSAGES
   =============================== */
.oneclickorder-license-expired,
.oneclickorder-error {
  color: #d32f2f !important;
  font-weight: bold;
  background: #fff9f9;
  border: 1px solid #ffdde0;
  border-radius: 8px;
  padding: 16px 18px;
  margin: 32px 0 22px 0;
  text-align: center;
  font-size: 1.11em;
}



/* =======================================================
   🧼 Remove Page Top Margin and Padding
   ======================================================= */
body.page,
body.single,
body .site-main,
body .content-area,
body .entry-content,
body .page-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}


/* =======================================================
   📊 Compare Plans Table Styling
   ======================================================= */
.oneclickorder-plan-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  margin-top: 30px;
  border-radius: 10px;
  overflow: hidden;
}

.oneclickorder-plan-table th,
.oneclickorder-plan-table td {
  padding: 16px;
  text-align: center;
}

.oneclickorder-plan-table thead th {
  background: linear-gradient(90deg, #0073aa, #005177);
  color: #fff;
  font-size: 18px;
}

.oneclickorder-plan-table tbody tr:nth-child(even) {
  background-color: #f4f9ff;
}

.oneclickorder-plan-table tbody tr:nth-child(odd) {
  background-color: #ffffff;
}

.oneclickorder-plan-table td {
  font-size: 16px;
  color: #333;
}

.oneclickorder-plan-table tr:hover {
  background-color: #e9f5ff;
}


/* =======================================================
   📝 Table Heading Style — FINAL CLEAN VERSION
   ======================================================= */
.oneclickorder-table-heading {
  font-size: 2.3rem;
  font-weight: 900;
  color: #1782fa;
  margin-bottom: 26px;
  text-align: center;
  letter-spacing: 0.01em;
  background: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: unset !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  position: relative;
  z-index: 1;
  line-height: 1.12;
}

.compare-icon {
  font-size: 2.4rem;
  margin-right: 12px;
  filter: drop-shadow(0 2px 8px #b3e2ff77);
  flex-shrink: 0;
}

.compare-heading-text {
  font-weight: 900;
  color: #1782fa;
  font-size: 2.25rem;
  letter-spacing: 0.01em;
  display: inline-block;
  line-height: 1.12;
}

@media (max-width: 900px) {
  .oneclickorder-table-heading {
    font-size: 1.35rem;
    gap: 8px;
  }
  .compare-icon { font-size: 1.6rem; margin-right: 7px; }
  .compare-heading-text { font-size: 1.3rem; }
}

@media (max-width: 600px) {
  .oneclickorder-table-heading {
    font-size: 1.08rem;
    gap: 6px;
  }
  .compare-icon { font-size: 1.1rem; }
  .compare-heading-text { font-size: 1.08rem; }
}

/* =======================================================
   ✨ All Features Page — Compact & Clean
   ======================================================= */
.oneclickorder-features-wrapper {
  max-width: 700px;
  margin: 30px auto 0;
  background: #fcfdff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(36, 61, 99, 0.09), 0 1.5px 0 #e9ecf1;
  padding: 26px 16px 30px 16px;
}

.oneclickorder-table-heading {
  font-size: 1.35rem;
  font-weight: 800;
  color: #1782fa;
  margin-bottom: 22px;
  text-align: center;
  letter-spacing: 0.01em;
  line-height: 1.14;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.oneclickorder-feature-list {
  list-style: none;
  padding: 0;
  margin-bottom: 28px;
  font-size: 1.01rem;
  font-weight: 500;
}

.oneclickorder-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: linear-gradient(90deg, #f8fbff 0%, #e9f1fa 100%);
  border-radius: 7px;
  margin-bottom: 9px;
  padding: 8px 12px 8px 10px;
  font-size: 0.99rem;
  line-height: 1.5;
  color: #263446;
  box-shadow: 0 1px 5px rgba(45,124,246,0.05);
  position: relative;
  transition: background 0.18s, color 0.13s, box-shadow 0.13s;
}

.oneclickorder-feature-list li:hover {
  background: linear-gradient(90deg, #e5f0ff 0%, #f6fafe 100%);
  color: #144cab;
  box-shadow: 0 3px 12px rgba(30, 87, 218, 0.08);
}

.oneclickorder-feature-list li .feature-check {
  font-size: 1.14em;
  color: #23bb74;
  margin-right: 7px;
  margin-top: 1px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px #5ef7a677);
  transition: transform 0.13s;
}

.oneclickorder-feature-list li:hover .feature-check {
  transform: scale(1.05) rotate(-6deg);
}

/* Bottom Buttons */
.oneclickorder-features-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 15px;
  flex-wrap: wrap;
}

.compare-btn,
.upgrade-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #2563eb 0%, #1da1f2 100%);
  color: #fff !important;
  padding: 10px 22px;
  font-size: 0.99rem;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  outline: none;
  box-shadow: 0 2px 8px rgba(36, 124, 246, 0.09);
  text-decoration: none;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background 0.15s, box-shadow 0.12s, transform 0.12s;
  gap: 7px;
  min-width: 120px;
}

.compare-btn {
  background: linear-gradient(90deg, #1eaeef 0%, #2563eb 100%);
}

.upgrade-btn .upgrade-emoji { font-size: 1.07em; margin-right: 4px; }
.compare-btn .compare-emoji { font-size: 1.05em; margin-right: 5px; }

.compare-btn:hover, .upgrade-btn:hover, .compare-btn:focus, .upgrade-btn:focus {
  background: linear-gradient(90deg, #1e40af 0%, #2563eb 100%);
  box-shadow: 0 4px 14px rgba(26, 80, 195, 0.10);
  transform: translateY(-1px) scale(1.02);
  color: #fff !important;
  outline: none;
}

@media (max-width: 700px) {
  .oneclickorder-features-wrapper { padding: 9px 2vw 13px 2vw; }
  .oneclickorder-table-heading { font-size: 1.01rem; gap: 5px; }
  .compare-btn, .upgrade-btn { font-size: 0.91em; padding: 8px 5px; min-width: 70px; }
}

/* =======================================================
   🔷 Report an Issue Page Styling
   ======================================================= */
.oneclickorder-report-wrapper {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin: 30px auto;
}

.oneclickorder-report-wrapper h2 {
  font-size: 26px;
  color: #333;
  margin-bottom: 25px;
  text-align: center;
}

.oneclickorder-report-wrapper .form-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 15px;
}

.oneclickorder-report-wrapper th {
  text-align: left;
  font-weight: 600;
  color: #444;
  width: 200px;
}

.oneclickorder-report-wrapper input[type="text"],
.oneclickorder-report-wrapper input[type="email"],
.oneclickorder-report-wrapper input[type="file"],
.oneclickorder-report-wrapper textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
  background: #f9f9f9;
  transition: border 0.3s ease;
}

.oneclickorder-report-wrapper input[type="text"]:focus,
.oneclickorder-report-wrapper input[type="email"]:focus,
.oneclickorder-report-wrapper textarea:focus {
  border-color: #7c3aed;
  outline: none;
  background: #fff;
}

.oneclickorder-report-wrapper input[type="submit"] {
  background-color: #7c3aed;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.oneclickorder-report-wrapper input[type="submit"]:hover {
  background-color: #5b21b6;
}

.oneclickorder-report-wrapper .notice-box {
  margin-top: 30px;
  padding: 15px 20px;
  background: #fef9c3;
  border-left: 5px solid #facc15;
  border-radius: 6px;
  font-size: 14px;
  color: #444;
}


/* ============================================================
   📘 HOW TO USE PAGE STYLING — ADVANCED, BEAUTIFUL, CONSISTENT
   ============================================================ */

.oneclickorder-howto-wrapper {
  background: #fcfdff;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(36, 61, 99, 0.13), 0 1.5px 0 #e9ecf1;
  padding: 38px 38px 34px 38px;
  max-width: 900px;
  margin: 36px auto;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: #1a2432;
  letter-spacing: 0.01em;
}

.oneclickorder-howto-wrapper h1,
.oneclickorder-howto-wrapper h2,
.oneclickorder-howto-wrapper .oneclickorder-section-title {
  font-size: 1.64rem;
  font-weight: 800;
  color: #1864ab;
  margin-bottom: 16px;
  margin-top: 0;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.oneclickorder-howto-wrapper h3 {
  font-size: 1.19rem;
  font-weight: 700;
  color: #1864ab;
  margin-bottom: 12px;
  margin-top: 26px;
}

.oneclickorder-howto-wrapper h4 {
  font-size: 1.09rem;
  font-weight: 600;
  color: #1969b2;
  margin-bottom: 7px;
  margin-top: 18px;
  letter-spacing: 0.01em;
}

.oneclickorder-howto-intro {
  font-size: 1.13rem;
  font-weight: 500;
  margin-bottom: 22px;
  color: #3b4764;
  letter-spacing: 0.02em;
}

/* Method Cards */
.oneclickorder-howto-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.oneclickorder-howto-list li {
  background: linear-gradient(90deg, #f7fbff 0%, #eaf3fb 100%);
  border-left: 6px solid #329af0;
  border-radius: 14px;
  padding: 22px 28px 17px 22px;
  box-shadow: 0 2px 12px rgba(36,61,99,0.06);
  font-size: 1.07rem;
  font-weight: 500;
  color: #263446;
  line-height: 1.74;
  transition: box-shadow 0.18s, background 0.18s, border-left-color 0.2s;
  word-break: break-word;
}

.oneclickorder-howto-list li strong {
  font-size: 1.09em;
  font-weight: 700;
  color: #1555a0;
  display: block;
  margin-bottom: 7px;
}

.oneclickorder-howto-list li code {
  background: #eef2f8;
  padding: 4px 13px;
  border-radius: 7px;
  font-size: 1em;
  color: #10325a;
  font-family: 'JetBrains Mono', 'Fira Mono', monospace;
  font-weight: 600;
  white-space: break-spaces;
  margin: 0 3px 0 1px;
  box-shadow: 0 1.5px 2px rgba(36,61,99,0.03);
}

.oneclickorder-howto-list li:hover {
  background: linear-gradient(90deg, #e4f0ff 0%, #f6fafd 100%);
  border-left-color: #2063ca;
  color: #12263a;
  box-shadow: 0 3px 18px rgba(30, 64, 175, 0.10);
}

/* Order Appear Box */
.oneclickorder-howto-footer {
  margin-top: 35px;
}

.oneclickorder-order-box {
  background: linear-gradient(90deg, #eef6ff 70%, #e8f2fb 100%);
  border: 1.5px solid #d0e5fc;
  border-radius: 16px;
  padding: 30px 26px 24px 26px;
  box-shadow: 0 2px 16px 0 rgba(36, 61, 99, 0.07);
}

.oneclickorder-order-box h3 {
  font-size: 1.18rem;
  font-weight: 700;
  color: #1555a0;
  margin-top: 0;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.oneclickorder-order-section {
  margin-bottom: 19px;
}

.oneclickorder-order-section:last-child {
  margin-bottom: 0;
}

.oneclickorder-order-section h4 {
  font-size: 1.04rem;
  font-weight: 600;
  color: #166bb3;
  margin-bottom: 4px;
  margin-top: 0;
  letter-spacing: 0.01em;
}

.oneclickorder-order-section ul {
  list-style: none;
  margin: 0 0 0 0;
  padding: 0;
}

.oneclickorder-order-section ul li {
  margin-bottom: 4px;
  font-size: 1.04em;
  font-weight: 600;
  color: #226c38;
  display: flex;
  align-items: center;
  gap: 7px;
}

.oneclickorder-order-section ul li:before {
  content: "✅";
  margin-right: 6px;
  color: #23bb74;
  font-size: 1em;
  font-family: inherit;
}

/* Responsive improvements */
@media (max-width: 900px) {
  .oneclickorder-howto-wrapper { max-width: 99vw; padding: 20px 2vw 18px 2vw; }
  .oneclickorder-howto-list li { padding: 13px 10px; }
  .oneclickorder-order-box { padding: 15px 8px 15px 8px; }
}
@media (max-width: 600px) {
  .oneclickorder-howto-wrapper { padding: 9px 1vw 14px 1vw; }
  .oneclickorder-howto-list li { font-size: 0.97em; }
}

/* ============================================================
   📦 FOOTER ORDER INFO SECTION (USED ON HOW TO USE PAGE)
   ============================================================ */

.oneclickorder-howto-footer {
  margin-top: 40px;
  padding: 30px;
  border-radius: 14px;
  background: linear-gradient(90deg, #f0f7ff, #eaf3fb);
  border-left: 5px solid #3b82f6;
  box-shadow: 0 3px 12px rgba(0,0,0,0.04);
}
.oneclickorder-order-box {
  font-size: 1.05rem;
  color: #1f2937;
}
.oneclickorder-order-box h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.oneclickorder-order-type {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2563eb;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.oneclickorder-order-box ul {
  list-style: none;
  padding-left: 0;
  margin: 0 0 20px 0;
}
.oneclickorder-order-box li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: #374151;
  font-size: 1.05rem;
}
.oneclickorder-order-box li::before {
  content: "✅";
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 1rem;
}
@media (max-width: 768px) {
  .oneclickorder-order-box h3 { font-size: 1.15rem; }
  .oneclickorder-order-type { font-size: 1.02rem; }
  .oneclickorder-order-box li { font-size: 1rem; }
}


/* ============================================================
   🌟 COMPARE PLANS — PREMIUM, MODERN LOOK
   ============================================================ */
.oneclickorder-compare-wrapper {
  max-width: 1050px;
  margin: 38px auto 0 auto;
  background: #fafdff;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(36, 61, 99, 0.10), 0 1.5px 0 #e9ecf1;
  padding: 32px 28px 38px;
}

.oneclickorder-table-heading {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 22px;
  color: #1782fa;
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
  letter-spacing: 0.5px;
}

.oneclickorder-table-heading .compare-icon {
  font-size: 2.35rem;
  line-height: 1;
  margin: 0 8px 0 0;
  filter: drop-shadow(0 2px 8px #9cd4ff66);
}

.oneclickorder-plan-table-wrapper {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 18px rgba(70,124,238,0.09);
  padding: 0;
  overflow-x: auto;
}

.oneclickorder-plan-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 1.09rem;
  margin: 0;
  background: none;
  min-width: 780px;
  table-layout: auto;
}

.oneclickorder-plan-table th,
.oneclickorder-plan-table td {
  padding: 18px 22px;
  text-align: center;
  border: none;
  background: none;
  vertical-align: middle;
  font-size: 1.07rem;
}

.oneclickorder-plan-table thead th {
  background: linear-gradient(90deg, #1782fa 40%, #38bdf8 100%);
  color: #fff;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  border-bottom: 0;
  text-align: center;
  vertical-align: middle;
}

.oneclickorder-plan-table th.feature-col,
.oneclickorder-plan-table td.feature-col {
  text-align: left;
  padding-left: 28px;
}

.oneclickorder-plan-table tbody td:first-child {
  text-align: left;
  font-weight: 600;
  color: #14436e;
  background: none;
}

.oneclickorder-plan-table tbody tr:nth-child(even) td {
  background: #f3f8ff;
}
.oneclickorder-plan-table tbody tr:nth-child(odd) td {
  background: #fafdff;
}

.oc-check, .oc-cross {
  display: inline-block;
  font-size: 1.33em;
  line-height: 1;
  font-weight: 800;
  vertical-align: middle;
  border-radius: 50%;
  min-width: 28px;
  min-height: 28px;
  text-align: center;
  padding: 0 2px;
}
.oc-check {
  color: #27c76f;
  background: #e8fbee;
}
.oc-cross {
  color: #f35c76;
  background: #fbe9ec;
}

/* FINAL: UPGRADE BUTTON at Bottom */
.oneclickorder-upgrade-buttons-bottom {
  display: flex;
  justify-content: center;
  margin: 32px 0 0 0;
  width: 100%;
}

.oneclickorder-upgrade-btn {
  background: linear-gradient(90deg, #2563eb 0%, #1da1f2 100%);
  color: #fff !important;
  padding: 15px 48px 15px 38px;
  font-size: 1.18rem;
  font-weight: 700;
  border-radius: 12px;
  border: none;
  outline: none;
  box-shadow: 0 4px 20px rgba(36, 124, 246, 0.13);
  text-decoration: none;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background 0.21s, box-shadow 0.19s, transform 0.18s;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.oneclickorder-upgrade-btn .upgrade-emoji {
  font-size: 1.45em;
  margin-right: 2px;
  margin-top: 1px;
  filter: drop-shadow(0 2px 6px #fff6);
}

.oneclickorder-upgrade-btn:hover, .oneclickorder-upgrade-btn:focus {
  background: linear-gradient(90deg, #1e40af 0%, #2563eb 100%);
  box-shadow: 0 7px 32px rgba(26, 80, 195, 0.18);
  transform: translateY(-2px) scale(1.04);
  color: #fff !important;
  outline: none;
}

/* Responsive Table */
@media (max-width: 1024px) {
  .oneclickorder-compare-wrapper {
    max-width: 98vw;
    padding: 18px 2vw 22px 2vw;
  }
  .oneclickorder-plan-table th, .oneclickorder-plan-table td {
    padding: 12px 8px;
    font-size: 0.99em;
  }
}
@media (max-width: 700px) {
  .oneclickorder-table-heading { font-size: 1.3rem; gap: 8px; }
  .oneclickorder-plan-table { min-width: 560px; }
  .oneclickorder-upgrade-btn { font-size: 1em; padding: 14px 20px; }
  .oneclickorder-upgrade-buttons-bottom { margin-top: 18px; }
}





/* ============================================================
   🛑 ERROR BOX & ADMIN MESSAGES
   ============================================================ */

.oneclickorder-error-box {
  background: #ffe5e5;
  color: #b30000;
  border: 1px solid #ff9999;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 6px;
  font-weight: bold;
}
/* =======================================================
   💬 Admin Info / Additional Message (Frontend)
   ======================================================= */
.oneclickorder-admin-message {
  background: #f0f8ff;                        /* Softer blue background */
  border: 2.5px solid #90daf2;                 /* Very light blue border */
  border-left: 7px solid #36c3e6;              /* Bright left accent */
  border-radius: 13px;
  padding: 22px 30px 22px 58px;
  font-size: 1.13rem;
  font-family: 'Segoe UI', 'Inter', Arial, sans-serif;
  color: #114459;                             /* Deep blue, highly readable */
  margin: 0 auto 28px auto !important;
  box-shadow: 0 8px 32px #65b9e81a;
  position: relative;
  word-break: break-word;
  line-height: 1.68;
  display: block;
  max-width: 820px;
  width: 100%;
  box-sizing: border-box;
  transition: 
    box-shadow 0.19s cubic-bezier(.42,0,.58,1),
    border-color 0.16s cubic-bezier(.42,0,.58,1),
    background 0.17s cubic-bezier(.42,0,.58,1);
}

.oneclickorder-admin-message::before {
  content: "💡";
  position: absolute;
  left: 20px;
  top: 23px;
  font-size: 1.23em;
  opacity: 0.94;
}

.oneclickorder-admin-message:hover {
  background: #e2f3fa;                         /* Slight pop on hover */
  border-color: #57bbe6;
  box-shadow: 0 12px 36px #31a6de25;
}

@media (max-width: 900px) {
  .oneclickorder-admin-message {
    max-width: 98vw;
    font-size: 1em;
    padding: 15px 6px 15px 38px;
  }
  .oneclickorder-admin-message::before {
    left: 9px;
    top: 11px;
  }
}
@media (max-width: 600px) {
  .oneclickorder-admin-message {
    max-width: 100vw;
    padding: 10px 3px 10px 33px;
    font-size: 0.98rem;
    border-radius: 9px;
  }
  .oneclickorder-admin-message::before {
    left: 6px;
    top: 8px;
  }
}


.oneclickorder-admin-message {
  margin-top: 0px;
  margin-left: 0;
}

/* On small screens, make sure message is 100% width and centered */
@media (max-width: 600px) {
  .oneclickorder-admin-message {
    max-width: 100vw;
    min-width: 0;
    margin-left: 0;
    margin-right: 0;
    border-radius: 7px;
    font-size: 0.98rem;
  }
}


.oneclickorder-divider {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 24px 0 24px 0;
  width: 100%;
  height: 1px;
  background: transparent;
}

/* ============================================================
   🌐 MISC/UTILITY/RESET STYLES (Used Plugin-wide)
   ============================================================ */

.oneclickorder-plan-label { color: green; font-weight: bold; }
body, .site, .site-main, .content-area, .entry-content, .page-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.oneclickorder-current-plan-label {
  font-size: 16px;
  font-weight: bold;
  color: #0073aa;
}
.oneclickorder-plan-label-active { color: green; }
.oneclickorder-upgrade-buttons { margin: 15px 0; }

.oneclickorder-divider,
.oneclickorder-admin-message,
.oneclickorder-order-form > p.full {
  margin-top: 0 !important;
  margin-bottom: 24px !important;
}
.oneclickorder-order-form > p.full {
  margin-bottom: 0 !important;
}


.oneclickorder-divider + .oneclickorder-admin-message {
  margin-top: 0 !important;
}









/* ================================
   Pro License Popup - FINAL CSS
   ================================ */
#oneclickorder-license-popup {
    position: fixed;
    z-index: 9999999;
    left: 0; top: 0; width: 100vw; height: 100vh;
    background: rgba(36,42,64,0.86);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInBg 0.6s;
}
@keyframes fadeInBg {
    from { opacity: 0; }
    to   { opacity: 1; }
}
#oneclickorder-license-popup .oneclickorder-popup-content {
    background: rgba(255,255,255,0.98);
    border-radius: 28px;
    max-width: 440px;
    width: 96vw;
    padding: 48px 36px 36px 36px;
    text-align: center;
    box-shadow: 0 16px 60px 0 rgba(36,61,99,0.20), 0 2px 0 #e9ecf1;
    position: relative;
    border: 2px solid #f2f3fb;
    backdrop-filter: blur(8px);
    animation: popupSlideIn 0.6s cubic-bezier(.24,1.35,.7,1.05);
}
@keyframes popupSlideIn {
    from { transform: translateY(70px) scale(.93); opacity:0; }
    to   { transform: translateY(0) scale(1); opacity:1; }
}
#oneclickorder-license-popup .oneclickorder-popup-close {
    position: absolute;
    top: 22px;
    right: 32px;
    font-size: 32px;
    font-weight: bold;
    color: #a5a5b6;
    cursor: pointer;
    z-index: 2;
    background: none;
    border: none;
    transition: color 0.18s;
    line-height: 1;
}
#oneclickorder-license-popup .oneclickorder-popup-close:hover {
    color: #e53935;
    background: none;
}
#oneclickorder-license-popup .oneclickorder-popup-title {
    color: #e53935;
    font-size: 1.72rem;
    font-weight: 800;
    margin-bottom: 13px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 8px rgba(255,85,85,.06);
    padding-top: 2px;
}
#oneclickorder-license-popup p {
    color: #363948;
    font-size: 1.12em;
    margin-bottom: 36px;
    font-weight: 500;
}
#oneclickorder-license-popup .oneclickorder-popup-buttons {
    display: flex;
    flex-direction: column;
    gap: 13px 0;
    align-items: center;
    width: 100%;
}
#oneclickorder-license-popup .oneclickorder-popup-btn-row {
    display: flex;
    gap: 18px;
    width: 100%;
    justify-content: center;
    margin-bottom: 0;
}
#oneclickorder-license-popup .oneclickorder-popup-buttons a,
#oneclickorder-license-popup .oneclickorder-popup-buttons button {
    flex: 1 1 180px;
    max-width: 210px;
    font-size: 1.09em;
    padding: 15px 0;
    border-radius: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
    border: 2px solid #e3eafe;
    outline: none;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
    transition: all 0.17s cubic-bezier(.45,1.43,.66,1.04);
    box-shadow: 0 5px 24px rgba(39,76,153,.12), 0 1px 3px rgba(36, 61, 99, 0.09);
    background: #f6f8fc;
    color: #28375a !important;
}
#oneclickorder-license-popup .button-primary {
    background: linear-gradient(90deg, #1564e2 8%, #38b0ff 100%);
    color: #fff !important;
    border-color: #1676e0;
    box-shadow: 0 6px 26px 0 rgba(45,124,255,.18), 0 1.5px 2px #b2d8ff;
}
#oneclickorder-license-popup .button-primary:hover {
    background: linear-gradient(90deg,#0c43a6,#1376ef);
    color: #fff !important;
    transform: translateY(-3px) scale(1.055);
    box-shadow: 0 10px 38px 0 rgba(33,150,243,.22);
}
#oneclickorder-license-popup .button-secondary {
    background: linear-gradient(90deg, #e4f0ff 0, #f3f6fa 100%);
    color: #1376ef !important;
    border-color: #a3cafe;
    box-shadow: 0 3px 14px 0 rgba(80,148,255,.11);
}
#oneclickorder-license-popup .button-secondary:hover {
    background: linear-gradient(90deg,#cae6ff,#e3ecfb 100%);
    color: #005ac1 !important;
    border-color: #75b4fb;
    transform: translateY(-2px) scale(1.03);
}
#oneclickorder-license-popup .button {
    background: linear-gradient(90deg,#eef4fd 0,#e9f0fb 100%);
    color: #28375a !important;
    border-color: #ccd9ee;
}
#oneclickorder-license-popup .button:hover {
    background: #dde8fa;
    color: #1976d2 !important;
    border-color: #8bb7e6;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 7px 18px rgba(36,101,213,0.12);
}
/* Add a slightly darker border for all buttons to make them stand out on white */
#oneclickorder-license-popup .oneclickorder-popup-buttons a,
#oneclickorder-license-popup .oneclickorder-popup-buttons button {
    border-width: 2.2px;
}
/* Responsive: Stack on small screens */
@media (max-width: 530px) {
    #oneclickorder-license-popup .oneclickorder-popup-content {
        max-width: 97vw;
        padding: 22px 3vw 18px 3vw;
    }
    #oneclickorder-license-popup .oneclickorder-popup-btn-row {
        flex-direction: column;
        gap: 10px 0;
    }
    #oneclickorder-license-popup .oneclickorder-popup-buttons a,
    #oneclickorder-license-popup .oneclickorder-popup-buttons button {
        max-width: 100%;
        font-size: 1em;
        padding: 12px 0;
    }
}





/* =====================================================
   ✅ FINAL VERSION — Online Orders Log Page Styling
   ===================================================== */
/* Outer wrapper scrolls vertically, not the WP admin */
.oneclickorder-orders-wrapper {
    background: linear-gradient(120deg, #f6faff 0%, #e9f2fe 100%);
    min-height: 100vh;
    height: calc(100vh - 32px);
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    padding: 0 0 36px 0;
    z-index: 2;
    width: 100%;
}

/* Main Heading — clean and modern */
.oneclickorder-orders-wrapper h1 {
    margin: 0 auto 24px auto;
    padding: 18px 44px 16px 38px;
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 13px;
    font-size: 1.57rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(90deg,#32b6fa 0%, #1478ff 100%);
    border-radius: 1.7em 1.7em 1.3em 1.3em;
    box-shadow: 0 7px 38px 0 rgba(44,104,255,0.06);
    letter-spacing: -1px;
    line-height: 1.07;
    text-align: center;
    justify-content: center;
    border-bottom: 4px solid #1a8dea1a;
}
.oneclickorder-orders-wrapper h1 img,
.oneclickorder-orders-wrapper h1 svg,
.oneclickorder-orders-wrapper h1 span.emoji {
    font-size: 2.05rem !important;
    margin-right: 9px;
    vertical-align: middle;
    filter: drop-shadow(0 3px 9px #32b6fa30);
}

/* Toolbar */
.oco-orders-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
    background: rgba(255,255,255,0.97);
    border-radius: 12px;
    box-shadow: 0 1px 8px 0 rgba(44,104,255,0.04);
    padding: 10px 16px;
    max-width: 100%;
    overflow-x: auto;
}

/* Controls */
.oco-orders-controls {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}
.oco-orders-controls select,
.oco-orders-controls input[type="text"] {
    padding: 7px 12px;
    font-size: 0.96rem;
    border-radius: 6px;
    border: 1px solid #c7e2fd;
    background: #f7fafc;
    color: #204074;
    min-width: 94px;
    transition: border .10s, background .10s;
    outline: none;
}
.oco-orders-controls select:focus,
.oco-orders-controls input[type="text"]:focus {
    border-color: #81caff;
    background: #fff;
}
.oco-orders-controls .button,
.oco-export-buttons-inline .button {
    background: linear-gradient(90deg, #2a91ff 0%, #4dd9fb 100%);
    color: #fff;
    border: none;
    border-radius: 7px;
    padding: 8px 20px;
    font-weight: 600;
    font-size: 1.01rem;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(39,132,237,0.09);
    letter-spacing: 0.01em;
    transition: background .13s, box-shadow .11s;
}
.oco-orders-controls .button:hover,
.oco-export-buttons-inline .button:hover {
    background: linear-gradient(90deg, #1478ff 0%, #32b6fa 100%);
    box-shadow: 0 2px 9px rgba(66,165,245,0.11);
}
.oco-export-buttons-inline {
    display: flex;
    gap: 9px;
    margin-left: auto;
    flex-shrink: 0;
}

/* Table — never horizontal scroll on desktop! */
.oneclickorder-orders-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
    background: transparent;
    margin-bottom: 0;
    table-layout: fixed;
    font-size: 0.91rem;
    display: table;
    max-width: 100%;
    border-radius: 13px;
}

/* Table Head — blue, rounded */
.oneclickorder-orders-table thead tr {
    background: linear-gradient(90deg,#32b6fa 0%, #1478ff 100%);
    border-radius: 19px 19px 0 0;
}
.oneclickorder-orders-table th {
    font-size: 0.98rem;
    font-weight: 700;
    color: #fff;
    padding: 10px 7px 9px 7px;
    border-bottom: none;
    text-align: left;
    vertical-align: middle;
    border-radius: 0;
    background: transparent !important;
    letter-spacing: 0.02em;
    font-family: inherit;
}
.oneclickorder-orders-table th:first-child { border-radius: 19px 0 0 0; }
.oneclickorder-orders-table th:last-child { border-radius: 0 19px 0 0; }

/* Column widths: Order Details a bit less, Customer Info more, Actions more compact */
.oneclickorder-orders-table th:nth-child(1), .oneclickorder-orders-table td:nth-child(1) { width: 19%; min-width: 120px; max-width: 220px;}
.oneclickorder-orders-table th:nth-child(2), .oneclickorder-orders-table td:nth-child(2) { width: 15%; min-width: 85px; max-width: 160px;}
.oneclickorder-orders-table th:nth-child(3), .oneclickorder-orders-table td:nth-child(3) { width: 36%; min-width: 210px; max-width: 440px;}
.oneclickorder-orders-table th:nth-child(4), .oneclickorder-orders-table td:nth-child(4) { width: 15%; min-width: 160px; max-width: 200px; text-align: center; }
.oneclickorder-orders-table th:nth-child(5), .oneclickorder-orders-table td:nth-child(5) { width: 15%; min-width: 140px; max-width: 180px; text-align: center; }

/* Table Row */
.oneclickorder-orders-table tr {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 8px 0 rgba(70, 140, 255, 0.04);
    transition: box-shadow .10s, background .09s;
    height: auto;
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.oneclickorder-orders-table tr:not(:first-child):hover {
    background: #f6fafd;
    box-shadow: 0 2px 11px 0 rgba(70, 140, 255, 0.07);
}

/* Table Cell */
.oneclickorder-orders-table td {
    vertical-align: middle !important;
    font-size: 0.89rem;
    padding: 7px 7px;
    color: #15325f;
    background: transparent;
    border-top: none;
    line-height: 1.22;
    text-align: left;
    font-weight: 500;
    font-family: inherit;
    /* THE KEY FIX: */
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100%;
}
.oneclickorder-orders-table strong {
    color: #166fd8;
    font-weight: 600;
}

/* Table Block grouping */
.oneclickorder-orders-table .order-info-block,
.oneclickorder-orders-table .billing-summary-block,
.oneclickorder-orders-table .customer-info-block {
    background: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: inherit !important;
    color: inherit !important;
    font-weight: inherit !important;
}

/* Status column: stack dropdown and button vertically, same width as action buttons */
.oneclickorder-orders-table td form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    justify-content: center;
    height: 84px;
}
.oneclickorder-orders-table td form select {
    border-radius: 7px;
    background: #f3faff;
    border: 1px solid #c8defe;
    font-size: 0.96rem;
    color: #1967b3;
    font-weight: 500;
    width: 160px;
    height: 38px;
    min-width: 160px;
    max-width: 180px;
    box-shadow: none;
    margin: 0;
    outline: none;
    text-align: center;
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border .11s, background .09s;
}
.oneclickorder-orders-table td form select:focus {
    border-color: #69c1ff;
    background: #fff;
}
.oneclickorder-orders-table td form button.button {
    background: linear-gradient(90deg, #36f7b7 0%, #24c7fa 100%);
    color: #035c28;
    font-weight: 600;
    border: none;
    border-radius: 7px;
    font-size: 0.95rem;
    width: 160px;
    height: 38px;
    text-align: center;
    display: inline-block;
    cursor: pointer;
    margin: 0;
    outline: none;
    letter-spacing: 0.01em;
    transition: background .13s, box-shadow .11s, color .12s;
    box-shadow: none;
}
.oneclickorder-orders-table td form button.button:hover {
    background: linear-gradient(90deg, #21c3fd 0%, #1df5b4 100%);
    color: #012c17;
    box-shadow: 0 2px 10px rgba(49,187,245,0.07);
}

/* Actions: stack buttons vertically, perfectly spaced */
.oneclickorder-orders-table .oco-actions-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    justify-content: center;
    height: 82px;
}
.oneclickorder-orders-table td .oco-actions-col > a,
.oneclickorder-orders-table td .oco-actions-col > button {
    width: 140px;
    min-width: 120px;
    max-width: 180px;
    height: 38px;
    margin: 0;
    border-radius: 7px;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    letter-spacing: 0.01em;
    text-decoration: none !important;
    border: none;
    outline: none;
    transition: background .13s, box-shadow .11s, color .12s;
}
.oneclickorder-orders-table td .oco-actions-col > a {
    background: linear-gradient(90deg, #1872ea 0%, #32b6fa 100%);
    color: #fff !important;
}
.oneclickorder-orders-table td .oco-actions-col > a:hover {
    background: linear-gradient(90deg, #32b6fa 0%, #1872ea 100%);
    color: #fff;
    box-shadow: 0 2px 10px rgba(49,187,245,0.07);
}
.oneclickorder-orders-table td .oco-actions-col > a:not(:last-child) {
    margin-bottom: 7px;
}
.oneclickorder-orders-table td .oco-actions-col > button {
    background: linear-gradient(90deg, #1872ea 0%, #32b6fa 100%);
    color: #fff;
}
.oneclickorder-orders-table td .oco-actions-col > button:hover {
    background: linear-gradient(90deg, #32b6fa 0%, #1872ea 100%);
}

/*--- Pagination ---*/
.oco-pagination {
    margin: 15px 0 5px 0;
    text-align: center;
    font-size: 0.90rem;
}
.oco-pagination a {
    padding: 8px 18px;
    background: #f0f6ff;
    border-radius: 999px;
    text-decoration: none;
    color: #2773ed;
    font-weight: 500;
    margin-right: 7px;
    border: none;
    box-shadow: none;
    transition: background .11s, color .11s;
    display: inline-block;
    font-size: 0.90rem;
}
.oco-pagination a:hover {
    background: #2773ed;
    color: #fff;
}
.oco-pagination .current-page {
    background: #2773ed;
    color: #fff;
    font-weight: 600;
    padding: 8px 19px;
    border-radius: 999px;
    margin-right: 7px;
    font-size: 0.97rem;
}

/*--- Responsive Table ---*/
@media (max-width: 1200px) {
    .oneclickorder-orders-table th:nth-child(1),
    .oneclickorder-orders-table td:nth-child(1) { width: 22%; min-width: 90px;}
    .oneclickorder-orders-table th:nth-child(2),
    .oneclickorder-orders-table td:nth-child(2) { width: 14%; min-width: 62px;}
    .oneclickorder-orders-table th:nth-child(3),
    .oneclickorder-orders-table td:nth-child(3) { width: 37%; min-width: 105px;}
    .oneclickorder-orders-table th:nth-child(4),
    .oneclickorder-orders-table td:nth-child(4) { width: 13%; min-width: 100px;}
    .oneclickorder-orders-table th:nth-child(5),
    .oneclickorder-orders-table td:nth-child(5) { width: 13%; min-width: 100px;}
}
@media (max-width: 900px) {
    .oneclickorder-orders-table th, .oneclickorder-orders-table td {
        font-size: 0.84rem;
        padding: 6px 3px;
    }
    .oneclickorder-orders-table tr {
        border-radius: 6px;
        height: auto;
    }
    .oneclickorder-orders-table td .oco-actions-col > a,
    .oneclickorder-orders-table td .oco-actions-col > button,
    .oneclickorder-orders-table td form select,
    .oneclickorder-orders-table td form button.button {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }
}
@media (max-width: 700px) {
    .oneclickorder-orders-table,
    .oneclickorder-orders-table tr,
    .oneclickorder-orders-table th,
    .oneclickorder-orders-table td {
        display: block;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        border: none;
        background: none;
        box-shadow: none;
        padding: 8px 4px !important;
        font-size: 0.81rem;
    }
    .oneclickorder-orders-table th {
        padding: 10px 3px 4px 3px;
    }
    .oneclickorder-orders-table tr {
        margin-bottom: 10px;
        border-radius: 7px;
        box-shadow: 0 2px 7px rgba(68,144,255,0.09);
        height: auto;
    }
    .oco-orders-toolbar {
        padding: 6px 3px;
        font-size: 0.87rem;
    }
}

/* WP dashboard never scrolls horizontally */
html, body {
    overflow-x: hidden !important;
}



/* ===============================================
   🛠️ One Click Order - Settings Page FINAL CSS
   =============================================== */

/* == 2050 UI: Compact, Clean, Aligned, Gorgeous == */

/* GLOBAL ROOTS & FONT */
:root {
  --oco-main: #1877f2;
  --oco-grad1: #e4f0fe;
  --oco-grad2: #bbe3fc;
  --oco-card-bg: #f7fbff;
  --oco-blur: 0px;
  --oco-radius: 22px;
  --oco-border: 1.4px solid #e4f3fe;
  --oco-light: #f9fcff;
  --oco-txt-dark: #232f43;
  --oco-txt-med: #36495d;
  --oco-input-bg: #fff;
  --oco-input-br: 11px;
  --oco-focus: #36b8ff;
  --oco-label: #1877f2;
  --oco-grad-btn: linear-gradient(94deg,#2188ff 70%,#1effe8 100%);
  --oco-btn-shadow: 0 4px 22px #2188ff18;
}

body,
.oneclickorder-settings-wrapper {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

.oneclickorder-settings-wrapper {
  background: var(--oco-card-bg);
  padding: 32px 28px 24px;
  border-radius: var(--oco-radius);
  max-width: 1080px;
  margin: 38px auto 36px;
  box-shadow: 0 2px 20px #1877f219;
  border: var(--oco-border);
  min-height: 630px;
  max-height: 91vh;
  overflow: auto;
}
@media (max-width: 900px) {
  .oneclickorder-settings-wrapper { padding: 15px 1vw 15px; }
}

/* Main Heading */
.oneclickorder-table-heading,
.oneclickorder-settings-wrapper h1 {
  font-size: 2.2rem;
  font-weight: 900;
  text-align: center;
  color: var(--oco-main);
  background: none;
  text-shadow: 0 2px 10px #33a0ff13;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
  padding-bottom: 4px;
}

/* Card Blocks */
.oneclickorder-settings-block {
  background: #f4faff;
  border-radius: var(--oco-radius);
  margin: 24px 0 18px;
  padding: 26px 32px 14px 32px;
  box-shadow: 0 1px 8px #2188ff10;
  border: var(--oco-border);
  max-width: 100%;
  box-sizing: border-box;
  position: relative;
  transition: box-shadow 0.18s cubic-bezier(.16,.85,.44,1.01);
}
.oneclickorder-settings-block:hover,
.oneclickorder-settings-block:focus-within {
  box-shadow: 0 4px 30px #2188ff16, 0 2px 6px #1977f210;
}

/* Section Headings */
.oneclickorder-settings-block h2 {
  font-size: 1.39rem;
  font-weight: 900;
  color: var(--oco-main);
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  margin-top: 0;
  padding-left: 10px;
  border-left: 5px solid #33A0FF;
  border-radius: 8px;
  min-height: 34px;
  background: none;
}
.oneclickorder-settings-block h2::before { display: none !important; }

/* Subheadings */
.oneclickorder-settings-block h3 {
  font-size: 1.11rem;
  font-weight: 800;
  color: #1977f2;
  margin: 13px 0 8px 0;
  letter-spacing: 0.01em;
}

/* Field Rows: Label/Inputs Tight Alignment */
.settings-field-row {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  border: none;
  min-height: 39px;
}
.settings-field-row h4,
.settings-field-row > div:first-child {
  width: 150px;
  font-size: 1.01rem;   /* Smaller, modern field headings */
  font-weight: 700;
  color: #232f43;
  margin: 0 0 0 0;
  padding: 7px 0;
  text-align: left;
  letter-spacing: 0.02em;
  line-height: 1.17;
}
.settings-field-row .checkbox-group {
  flex: 1 1 0%;
  display: flex;
  gap: 14px;
  align-items: center;
  margin-left: 8px;
}
.settings-field-row label {
  font-size: 1em;
  font-weight: 600;
  color: var(--oco-txt-med);
  margin: 0 12px 0 0;
  display: flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.01em;
}

/* Compact for All Option Groups */
.oneclickorder-settings-group,
.checkbox-group,
.oneclickorder-whatsapp-settings-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 36px;
  align-items: center;
  margin-bottom: 14px;
}

.oneclickorder-settings-wrapper input[type="checkbox"],
.oneclickorder-settings-wrapper input[type="radio"] {

  accent-color: #2ddcff;
  width: 19px;
  height: 19px;
  border-radius: 7px;
  margin: 0 7px 0 0;
  vertical-align: middle;
  box-shadow: 0 1px 4px #33a0ff19;
}
.oneclickorder-settings-wrapper input[type="checkbox"]:hover,
.oneclickorder-settings-wrapper input[type="radio"]:hover {
  box-shadow: 0 0 0 3px #33a0ff29;
}

/* Input/Text/Select: Compact, Consistent */
.oneclickorder-settings-wrapper input[type="text"],
.oneclickorder-settings-wrapper input[type="email"],
.oneclickorder-settings-wrapper input[type="password"],
.oneclickorder-settings-wrapper select,
.oneclickorder-settings-wrapper .oneclickorder-input-text,
.oneclickorder-settings-wrapper .oneclickorder-input-half {
  background: var(--oco-input-bg);
  border: 1.5px solid #c5e3fa;
  border-radius: var(--oco-input-br);
  font-size: 1.02em;
  font-weight: 500;
  color: #172142;
  width: 235px;
  min-width: 130px;
  max-width: 100%;
  padding: 10px 16px;
  margin: 0 0 0 0;
  box-shadow: 0 1px 6px #bbeafd11;
  transition: border 0.14s, box-shadow 0.18s, background 0.16s;
  outline: none;
  height: 40px;
  vertical-align: middle;
  line-height: 20px;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, select:focus,
.oneclickorder-input-text:focus, .oneclickorder-input-half:focus {
  border: 1.5px solid var(--oco-focus);
  background: #fafdff;
  box-shadow: 0 0 0 3px #53d6ff44;
}

/* Half Inputs: For field+value pairs */
.oneclickorder-input-half {
  width: 140px;
  min-width: 80px;
  display: inline-block;
  margin-right: 8px;
}

/* Dropdown Styling */
.oneclickorder-settings-wrapper select,
.oneclickorder-settings-wrapper .oneclickorder-btn-type-select,
.oneclickorder-settings-wrapper .oneclickorder-anim-select {
  background: #f7fafd;
  border: 1.5px solid #b6d8f9;
  border-radius: 10px;
  font-size: 1em;
  color: #2b3651;
  padding: 9px 14px;
  appearance: none;
  min-width: 180px;
  max-width: 255px;
  margin: 0;
  height: 40px;
  box-shadow: 0 1px 6px #33a0ff08;
  font-family: inherit;
}
.oneclickorder-settings-wrapper select:focus,
.oneclickorder-settings-wrapper .oneclickorder-btn-type-select:focus,
.oneclickorder-settings-wrapper .oneclickorder-anim-select:focus {
  border: 1.5px solid #36b8ff;
  box-shadow: 0 0 0 3px #53d6ff44;
}


/* Color Inputs (square, modern) */
.oneclickorder-color-input[type="color"] {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 9px;
  box-shadow: 0 1px 6px #33a0ff10;
  margin-left: 14px;
  margin-right: 12px;
  padding: 0;
  outline: none;
  cursor: pointer;
  background: #fff;
  transition: box-shadow 0.16s;
  vertical-align: middle;
}
.oneclickorder-color-input[type="color"]:focus, .oneclickorder-color-input[type="color"]:hover {
  box-shadow: 0 0 0 3px #33a0ff26;
}

/* Placeholder */
.oneclickorder-settings-wrapper input::placeholder,
.oneclickorder-settings-wrapper textarea::placeholder {

  color: #a2b0be;
  opacity: 1;
  font-weight: 400;
}

/* WhatsApp: Perfectly Rowed */
.oneclickorder-whatsapp-settings-fields input[type="text"] {
  width: 240px;
  min-width: 120px;
  max-width: 340px;
  margin: 0 0 0 12px;
  border-radius: 10px;
  height: 40px;
}

/* Admin Message Textarea */
.oneclickorder-admin-message-textarea {
  width: 100%;
  min-width: 160px;
  border-radius: 13px;
  min-height: 76px;
  font-size: 1em;
  border: 1.5px solid #bbe3fc;
  background: #fff;
  color: #202945;
  padding: 17px 20px;
  margin: 8px 0 0 0;
  resize: vertical;
  box-shadow: 0 2px 12px #33a0ff09;
}

/* Actions Row */
.oneclickorder-settings-actions-row {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 26px;
  margin: 24px 0 0 0;
  position: relative; /* no more fixed, normal flow */
  background: none;
  box-shadow: none;
  padding: 0;
}
.oneclickorder-settings-actions-row .button-primary {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 1001;
  min-width: 188px;
  font-size: 1.04rem;
  border-radius: 14px !important;
  font-weight: 800 !important;
  background: var(--oco-grad-btn) !important;
  color: #fff !important;
  padding: 14px 30px !important;
  box-shadow: var(--oco-btn-shadow);
  text-shadow: 0 1px 10px #2188ff15;
  border: none !important;
  outline: none !important;
  transition: background 0.15s, transform 0.09s, box-shadow 0.15s;
}
.oneclickorder-settings-actions-row .button-primary:hover,
.oneclickorder-settings-actions-row .button-primary:focus {
  background: linear-gradient(94deg,#0e7fdc 70%,#1effe8 100%) !important;
  box-shadow: 0 6px 18px #29e0ff2b;
  transform: translateX(-50%) translateY(-2px) scale(1.037);
}

/* Animation Panel: Rowed, Tight */
.oneclickorder-animations-settings {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.oneclickorder-anim-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
}
.oneclickorder-anim-row label {
  font-size: 1em;
  min-width: 248px;
  font-weight: 600;
  margin: 0;
}
.oneclickorder-anim-select {
  min-width: 155px !important;
  max-width: 230px !important;
  margin: 0 !important;
  height: 40px !important;
  font-size: 1em;
}

/* SETTINGS ROW: For Coloring panel, ultra-consistent */
.oneclickorder-setting-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 10px 0 4px 0;
  min-height: 46px; /* Ensure row height consistency */
}
.oneclickorder-setting-row label {
  font-weight: 700;
  color: var(--oco-label);
  margin-right: 0;
  min-width: 192px;
  max-width: 240px;
  font-size: 1.07em;
  text-align: left;
  line-height: 1.1;
  letter-spacing: 0.01em;
  padding: 0;
  display: block;
}
.oneclickorder-setting-row select,
.oneclickorder-setting-row input[type="color"] {
  margin-left: 0 !important;
}
.oneclickorder-setting-row input[type="color"] {
  margin-right: 0;
  vertical-align: middle;
  align-self: center;
  box-shadow: 0 1px 8px #33a0ff11;
  border: 1.5px solid #e6e7f3;
  background: #fff;
}

/* ==== CUSTOM BUTTON COLORS (2050, ultra-aligned) ==== */
.oneclickorder-btn-custom-colors {
  background: #f8fbff;
  border-radius: 18px;
  box-shadow: 0 2px 12px #bbeafd13;
  padding: 22px 32px 22px 32px;
  margin-bottom: 30px;
  margin-top: 18px;
}

.oneclickorder-btn-custom-colors .button-style-row,
.oneclickorder-btn-custom-colors .button-style-preset-row {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 16px 0;
}

.oneclickorder-btn-custom-colors label,
.oneclickorder-btn-custom-colors .preset-label {
  min-width: 190px;
  font-size: 1.09em;
  font-weight: 700;
  color: #1877f2;
  text-align: left;
  margin-right: 0;
  letter-spacing: 0.01em;
  line-height: 1.11;
}

.oneclickorder-btn-custom-colors select,
.oneclickorder-btn-custom-colors input[type="color"] {
  margin-left: 0 !important;
}

.oneclickorder-btn-custom-colors input[type="color"] {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 10px;
  margin: 0 10px 0 0;
  box-shadow: 0 2px 8px #33a0ff11;
  background: #fff;
  display: inline-block;
}

.oneclickorder-btn-custom-colors input[type="text"],
.oneclickorder-btn-custom-colors input[type="number"],
.oneclickorder-btn-custom-colors select {
  height: 40px;
  font-size: 1.07em;
  border-radius: 12px;
  padding: 7px 14px;
  margin-bottom: 0;
}

.oneclickorder-btn-custom-colors .button-style-row > div,
.oneclickorder-btn-custom-colors .button-style-preset-row > div {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
}

.oneclickorder-btn-custom-colors .description {
  font-size: 0.99em;
  color: #8896b1;
  margin-left: 192px;
  margin-bottom: 9px;
}

@media (max-width: 850px) {
  .oneclickorder-btn-custom-colors {
    padding: 16px 3vw 16px 3vw;
  }
  .oneclickorder-btn-custom-colors .button-style-row,
  .oneclickorder-btn-custom-colors .button-style-preset-row {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .oneclickorder-btn-custom-colors label,
  .oneclickorder-btn-custom-colors .preset-label {
    min-width: 120px;
    font-size: 1em;
  }
  .oneclickorder-btn-custom-colors .description {
    margin-left: 0;
  }
}

/* Descriptions, HR */
.oneclickorder-settings-block .description {
  color: #40b2ea;
  font-size: 0.99em;
  font-weight: 500;
  margin: 0 0 7px 0;
}
hr {
  border: none;
  border-top: 1.2px solid #e3eefd;
  margin: 14px 0 9px 0;
  width: 97%;
  opacity: 0.5;
}

/* Card Responsive */
@media (max-width: 900px) {
  .oneclickorder-settings-block { padding: 15px 4vw 11px 4vw; }
  .oneclickorder-settings-block h2 { font-size: 1.01rem; min-height: 24px; padding-left: 4px;}
  .settings-field-row h4, .settings-field-row > div:first-child { width: 100px; font-size: 0.97em;}
  .oneclickorder-setting-row label { min-width: 90px; max-width: 145px; }
  .oneclickorder-settings-actions-row { gap: 10px; }
  .oneclickorder-settings-actions-row .button-primary { font-size: 0.97rem; min-width: 90px; padding: 10px 12px !important; }
  .oneclickorder-settings-wrapper input[type="text"],
.oneclickorder-settings-wrapper input[type="email"],
.oneclickorder-settings-wrapper select,
.oneclickorder-settings-wrapper .oneclickorder-input-text,
.oneclickorder-settings-wrapper .oneclickorder-input-half {padding: 8px 7px; font-size: 0.97em;}
}

@media (max-width: 650px) {
  .settings-field-row { flex-direction: column; align-items: flex-start; gap: 2px; min-height: 25px;}
  .settings-field-row h4, .settings-field-row > div:first-child { width: 100%; font-size: 1em;}
  .settings-field-row .checkbox-group { margin-left: 0; }
  .oneclickorder-whatsapp-settings-fields { flex-direction: column; gap: 10px; }
}

/* Scrollbar */
.oneclickorder-settings-wrapper::-webkit-scrollbar {
  width: 11px;
  background: #e9f6fe;
  border-radius: 9px;
}
.oneclickorder-settings-wrapper::-webkit-scrollbar-thumb {
  background: linear-gradient(123deg, #bbeefd 40%, #6be7fd 100%);
  border-radius: 9px;
}
