.cm-input-group {
    width: 100%;
    position: relative;
}

.cm-input-group input.cm-form-control,
.cm-input-group select.cm-form-control {
    width: 100%;
    padding: 10px 10px;
    border: 1px solid #cdcdcd;
    border-radius: 3px;
    color: #696969;
    font-size: 14px;
}

.cm-input-group input.cm-form-control.error,
.cm-input-group select.cm-form-control.error {
    border: 1px solid #E23F3F;
    background: #DD24241D;
    color: #696969;
}

.cm-input-group input.cm-form-control.cm-phone-with-cc{
    padding-left: 65px;
}
.cm-input-group input.cm-form-control.cm-phone-with-cc.rtl{
    padding-left: 0 !important;
    padding-right: 65px !important;
}

/* Chrome, Safari, Edge, Opera */
input.cm-form-control::-webkit-outer-spin-button,
input.cm-form-control::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input.cm-form-control[type=number] {
  -moz-appearance: textfield;
}
input.cm-form-control::before,
select.cm-form-control::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 3px;
    pointer-events: none;
}
select.rtl {

      direction: rtl !important;         
      text-align: right !important;      
}

.cm-input-group .cm-country-code-selector{
    position: absolute;
    top: 0;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 10px;
    font-size: 14px;
    color: #696969;
    max-width: 60px;
    padding: 0 4px;
    text-align: center;
    border: none;
    outline: none;
    background: transparent;
    
}

.cm-input-group .cm-country-code-list {
    position: absolute;
    z-index: 9999;
    background: #fff;
    /* border: 1px solid rgb(221, 221, 221); */
    box-shadow: 2px 2px 10px 0px rgba(0,0,0,0.37);
    /* margin-top: 5px; */
    font-size: 14px;
    display: none;
    color: #696969;
    margin-top: 45px;
}

.cm-input-group .cm-country-code-list:hover {
    display: block;
}

.cm-input-group .cm-country-code-selector:focus ~ div.cm-country-code-list {
    display: block;
}

.cm-input-group .cm-country-code-list ul {
    list-style: none;
    margin: 0;
    padding: 5px;
    border-radius: 5px;
    max-height: 30vh;
    overflow: hidden;
    overflow-y: scroll;
}

.cm-check-box {
    display: flex;
    align-items: center;
    gap: 10px;
    border: #CACACD solid 1px;
    padding: 7px;
    border-radius: 6px;
    transition: 0.3s ease-in-out;
    cursor: pointer;
}
.cm-check-box:hover {
    cursor: pointer;
    box-shadow: 0px 0px 6px #999999;
    transition: 0.3s ease-in-out;
}

.cm-check-box.checked {
    /* border: #007bff solid 1px; */
    border: var(--theme-color) solid 1px;
    /* color: #007bff; */
}

.cm-check-box input {
    display: none;
}

.cm-check-box input ~ div.cm-check-dummy {
    width: 20px;
    height: 20px;
    border-radius: 50px;
    border: #CACACD solid 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    cursor: pointer;
}

.cm-check-box input:checked ~ div.cm-check-dummy {
    width: 20px;
    height: 20px;
    border-radius: 50px;
    /* border: #007bff solid 1px;
    background: #007bff; */
    border: var(--theme-color) solid 1px;
    background: var(--theme-color);
}

.cm-input-group .cm-country-code-list ul li{
    /* padding: 5px 15px; */
    padding: 0px 0px;
    cursor: pointer;
    border-radius: 5px;
}

.cm-input-group .cm-country-code-list ul li:hover{
    background: rgb(237, 237, 237);
}

.cm-input-group .cm-country-code-list ul li.selected{
    /* background: #0171e3; */
    background: #f0f0f0;
    /* color: #fff; */
}

.cm-input-group input.cm-form-control::placeholder {
    color: #9f9f9f;
    font-size: 14px;
}

.cm-input-group select.cm-form-control:invalid,
.cm-input-group select.cm-form-control option[value=""] {
    color: #9f9f9f;
    font-size: 14px;
}

.cm-input-group input.cm-form-control.error::placeholder {
    color: #E34A4A;
    font-weight: 300;
}

