/* --------------------------------Common---------------------------- */

.integrazo-wczo-setup-accordion {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 15px;
  overflow: hidden;
  margin-top: 15px;
}

.integrazo-wczo-setup-accordion-header {
  padding: 15px 20px;
  cursor: pointer;
  font-weight: 600;
  background-color: #f0f0f1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e0e0e0;
  font-size: 16px;
  border: 1px solid #c3c4c763;
  color: #50575e;
}

.integrazo-wczo-setup-accordion-header:hover {
  background-color: #f1f1f1;
}

.integrazo-wczo-setup-accordion-content {
  display: none;
  padding: 20px;
  background-color: #ffffff;
  font-size: 15px;
  border-left:1px dashed #b1b1b1;
border-right: 1px dashed #b1b1b1;
border-bottom: 1px dashed #b1b1b1;

}

.integrazo-wczo-setup-toggle-icon {
  font-size: 18px;
  transition: transform 0.3s ease;
}
.integrazo-wczo-setup-next-btn-wrapper {
  margin-top: 20px;
  text-align: right !important;
}
.integrazo-wczo-setup-div
{
  display: flex; 
  align-items: center; 
  margin-bottom: 15px;
}
.integrazo-wczo-setup-lable
{
  font-size: 1em !important;
  font-weight: 600 !important;
  color: #7a7a7a !important; /* lighter label color */
  text-align: left !important;
  min-width: 160px !important;
}

/* ------------------------------------Setp-1------------------------------ */
.integrazo-wczo-setup-setp1-integration-name {
  width: 100% !important;
  padding: 3px 10px !important;        /* Top-Bottom: 3px, Left-Right: 10px */
  font-size: 1em !important;
  border: 1px solid #8c8f94 !important;
  color: #504b4b !important;
  margin-left: 20px !important;
  outline: none !important;
  border-radius: 4px !important;       /* optional, for smoother corners */
  background-color: #fff !important;   /* white background */
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05) !important; /* subtle inner shadow */
}

.integrazo-wczo-setup-step1-input-search
{
  width: 70% !important;
  border-radius: 35px !important; 
  margin-left: auto;
  margin-right: auto;
  padding: 8px !important;

}
.integrazo-wczo-setup-step1-plugin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(127px, 1fr));
  gap: 20px;
  margin-top: 15px;
}

.integrazo-wczo-setup-step1-plugin-item {
  min-height: 70px;
  text-align: center;
  border: 1px solid #80808021;
  border-radius: 8px;
  padding: 10px;
  background: #f9f9f9;
  cursor: pointer;
  transition: 0.2s;
}

.integrazo-wczo-setup-step1-plugin-item:hover {
  border-color: #ccc;
}

.integrazo-wczo-setup-step1-plugin-item.selected {
  border-color: #007cba;
  background-color: #e6f0fa;
}


.integrazo-wczo-setup-step1-plugin-title {
  display: block;
  /* font-size: 14px; */
  font-weight: 500;
  color: #333;
  white-space: nowrap;
  /* overflow: hidden; */
  text-overflow: ellipsis;
  margin-top: 1px;
   margin-top: 10px;
}

.integrazo-wczo-setup-step1-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  display: flex;
  justify-content: center;
  overflow-y: auto; /* allow scroll if content exceeds */
}

.integrazo-wczo-setup-step1-popup {
  background: #fff;
  width: 90%;
  max-width: 900px;
  margin: 50px auto;
  padding: 25px;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  overflow: auto; /* scrolling enabled */
  
  /* hide scrollbar (cross-browser) */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.integrazo-wczo-setup-step1-popup::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}


.integrazo-wczo-setup-step1-popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  color: #007cba;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
}

.integrazo-wczo-setup-step1-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.integrazo-wczo-setup-step1-box {
  width: 45%;
  background: #f1f1f1;
  border: 2px dashed #ccc;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Default hover effect */
.integrazo-wczo-setup-step1-box.integrazo-wczo-setup-step1-expand-toggle:hover {
  border-color: #2271b1;
  background: #e6f0fb;
  cursor: pointer;
}

/* When not selectable (no class), keep it clean */
.integrazo-wczo-setup-step1-box:not(.integrazo-wczo-setup-step1-expand-toggle) {
  cursor: default;
}

.integrazo-wczo-setup-step1-box img {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
}

.integrazo-wczo-setup-step1-label {
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
  color: #333;
  font-weight: 500;
}

.integrazo-wczo-setup-step1-arrow {
  font-size: 28px;
  color: #666;
}

.integrazo-wczo-setup-step1-save-btn {
  margin-top: 30px;
  text-align: right;
}

.integrazo-wczo-setup-step1-save-btn button {
  background: #2271b1;
  border: none;
  color: #fff;
  padding: 10px 20px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 14px;
}

.integrazo-wczo-setup-step1-save-btn button:hover {
  background: #1d5e99;
}
#integrazo-wczo-plugin-popup-search,
#integrazo-wczo-product-popup-search::placeholder {
  text-indent: 10px;
}


