.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 25px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #e0e0e0;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 10px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked + .slider {
  background-color: #4caf50; /* Green instead of blue */
}

input:focus + .slider {
  box-shadow: 0 0 1px #4caf50;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

p.submit {
  margin-left: 20px;
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

table.form-table tbody {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* tab style */
.tab-container {
  overflow: hidden;
}

.tabs {
  display: flex;
  cursor: pointer;
  background-color: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

.tab .dashicons {
  font-size: 14px;
  width: 14px;
  height: 14px;
}

.tab {
  position: relative;
  background: #f8fafc;
  border: none;
  border-right: 1px solid #e9ecef;
  color: #4a5568;
  text-decoration: none;
  padding: 16px 10px;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  justify-content: center;
  text-align: center;
  margin: 0;
}

.tab:last-child {
  border-right: none;
}

.tab:hover {
  background-color: #e9ecef;
}

.tab.active {
  background-color: #5d87ff; /* Professional blue */
  color: #fff;
}

.tab-content {
  display: none;
  padding-top: 20px;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* api page style */
.wrap {
  max-width: 500px;
  margin: 0 auto;
  padding: 30px;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.1);
}

.wrap h1 {
  font-size: 28px;
  margin-bottom: 25px;
  color: #333;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.wrap h1:after {
  content: "";
  position: absolute;
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, #5d87ff, #36b37e);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.api-key-form label {
  font-size: 16px;
  color: #495057;
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
}

.api-key-form input[type="text"] {
  width: 100%;
  padding: 12px 15px;
  font-size: 16px;
  margin-bottom: 25px;
  border: 2px solid #e9ecef;
  border-radius: 6px;
  box-sizing: border-box;
  transition: border-color 0.3s;
}

.api-key-form input[type="text"]:focus {
  border-color: #5d87ff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(93, 135, 255, 0.15);
}

.button-group {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.button-primary,
.button-secondary {
  padding: 12px 24px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.button-primary {
  background: linear-gradient(135deg, #5d87ff, #3366ff);
  color: #fff;
  box-shadow: 0 4px 12px rgba(51, 102, 255, 0.2);
}

.button-primary:hover {
  background: linear-gradient(135deg, #3366ff, #2952cc);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(51, 102, 255, 0.3);
}

.button-secondary {
  background-color: #ffffff;
  color: #495057;
  border: 2px solid #e9ecef;
}

.button-secondary:hover {
  background-color: #f8f9fa;
  border-color: #dee2e6;
  transform: translateY(-2px);
}

.welcome-banner {
  background: linear-gradient(135deg, #ffffff 0%, #f7f9fc 100%);
  padding: 50px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  margin: 20px 0;
  position: relative;
  overflow: hidden;
  max-width: 93%;
}

.welcome-banner::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(
    circle,
    rgba(96, 34, 177, 0.1) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  border-radius: 50%;
}

.welcome-banner .welcome-title {
  font-size: 28px;
  margin-bottom: 20px;
  color: #1d2327;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.welcome-banner p {
  font-size: 16px;
  color: #50575e;
  line-height: 1.6;
  margin-bottom: 15px;
  text-align: center;
}

.welcome-banner .button-row {
  display: flex;
  gap: 15px;
  margin-top: 25px;
  flex-wrap: wrap;
  justify-content: center;
}

.welcome-banner .button-row a .dashicons{
  color: currentColor !important;
}

.welcome-banner .button {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.welcome-banner .button:hover {
  background-color: #135e96;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.welcome-banner .button-secondary {
  background: #f0f0f1;
  color: #2271b1;
  border: 1px solid #c5c5c5;
}

.welcome-banner .button-secondary:hover {
  background-color: #f6f7f7;
  color: #135e96;
}

.welcome-banner .version-tag {
  display: inline-block;
  padding: 3px 8px;
  background-color: #f0f6fc;
  color: #2271b1;
  border-radius: 10px;
  font-size: 12px;
  margin-left: 10px;
  vertical-align: middle;
}

.welcome-banner .feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.welcome-banner .feature-item {
  background-color: #ebf3fe;
  padding: 30px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-icon {
  border-radius: 50%;
  background: #3b82f6;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
}

.welcome-banner .feature-item h3 {
  font-size: 18px;
  margin: 0 0 10px 0;
  color: #1d2327;
  text-align: center;
}

.welcome-banner .feature-item p {
  font-size: 14px;
  margin: 0;
}

.space-between {
  justify-content: space-between;
}

/* General container styling */
.d-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
  background-color: #f9f9f9;
  /* Light background */
  /* max-width: 800px; */
  margin: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Each column styling */
.d-flex > div {
  flex: 1;
  min-width: 200px;
}

/* Label styling */
.d-flex label {
  display: block;
  margin-bottom: 15px;
}

.d-flex p {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

/* Input styling */
.d-flex input[type="text"] {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.d-flex input[type="text"]:focus {
  border-color: #0073e6;
  box-shadow: 0 0 4px rgba(0, 115, 230, 0.2);
  outline: none;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
  .d-flex {
    flex-direction: column;
  }
}

.pro-only {
  position: relative;
  cursor: text;
  opacity: 0.5;
}

.pro-only:hover:before {
  content: "Pro Features only";
  background: red;
  color: #fff;
  position: absolute;
  z-index: 999;
  width: 82%;
  text-align: center;
  padding: 6px;
  border-radius: 5px;
  left: 10px;
}
label.rmenu-checkbox-container.pro-only:before {
  padding: 0;
}
table.form-table.pro-only:before {
  top: 50%;
}
.top-50:before {
  top: 30%;
}
input:disabled,
input:disabled + span,
input.disabled,
input.disabled + span {
  opacity: 0.4 !important;
}
div#tab-1
  span.select2.select2-container.select2-container--default.select2-container--below {
  min-width: 150px;
}

.rmenu-settings-header {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f1f5f9;
}

.rmenu-settings-tab-list {
  color: #135e96;
  display: flex;
  padding: 0;
  margin: 0;
}
li.rmenu-settings-tab-item {
  color: #6366f1;
  cursor: pointer;
  text-decoration: none !important;
  font-weight: 500;
  padding: 12px 30px;
  transition: all 0.3s ease;
  margin: 0;
}
li.rmenu-settings-tab-item.active {
  color: #4338ca;
  font-weight: 600;
  background: #fff;
}
label.switch input {
  display: none !important;
}
span.plugincy_sec_icon {
  background-color: #5d87ff;
  color: #fff;
  border-radius: 3px;
  padding: 6px 9px;
  margin-right: 10px;
}
.plugincy_row {
  display: flex;
  gap: 20px;
}
.onepaquc-floating-editor .plugincy_row {
  flex-wrap: wrap;
}
.onepaquc-floating-editor .plugincy_col-5 {
  flex: 1 1 280px;
  max-width: none;
}
.items_center {
  align-items: center;
}
.space_between {
  justify-content: space-between;
}
.plugincy_col-5 {
  flex: 0 0 48.66667%;
  max-width: 48.66667%;
  box-sizing: border-box;
}
.plugincy_card {
  position: relative;
  padding: 2rem;
  background: #fff;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  border-radius: 8px;
}
.plugincy_nav_card {
  padding: 2rem 0 0;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  border-radius: 8px;
  box-sizing: border-box;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
}
.onepaquc-floating-editor-intro {
  padding: 20px;
  background: #fff;
}
.onepaquc-floating-editor {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(500px, 500px);
  gap: 24px;
  align-items: start;
}
.plugincy_nav_card p.description {
  margin: 0 30px 20px;
  color: #fff;
}

.plugincy_nav_card span.plugincy_sec_title {
  color: #fff;
}

.plugincy_nav_card .rmenu-settings-tabs {
  background: #f7f7f7;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
}

.plugincy_nav_card .plugincy_sec_head {
  margin: 0 30px 20px;
}
.plugincy_nav_card .plugincy_sec_head2 {
  display: flex;
  align-items: center;
  margin: 0 30px 30px;
}
.plugincy_nav_card span.plugincy_sec_icon {
  background: #fff;
  color: #5d87ff;
}
.plugincy_nav_card span.plugincy_sec_icon svg {
  fill: #5d87ff;
}
.plugincy_sec_head {
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
  margin: 0;
  margin-bottom: 20px;
}

.plugincy_table tr {
  display: flex;
  justify-content: space-between;
  background: #f9fafb;
  padding: 0 1.5rem;
  border-radius: 0.8rem;
  align-items: center;
}
.plugincy_table th {
  font-weight: 400;
  text-align: left;
  padding: 0;
  width: 60%;
  max-width: 60%;
}
.plugincy_card input,
.plugincy_card select,
.plugincy_card textarea {
  padding: 5px 12px;
  border: 1px solid #dedbdb;
  border-radius: 5px;
  font-size: 14px;
  box-sizing: border-box;
}
.plugincy_table input[name="onpage_checkout_position"] {
  border: 1px solid #dedbdb;
  width: 61px;
  text-align: center;
}
.plugincy_lock-icon {
  position: absolute;
  right: 12px;
  background: #f2f2f2;
  padding: 5px;
  border-radius: 0 5px 5px 0;
  top: 50%;
  transform: translateY(-50%);
}
.mb-4 {
  margin-bottom: 1.5rem;
}
.mt-4 {
  margin-top: 1.5rem;
}
#wpfooter {
  display: none;
}
.plugincy-card-header {
  display: flex;
  gap: 10px;
  align-items: center;
}
.plugincy-card-header-icon {
  background: #764ba2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 7px;
}
p.support-links a {
  text-decoration: none;
}

p.support-links {
  display: flex;
  padding-top: 32px;
}
.plugincy_card select,
.plugincy_card input[type="text"] {
  max-width: 100%;
  min-width: 100%;
  box-sizing: border-box;
}

.plugincy_table td {
  min-width: 40%;
  text-align: right;
  max-width: 40%;
}

table.form-table .plugincy_grid,
.plugincy_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(312px, 1fr));
  gap: 20px;
}

#tab-9 .onepaquc-floating-visual-editor-ui {
  position: relative;
  overflow: hidden;
}

#tab-9 .onepaquc-floating-visual-editor-ui.pro-only:hover:before {
  width: calc(100% - 20px);
  top: 50%;
}

#tab-9 .onepaqucpro-floating-preview-toolbar,
#tab-9 .onepaqucpro-floating-preview-stage {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

#tab-9 .onepaqucpro-floating-preview-toolbar {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  padding: 16px 120px 16px 16px;
  background: #fff;
}

#tab-9 .onepaqucpro-floating-preview-toolbar h3 {
  margin: 0 0 4px;
  color: #111827;
  font-size: 16px;
}

#tab-9 .onepaqucpro-floating-preview-toolbar p {
  margin: 0;
  color: #64748b;
}

#tab-9 .onepaqucpro-floating-preview-modes {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  background: #f1f5f9;
  border-radius: 8px;
}

#tab-9 .onepaqucpro-floating-preview-modes .button {
  min-height: 30px;
  padding: 2px 12px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

#tab-9 .onepaqucpro-floating-preview-modes .button.active {
  background: #fff;
  color: #1d4ed8;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12);
}

#tab-9 .onepaqucpro-floating-preview-stage {
  position: relative;
  min-height: 720px;
  padding: 18px;
  background: #eef2f7;
  --onepaqucpro-floating-primary: #96588a;
  --onepaqucpro-floating-primary-text: #ffffff;
  --onepaqucpro-floating-primary-hover: #f8f8f8;
  --onepaqucpro-floating-primary-hover-text: #000000;
  --onepaqucpro-floating-button-radius: 5px 0 0 5px;
}

#tab-9 .onepaqucpro-floating-preview-button {
  position: absolute;
  top: 34px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 58px;
  min-height: 46px;
  border: 0;
  background: var(--onepaqucpro-floating-primary);
  color: var(--onepaqucpro-floating-primary-text);
  border-radius: var(--onepaqucpro-floating-button-radius);
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.2);
}