.cm-input-group input.cm-form-control:focus::placeholder {
    color: transparent;
}

.cm-input-group input.cm-form-control:focus-visible,
.cm-input-group select.cm-form-control:focus-visible {
    outline: none;
}

.cm-input-group input.cm-form-control:focus,
.cm-input-group select.cm-form-control:focus {
    /* border: #007bff 1px solid; */
    border: var(--theme-color) 1px solid;
    background-color: #fff;
}

.cm-input-group input.cm-form-control:valid,
.cm-input-group select.cm-form-control:valid {
    border: var(--theme-color) 1px solid;
    /* border: #007bff 1px solid; */
    background-color: #fff;
}

.cm-input-group select {
    /** for the dropdown indicator */
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='grey' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 1em;
}
.cm-input-group select.rtl {
    /** for the dropdown indicator */
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='grey' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: left 10px center;
    background-size: 1em;
}

.cm-input-group input.cm-form-control.error:focus,
.cm-input-group select.cm-form-control.error:focus {
    border: #E23F3F 1px solid;
    background: #fff;
}

.cm-input-group input.cm-form-control.error:valid,
.cm-input-group select.cm-form-control.error:valid {
    border: #E23F3F 1px solid;
    background: #fff;
}


.cm-input-group input.cm-form-control ~ label.cm-input-label ,
.cm-input-group select.cm-form-control ~ label.cm-input-label{
    position: absolute;
    top: 0;
    transition: all 0.1s ease-in-out;
    display: block;
    left: 10px;
    /* color: #0171e3; */
    color: var(--theme-color);
    padding: 0;
    margin: 0;
    background: #fff;
    padding-inline: 2px;
    /* font-size: 13px; */
    font-size: 0.8em;
    /* visibility: hidden; */
    opacity: 0;
    font-weight: 500;
}

.cm-input-group.rtl input.cm-form-control ~ label.cm-input-label ,
.cm-input-group.rtl select.cm-form-control ~ label.cm-input-label{
    left: auto !important;
    right: 9px !important;
}
.cm-input-group input.cm-form-control.error ~ label.cm-input-label ,
.cm-input-group select.cm-form-control.error ~ label.cm-input-label{
 color: #E23F3F;
}
.cm-input-group.rtl .cm-form-control-error {
    color: #E23F3F;
    text-align: right !important;
    max-width: 100% !important;
    width: 100% !important;
    position: relative;
    left: 0;
    display: block;
}



.cm-input-group input.cm-form-control:focus ~ label.cm-input-label ,
.cm-input-group select.cm-form-control:focus ~ label.cm-input-label{
    /* visibility: unset; */
    opacity: 1;
    transform: translateY(-50%);
}

.cm-input-group input.cm-form-control:valid ~ label.cm-input-label ,
.cm-input-group select.cm-form-control:valid ~ label.cm-input-label{
    /* visibility: unset; */
    opacity: 1;
    transform: translateY(-50%);
}

.cm-form-control-error {
    position: absolute;
    left: calc(100% + 30px);
    width: max-content;
    height: 100%;
    display: inline-flex;
    align-items: center;
    max-width: 300px;
    text-align: start;
}

.cm-form-control-loading {
    position: absolute;
    left: calc(100% + 30px);
    width: max-content;
    height: 100%;
    display: inline-flex;
    align-items: center;
    max-width: 300px;
    text-align: start;
    /* color: #0171e3; */
    color: var(--theme-color);
    font-size: 12px;
}

.cm-form-control-loading.success {
    color: #23C956;
}

.cm-form-control-loading label:last-child {
    display: none !important;
}

.cm-form-control-loading.success label:first-child {
    display: none !important;
}


.cm-form-control-loading.success label:last-child {
    display: flex !important;
}

.cm-form-control-loading.hidden {
    display: none;
}

.cm-form-control-error.option-list-error {
    left: calc(100% + 15px);
}

.cm-form-control-error.cm-form-control-file-error {
    left: calc(100% + 15px);
}

button.cm-button-primary:focus,
button.cm-button-white:focus,
button.cm-button-primary:focus-visible,
button.cm-button-white:focus-visible,
a.cm-button-primary:focus,
a.cm-button-white:focus,
a.cm-button-primary:focus-visible,
a.cm-button-white:focus-visible {
    box-shadow: none;
    outline: none;
}



