body {
    min-width: 320px;
}

.field_error {
    border-color: red;
    border-width: 2px;
    border-style: solid;
    border-radius: 50px;
}

.icon {
    &::before {
        content: "";
        mask: var(--icon) center center/contain no-repeat;
        -webkit-mask: var(--icon) center center/contain no-repeat;
        width: 16px;
        height: 16px;
        display: block;
        transition: 0.25s;
        background: #494D49;
    }
}

.phone-input-wrapper {
    align-items: center;
    background-color: #fff;
    border: 1px solid transparent;
    display: flex;
    font-family: system-ui, sans-serif;
    gap: 5px;
    height: 50px;
    max-width: 320px;
    padding: 24px 10px 6px 25px;
    position: relative;
    border-radius: 25px;
}

.country-dropdown {
    position: relative
}

.current-country {
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    font-size: 16px;
    gap: .35rem;
    padding: 0 20px 0 0;
    text-transform: uppercase
}

.current-country:after {
    border-color: transparent #000 transparent transparent;
    border-style: solid;
    border-width: 5px 4px 5px 0;
    content: "";
    pointer-events: none;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg)
}

.current-country svg {
    background: #eee;
    border-radius: 2px;
    height: 15px;
    object-fit: cover;
    width: 20px
}

.country-options {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .05);
    left: -10px;
    max-height: 200px;
    opacity: 0;
    overflow-y: auto;
    pointer-events: none;
    position: absolute;
    top: calc(100% + 14px);
    transform: scaleY(.95);
    transform-origin: top;
    transition: all .2s ease;
    width: 220px;
    z-index: 10
}

.country-options.visible {
    opacity: 1;
    pointer-events: auto;
    transform: scaleY(1)
}

.country-option {
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    font-size: .85rem;
    gap: .5rem;
    padding: 6px 10px;
    text-align: left;
    transition: background-color .2s ease;
    width: 100%
}

.country-option.selected {
    background-color: #e6f0ff;
    font-weight: 600
}

.country-option:hover {
    background-color: #f5f5f5
}

.country-option svg {
    background: #eee;
    border-radius: 2px;
    height: 15px;
    width: 20px
}

.clue-input {
    background: #fff;
    border-radius: 6px;
    bottom: 100%;
    display: inline-flex;
    font-size: 18px;
    max-width: 100%;
    opacity: 0;
    padding: 10px;
    pointer-events: none;
    position: absolute;
    transition: all .25s linear;

    &.active {
        opacity: 1;
        transform: translateY(-5px)
    }
}

input[type=tel] {
    background-color: transparent;
    border: none;
    color: #333;
    flex: 1;
    font-size: 16px;
    outline: none;
    padding: .25rem
}

.phone-input.error .phone-input-wrapper {
    border: 1px solid red
}

.form-group_phone label{
    position: absolute;
    left: 0;
    pointer-events: none;
    transition: 0.2s ease all;
    color: #47556680;
    font-size: 12px;
    margin-left: 25px;
    top: 5px;
}

.check-element{
    display: flex;
    position: relative;
    input{
        &:checked{
            & + label{
                .check-main{
                    border: 1px solid #6BD677;
                    &:before{
                        opacity: 1;
                    }
                }
            }
        }
        &.error {
            & + label {
                .check-main {
                    border: 1px solid red;
                }
            }
        }
    }
    label{
        display: flex;
        align-items: flex-start;
        text-align: left;
        cursor: pointer;
        position: relative;
        pointer-events: auto;
        margin: 0 !important;
    }
}

.check-main{
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 1px solid #E4E5E4;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    &:before{
        opacity: 0;
        background: #6BD677;
    }
}

.input-absolute{
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    opacity: 0;
    z-index: -1;
}

.form-box{
    margin-bottom: 20px;
}

.excursion-main-button{
    margin-top: 30px !important;
}