#tab-9 .onepaqucpro-floating-preview-button .dashicons {
  width: 22px;
  height: 22px;
  font-size: 22px;
}

#tab-9 .onepaqucpro-floating-preview-count {
  min-width: 20px;
  padding: 2px 6px;
  color: #111827;
  background: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

#tab-9 .onepaqucpro-floating-preview-drawer {
  width: 100%;
  max-width: 340px;
  min-height: 680px;
  margin-left: auto;
  background: #fff;
  box-shadow: -14px 0 32px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

#tab-9 .onepaqucpro-floating-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 14px;
  border-bottom: 1px solid #e5e7eb;
}

#tab-9 .onepaqucpro-floating-preview-header h2 {
  margin: 0;
  color: #30343b;
  font-size: 22px;
  line-height: 1.2;
}

#tab-9 .onepaqucpro-floating-preview-select,
#tab-9 .onepaqucpro-floating-preview-coupon,
#tab-9 .onepaqucpro-floating-preview-summary {
  margin: 18px 14px;
  padding: 14px;
  background: #f8fafc;
  border-radius: 8px;
}

#tab-9 .onepaqucpro-floating-preview-select,
#tab-9 .onepaqucpro-floating-preview-summary-content > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

#tab-9 .onepaqucpro-floating-preview-item {
  position: relative;
  display: grid;
  grid-template-columns: 18px 80px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  margin: 16px 14px 0;
  padding: 18px 0;
  border-bottom: 1px solid #e5e7eb;
}