button.cm-button-primary, a.cm-button-primary {
    padding: 7px 25px;
    /* background: #0171e3; */
    background: var(--theme-color);
    border: none;
    border-radius: 3px;
    color: #fff;
    font-size: 14px;
    min-width: 80px;
    text-decoration: none;
}

button.cm-button-primary:focus,
button.cm-button-white:focus,
button.cm-button-primary:focus-visible,
button.cm-button-white:focus-visible,
a.cm-button-primary:focus,
a.cm-button-white:focus,
a.cm-button-primary:focus-visible,
a.cm-button-white:focus-visible {
    /* background: rgba(1, 114, 228, 0.8); */
    background: var(--theme-color);
}

button.cm-button-primary:disabled {
    cursor: not-allowed;
}

.cm-button-primary i{
    display: none;
}

.cm-button-primary.loading span{
    display: none;
}
.cm-button-primary.loading i{
    display: inline-block;
    font-size: 16px;
}

button.cm-button-white, a.button.cm-button-white {
    padding: 7px 25px;
    background: #ffffff;
    border: none;
    border-radius: 3px;
    color: #707070;
    font-size: 14px;
    padding-inline: 0;
    display: flex;
    gap: 7px;
    align-items: center;
}

button.cm-button-white > i, a.button.cm-button-white > i {
    font-size: 14px;
}



.cm-pwd-stregth-container {
    width: 100%;
}

.cm-pwd-stregth-bar {
    width: 100%;
    background: #eeeeee;
    height: 8px;
    border-radius: 50px;
}

.cm-pwd-stregth-bar div[class=cm-strength-val] {
    border-radius: 50px;
    height: 100%;
    transition: all 0.2s ease-in-out;
}

.cm-pwd-stregth-container  .cm-pwd-stregth-bar .cm-strength-val {
    width: 0;
    background: #e54242;
}

.cm-pwd-stregth-container.val-25  .cm-pwd-stregth-bar .cm-strength-val {
    width: 25%;
    background: #e54242;
}

.cm-pwd-stregth-container.val-50 .cm-pwd-stregth-bar .cm-strength-val {
    width: 50%;
    background: #f99f4b;
}

.cm-pwd-stregth-container.val-75  .cm-pwd-stregth-bar .cm-strength-val {
    width: 75%;
    /* background: #1493ff; */
    background: var(--theme-color);
}

.cm-pwd-stregth-container.val-100 .cm-pwd-stregth-bar .cm-strength-val {
    width: 100%;
    background: #37c565;
}

.cm-pwd-stregth-container .cm-pwd-stregth-text::after {
    color: #e54242;
    content: "";
}

.cm-pwd-stregth-container.val-25 .cm-pwd-stregth-text::after {
    color: #e54242;
    content: "Poor";
}

.cm-pwd-stregth-container.val-50 .cm-pwd-stregth-text::after {
    color: #ce7d32;
    content: "Fair";

}

.cm-pwd-stregth-container.val-75 .cm-pwd-stregth-text::after {
    /* color: #1493ff; */
    color: var(--theme-color);
    content: "Good";
}

.cm-pwd-stregth-container.val-100 .cm-pwd-stregth-text::after {
    color: #1ea448;
    content: "Strong";
}

.cm-pwd-stregth-header {
    font-size: 10px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 2px;
}

.cm-pwd-stregth-header p {
    margin: 0;
}

.cm-pwd-stregth-header p:first-child {
    font-weight: 600;
}

.cm-option-group {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font: 14px;
}


.cm-option-group .cm-option-group-option{
    display: flex;
    align-items: center;
    padding: 5px;
    border: 1px solid #CACACD;
    border-radius: 6px;
    gap: 10px;
    color: #707070;
}

.cm-option-group .cm-option-group-option.checked{
    /* border: 1px solid #0171e3;
    color: #0171e3; */
    border: 1px solid var(--theme-color);
    color: var(--theme-color);
}

.cm-option-group .cm-option-group-option .option-input{
    flex: 30px;
    max-width: 30px;
    height: 30px;
    position: relative;
    padding: 5px;
}

