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

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

    position: fixed;
    top: 0;
    right: 0;
    width: 70%;
    height: 100vh;
    background: #fefefe;
    padding-left: 30px;
    overflow-y: auto; /* Allows scroll when content exceeds max-height */
    text-align: center;
   
}

.top-space {
    height: 35px;
    /* background-color: #f8f8f8;  */
}
.bottom-space {
    height: 15%;
    /* background-color: #f8f8f8; */
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Close Button */
.integrazo_fwcrm_form-setup-close {
    position: absolute;
    top: 10%;
    right: 10%;
    font-size: 36px;
    cursor: pointer;
    color: #ee0000;
    transition: color 0.3s;
}

.integrazo_fwcrm_form-setup-close:hover {
    color: #333;
}

/* Popup Title */
.integrazo_fwcrm_form-setup-popup-title {
    font-size: 1.8em;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

/* Form Container */
#integrazo_fwcrm_form-setup-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Form Group */
.integrazo_fwcrm_form-setup-form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

/* Label Styling */
.integrazo_fwcrm_form-setup-form-group label {
    font-size: 1em;
    font-weight: 600;
    color: #110303;
    margin-bottom: 8px;
    font-family: system-ui !important;
}

/* Input and Select Styling */
#integrazo_fwcrm_form-setup-form select,
#integrazo_fwcrm_form-setup-form input[type="text"],
#integrazo_fwcrm_form-setup-form input[type="radio"] {
border: 1px solid #8c8f9457;
    background-color: #fff;
    color: #070347cc;
    box-shadow: 0 0 0 transparent;
    border-radius: 4px;
    padding: 5px;
    font-family: system-ui !important;
  
}

#integrazo_fwcrm_form-setup-form select:focus,
#integrazo_fwcrm_form-setup-form input[type="text"]:focus {
    border-color: #0073aa;
    background: #fff;
    outline: none;
}

/* Radio Button Group */
.integrazo_fwcrm_form-setup-radio-group {
    display: flex;
    gap: 15px;
    align-items: center;
}

.integrazo_fwcrm_form-setup-radio-group label {
    font-weight: 500;
    color: #555;
}

/* Radio Button Styling */
.integrazo_fwcrm_form-setup-radio-group input[type="radio"] {
    accent-color: #0073aa;
}

/* Submit Button */
.integrazo_fwcrm_form-setup-submit-button {
    padding: 14px 25px;
    font-size: 1.1em;
    color: #fff;
    background-color: #0073aa;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.integrazo_fwcrm_form-setup-submit-button:hover {
    background-color: #005f8a;
}

/* Scrollbar Styling */
.integrazo_fwcrm_form-setup-popup-content::-webkit-scrollbar {
    width: 3px;
}

.integrazo_fwcrm_form-setup-popup-content::-webkit-scrollbar-thumb {
    /* background: #0073aa; */
    border-radius: 2px;
}
.integrazo_fwcrm_form-setup-form-group label span {
    color: red;
    font-weight: bold;
}
 /* Field Mapping Container */
   /* Field Mapping Container */
   .integrazo_fwcrm_form-setup-fm-container {
    /* width: 100%; */
    /* max-width: 700px; */
    /* margin: 20px auto; */
    padding: 10px;
    /* border: 0.5px solid #dcdcde; */
    /* border-radius: 8px; */
    /* background-color: #e6e5e50f; */
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
    font-family: Arial, sans-serif;
}

/* Title Styling */
.integrazo_fwcrm_form-setup-fm-title {
    font-size: 1.5em;
    color: #333;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
}

/* Header Row for Fields */
.integrazo_fwcrm_form-setup-fm-header-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 10px 0;
    font-weight: bold;
    /* color: #007cba;
    border-bottom: 2px solid #007cba; */
}

.integrazo_fwcrm_form-setup-fm-header {
    font-size: 1.1em;
    flex: 1;
    text-align: center;
}