#tab-9 .onepaqucpro-floating-preview-group {
  margin: 14px 14px -8px;
}

#tab-9 .onepaqucpro-floating-preview-group h4 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

#tab-9 .onepaqucpro-floating-preview-group .dashicons {
  color: var(--onepaqucpro-floating-primary);
}

#tab-9 .onepaqucpro-floating-preview-remove {
  position: absolute;
  top: 3px;
  left: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ef4444;
  font-size: 20px;
  line-height: 1;
}

#tab-9 .onepaqucpro-floating-preview-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  background: #f8fafc;
  border: 1px solid #d7dee8;
  border-radius: 6px;
  color: #cbd5e1;
}

#tab-9 .onepaqucpro-floating-preview-title {
  color: #3f3f46;
  line-height: 1.5;
}

#tab-9 .onepaqucpro-floating-preview-meta {
  display: grid;
  gap: 3px;
  margin: 5px 0 0;
  color: #64748b;
  font-size: 12px;
}

#tab-9 .onepaqucpro-floating-preview-meta div {
  display: flex;
  gap: 5px;
}

#tab-9 .onepaqucpro-floating-preview-meta dt {
  font-weight: 700;
}

#tab-9 .onepaqucpro-floating-preview-meta dt::after {
  content: ":";
}

#tab-9 .onepaqucpro-floating-preview-meta dd {
  margin: 0;
}