.cm-option-group .cm-option-group-option .option-input input[type=radio]{
    width: 100%;
    height: 100%;
    /* border: 1px solid #007bff; */
    -webkit-appearance: none;
    border-radius: 50%;
    outline: none;
    border: 1px solid #CACACD;
}

.cm-option-group .cm-option-group-option .option-input input[type=radio]:checked{
    /* border: 1px solid #007bff;
    background: #007bff; */
    border: 1px solid var(--theme-color);
    background: var(--theme-color);
}

.cm-option-group .cm-option-group-option .option-input .check-icon{
    top: 0;
    left: 0;
    position: absolute;
    z-index: 3;
    pointer-events: none;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cm-option-group .cm-option-group-option .option-label{
    flex: auto;
    max-width: 100%;
}

.cm-option-group .cm-option-group-option .option-label label{
    margin: 0;
    padding: 0;
    width: 100%;
    font-size: 14px;
}

.cm-file-input {
}

.cm-file-input input{
    display: none;
    /* visibility: hidden; */
    /* height: 0; */
}

.cm-file-input .cm-file-input-selector-box {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    border: 1px solid grey;
    gap: 15px;
    font-size: 14px;
    color: #707070;
    border: 2px dashed #CACACD;
    border-radius: 6px;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    margin-bottom: 10px;
    cursor: pointer;
}

.cm-file-input .cm-file-input-selector-box p{
   padding: 0;
   margin: 0;
}

.cm-file-input-file-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cm-file-input-file-list .cm-file-input-file {
    display: flex;
    border: 1px solid #CACACD;
    border-radius: 4px;
    font-size: 14px;
    overflow: hidden;
}

.cm-file-input-file-list .cm-file-input-file .fa-circle-check{
   display: inline;
}
 
.cm-file-input-file-list .cm-file-input-file .fa-circle-notch{
    display: none;
}

.cm-file-input-file-list .cm-file-input-file.loading .fa-circle-check{
   display: none;
}

.cm-file-input-file-list .cm-file-input-file.loading .fa-circle-notch{
    display: inline;
    color: #007bff;
}

.cm-file-input-file-list .cm-file-input-file > div:first-child {
    flex: 14%;
    background-color: #F5F5F5;
    color: #23C956;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
}

.cm-file-input-file-list .cm-file-input-file > div:nth-child(2) {
    flex: 100%;
    padding: 5px 15px;
}

.cm-file-input-file-list .cm-file-input-file > div:last-child {
    flex: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    color: #707070;
}

.cm-file-input-file-list .cm-file-input-file .file-name-section .file-name {
    color: #707070;
    font-size: 12px;
}

.cm-file-input-file-list .cm-file-input-file .file-name-section .file-size {
    color: #BEBEBE;
    font-size: 10px;
}

.cm-form-control-cb  {
    font-size: 14px;
    width: 15px;
    height: 15px;
}

.cm-form-control-cb ~ label.cm-input-label {
    font-size: 14px;
    margin: 0;
}

.close-icon-section {
    cursor: pointer;
}

@media only screen and (max-width: 985px){
    .cm-input-group {
        margin-bottom: 7px;
    }

    .cm-form-control-error {
        position: absolute;
        text-align: left;
        height: fit-content;
        left: 0;
        top: calc(100%);
    }

    .cm-form-control-error.cm-form-control-file-error {
        left: 15px;
        margin-top: -10px
    }

    .only-desktop {
        display: none;
    }

    .cm-form-control-loading {
        left: calc(100% - 30px);
    }

    .cm-form-control-cb ~ label.cm-input-label {
        font-size: 12px;
        margin: 0;
    }

    .cm-check-box {
        gap: 5px;
    }
}
.cm-form-country-code-search-container {
    padding: 10px;
}
.cm-form-country-code-search-container > .cm-form-country-code-search {
    border-radius: 10px !important;
}

.cm-country-code-selector2 {

    position: absolute;
    top: 0;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 10px;
    font-size: 14px;
    color: #696969;
    max-width: 60px;
    padding: 0 4px;
    text-align: center;
    border: none;
    outline: none;
    background: transparent;
}