/* Mapping Row */
.integrazo_fwcrm_form-setup-fm-mapping-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 15px;
    /* border-radius: 6px; */
    align-items: center;
    margin-bottom: 37px;
    transition: background-color 0.3s ease;
    /* border: 1px dotted #cccccc; */
    border-left: 5px solid #7f7e8696;
    background-color: #d8d4d42b;
}

select {
    border: 1px solid rgba(140, 143, 148, 0.5); /* Softer border color */
    background-color: #fff;
    color: #070347;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow */
    border-radius: 6px; /* Slightly rounded corners */
    padding: 8px; /* More padding for a softer feel */
    font-family: system-ui, sans-serif;
    font-size: 16px; /* Slightly larger font for readability */
    transition: border-color 0.3s, box-shadow 0.3s; /* Smooth transition */
}

/* Optional hover and focus styles for a softer interaction effect */
select:hover, select:focus {
    border-color: rgba(140, 143, 148, 0.8); /* Darker border on hover/focus */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15); /* Slightly stronger shadow */
}


/* Dropdown and Input Styling */
.integrazo_fwcrm_form-setup-fm-dropdown, .integrazo_fwcrm_form-setup-fm-input {
    width: 45%;
    padding: 8px;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    background-color: #f6f7f7;
    color: #333;
    transition: border-color 0.3s, background-color 0.3s;
}

.integrazo_fwcrm_form-setup-fm-dropdown:focus, .integrazo_fwcrm_form-setup-fm-input:focus {
    border-color: #007cba;
    background-color: #ffffff;
    outline: none;
}

/* Custom Value Input Specific Styling */
.integrazo_fwcrm_form-setup-fm-input.custom-input {
  width:91.5%;
}

/* Button Styling */
.integrazo_fwcrm_form-setup-fm-button, .integrazo_fwcrm_form-setup-fm-generate-json-button {
    margin-top: 15px;
    font-size: 1em;
    padding: 10px 20px;
    color: #ffffff;
    background-color: #007cba;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.integrazo_fwcrm_form-setup-fm-button:hover, .integrazo_fwcrm_form-setup-fm-generate-json-button:hover {
    background-color: #005a94;
}

/* Remove Button Styling (as "-" icon) */
.integrazo_fwcrm_form-setup-fm-remove-button {
    font-size: 1.2em;
    color: #d9534f;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: color 0.3s;
}

.integrazo_fwcrm_form-setup-fm-remove-button[disabled] {
    color: #ccc;
    cursor: not-allowed;
}

.integrazo_fwcrm_form-setup-fm-plus-symbol
{
 font-size: 18px;
margin-right: 8px; /* Space between + and Add Field text */
}
.integrazo_fwcrm_form-setup-fm-mandatory,#integrazo_fwcrm_form-setup-fm-mandatory

{
    border-left: 3px solid red !important;
}
.integrazo_fwcrm_form-setup-loading-icon
{
    display: none;
    margin-left: 8px;
    width:30px;
}
/* Responsive Styles */
@media (max-width: 480px) {
    .integrazo_fwcrm_form-setup-popup-content {
        padding: 20px;
        width: 95%;
    }

    .integrazo_fwcrm_form-setup-popup-title {
        font-size: 1.5em;
    }
}


/* -------------------------Setup Table---------------------- */

/* Toggle switch wrapper */
.integrazo_fwcrm_form-setup-toggle-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

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

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

.integrazo_fwcrm_form-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%;
}

/* Background color when the toggle is checked */
.integrazo_fwcrm_form-setup-toggle-input:checked + .integrazo_fwcrm_form-setup-toggle-slider {
    background-color: #2196F3; /* Blue color when checked */
}

/* Move the toggle switch button when checked */
.integrazo_fwcrm_form-setup-toggle-input:checked + .integrazo_fwcrm_form-setup-toggle-slider:before {
    transform: translateX(20px);
}


/* -------------------------Setup Table---------------------- */

