/**
 * All of the CSS for your admin-specific functionality should be
 * included in this file.
 */
 /* converts input to albel */

/* Ensure high specificity */
input.as-label {
    border: none !important;
    background: none !important;
    color: inherit !important;
    font-size: inherit !important;
    font-family: inherit !important;
    font-weight: bolder;
    padding: 2px !important;
    margin: 0 !important;
    outline: none !important;
    pointer-events: none !important; /* Make it non-interactive */
    width: auto !important; /* Adjust width as needed */
    display: inline-block !important; /* Ensure it behaves like a label */
    vertical-align: middle !important; /* Align vertically with other elements */
    line-height: normal !important; /* Ensure consistent line height */

}
input.as-dashed-line {
    border: none !important;
    border-bottom: 1px dashed !important; /* Add dashed bottom border */
    background: none !important;
    color: inherit !important;
    font-size: inherit !important;
    font-family: inherit !important;
    font-weight: bolder;
    padding: 2px !important;
    margin: 0 !important;
    outline: none !important;
    width: auto !important; /* Adjust width as needed */
    display: inline-block !important; /* Ensure it behaves like a label */
    vertical-align: middle !important; /* Align vertically with other elements */
    line-height: normal !important; /* Ensure consistent line height */
}


/* Custom styles for checkboxes and labels */
/*
.form-check-input[type="checkbox"],
.form-check-input[type="radio"] {
    vertical-align: middle; 
    margin-top: 0.2rem; 
    margin-bottom: 0; 
}
    
*/
.ezwp-hcenter {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ezwp-hleft {
    display: flex;
    justify-content: left;
    align-items: left;
}

.ezwp-hright {
    display: flex;
    justify-content: right;
    align-items: right;
}

.ezwp-field-label{
   /* make bold */
    font-weight: bold;
  
}

.ezwp-tab-content-lhs{
    /*max-height: 500px; *//* Adjust the height as needed */
    overflow-y: auto;
} 
.ezwp-tab-content-rhs {
    max-height: 700px; /* Adjust the height as needed */
    overflow-y: auto;
}

/* form builder menu icon  */
.ezwpform-icons-blue-tint {
    color: hsl(217, 80%, 55%);
    transition: color 0.3s, text-shadow 0.3s; /* Smooth transition for color and shadow */
}

.ezwpform-icons-blue-tint:hover {
    text-shadow: 0 0 10px rgba(0, 0, 255, 0.7); /* Glow effect */
}

.ezwpform-icons-blue-tint:active {
    color: black; /* Change this to your desired active color */
}
/* Disabled icon styles */

.ezwpform-disabled-icon {
    color: gray;
    pointer-events: none; /* Prevents click events */
}

.ezwpform-image-preview {
    position: relative;
    display: inline-block;
    width: 200px; /* Adjust the width as needed */
}

.ezwpform-remove-image {
    position: absolute;
    top: 5px;
    left: 5px;
    background: rgba(255, 255, 255, 0.7);
    
    font-weight: bold;
    cursor: pointer;
    padding: 2px 5px;
}

.ezwp-on-drag-leftpaddingForm {
   padding-left: 40px; 
   padding-top: 10px; 
   padding-bottom: 10px; 


    background-color: #e6e6e6; 
    transition: padding 0.2s ease;


}

/* form style properties should be in public css */
.ezwpform-form-container-styles {
    padding: 20px;
   
}
.ezwpfrom-name-val-list {
    border-top: 1px solid #e1dcdc; /* Top border */
    padding: 10px 0; /* Optional: Add some padding for better spacing */
}

.dragging{
    box-shadow: 0 0 10px rgba(13, 0, 197, 1); /* Adjust the color and intensity as needed */
}


.draggable-item:hover {
    border: 1px solid #dee2e6;
    background-color: #f8f9fa;
} 




.ezwp-dropzoneBorder{
    border: 2px dashed #d61818; /* Adjust the color and thickness as needed */
    border-radius: 5px; /* Optional: Add border radius */
    padding: 10px; /* Optional: Add padding for better spacing */
    margin-bottom: 10px; /* Optional: Add margin for better spacing */
}

.card {
  width: 100%;
}

.ezwp-form-highlight-row {
    background-color: #f8d7da  !important; /* Light red */
}

/* Disabled icon styles */
.ezwpform-disabled-icon {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Checkbox and Radio Button Styles make sure they align properly */
.form-check {
  display: flex;
  align-items: center;
}

.form-check-input {
  margin-top: 0; /* Remove default vertical offset */
}

.form-check-label {
  margin-bottom: 0; /* Prevent label from dropping */
  line-height: 1;   /* Optional: tighten vertical spacing */
}

.spectrum-replacer {
  width: 100px;
  min-height: 30px;
}
