/* Popup Background */
.iafwzc-setup-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    z-index: 9999;
    transition: visibility 0s, opacity 0.3s ease;
}
/* Show Popup */
.iafwzc-setup-popup-overlay.show {
    visibility: visible;
    opacity: 1;
}

/* Popup Content */
.iafwzc-setup-popup-content {

    background: #fff;
    width: 50%;       /* Add this line to set the width */
    height: 80vh;      /* You already have this line for height */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    overflow: overlay;
    scrollbar-width: none; 
   
}
/* Close Button */
.iafwzc-setup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.iafwzc-setup-close:hover {
    color: #333;
}
/* Popup Title */
.iafwzc-setup-popup-title {
    font-size: 1.8em;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}
.iafwzc-setup-table {
    border-collapse: collapse;
    width: 100%;
    /* margin-top: 15px; */
    
  }

  .iafwzc-setup-row {
    /* border-bottom: 1px solid #ddd; */
  }

  .iafwzc-setup-title {
    font-weight: bold;
    padding: 12px;
    text-align: left;
    max-width: 50px;
  }

  .iafwzc-setup-input {
    float: left;
    padding: 8px;
    margin-right: 10px;
    margin-top: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    max-width: 200px !important;
    min-width: 200px !important;
      height: 30px !important;
  min-height: 30px !important;
  line-height: 1.4 !important;
  box-sizing: border-box !important;
  }
  .iafwzc-setup-select label {
    margin-right: 20px;
  }
  .iafwzc-setup-radio
  {
    padding: 8px;
    margin-right: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }

.iafwzc-setup-loading-text {

  padding: 15px;
 


}

.iafwzc-setup-loading-text p {

  font-family: 'Arial', sans-serif; /* Clean and readable font */
  font-size: 16px; /* Moderate font size */
  line-height: 1.6; /* Improves readability */
  color: #333333; /* Dark gray text for a softer look */
  text-align: justify; /* Justifies the text for a neat alignment */
  margin: 10px 0; /* Adds spacing between paragraphs */
  padding: 10px; /* Adds padding inside the paragraph */
  background-color: #f9f9f9; /* Light gray background for subtle emphasis */

  border-radius: 5px; /* Smoothens corners */
  display: inline;
}

/* Optional fade-in animation */
@keyframes fadein {
    from { opacity: 0; }
    to { opacity: 1; }
}



  .iafwzc-setup-th, .iafwzc-setup-td {
    /* border: 1px solid #ddd; */
    padding: 12px;
    /* text-align: left; */
   
  }
  .iafwzc-setup-td 
  {
    font-size: 14px;
  }
  .iafwzc-setup-th {
    /* background-color: #f2f2f2; */
    /* font-size: 16px; */
  }
  #iafwzc-setup-fieldMapping-table .add-row,
  #iafwzc-setup-fieldMapping-table .remove-row {
    margin-right: 6px;
  }
  #iafwzc-setup-fieldMapping-table .add-row:last-child,
  #iafwzc-setup-fieldMapping-table .remove-row:last-child {
    margin-right: 0;
  }
  #iafwzc-setup-updateActionName-area
  {
    display: none;
  }
  .iafwzc-fm-setup-select {
    border: 1px solid #2622225e !important;
    color: #321919bf !important;
    width: 100% !important;
      height: 30px !important;
  min-height: 30px !important;
  line-height: 1.4 !important;
  box-sizing: border-box !important;
  }
  .iafwzc-setup-fm-custom-input
  {
    width: 100%;
    margin-top: 5px;
    /* border-color: inherit !important; */
    border-radius: 4px;
    border: 1px solid #2622225e !important;
    color: #321919bf !important;
    width: 100% !important;
      height: 30px !important;
  min-height: 30px !important;
  line-height: 1.4 !important;
  box-sizing: border-box !important;
  }
 /* Toggle switch wrapper */
 .iafwzc-setup-toggle-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
}

/* Hide the default checkbox */
.iafwzc-setup-toggle-input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.iafwzc-setup-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: background-color 0.4s;
  border-radius: 20px;
}

.iafwzc-setup-toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: transform 0.4s;
  border-radius: 50%;
}

/* Checked state */
.iafwzc-setup-toggle-input:checked + .iafwzc-setup-toggle-slider {
  background-color: #2196F3;
}

.iafwzc-setup-toggle-input:checked + .iafwzc-setup-toggle-slider:before {
  transform: translateX(20px);
}
/* -----Scroll bar none-- */
.iafwzc-setup-popup-content::-webkit-scrollbar {
  display: none; /* Hide scrollbar in WebKit browsers (Chrome, Safari) */
}

