.input-title {
    min-height: 15px;
    color: #354052;
    font-size: 12px;
    line-height: 15px;
    margin: 0 0 2px;
    font-weight: normal;
}

.input-value {
    min-height: 19px;
    font-size: 16px;
    line-height: 23px;
    font-weight: normal;
    color: #000000;
    margin-bottom: 12px;
    word-break: break-all;
}

.input-value--amount {
    font-size: 32px;
    line-height: 39px;
}

.input-value--email {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

[data-name="delivery"]:first-letter {
    text-transform: uppercase;
}

.input {
    border: 2px solid #CCCCCC;
    outline: 0;
    background-color: #F9F9F9;
    width: 100%;
    height: 44px;
    padding: 10px 35px 13px 13px;
    color: #354052;
    font-size: 16px;
    line-height: 19px;
    border-radius: 2px;
    resize: none;
    caret-color : var(--color-accent);
}

.input::-webkit-input-placeholder {
    color: #CCCCCC;
    padding-left: 0;
}
.input::-moz-placeholder {
    padding-left: 0;
    color: #CCCCCC;
}
.input:-ms-input-placeholder {
    padding-left: 0;
    color: #CCCCCC;
}
.input::-ms-input-placeholder {
    padding-left: 0;
    color: #CCCCCC;
}
.input::placeholder {
    padding-left: 0;
    color: #CCCCCC;
}

.input:focus {
    border: 2px solid #999999;
    box-shadow: none;
}

.card-input.has-error,
.input.has-error {
    border-color: var(--error-color);
}

.has-error:not(input):not(textarea) {
    padding-left: 16px;
    margin-top: 4px;
    display: block;
    color: var(--error-color);
    font-size: 12px;
    line-height: 12px;
    position: absolute;
    top: 100%;
}

.input ~ .notation {
    width: 100%;
    margin-top: 4px;
    padding-left: 16px;
    color: #a0a0a0;
    font-size: 12px;
    line-height: 14px;
    position: absolute;
    bottom: -16px;
}

#cardDate-error,
#cardFrom-error,
#cvc-error {
    padding-left: 0;
}

.input.has-error ~ .notation {
    display: none !important;
}
.has-error-notation {
    background: #fff;
    z-index: 99;
}
#cvc-error {
    white-space: nowrap;
}

#amountControl-error {
    display: none !important;
    position: absolute;
    max-width: 104px;
    bottom: -25px;
    left: 5px;
    white-space: break-spaces;
}

/*чекбокс*/
.checkbox-label {
    width: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    position: relative;
}
.rules-wrapper .checkbox-label {
    margin-bottom: 8px;
}
.checkbox-input {
    display: block;
    width: 16px;
    height: 16px;
    visibility: hidden;
    position: absolute;
    left: 0;
    top: 0;
}
.checkbox-custom {
    display: inline-block;
    position: relative;
    width: 16px;
    height: 16px;
    background: #ffffff;
    border-radius: 4px;
    border: 1px solid #D8D8D8;
}
.checkbox-custom:hover {
    cursor: pointer;
}
@media (max-width: 550px) {
    .checkbox-label {
        margin-top: 16px;
    }
}
.checkbox-input:checked +.checkbox-custom {
    border-color: var(--color-accent);
}
.checkbox-input:checked +.checkbox-custom::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 14px;
    height: 14px;
    background: var(--checkbox) no-repeat center center;
}
.checkbox-input.has-error +.checkbox-custom {
    border-color: var(--error-color);
    position: relative;
    bottom: 0;
    margin-top: 0;
}
.checkbox-text {
    display: inline-block;
    vertical-align: middle;
    white-space: normal;
    font-size: 12px;
    line-height: 15px;
    color: #354052;
    letter-spacing: 0.1px;
    max-width: calc(100vw - 95px);
    margin-left: 15px;
}

.checkbox-text a {
    font-size: 12px;
    color: var(--default-link-color);
    text-decoration: underline;
}

/* select */
.select-hidden {
    visibility: hidden;
    padding-right: 10px;
}

.select {
    cursor: pointer;
    display: inline-block;
    position: relative;
    color: #fff;
    width: 100%;
}

.select-styled {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    outline: 0;
    background-color: #F9F9F9;
    width: 100%;
    height: 100%;
    font-family: inherit;
    font-size: 14px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #354052;
    -moz-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
    -webkit-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;

    border: 2px solid #CCCCCC;
    padding: 12px 11px 12px 13px;
}
@media (max-width: 868px) {
    .group-date.input {
        background: transparent;
    }
}


.select-styled.active {
    border: 2px solid #999999;
}

.select-styled.arrow:after {
    content: '';
    width: 16px;
    height: 8px;
    position: absolute;
    top: 16px;
    right: 16px;
    background-image: url('/static/custom/3204/new/img/menu-icon.svg');
    background-color: transparent;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    outline: 0;

    transform: rotate(0deg);
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}
.select-styled.arrow.active:after {
    transform: rotate(180deg);
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}
.select-styled:hover {
    border-color: #999999;
}

.select-styled:active, .select-styled.active {
    background-color: #F9F9F9;
}

.select-styled:active:after, .select-styled.active:after .select-styled.arrow {
    transform: rotate(180deg);
}

.select-options {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 999;
    list-style: none;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.5);
    max-height: 288px;
    padding: 15px 0;
    z-index: 9999;
}

.select-options li {
    height: 37px;
    margin: 0;
    padding: 9px 24px 11px;
    font-size: 14px;
    color: #354052;
    -moz-transition: all 0.15s ease-in;
    -o-transition: all 0.15s ease-in;
    -webkit-transition: all 0.15s ease-in;
    transition: all 0.15s ease-in;
}

.select-options li:hover {
    color: #354052;
    background: #F3F3F3;
}

.select-options li[rel="hide"] {
    display: none;
}

textarea {
    overflow: hidden !important;
    transition: none;
}
.has-error-effect {
    outline: 0;
    border-color: red;
    animation-name: bounce;
    animation-duration: .5s;
    animation-delay: 0.25s;
}
@keyframes bounce {
    0% {
        transform: translateX(0px);
        timing-function: ease-in;
    }
    37% {
        transform: translateX(5px);
        timing-function: ease-out;
    }
    55% {
        transform: translateX(-5px);
        timing-function: ease-in;
    }
    73% {
        transform: translateX(4px);
        timing-function: ease-out;
    }
    82% {
        transform: translateX(-4px);
        timing-function: ease-in;
    }
    91% {
        transform: translateX(2px);
        timing-function: ease-out;
    }
    96% {
        transform: translateX(-2px);
        timing-function: ease-in;
    }
    100% {
        transform: translateX(0px);
        timing-function: ease-in;
    }
}
