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

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

.integrazo-wz-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-wz-setup-accordion-header:hover {
  background-color: #f1f1f1;
}

.integrazo-wz-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-wz-setup-toggle-icon {
  font-size: 18px;
  transition: transform 0.3s ease;
}
.integrazo-wz-setup-next-btn-wrapper {
  margin-top: 20px;
  text-align: right !important;
}
.integrazo-wz-setup-div
{
  display: flex; 
  align-items: center; 
  margin-bottom: 15px;
}
.integrazo-wz-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-wz-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-wz-setup-step1-input-search
{
  width: 70% !important;
  border-radius: 35px !important; 
  margin-left: auto;
  margin-right: auto;
  padding: 8px !important;

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

.integrazo-wz-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-wz-setup-step1-plugin-item:hover {
  border-color: #ccc;
}

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


.integrazo-wz-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-wz-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-wz-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-wz-setup-step1-popup::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}


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

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

.integrazo-wz-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-wz-setup-step1-box.integrazo-wz-setup-step1-expand-toggle:hover {
  border-color: #2271b1;
  background: #e6f0fb;
  cursor: pointer;
}

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

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

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

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

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

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

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


/* Base card */
.integrazo-wz-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-wz-setup-step1-plugin-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Light gray for Pro plugins background (optional) */
.integrazo-wz-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-wz-setup-step1-plugin-thumb {
    margin-bottom: 8px;
}

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


.integrazo-wz-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-wz-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-wz-empty-state-text {
  display: block;
  margin-bottom: 6px;
  line-height: 1.4;
}

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

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




/* ----------------------------------Setup-2-------------------- */
.integrazo-wz-setup-step2-note
{
  margin: 6px 20px 0 !important;
  font-size: 12px !important;
  color: #666 !important;
}
.integrazo-wz-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-wz-mapping-section {
  /* display: flex;
  justify-content: center;
  margin-top: 30px; */
  
}

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

.integrazo-wz-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-wz-mapping-header>div {
  text-align: center;
}
.integrazo-wz-mapping-row {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

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

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

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

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

.integrazo-wz-actions .integrazo-wz-add-row,
.integrazo-wz-actions .integrazo-wz-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-wz-actions .integrazo-wz-add-row:hover,
.integrazo-wz-actions .integrazo-wz-remove-field:hover {
  background: #d0d0d0;
}

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

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

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

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

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

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

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

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