#tab-9 .onepaqucpro-floating-preview-item strong {
  color: var(--onepaqucpro-floating-primary);
}

#tab-9 .onepaqucpro-floating-preview-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

#tab-9 .onepaqucpro-floating-preview-qty {
  display: flex;
  align-items: center;
  gap: 12px;
}

#tab-9 .onepaqucpro-floating-preview-qty button {
  width: 28px;
  height: 28px;
  border: 1px solid #d7dee8;
  background: #fff;
  border-radius: 4px;
}

#tab-9 .onepaqucpro-floating-preview-variation-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid var(--onepaqucpro-floating-primary);
  border-radius: 999px;
  background: #fff;
  color: var(--onepaqucpro-floating-primary);
}

#tab-9 .onepaqucpro-floating-preview-coupon {
  display: grid;
  gap: 10px;
}

#tab-9 .onepaqucpro-floating-preview-coupon-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: #334155;
  font: inherit;
  text-align: left;
}

#tab-9 .onepaqucpro-floating-preview-coupon-toggle span:first-child {
  margin: 0;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

#tab-9 .onepaqucpro-floating-preview-coupon-form {
  display: flex;
}

#tab-9 .onepaqucpro-floating-preview-coupon-form span {
  flex: 1;
  padding: 12px;
  color: #94a3b8;
  background: #fff;
  border: 1px solid #cbd5e1;
}