/* Container styling */
.iafwzc-setup-action-container {
 
  /* padding: 9px; */
  background-color: #f2f2f238;
  border: 1px solid #e0e0e0;
  /* font-family: Arial, sans-serif; */
  margin-top: 30px;
  text-align: left;
  padding-bottom: 17px;
  height: auto;
    overflow: hidden;
}

/* Heading styling */
.iafwzc-setup-action-heading {
  font-weight: bold;
  font-size: 13px;
  color: #2c3e50;
  margin-bottom: 15px;
  display: inline;
}

/* Label styling */
.iafwzc-setup-action-label {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #4a4a4a;
  margin-bottom: 12px;
  /* padding: 8px; */
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-left: 7px;
}
.iafwzc-setup-action-label-disable
{
  color: #00000061 !important;
}

/* Radio button spacing */
.iafwzc-setup-action-label input[type="radio"] {
  margin-right: 10px;
}

/* Hover effect for labels */
.iafwzc-setup-action-label:hover {
  /* background-color: #eaf0f7;
  color: #2c3e50;
  font-weight: 500; */
}
/* Style for Help Icon */
   /* Style for Help Icon */
   .iafwzc-setup-action-help-icon {
    font-size: 0.875rem;
    color: #0073e6;
    background-color: #f1f1f1;
    border-radius: 50%;
    width: 1.2rem;
    height: 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: 0.5rem;
    font-weight: bold;
}


.iafwzc-setup-menu
{
  background-color: #f2f2f238;
  border: 1px solid #e0e0e0;
  padding: 9px;
}
/* ---------Note00000000 */
#iafwzc-setup-note-area {
  /* margin-bottom: 20px; */
  margin-top: 30px;
  background-color: #f2f2f238;
  border: 1px solid #e0e0e0;
  padding: 12px;
}

.iafwzc-setup-note-row {
  display: flex;
  align-items: center;
  gap: 15px; /* Space between question and options */
  margin-bottom: 10px;
  padding: 9px;
}

.iafwzc-setup-note-heading {
  font-weight: bold;
  margin: 0;
}

.iafwzc-setup-note-label {
  display: flex;
  align-items: center;
  font-size: 16px;
}

#iafwzc-setup-note {
  display: none;
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
/* ---Custom value drop down--- */
.iafwzc-setup-fm-dropdownSuggestions {
  border: 1px solid #ccc;
  max-height: 150px;
  overflow-y: auto;
  position: absolute;
  background-color: white;
  width: 100%;
  display: none;
  z-index: 1000;
  /* background-color: #ffffff !important; */
}
.iafwzc-setup-fm-suggestion-item {
  padding: 10px;
  cursor: pointer;
  /* border-bottom: 1px solid #e0dddd;
  border-right: 1px solid #e0dddd;
  border-left: 1px solid #e0dddd; */
}
.iafwzc-setup-fm-suggestion-item:hover {
  background-color: #f0f0f0;
}

/* --------Default Value Poupup--------- */
.info-icon {
  cursor: pointer;
  margin-left: 5px;
  font-size: 14px;
  color: #0073e6;
  display: inline-block;
  position: relative;
}

.popup-message {
  position: fixed;
  background: linear-gradient(135deg, #ffffff, #f8f9fa); /* Subtle gradient */
  color: #333; /* Darker text for readability */
  padding: 12px 15px;
  border-radius: 8px; /* More rounded corners */
  font-size: 14px;
  white-space: nowrap;
  display: none;
  z-index: 9999; /* High z-index to appear above all overlays */
  border: 1px solid #e0e0e0; /* Soft border */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); /* Enhanced shadow effect */
  max-height: 180px; /* Increased height */
  overflow-y: auto; /* Enable scrolling */
  transition: all 0.3s ease-in-out; /* Smooth appearance */
}

/* Add a subtle glowing effect */
.popup-message::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background-color: white;
  border: 1px solid #e0e0e0;
  box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.1);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%); /* Arrow pointing up */
}

/* Header Styling */
.popup-header {
  font-weight: bold;
  color: #0073e6; /* Blue color for emphasis */
  font-size: 15px;
  margin-bottom: 5px;
}

/* Content inside popup */
.number-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Copyable Item */
.copy-item {
  cursor: pointer;
  padding: 5px 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #f1f8ff; /* Light blue background */
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease-in-out;
}

.copy-item:hover {
  background: #d7ebff; /* Slightly darker blue on hover */
}

/* Copy Icon */
.copy-icon {
  font-size: 14px;
  color: #0073e6;
  cursor: pointer;
}

/* Copied Text */
.copied-text {
  font-size: 12px;
  color: green;
  margin-left: 5px;
  font-weight: bold;
  animation: fadeOut 1s ease-in-out forwards;
}

/* Fade-out animation for Copied text */
@keyframes fadeOut {
  0% { opacity: 1; }
  100% { opacity: 0; }
}