.custom-input {
    position: relative;
    margin-bottom: 2rem;
}

.custom-input label.error-otp{
    color: #da3449;
    font-size: 12px;
    top: unset;
}

.custom-input input,.custom-input textarea,.custom-dropdown-input .custom-dropdown-btn {
    border-left: 0;
    border-top: 0;
    border-right: 0;
    padding-left: 0;
    padding-right: 0;
    font-size: 15px;
    color: #1d244f;
    border-bottom: 1px solid #dfe1ea;
    box-shadow: 0 1px 0 0 #dfe1ea;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    box-sizing: border-box;
    margin: 0px;
    resize: none;
}

.custom-input input,.custom-input textarea{
    height: auto !important;
}

.custom-input input:focus,.custom-input textarea:focus,
.custom-dropdown-input.show .custom-dropdown-btn,
.custom-dropdown-input .custom-dropdown-btn:focus {
    border-bottom: 1px solid #697dfb;
    box-shadow: 0 1px 0 0 #697dfb;
}

.custom-input .custom-dropdown-btn {
    text-align: left;
    width: 100%;
    background-image: url('/static/images/signup/arrow-drop-down.svg');
    background-repeat: no-repeat;
    background-position: right center;
}

.custom-input label {
    font-size: 15px;
    color: #1d244f;
    position: absolute;
    top: 0.5rem;
    font-weight: 400;
    pointer-events: none;
    transition: all 0.1s ease-out;
}

.custom-input label.interactive {
    pointer-events: all;
}

.custom-input input[readonly] {
    background: transparent;
    border-bottom: 0 !important;
    box-shadow: none !important;
    pointer-events: none;
}

/* custom dropdown input */
.custom-dropdown-input .dropdown-menu {
    width: 100%;
    border: 0;
    border-radius: 2px;
    box-shadow: 0 4px 8px 0 #dce0e5;
    background-color: #f6f7fc;
    padding: 0;
}

.custom-dropdown-input .dropdown-menu .dropdown-item {
    cursor: pointer;
    padding: 5px 15px;
    font-size: 18px;
    color: rgba(29, 36, 79, 0.8);
    white-space: normal;
}

.custom-dropdown-input .dropdown-menu .dropdown-item:hover {
    background: #6e80f2;
    color: #ffffff;
}

.custom-dropdown-input.multiple .dropdown-menu .dropdown-item:hover {
    background: transparent;
    color: rgba(29, 36, 79, 0.8);
}

.custom-dropdown-input.multiple .custom-checkbox-label,
.custom-dropdown-input.multiple .custom-checkbox-text {
    position: relative;
    pointer-events: all;
    top: 0;
    font-size: 18px;
    width: 100%;
}

.custom-dropdown-input.multiple .custom-checkbox-label {
    top: 5px;
}

.custom-dropdown-input .selected-text {
    opacity: 0;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 100%;
    display: inline-block;
    padding-right: 30px;
    transition: opacity 0.1s ease-out;
}

.custom-dropdown-input.show .selected-text,
.custom-dropdown-input.selected .selected-text {
    opacity: 1;
}

.custom-dropdown-input .custom-error {
    display: none;
}

.custom-dropdown-input.show-error .custom-error {
    display: block !important;
}

/* custom checkbox */
.custom-checkbox-input {
    display: flex;
}

.custom-checkbox-input label {
    cursor: pointer;
}

.custom-checkbox-label + label.custom-checkbox-text {
    font-size: 13px;
    margin-left: 10px;
    flex-grow: 0;
    color: rgba(29, 36, 79, 0.8);
}

.custom-checkbox-input .custom-checkbox {
    position: absolute;
    left: -99999px;
}

.custom-checkbox-input .custom-checkbox + .custom-checkbox-label {
    cursor: pointer;
    position: relative;
    height: 15px;
    width: 15px;
    flex-shrink: 0;
    flex-grow: 1;
}