#tab-9 .onepaqucpro-floating-preview-coupon button,
#tab-9 .onepaqucpro-floating-preview-checkout,
#tab-9 .onepaqucpro-floating-preview-products button {
  border: 0;
  background: var(--onepaqucpro-floating-primary);
  color: var(--onepaqucpro-floating-primary-text);
  font-weight: 700;
}

#tab-9 .onepaqucpro-floating-preview-coupon button {
  padding: 0;
  background: none;
}

#tab-9 .onepaqucpro-floating-preview-related {
  margin: 28px 14px 18px;
  padding-top: 18px;
  border-top: 1px solid #e5e7eb;
}

#tab-9 .onepaqucpro-floating-preview-related h4,
#tab-9 .onepaqucpro-floating-preview-shipping h4 {
  margin: 0 0 14px;
  color: #334155;
  font-size: 16px;
}

#tab-9 .onepaqucpro-floating-preview-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

#tab-9 .onepaqucpro-floating-preview-products div {
  min-width: 0;
}

#tab-9 .onepaqucpro-floating-preview-products .dashicons {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 72px;
  background: #f1f5f9;
  color: #cbd5e1;
  font-size: 38px;
}

#tab-9 .onepaqucpro-floating-preview-products p {
  overflow: hidden;
  margin: 8px 0 4px;
  color: #334155;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#tab-9 .onepaqucpro-floating-preview-products strong {
  display: block;
  margin-bottom: 8px;
  color: var(--onepaqucpro-floating-primary);
  font-size: 13px;
}

#tab-9 .onepaqucpro-floating-preview-products button,
#tab-9 .onepaqucpro-floating-preview-checkout {
  width: 100%;
  min-height: 36px;
  border-radius: 6px;
}

#tab-9 .onepaqucpro-floating-preview-shipping {
  display: grid;
  gap: 8px;
  margin: 18px 14px;
  padding: 14px;
  background: #f8fafc;
  border-radius: 8px;
}

#tab-9 .onepaqucpro-floating-preview-shipping label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #334155;
  font-size: 13px;
}

#tab-9 .onepaqucpro-floating-preview-summary .total {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e2e8f0;
  font-size: 16px;
}

#tab-9 .onepaqucpro-floating-preview-checkout {
  display: block;
  width: calc(100% - 28px);
  margin: 16px 14px 22px;
}

#tab-9 .onepaqucpro-floating-visual-actionbar {
  position: absolute;
  z-index: 5;
  top: 84px;
  left: 18px;
  display: inline-flex;
  overflow: hidden;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.2);
}

#tab-9
  .onepaqucpro-floating-visual-actionbar
  .onepaqucpro-floating-preview-toggle,
#tab-9
  .onepaqucpro-floating-visual-actionbar
  .onepaqucpro-floating-preview-edit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  background: #0f172a;
  color: #fff;
}

@media (max-width: 782px) {
  #tab-9 .onepaqucpro-floating-preview-toolbar {
    flex-direction: column;
    padding-right: 16px;
  }

  #tab-9 .onepaqucpro-floating-preview-stage {
    min-height: 680px;
    padding: 12px;
  }

  #tab-9 .onepaqucpro-floating-preview-drawer {
    max-width: 100%;
  }

  #tab-9 .onepaqucpro-floating-preview-item {
    grid-template-columns: 18px 64px minmax(0, 1fr);
  }

  #tab-9 .onepaqucpro-floating-preview-item > strong {
    grid-column: 3;
  }
}

#tab-9 .onepaquc-floating-pro-heading {
  position: relative;
}

.onepaquc-pro-feature-badge {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 9px;
  border-radius: 999px;
  background: #fff1f2;
  color: #b91c1c;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

#tab-9 .onepaquc-floating-pro-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

#tab-9 .onepaquc-floating-pro-row {
  margin-top: 16px;
}

#tab-9 .onepaquc-floating-pro-field {
  position: relative;
  justify-content: space-between;
  min-width: 0;
  min-height: 42px;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f9fafb;
  box-sizing: border-box;
}

