/*  원형 문의하기 버튼 */
.inquiry-link {
    /* z-index: auto; */
    position: fixed;
    bottom: 80px;
    right: 15px;
    width: 65px;
    height: 65px;
    border: 2px solid #376be3;
    border-radius: 50%;
    padding: 7px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #fff;
    font-size: 15px;
    font-weight: bold;
    color: #000;
    z-index: 10003;
    transition: all 0.5s ease-in-out;
    cursor: pointer;
    text-decoration:none;
    opacity:0;
}

.inquiry-link:hover{
	background: #376be3;
}

		.inquiry-link:hover p{
			color:#fff;
		}
		.inquiry-link img{
			width:25px;
			height:25px;


		}
		.inquiry-link p{
            margin:0;
			font-size:10px;
			transition: all 0.3s ease-in-out;
		}

		.inquiry-link.active {
			opacity: 1;
		}



.inquiry-overlay{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.2);

    z-index:100;
/*    opacity:0;*/
    display:none;

    
}
/* 문의하기 form */
.inquiry-wrap {
    position: fixed;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width: 400px;
    border-radius: 25px;
    padding: 20px 30px;
    box-shadow: 0px 5px 20px 0px rgba(0, 0, 0, 0.5);
    background: #fff;
    z-index: 1000;
    display: none;
}

    .inquiry-wrap form {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }


    .inquiry-wrap input[type=submit] {
        padding: 10px;
        margin: 0;
        background: #0d6efd;
        width: 100% !important;
    }

    .inquiry-wrap form textarea {
        padding: 15px;
        resize: none;
        height: 6rem;
    }

#inquiryForm .title {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: none;
}

.modal-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    max-width: 480px;
    min-width: 280px;
    background: #fff;
    font-weight: bold;
    color: #333;
}

    .modal-inner .cont {
        padding: 30px;
        overflow: auto;
        max-height: 480px;
    }

    .modal-inner .title {
        text-align: center;
        font-size: 25px;
        font-weight: 700;
        font-family: "Noto Sans KR", serif;
        color: #fff;
        background: #30304b;
        margin: 0;
        padding: 20px;
    }

    .modal-inner .content {
        text-align: left;
        font-size: 16px;
        font-weight: 500;
        color: rgba(0,0,0,0.5);
        margin-bottom: 35px;
    }

.content-tit {
    font-size: 18px;
    color: #000;
}

.modal-inner .notice {
    font-size: 14px;
    color: #635d5d;
    margin-bottom: 50px;
}


.modal-close {
    display: flex;
    justify-self: center;
    background: #007bff;
    color: #fff;
    font-size: 15px;
    padding: 10px 30px;
    border-radius: 12px;
    cursor: pointer;
}

    .modal-close:hover {
        background: rgba(0,123,255,0.8);
        color: #fff;
    }

.privacy-check-button {
    background: #fff;
    color: #000;
    border: 1px solid #000;
    padding: 5px 10px;
    position: absolute;
    right: 0px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    margin-left: auto;
}

    .privacy-check-button:hover {
        background: #ddd;
        color: #fff;
        border: none;
    }

.private-check {
    width: 20px;
    height: 20px;
}

.private-check {
    width: 20px;
    height: 20px;
}


/* 폼 필수 입력란 강조 표시*/
.form-required {
    color: #e74d3c;
}

.inquiry-wrap .close-btn {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 25px;
    height: 25px;
    border: none;
    background: #ddd;
    border-radius:50%;
}
.close-btn-wrap{
    position:relative;
    height:50px;
}
.close-btn img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8); /* 반투명 배경 */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    display: none;
}

/* 로딩 바 */
.inquiry-loadPanel {
    width: 150px;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(270deg, #ff6ec4, #7873f5, #4ade80, #facc15, #f87171);
    background-size: 1000% 100%;
    animation: colorShift 5s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 배경색 전환 애니메이션 */
@keyframes colorShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@media(max-width:767px){
    .inquiry-wrap{
        width:300px !important;
        padding:10px 20px !important;
/*        bottom:100px !important*/
    }
    .inquiry-link{
        
        width:55px !important;
        height:55px !important;
        padding: 5px !important
    }
    .inquiry-link img{
        width:20px !important;
        height:20px !important;
    }
    .inquiry-link p{
        font-size:10px !important;
    }
    #inquiryForm{
        font-size:14px !important;
    }
    input::placeholder, textarea::placeholder{
        font-size:12px !important;
    }
    .modal-inner .title {
        font-size: 20px !important;
    }

    .content-tit {
        font-size: 16px !important;
    }

    .modal-inner .content {
        font-size: 14px !important;
    }
}

