/* Popup Background */
.iafwzcai-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 */
.iafwzcai-setup-popup-overlay.show {
    visibility: visible;
    opacity: 1;
}

/* Popup Content */
.iafwzcai-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 */
.iafwzcai-setup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

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

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

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

  .iafwzcai-setup-input {
    float: left;
    /* margin-left: 42px; */
    padding: 8px;
    margin-right: 10px;
    margin-top: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    max-width: 200px !important;
    min-width: 200px !important;
    /* border-left: 3px solid #ff000094  !important; */
  }
  .iafwzcai-setup-select label {
    margin-right: 20px;
  }
  .iafwzcai-setup-radio
  {
    padding: 8px;
    margin-right: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }

.iafwzcai-setup-loading-text {

  padding: 15px;
 


}

.iafwzcai-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; }
}



  .iafwzcai-setup-th, .iafwzcai-setup-td {
    /* border: 1px solid #ddd; */
    padding: 12px;
    /* text-align: left; */
   
  }
  .iafwzcai-setup-td 
  {
    font-size: 14px;
  }
  .iafwzcai-setup-th {
    /* background-color: #f2f2f2; */
    /* font-size: 16px; */
  }
  #iafwzcai-setup-updateActionName-area
  {
    display: none;
  }
  .iafwzcai-fm-setup-select {
    border: 1px solid #2622225e !important;
    color: #321919bf !important;
    width: 100% !important;
  }
  .iafwzcai-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;
  }
 /* Toggle switch wrapper */
 .iafwzcai-setup-toggle-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
}

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

/* The slider */
.iafwzcai-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;
}

.iafwzcai-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 */
.iafwzcai-setup-toggle-input:checked + .iafwzcai-setup-toggle-slider {
  background-color: #2196F3;
}

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

/* Container styling */
.iafwzcai-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 */
.iafwzcai-setup-action-heading {
  font-weight: bold;
  font-size: 13px;
  color: #2c3e50;
  margin-bottom: 15px;
  display: inline;
}

/* Label styling */
.iafwzcai-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;
}
.iafwzcai-setup-action-label-disable
{
  color: #00000061 !important;
}

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

/* Hover effect for labels */
.iafwzcai-setup-action-label:hover {
  /* background-color: #eaf0f7;
  color: #2c3e50;
  font-weight: 500; */
}
/* Style for Help Icon */
   /* Style for Help Icon */
   .iafwzcai-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;
}


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

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

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

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

#iafwzcai-setup-note {
  display: none;
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
/* ---Custom value drop down--- */
.iafwzcai-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; */
}
.iafwzcai-setup-fm-suggestion-item {
  padding: 10px;
  cursor: pointer;
  /* border-bottom: 1px solid #e0dddd;
  border-right: 1px solid #e0dddd;
  border-left: 1px solid #e0dddd; */
}
.iafwzcai-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; }
}
/* ---------Setup select fields--- */

.iafwzcai-setup-selectfields-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0px 25px;
  max-width: 100%;
  align-items: flex-start;
}
.iafwzcai-setup-selectfields-field {
  display: flex;
  flex-direction: column;
  min-width: 180px;
}
.iafwzcai-setup-selectfields-heading {
  font-weight: bold;
  margin-bottom: 2px;
}
.iafwzcai-setup-selectfields-input {
  padding: 4px;
  border: 1px solid #ccc;
  border-radius: 4px;
}