/* gnb 시작하기 버튼 X */
.side-menu{
    opacity: 0; 
    pointer-events: none;
    visibility: hidden;
}


/* 진행바 */
.progress-container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 30%;
    max-width: 500px;
    position: relative;
}
.progress-line{
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #FE860F;
    transform: translateY(-50%);
    z-index: 0;
}
.progress-step{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid #FE860F;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    color: #FE860F;
    position: relative;
    z-index: 1;
}
.progress-step.active {
    background-color: #FE860F;
    color: #fff;
}

.progress-step.completed {
    background-color: #333;  /* 체크된 상태 색상 */
    color: #fff;             /* 글자색 */
    font-size: 24px;         /* 체크 크기 */
    display: flex;
    justify-content: center;
    align-items: center;
}


/* 질문 */

.quest-step{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    display: none;
}
.quest-step.active {
    opacity: 1;
    display: flex;
}

.quest-step__text{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    box-sizing: border-box;
    border-bottom: solid 1px #eee;
    padding-bottom: 100px;
}

.caption{
    font-size: 20px;
    color: #FE860F;
    font-weight: bold;
}

.quest-step__text h2{
    font-size: 60px;
    font-weight: bold;
}

.quest-step__text p{
    font-size: 18px;
    text-align: center;
}


/* 전체 질문 영역 스타일 */
.quest-step__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 0;
}

/* 상단 옵션 (두 개) */
.top-options {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    width: 90%;
}

.top-options-second{
    width: 60%;
    gap: 40px;
    margin-bottom: 10px;
}

/* 그룹 옵션 (여러 개) */
.group-options{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
}
.group-options>.option{
    flex: auto;
    min-width: 200px;
    min-height: 200px;
}

/* 개별 옵션 스타일 */
.option {
    flex: 1;
    box-sizing: border-box;
    border-radius: 30px;
    text-align: center;
    cursor: pointer;
    transition: box-shadow 0.01s ease-in-out, border-color 0.01s ease-in-out; /* 테두리와 그림자만 변경되도록 수정 */
    background-color: white;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    border: 4px solid #efefef; /* 기본 테두리 색상 */
}

.option>img {
    width: auto;
    height: 100%;
    object-fit: contain;
    max-height: 200px;
    margin: 30px 0;
    padding: 0 20px;
}

.emblem-option img{
    max-width: 230px;
}

/* 컬러 옵션 */
.color-group{
    width: 100%;
    height: 440px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 20px;
}
.color-option{
    width: 120px;
    height: 120px;
    border-radius: 10px;
    border: 4px solid #efefef; /* 기본 테두리 색상 */
    cursor: pointer;
    transition: box-shadow 0.01s ease-in-out, border-color 0.01s ease-in-out; /* 테두리와 그림자만 변경되도록 수정 */
}

/* 선택된 항목 스타일 */
.option.selected {
    border-color: #FE860F; /* 주황색 테두리로 변경 */
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2); /* 선택된 옵션에 그림자 추가 */
    transition: border-color 0.1s ease-in-out, box-shadow 0.1s ease-in-out; /* 빠른 부드러운 애니메이션 */
}
.option.selected .option-name{
    background-color: #f48024;
    transition: border-color 0.1s ease-in-out, box-shadow 0.1s ease-in-out;
}
.color-option.selected{
    border-color: #FE860F; /* 주황색 테두리로 변경 */
    transition: border-color 0.1s ease-in-out, box-shadow 0.1s ease-in-out; /* 빠른 부드러운 애니메이션 */
}

/* 옵션 텍스트 스타일 */
.option-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 20px 0;
    background-color: #EBEFF3;
    border-radius: 0 0 27px 27px;
    align-items: flex-start; /* 내부 요소 왼쪽 정렬 */
}
.option-text p {
    text-align: left; /* 텍스트 왼쪽 정렬 */
    margin: 0; /* 혹시 있을 수 있는 기본 마진 제거 */
    padding: 5px 30px; /* 조금 여백 추가 */
}
.option-text p:nth-of-type(1) {
    font-size: 20px;
    font-weight: bold;
}

.option-name {
    width: 40%;
    display: flex;
    flex-direction: column;
    padding: 5px 0;
    color: #fff;
    background-color: #585858;
    border-radius: 50px;
    margin-bottom: 30px;
}


