/* Prevent number arrows */
input::-webkit-inner-spin-button,
input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    appearance: textfield;
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
}

/* MODAL BACKDROP */
.onload-popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.639);
    z-index: 99999 !important;
    justify-content: center;
    align-items: center;
}

/* SHOW POPUP */
.onload-popup.active {
    display: flex;
}

/* DIALOG */
.onload-popup .modal-dialog {
    max-width: 460px;
    width: 100%;
    padding: 20px;
}

/* CONTENT BOX */
.onload-popup .modal-content {
    background: transparent;
    /* border: 5px solid #dcff00 !important; */
    border-radius: 20px;
    position: relative;
    box-shadow: 6px -6px 1px 5px #ff9900;
}

/* CLOSE BUTTON */
.onload-popup .modal-header {
    position: absolute;
    right: -20px;
    top: -20px;
    width: 30px;
    height: 30px;
    background: #ff9900;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 222;
}

.onload-popup .modal-header button {
    background: none;
    border: none;
    font-size: 20px;
    color: #000;
    cursor: pointer;
    line-height: 1;
}

/* BODY */
.onload-popup .modal-body {
    padding: 20px;
    font-family: inter;
}

/* OPTIONAL BACKGROUND STYLE */
.onload-popup .modal-body {
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 20px;
    background:#fff;
}

/* FORM INPUTS (ZOHO OVERRIDE) */
.onload-popup input,
.onload-popup textarea,
.onload-popup select {
    height: 40px;
    border-radius: 6px;
    border: 1px solid #ccc;
    padding: 5px 10px;
    width: 100%;
}

.onload-popup textarea {
    height: 80px;
}

/* SUBMIT BUTTON */
.onload-popup .formsubmit.zcwf_button {
    background: #ff9900 !important;
    color: #000 !important;
    font-weight: bold;
    border: none !important;
    height: 45px;
    width: 100%;
    cursor: pointer;
}

/* TEXT STYLING */
.onload-popup label {
    color: #fff;
    font-weight: 500;
}

.modal-body .zcwf_row {
    display: flex;
    flex-direction: column;
    margin: 10px 0 !important;
}

.modal-body .zcwf_row .zcwf_col_fld {
    width: 100%;
}

.modal-body .zcwf_row .zcwf_col_fld input ,.modal-body .zcwf_row .zcwf_col_fld textarea {
    width: 100%;
}

.modal-body div#crmWebToEntityForm {
    padding: 0 !important;
}

.modal-body div#crmWebToEntityForm .zcwf_col_lab {
    display: none;
}

.modal-body .zcwf_lblLeft .zcwf_col_fld input[ type = text], .modal-body input[ type = password], .modal-body .zcwf_lblLeft .zcwf_col_fld textarea {
    color: #000 !important;
    font-size: 12px;
    width: 100% !important;
}

.modal-body h6.head {padding-left: 20px;border-left: 4px solid #ff9900;margin-left: 4px;font-size: 23px;font-family: 'Metric-Regular';}

.modal-body h6.head span.small {
    color: #ff9900;
    font-size: 25px;
    display: block;
    font-family: 'Inter';
    font-weight: 500;
}

@media (max-width:767px){
    .modal-body h6.head {
    font-size: 14px;
}

.modal-body h6.head span.small {
    font-size: 16px;
}

.onload-popup .modal-body {
    padding: 12px;
}

.modal-body .zcwf_lblLeft .zcwf_col_fld input[ type = text] {
    height: 35px;
}

.onload-popup .formsubmit.zcwf_button , .onload-popup .zcwf_lblLeft .zcwf_button {
    height: auto;
    width: auto;
    padding: 10px 20px;
    max-width: fit-content;
}

.onload-popup .modal-dialog {
    max-width: 320px;
}
    
}