/* Base card */
.integrazo-wczo-setup-step1-plugin-item {
    position: relative;
    padding: 15px 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    text-align: center;
    transition: box-shadow 0.2s;
}

.integrazo-wczo-setup-step1-plugin-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Light gray for Pro plugins background (optional) */
.integrazo-wczo-pro-plugin {
      text-align: center;
  border: 1px solid #80808021;
  border-radius: 8px;
  padding: 10px;
  background: #f9f9f9;
  cursor: not-allowed;
  transition: 0.2s;
  position: relative;
}

/* Plugin image/thumb */
.integrazo-wczo-setup-step1-plugin-thumb {
    margin-bottom: 8px;
}

/* Plugin title */
.integrazo-wczo-setup-step1-plugin-title {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-top: 8px;
}


.integrazo-wczo-setup-step1-plugin-pro-label {
    display: block;
    margin-top: 4px;
    font-size: 10px;
    font-weight: bold;
    color: #e91e63;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
/* Empty-state message inside the grid */
.integrazo-wczo-empty-state {
  display: none;               /* toggled by JS */
  grid-column: 1 / -1;         /* span all grid columns, without stretching tiles */
  padding: 12px;
  border: 1px dashed #ccd0d4;
  border-radius: 6px;
  background: #f9fafb;
  color: #444;
  text-align: center;
  max-width: 560px;            /* keep it neat */
  justify-self: center;        /* center within the grid */
}

.integrazo-wczo-empty-state-text {
  display: block;
  margin-bottom: 6px;
  line-height: 1.4;
}

.integrazo-wczo-empty-state-link {
  text-decoration: underline;
}

/* (Optional) ensure the grid is a grid; keep if your stylesheet already defines it */
.integrazo-wczo-setup-step1-plugin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.integrazo-wczo-setup-step1-disabled {
  opacity: 0.8;
  cursor: not-allowed;
}

.integrazo-wczo-setup-step1-disabled,
.integrazo-wczo-setup-step1-disabled * {
  cursor: not-allowed !important;
}


/* ----------------------------------Setup-2-------------------- */
.integrazo-wczo-setup-step2-note
{
  margin: 6px 20px 0 !important;
  font-size: 12px !important;
  color: #666 !important;
}
.integrazo-wczo-setup-step2-note-bottom{
  background-color: #fff8c4;
  border-left: 4px solid #f1c40f;
  padding: 10px 15px;
  font-size: 13px;
  color: #4d4b47;
  margin: 0 0 20px;
  max-width: 700px;
  border-radius: 4px;
}
/* ----------------------------Step-3-------------------------- */
.integrazo-wczo-mapping-section {
  /* display: flex;
  justify-content: center;
  margin-top: 30px; */
  
}

.integrazo-wczo-mapping-table {
    background-color: #f9f9f9;
    padding: 25px;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 70%;
    margin-left: 170px;
}

.integrazo-wczo-mapping-header {
  display: grid;
  grid-template-columns: 45% 45% auto;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  font-weight: 600;
  font-size: 16px;
  color: #333;
}

.integrazo-wczo-mapping-header>div {
  text-align: center;
}
.integrazo-wczo-mapping-row {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.integrazo-wczo-field-left,
.integrazo-wczo-field-right {
  width: 45%;
}

.integrazo-wczo-form-field-select,
.integrazo-wczo-crm-field-select,
.integrazo-wczo-mapping-row textarea {
  width: 100%;
  padding: 6px 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.integrazo-wczo-custom-textarea {
  margin-top: 5px;
  display: none;
}

.integrazo-wczo-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}

.integrazo-wczo-actions .integrazo-wczo-add-row,
.integrazo-wczo-actions .integrazo-wczo-remove-field {
  background: #e0e0e0;
  border: 1px solid #bbb;
  border-radius: 4px;
  padding: 5px 10px;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s ease;
}

.integrazo-wczo-actions .integrazo-wczo-add-row:hover,
.integrazo-wczo-actions .integrazo-wczo-remove-field:hover {
  background: #d0d0d0;
}

.integrazo-wczo-row-with-textarea {
  flex-direction: column;
  align-items: flex-start;
}

.integrazo-wczo-mapping-row textarea {
  /* width: 45%; */
}

.integrazo-wczo-picklist-select,
.integrazo-wczo-form-field-select,
.integrazo-wczo-crm-field-select {
  width: 100%;
  padding: 6px 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.integrazo-wczo-picklist-combined,
.integrazo-wczo-form-field-wrapper,
.integrazo-wczo-custom-textarea {
  margin-top: 8px;
}

.integrazo-wczo-custom-textarea textarea {
  width: 100%;
  padding: 6px 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  resize: vertical;
  min-height: 40px;
}

.integrazo-wczo-disabled-remove {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}
/* -------------------------Custom Value Dropdown----------------- */
.integrazo-wczo-suggestion-box {
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 0;
}

.integrazo-wczo-suggestion-item {
  padding: 6px 8px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  background-color: #fff;
}

.integrazo-wczo-suggestion-item:last-child {
  border-bottom: none;
}

.integrazo-wczo-suggestion-item:hover {
  background-color: #f0f0f0;
}