/* 하단 옵션 (100% 너비) */
.bottom-option {
    width: 90%;
}




/* 텍스트 답변 상자 */
.answer-form{
    width: 100%;
    max-width: 500px;
}
.answer-box {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.answer-box__ask {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-left: -30px;
}
.check-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: white;
    font-weight: bold;
    transition: background-color 0.3s;
}
.check-icon.filled{
    background-color: #f48024;
}
.answer-box .answer-box__text-box{
    padding: 10px 0;
}
.answer-box .answer-box__text-box input {
    width: 100%;
    padding: 12px 10px;
    border: none;
    border-bottom: 2px solid #ccc;
    outline: none;
    font-size: 18px;
    transition: border-bottom 0.3s ease;
}
.answer-box .answer-box__text-box input:focus {
    border-bottom: 2px solid #f48024;
    background-color: #f9f9f9;
}

/* 텍스트 입력값에 따라 체크아이콘 및 밑줄 색 변경 */
.answer-box .answer-box__text-box input.filled {
    border-bottom: 2px solid #f48024;
}

.checked {
    background-color: #f48024;
    color: white;
}




/* 다음 버튼 스타일 */
.brand-step__next-btn, 
.quest-step__next-btn {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 0 auto;
    padding: 20px 24px;
    font-size: 24px;
    background-color: #FE860F;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}
.brand-step__next-btn{
    background-color: #000;
}

.quest-step__next-btn:hover {
    background-color: #ff9800;
}
.brand-step__next-btn:hover{
    background-color: #ff9800;
}

/* 기본적으로 비활성화된 상태 */
.quest-step__next-btn:disabled {
    background-color: #ccc;  /* 비활성화된 버튼 색상 */
    cursor: not-allowed;     /* 커서 모양 변경 */
}















/* 반응형 미디어 쿼리 */
@media (max-width: 1200px) {

    .quest-step__container {
        padding: 60px 40px;
        gap: 20px;
    }


}

@media (max-width: 768px) {
    .mobile-hide{
        display: none;
    }
    .option-text p:nth-of-type(1) {
        font-size: 16px;
    }
    .option-text p {
        font-size: 14px;
    }

    .quest-step{
        padding: 40px 20px;
    }
    .caption {
        font-size: 14px;
    }
    .caption {
    font-size: 20px;
    color: #FE860F;
    font-weight: bold;
    }
    .caption {
    font-size: 14px;
    }
    .quest-step__text {
        gap: 30px;
        padding-bottom: 60px;
    }
    .progress-container {
        width: 60%;
    }
    .progress-step {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    .quest-step__text h2 {
        font-size: 30px;
        text-align: center;
    }
    .top-options {
        width: 90%;
        flex-direction: column;
    }
    .top-options-second {
        gap: 10px;
        flex-direction: row;
    }
    .symbol-option,.logotype-option,.combination-option,.emblem-option{
        width: 50%;
    }
    .emblem-option img {
        max-width: 100%;
    }
    .option-name {
        width: 60%;
        font-size: 14px;
    }
    .quest-step__container {
        padding: 60px 0;
    }
    .group-options {
        height: 500px;
        overflow-x: auto; /* 가로 스크롤 활성화 */
        flex-direction: column;
        flex-wrap: wrap; /* 항목들이 여러 줄로 나열되도록 설정 */
        display: flex;
        gap: 10px; /* 항목 간 간격 */
    }
    .group-options>.option {
        max-width: 180px; /* 최소 너비 설정 */
        max-height: 180px; /* 최소 높이 설정 */
    }
    .group-options>.option>img{
        scale: 1;
    }
    .quest-step__container.mobileCheck {
        padding: 60px 40px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .color-group {
        height: 500px;
        overflow-x: auto; /* 가로 스크롤 활성화 */
        flex-direction: column;
        flex-wrap: wrap; /* 항목들이 여러 줄로 나열되도록 설정 */
        display: flex;
        gap: 10px; /* 항목 간 간격 */
    }
    .color-option {
        cursor: pointer;
        transition: box-shadow 0.01s ease-in-out, border-color 0.01s ease-in-out; /* 테두리와 그림자만 변경되도록 수정 */
    }
    }