#tab-9 .onepaquc-floating-pro-field-text,
#tab-9 .onepaquc-floating-pro-field-stack {
  display: grid;
  gap: 8px;
}

#tab-9 .onepaquc-floating-pro-field-stack {
  align-items: stretch;
}

#tab-9 .onepaquc-floating-pro-label {
  color: #1f2937;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

#tab-9 .onepaquc-floating-pro-control,
#tab-9 .onepaquc-floating-pro-table-control {
  position: relative;
  min-width: 0;
}

#tab-9 .onepaquc-floating-pro-control select,
#tab-9 .onepaquc-floating-pro-control input[type="text"] {
  width: 100%;
}

#tab-9 .onepaquc-floating-pro-table-control .plugincy_lock-icon {
  right: 0;
}

#tab-9 .onepaqucpro-floating-elements-groups,
#tab-9 .onepaqucpro-floating-text-groups {
  display: grid;
  gap: 16px;
}

#tab-9 .onepaqucpro-floating-elements-group,
#tab-9 .onepaqucpro-floating-text-group {
  min-width: 0;
  margin: 0;
  padding: 14px;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  background: #f8fafc;
}

#tab-9 .onepaqucpro-floating-elements-group__title,
#tab-9 .onepaqucpro-floating-text-group__title {
  margin: 0;
  padding: 0 6px;
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

#tab-9 .onepaqucpro-floating-elements-group__description,
#tab-9 .onepaqucpro-floating-text-group__description {
  margin: 2px 0 12px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.4;
}

#tab-9 .onepaqucpro-floating-elements-group__controls {
  margin: 0;
  padding: 0;
  border-bottom: 0;
}

#tab-9 .onepaqucpro-floating-text-group__fields {
  row-gap: 12px;
}

#tab-9 .onepaqucpro-meta-picker {
  display: grid;
  gap: 8px;
  width: 100%;
}

#tab-9 .onepaqucpro-meta-picker select {
  width: 100%;
  min-height: 74px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
}

#tab-9 .onepaqucpro-meta-picker__custom {
  display: flex;
  gap: 6px;
}

#tab-9 .onepaqucpro-meta-picker__custom input {
  flex: 1;
  min-height: 32px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
}

#tab-9 .onepaqucpro-meta-builder {
  display: grid;
  gap: 10px;
  width: 100%;
}

#tab-9 .onepaqucpro-meta-builder__head,
#tab-9 .onepaqucpro-meta-builder__row {
  display: grid;
  grid-template-columns: 32px minmax(130px, 1fr) minmax(100px, 0.55fr) minmax(
      120px,
      1fr
    ) 32px;
  gap: 8px;
  align-items: center;
}

#tab-9 .onepaqucpro-meta-builder__head {
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

#tab-9 .onepaqucpro-meta-builder__rows {
  display: grid;
  gap: 8px;
}

#tab-9 .onepaqucpro-meta-builder__row {
  padding: 8px;
  border: 1px solid #dbe3ef;
  border-radius: 6px;
  background: #f8fafc;
}

#tab-9 .onepaqucpro-meta-builder__drag,
#tab-9 .onepaqucpro-meta-builder__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  background: #fff;
  color: #475569;
}

#tab-9 .onepaqucpro-meta-builder__remove {
  color: #dc2626;
}

#tab-9 .onepaqucpro-meta-builder__row select,
#tab-9 .onepaqucpro-meta-builder__row input {
  width: 100%;
  min-height: 32px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
}

#tab-9 .onepaqucpro-meta-builder__add {
  justify-self: start;
}

@media (max-width: 782px) {
  #tab-9 .onepaqucpro-meta-builder__head {
    display: none;
  }

  #tab-9 .onepaqucpro-meta-builder__row {
    grid-template-columns: 30px 1fr;
  }

  #tab-9 .onepaqucpro-meta-builder__row select,
  #tab-9 .onepaqucpro-meta-builder__row input {
    grid-column: 1 / -1;
  }
}

.plugincy_card input[type="color"] {
  padding: 0 2px;
}
