﻿
.captcha-dialog__wrapper {
    z-index: 1000005;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: auto;
    margin: 0;
    display: flex;
    align-items: center;
}

.v-modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    background: #000;
}

.captcha-dialog {
    position: relative;
    margin: 0 auto 50px;
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    width: 700px;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    /* margin-top: 30vh; */
}

.captcha-dialog__header {
    height: 60px;
    border-bottom: 1px solid #dfe5eb;
    padding: 20px 30px 10px;
    box-sizing: border-box;
}

.captcha-dialog__headerbtn {
    position: absolute;
    top: 20px;
    right: 30px;
    padding: 0;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 16px;
}

.captcha-dialog__title {
    font-size: 18px;
    font-family: PingFang-SC-Bold, PingFang-SC;
    font-weight: bold;
    color: #202223;
    line-height: 25px;
}

.captcha-dialog__body {
    padding: 30px;
    padding-bottom: 10px;
}

.captcha-content {
    display: flex;
}

.captcha-content__code {
    margin-right: 20px;
    width: 330px;
    height: 40px;
    border-radius: 4px;
    padding: 6px 12px;
    border: 1px solid #dfe5eb;
    outline: none;
}

.captcha-content__code:focus {
    border: 1px solid #1890ff;
}

.captcha-content__box {
    width: 236px;
    height: 40px;
    border-radius: 4px;
    border: 1px solid #dfe5eb;
    display: flex;
    overflow: hidden;
}

.captcha-content__img {
    min-width: 126px;
}

.captcha-content__img img {
    height: 38px;
    width: auto;
}

.captcha-content__refresh {
    flex: 1;
    background: #F4F4F4;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
}

.captcha-dialog__footer {
    padding: 0 30px 30px;
    display: flex;
    justify-content: end;
}

.captcha-dialog .btn {
    width: 92px;
    height: 36px;
    background: #1890ff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.captcha-dialog__phoneTitle {
    display: none;
}

.captcha-dialog__tips {
    color: red;
    /* display: none; */
    height: 21px;
}

.captcha-dialog__error {
    color: red;
    display: none;
}

@media (max-width: 768px) {
    .captcha-dialog__header {
        border-bottom: 0;
    }
    .captcha-dialog__body {
        padding-top: 0;
    }
    .captcha-dialog {
        width: 80vw;
    }
    .captcha-dialog__title {
        display: none;
    }
    .captcha-dialog__phoneTitle {
        display: block;
        font-size: 18px;
        font-family: PingFang-SC-Bold, PingFang-SC;
        font-weight: bold;
        color: #202223;
        text-align: center;
        margin-bottom: 30px;
    }
    .captcha-content {
        flex-wrap: wrap;
    }
    .captcha-content__code {
        width: 100%;
        margin-right: 0;
    }
    .captcha-content__box {
        width: 100%;
        margin-top: 15px;
    }
    .captcha-dialog .btn-submit {
        width: 100%;
    }
}