/* **************************** popup area start ***************************** */

/* body에 class .popup_open를 붙이면 활성화됨. */
.popup {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: none;
}
body.popup_open .popup {
    display: block;
}
.popup .popup-wrap {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    border-radius: 5px;
    background-color: #fff;
    border-radius: 5px;
    z-index: 2;
    max-width: 90%;
}
.popup .popup-title {
    width: 100%;
    padding: 10px 15px;
    background-color: #dddddd;
    border-radius: 5px 5px 0 0;
    color: #222;
    font-size: 25px;
    letter-spacing: -0.05em;
    font-weight: 600;
    box-sizing: border-box;
}
.popup .popup-content {
    width: 100%;
    height: auto;
    padding: 10px 15px;
    box-sizing: border-box;
    min-width: 400px;
}

.popup .popup-wrap .popup-content .text-box p {
    font-size: 16px;
    letter-spacing: -0.05em;
    line-height: 30px;
    font-weight: 400;
    margin-bottom: 30px;
    word-break: keep-all;
    text-align: center;
}
.popup .popup-wrap .popup-content .text-box strong {
    display: block;
    color: #ffba00;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 40px;
}
.popup .popup-wrap .popup-content .popup-btn ul {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}
.popup .popup-wrap .popup-content .popup-btn ul li {
    height: auto;
    margin-right: 10px;
    box-sizing: border-box;
    list-style: none;
}
.popup .popup-wrap .popup-content .popup-btn ul li:last-child {
    margin-right: 0;
}
.popup .popup-wrap .popup-content .popup-btn ul li a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 5px 10px;
    text-align: center;
    font-size: 12px;
    letter-spacing: -0.05em;
    font-weight: 600;
    box-sizing: border-box;
    border-radius: 5px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
}

/* 인풋박스 스타일 */
.popup .popup-wrap .popup-content .input-box {
    width: 100%;
    height: auto;
    margin-bottom: 30px;
}
.popup .popup-wrap .popup-content input {
    width: 100%;
    height: 6rem;
    border: 1px solid #c8c8c8;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 2rem;
    color: #4d4d4d;
    padding-left: 1rem;
}

/* *********** 뒷배경 검정색 딤 처리 박스 *********** */
body.popup_open .dimmed {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.6);
    overflow: hidden;
    z-index: 1;
}
/* body 태그에 연결할 클래스 */
body.popup_open {
    overflow: hidden;
}
