.wrapper.file .input {
    background: unset;
    border: unset;
    display: inline-block;
    padding: 0;
    cursor: default;
}

.wrapper.file .input .label {
    display: inline-flex;
}

.input.field.onFocusGreenInput {
    border-bottom: solid 1px var(--green-strong);
    color: var(--green-strong);
}

.input.field.inputError {
    border-bottom: solid 1px var(--red-error);
}

.inputErrorMessage {
    position: absolute;
    bottom: 0;
    left: 0;
    color: var(--red-error);
    font-size: 0.9rem;
}

.wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
}


.wrapper {
    margin-bottom: 15px;
    padding-bottom: 25px;
}

.wrapper:global(.text-area) .field {
    height: unset;
}

.input.field {
    position: relative;
    transition: border-bottom 0.1s ease-in-out;


    padding: 1.5rem 0.5rem 0 0.5rem;
    border-bottom: solid 1px #E5E5E580;
    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;
}

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

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

.label {
    position: relative;
    display: flex;
    white-space: nowrap;
    font-size: 16px;
    font-weight: 300;
    /* font-weight: 400; */
    max-width: calc(100% - 16px);
    font-family: 'Lato';
    top: 13px;
    left: 8px;
    color: #666666;
    position: absolute;
    letter-spacing: 1px;
    cursor: text;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.12s ease-in-out;
}

.file .label {
    cursor: pointer;
    align-items: center;
    position: unset;
}

.input .labelText {
    max-width: 100%;
}

.file .labelText {
    max-width: calc(100% - 32px);
}

.labelText {
    overflow: hidden;
    text-overflow: ellipsis;
}

.file .icon {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.file .wrapperIcon {
    min-height: 22px;
    min-width: 32px;
    height: 22px;
    width: 32px;
}

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




.input .label.labelUp,
.field:focus-within>.label,
.field:focus-within>.label {
    top: 5px;
    font-size: 12px;
}

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

.input,
.wrapper .input {
    width: 100%;
    background-color: var(--input-background);
    color: #fff;
    font-size: 16px;
    letter-spacing: 1px;
}

.field:focus-within>label {
    color: rgb(173, 173, 173);
}

.input::placeholder {
    color: transparent;
}

textarea.input {
    resize: none;
    height: 60px;
}

@media (max-width: 768px) {
    .input .wrapper.half-input-width {
        width: 100%;
    }
}

.wrapper:global(.phone-input-width) {
    width: calc(96% - 88px);
}

.wrapper:global(.code-input-width) {
    min-width: 88px;
    width: 88px;
}

.wrapper:global(.code-input-width) .input {
    white-space: nowrap;
    /* overflow: hidden; */
    text-overflow: ellipsis;
}

@media (max-width: 360px) {

    .wrapper:global(.phone-input-width),
    .wrapper:global(.code-input-width) {
        max-width: unset;
        min-width: unset;
        width: 100%;
    }
}

@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;
    }
}