/* MODAL PHONE */


:root {
    --color-primary-p3: #000;
    --color-primary-p3-light: #0078ac;
    --color-primary-p3-dark: #000;
    --color-primary-text-p3: #0080ff;
    --bg: #fff;
    --bg2: #f2f5f7;
    --bg3: #212121;
    --engine: #fff;
    --engine2: #f2f5f7;
    --text: #000;
    --text1: #fff;
    --text2: #5b5b5b;
    --color1: #00adff;
    --color2: #3fc1fe;
    --light: rgb(255 255 255 / 15%);
    --light2: rgb(255 255 255 / 30%);
    --dark: rgb(0 0 0 / 10%);
    --radius: 15px;
}

@media (max-width: 860px) {
    [href="#modal-phone"] span {
        display: none;
    }
}

.modal-phone {
    display: none;
    position: fixed;
    width: 350px;
    max-width: 350px;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    background: var(--bg);
    color: #000;
    border-radius: 20px;
    padding: 50px 60px 20px;
    text-align: center;
    z-index: 999999;
}

@media (max-width: 860px) {
    .modal-phone {
        padding: 30px 30px 20px;
        max-width: 360px;
    }
}

.modal-phone > .fa-xmark {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--bg2);
    border-radius: var(--radius);
    width: 35px;
    height: 35px;
    line-height: 35px;
    font-size: 20px;
    text-align: center;
    cursor: pointer;
}

.modal-phone form h2 + span {
    display: block;
    color: #7d8189;
    font-size: 14px;
    line-height: 1.5;
    margin-top: 15px;
    margin-bottom: 30px;
}

.modal-phone form > span a {
    color: blue;
    text-decoration: underline dotted;
}

.modal-phone_lost {
    display: block;
    font-size: 13px;
    text-align: center;
    border-top: 1px solid #eee;
    color: #8d8d8d;
    padding: 20px 0;
    margin-top: 20px;
}

.modal-phone_copy {
    display: block;
    color: #8d8d8d;
    font-size: 12px;
    margin-top: 30px;
}

.modal-phone_copy > a, .modal-phone_lost > a {
    color: var(--color3);
    text-decoration: underline;
    opacity: 0.9;
}

.modal-phone_back {
    display: block;
    color: var(--color1);
    font-size: 14px;
    margin-top: -20px;
    margin-bottom: 20px;
    text-decoration: underline dotted;
}

.modal-phone_code {
    display: grid;
    grid-gap: 10px;
    grid-auto-rows: max-content;
    grid-template-columns: repeat(4, 40px);
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.modal-phone_code input {
    background: var(--bg2);
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}
