.base-input {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 16px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(19,23,31,.7);
    transition: all .2s ease;
    color: #fff;
    gap: 8px
}

.base-input:hover {
    background: rgba(19,23,31,.4)
}

.base-input:has(.base-input__input:focus) {
    box-shadow: 0 0 0 3px #ffffff29
}

.base-input:has(.base-input__input[disabled]) {
    background: transparent
}

.base-input--error,
.base-input:has(base-input__input[aria-invalid=true]){
    border-color: #cb56568f
}

.base-input--error:has(.base-input__input:focus) {
    box-shadow: 0 0 0 4px #cb565614
}

.base-input__wrap {
    position: relative;
    flex: 1 1 100%
}

.base-input__before,.base-input__after {
    flex: 0 0 max-content;
    display: flex;
    align-items: center;
    gap: 4px
}

.base-input__before svg,.base-input__after svg {
    display: block;
    width: 16px;
    height: auto
}

.base-input__after {
    margin-right: -8px
}

.base-input__input {
    font-family: Inter,sans-serif;
    font-style: normal;
    font-size: 15px;
    line-height: 1.5;
    position: relative;
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    height: 56px;
    color: #fff;
    transition: all .2s ease;
    padding: 0
}

.base-input__input:-webkit-autofill,.base-input__input:-webkit-autofill:hover,.base-input__input:-webkit-autofill:focus,.base-input__input:-webkit-autofill:active {
    -webkit-background-clip: text;
    -webkit-text-fill-color: #ffffff;
    box-shadow: inset 0 0 20px 20px #23232329
}

.base-input__input::-moz-placeholder {
    color: #ffffff52
}

.base-input__input::placeholder {
    color: #ffffff52
}

.base-input--label .base-input__input {
    padding-top: 12px
}

.base-input__label {
    font-family: Inter,sans-serif;
    font-style: normal;
    font-size: 15px;
    color: #fff;
    font-weight: 500;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    line-height: 1.4;
    transition: all .2s ease;
    pointer-events: none;
    left: 0
}

.base-input--error .base-input__label {
    color: #ee5858!important
}

.base-input__icon {
    position: absolute;
    right: 16px;
    top: calc(50% - 8px);
    color: #ee5858;
    opacity: 0;
    transition: opacity .2s ease;
    pointer-events: none
}

.base-input__icon svg {
    display: block;
    width: 16px;
    height: 16px
}

.base-input__error-text {
    font-family: Inter,sans-serif;
    font-style: normal;
    font-size: 13px;
    line-height: 1.5;
    color: #ee5858;
    position: absolute;
    top: calc(100% + 2px);
    left: 0
}

.base-input__input:not(:-moz-placeholder-shown)~.base-input__label {
    transform: translateY(calc(-50% - 10px));
    font-size: 13px;
    color: #ffffff80
}

.base-input__input:not(:placeholder-shown)~.base-input__label,
.base-input__input:focus~.base-input__label,
.base-input__input:-webkit-autofill~.base-input__label,
.base-input__input:autofill~.base-input__label,
.base-input--placeholder .base-input__label
{
    transform: translateY(calc(-50% - 10px));
    font-size: 13px;
    color: #ffffff80
}

.base-input--error .base-input__icon {
    opacity: 1
}

.base-input--single .base-input__input {
    font-family: Poppins,sans-serif;
    font-style: normal;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 500;
    height: 72px;
    display: flex;
    text-align: center
}

.base-input--single .base-input__icon {
    display: none
}
