﻿

.modal-wrap {
    position: fixed;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    top: 0;
    background-color: rgb(0, 0, 0, .7);
    z-index: 99;
}

    .modal-wrap .popup-contents {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 85%;
        max-width: 500px;
        background: #fff;
        border-radius: 20px;
        padding: 30px 30px 20px 30px;
    }

.popup-contents {
    width: 100%;
}

.input_box {
    display: flex;
    margin-bottom: 20px;
}

.popup-contents .input_box .sub_tit {
    width: 25%;
    font-weight: 600;
    color: #444;
}

        .popup-contents .input_box .ctn {
            width: 75%;
        }


.popup-contents .input_box .number {
    display: flex;
    gap: 3px;
    align-items: center;
}

.popup-contents .input_box .ctn input,
.popup-contents .input_box .ctn select {
    width: 100%;
    height: 35px;
    padding: 0 10px;
    border: 1px solid #c1c1c1;
    box-sizing: border-box;
    border-radius: 3px;
}

        .popup-contents .input_box .number input {
            max-width: 120px;
        }


.popup-contents .input_box .ctn input:focus,
.popup-contents .input_box .ctn select:focus {
    outline: none;
    box-shadow: 0px 0px 0px 1px #9fd4d8;
    background: #fff;
    transition: .3s;
}

.modal-btn-wrap {
    display: flex;
    justify-content: center;
    gap: 10px;
}

    .modal-btn-wrap button {
        padding: 10px 30px;
        color: #fff;
        font-weight: 600;
        border: 0;
        font-size: 16px;
        cursor: pointer;
        border-radius: 5px;
        background: #696767;
    }

        .modal-btn-wrap button.submit {
            background: #65b6bc;
        }

.popup-contents .required {
    color: red;
    font-size: 14px;
    text-align: right;
    width: 100%;
    font-weight: 300;
}



@media screen and (max-width: 767px) {
    .modal-wrap .popup-contents {
        padding: 30px 20px;
    }
} 