.custom-checkbox-input .custom-checkbox + .custom-checkbox-label:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    margin-top: 2px;
    width: 15px;
    height: 15px;
    border-radius: 2px;
    border: 2px solid #8d8d8d;
}

.custom-checkbox-input .custom-checkbox:checked + .custom-checkbox-label:before {
    top: 0;
    left: 4px;
    width: 7px;
    height: 12px;
    border-width: 2px;
    background: transparent;
    border-bottom-color: #ffffff;
    border-right-color: #ffffff;
    -webkit-transform: rotateZ(43deg);
    -ms-transform: rotate(43deg);
    transform: rotateZ(43deg);
    border-top: 0;
    border-left: 0;
}

.custom-checkbox-input .custom-checkbox:checked + .custom-checkbox-label:after {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 15px;
    height: 15px;
    background-color: #3a34bc;
    border-radius: 2px;
    border: 2px solid #3a34bc;
}

/* when input is focused */
.custom-dropdown-input.show label.main-label,
.custom-dropdown-input.selected label.main-label,
.custom-input label.main-label.active, .custom-input input:focus + label.main-label, .custom-input textarea:focus + label.main-label {
    font-size: 14px;
    color: rgba(29, 36, 79, 0.35);
    transform: translateY(-120%);
}

.custom-input input:focus + label.main-label,.custom-input textarea:focus + label.main-label {
    color: #1d244f;
}

.custom-input label.helper {
    opacity: 0;
    transition: opacity .1s ease-out;
    top: 6px;
}


.custom-input label.helper.helper-right {
    right: 0;
}

.custom-input input:focus + label + label.helper,.custom-input textarea:focus + label + label.helper,.custom-input label.active + label.helper {
    opacity: 1;
}

/* error */
.custom-input input.error,
.custom-dropdown-input.show-error .custom-dropdown-btn {
    border-color: #e34c40;
    box-shadow: 0 1px 0 0 #e34c40;
}

.custom-input label.error,
.custom-input label.custom-error,
.custom-checkbox-input + label.error {
    color: #da3449;
    font-size: 12px;
    top: unset;
}

/* password */
.password-checklist-box {
    padding: 20px 25px;
    background: #fafafb;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    border: 1px solid #e5e6ec;
    font-size: 14px;
    margin-top: 25px;
    color: rgba(29, 36, 79, 0.71);
}

.password-checklist-box .checklist-item {
    margin-bottom: 10px;
}

.password-checklist-box .checklist-item:last-child {
    margin-bottom: 0;
}

.password-checklist-box .checklist-item .checklist-icon {
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    display: inline-block;
    position: relative;
    top: 3px;
    margin-right: 10px;
}

.password-checklist-box .checklist-item span {
    transition: all .2s;
}

.password-checklist-box .checklist-item.passed span {
    color: #2dad95;
}

.password-checklist-box .checklist-item.passed .checklist-icon {
    background: #26c2a4;
    border-color: #26c2a4;
}

.password-checklist-box .checklist-item.error span {
    color: #e34c40;
}

.password-checklist-box .checklist-item.error .checklist-icon {
    border-color: #e34c40;
}

.password-checklist-box .checklist-item.passed .checklist-icon:after {
    content: '';
    position: absolute;
    top: 0;
    left: 3px;
    width: 7px;
    height: 12px;
    border: 2px solid #ffffff;
    background: transparent;
    -webkit-transform: rotateZ(43deg);
    -ms-transform: rotate(43deg);
    transform: rotateZ(43deg);
    border-top: 0;
    border-left: 0;
}

.toggle-password-visibility {
    outline: none !important;
}

.toggle-password-visibility .visibility-on,
.toggle-password-visibility.visible .visibility-off {
    display: none;
}

.toggle-password-visibility .visibility-off,
.toggle-password-visibility.visible .visibility-on {
    display: block;
}

.requestValidation {
    color: #1d244f;
    position: absolute;
    font-weight: 600;
    pointer-events: none;
    right: 0;
    font-size: 12px;
    top: unset;
}

.requestValidation.error {
  color: #da3449;
}


