.input-phone {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    overflow: hidden;
    padding: 0 5px;
    font-size: 14px;

    .phone-select {
        display: flex;
        align-items: center;
        padding: 5px;
        cursor: pointer;
        background: #fff;

        img {
            width: 24px;
            height: 24px;
            margin-right: 5px;
        }
    }

    .input {
        flex: 1;
        padding: 8px !important;
        border: none !important;
        outline: none !important;
        color: #959595;

        &[data-has-value="true"] {
            color: #000;
        }

        &:-webkit-autofill {
            box-shadow: 0 0 0 1000px white inset !important;
            -webkit-box-shadow: 0 0 0 1000px white inset !important;
            -webkit-text-fill-color: #000 !important;
        }
    }

    .country-list {
        position: absolute;
        margin-top: 4px;
        overflow-y: auto;
        border: 1px solid #ccc;
        background: #fff;
        list-style: none;
        padding: 8px 6px;
        top: 65px;
        left: 0;
        z-index: 3;
        max-height: 228px;

        box-shadow: 0 4px 8px 0 rgba(10, 36, 50, 0.12);
        width: 100%;

        li {
            display: flex;
            align-items: center;
            padding: 6px 4px;
            cursor: pointer;

            &:not(:last-child) {
                margin-bottom: 8px;
            }

            &:hover {
                border-radius: 8px;
                background: #F5F6FA;
            }

            &[data-selected="true"] {
                border-radius: 8px;
                background: #F5F6FA;
            }

            img {
                width: 24px;
                height: 24px;
                margin-right: 4px;
            }

            span:last-child {
                color: #959595;
                margin-left: 8px;
            }
        }
    }

    .hidden {
        display: none;
    }

    .divider {
        height: 20px;
        margin: 0 5px;
        border-left: 1px solid #CCC;
    }
}