.inputContainer {
    position: relative;
    padding: 1.5rem 0.5rem 0.5rem;
    /* margin: 0.75rem 0; */
    border-bottom: solid 1px #E5E5E587;
    transition: border-bottom 0.1s ease-in-out, color ease 0.1s;

    height: var(--min-input-height);
    background: var(--input-background);
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    margin: 2.5rem 0;
}

.inputContainer.withError {
    border-bottom: solid 1px var(--red-error);
}

.labelContainer {
    transition: color ease 0.1s;
}

.labelContainer.withError {
    color: var(--red-error);
}

.labelContainer.success {
    color: var(--green-strong);
}

.inputContainer.success {
    border-bottom: solid 1px var(--green-strong);
}

.errorsDescription {
    padding-top: 1rem;
    color: var(--red-error);
}

.description {
    padding-top: 0.5rem;
    font-size: 0.8rem;
    display: -webkit-box;
    vertical-align: middle;
    text-overflow: ellipsis;
    width: 100%;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-weight: 300;
}

.inputContainer input {
    /* border: none; */
    width: 100%;
    background-color: var(--input-background);
    border: 0;
    color: #fff;
    font-size: 16px;
    letter-spacing: 1px;
}

.labelErrorAsterisk {
    color: var(--red-error);
}

input.input::placeholder,
input.input::-ms-input-placeholder,
input.input::-webkit-input-placeholder {
    color: #ffffff80;
    font-size: 0.8rem;
    font-weight: 600;
}

input.input[type=color] {
    padding: 0;
}

.inputContainer .wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* background-color: white; */
    /* padding: 2px 0; */

    /* min-height: 33px; */
}

.inputIconWapper {
    display: flex;
    align-items: center;
    padding: 0 4px;
    margin-right: 4px;
}

.inputContainer.disabled {
    opacity: 0.4;
}

.inputContainer.disabled * {
    cursor: not-allowed;
}

.errorMessage {
    position: absolute;
    max-width: calc(100% - 21px);
    padding: 8px;
    top: calc(100% + 5px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    background-color: hsl(0, 0%, 16%);
    z-index: 2;
    transform-origin: 100% 25%;
    transform: scale(1, 0);
    opacity: 0;
    border-radius: 10px;
}

.errorMessage.showErrors {
    animation: error-wrapper-scaleY 0.1s ease-in-out forwards, error-wrapper-fade 0.16s ease-in-out forwards;
}

.errorMessage::after {
    content: " ";
    position: absolute;
    bottom: 100%;
    left: 10%;
    border-bottom-color: var(--red-error);
}


@keyframes error-wrapper-scaleY {
    from {
        transform: scale(1, 0.2)
    }

    to {
        transform: scale(1, 1)
    }
}

@keyframes error-wrapper-fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}