.pce-include-field-container .fe-label,
.pce-exclude-field-container .fe-label{
    top: 48%;
}



.hidden-button {
    display: none !important;
}



/* //PCE Permissions version 1 (depracated) */


/* General container styles */
.pce-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* padding: 20px; */
    /* border: 1px solid #ccc; */
    border-radius: 8px;
    /* background-color: #f9f9f9; */
    width: 100%;
    /* max-width: 600px; */
    margin: 0 auto;
    font-family: Arial, sans-serif;
}

/* Sliders container styles */
.pce-sliders-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Row styles for each tier */
.pce-slider-row {
    gap: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background-color: #fff;
    transition: box-shadow 0.2s ease;
}

.pce-slider-row:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Label for each tier */
.pce-slider-label {
    padding: 0px 0px;
    font-size: 13px;
    font-weight: bold;
    color: #333;
    flex-shrink: 0;
}

/* Button group container */
.pce-button-group {
    display: flex;
    gap: 6px;
}

/* Button styles */
.pce-option-button {
    font-weight: bold;
    padding: 5px 14px;
    font-size: 14px;
    color: #666;
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: capitalize;

}

.pce-option-button:hover {
    background-color: #e7e7e7;
    border-color: #bbb;
}

/* Active button style */
.pce-option-button.active {
    background-color: #72bdff;
    color: #fff;
    border-color: #3f87c6;
}

/* JSON preview box */
.pce-json-preview {
    font-size: 11px;
    color: #444;
    background-color: #f4f4f4;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: auto;
    max-height: 400px;
}

.pce-tag-dropdown {
    position: relative;
    top: 100%;
    /* Position directly below the input field */
    left: 0;
    /* Align with the left edge of the input */
    background-color: #fff;
    width: 100%;
    /* Match the width of the input */
    overflow-y: auto;
    /* Enable scrolling if content exceeds max-height */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 6px 6px;
    padding: 0;
    z-index: 2;
    max-height: 100px;
}

.pce-search-result {
    font-size: 13px;
    margin: 4px 0px;
    padding: 4px 8px;
    border-bottom: 1px solid #f2f2f2;
}

.pce-search-result:hover {
    background-color: #f2f2f2;
}

.pce-tag-selected-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: start;
    gap: 4px;
    margin-bottom: 10px;
}



.pce-tag {
    font-size: 11px;
    border-radius: 4px;
    padding: 2px 6px;
    border: 1px solid #4CAF50;
    color: #1B5E20;
    background-color: #E8F5E9;
    width: fit-content;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pce-tag-remove {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    margin-left: 8px;
    color: #1B5E20;
    background-color: #ffffff;
    border: 1px solid #4CAF50;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pce-tag-exclude {
    font-size: 11px;
    border-radius: 4px;
    padding: 2px 6px;
    color: #B71C1C;
    background-color: #FFEBEE;
    border: 1px solid #EF5350;
    width: fit-content;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pce-tag-exclude .pce-tag-remove {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    margin-left: 8px;
    color: #B71C1C;
    background: #ffffff;
    border: 1px solid #EF5350;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pce-slider-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .pce-slider-label {
        margin-bottom: 0px;
    }

    .pce-button-group {
        justify-content: space-between;
        flex-wrap: wrap;
    }
}










.feperm-advanced-internal-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 10px 5px;
}


/* //Permissions field type styles */

.feperm-container {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    gap: 0px;
}


/* .feperm-row-checks-1 {
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap: 0px;
    align-content: start;
    margin-bottom: 5px;
    width: 100%;
} */

.feperm-section-label {
    font-weight: bold;
}

.feperm-row-checks-1-row1 {
    display: flex;
    flex-direction: row;
    justify-content: start;
    gap: 20px;
    align-content: start;
    margin-bottom: 5px;
}

.feperm-row-checks-1-row2 {
    gap: 20px;
    margin-bottom: 5px;
}



.feperm-checkbox-label {
    margin-left: 5px;
}



/* .feperm-row-checks-2 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0px;
    margin-bottom: 5px;
    width: 100%;
} */

.feperm-row-checks-2-row1 {
    display: flex;
    flex-direction: row;
    justify-content: start;
    gap: 20px;
    align-content: start;
    margin-bottom: 5px;
}

.feperm-row-checks-2-row2 {
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap: 15px;
    align-content: start;
    margin-bottom: 5px;
}




.feperm-checkbox-container {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
}





.feperm-input-container {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
}





.feperm-price-input {
    margin-top: 5px;
}





.feperm-plan-select {
    margin-top: 5px;
}





.feperm-row-checks-1,
.feperm-row-checks-2,
.feperm-row-checks-3 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0px;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 10px;
}


.feperm-row-checks-1-row1,
.feperm-row-checks-2-row1,
.feperm-row-checks-3-row1 {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-content: start;
    margin-bottom: 5px;
}


.feperm-row-checks-1.open,
.feperm-row-checks-2.open,
.feperm-row-checks-3.open {
    max-height: 500px;
    opacity: 1;
    /* padding: 0px; */
}



.feperm-advanced-container {
    width: 100%;
    margin-top: 15px;
    /* border: 1px solid #d5d5d5; */
    border-radius: 5px;
    font-size: 13px;

    border: 1px solid #e5e5e5;
    --tw-shadow: 0px 0px 20px 0px rgba(0, 0, 0, .05);
    --tw-shadow-colored: 0px 0px 20px 0px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    border-radius: 6px;

    /* padding: 10px; */
    /* margin-top: 10px; */
}




.fe-purchase-rows-main {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.purchase-requirements-container { 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
    width: 100%;
}

.field-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    gap: 5px;
}


.purchase-requirement-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--fw-white-200);
    padding: 5px 0px;
    gap: 25px;
    width: 100%;
}

.purchase-requirement-row .plan-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}
.purchase-requirement-row .price-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}
.purchase-requirement-row .field-selector {
    flex: 0;
}
