
/* FAQ 페이지 스타일 */
.search-area {
    position: relative;
    margin-bottom: 30px;
    max-width: 600px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.search-input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.search-input:focus {
    border-color: #3a987c;
    box-shadow: 0 4px 20px rgba(58, 152, 124, 0.2);
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 18px;
    pointer-events: none;
}

.faq-container {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.faq-item {
    margin-bottom: 12px;
    border: 1px solid #e8e9ea;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12), 0 2px 4px rgba(0,0,0,0.06);
    border-color: #3a987c;
    transform: translateY(-1px);
}

.faq-item.active {
    border-color: #3a987c;
    box-shadow: 0 4px 16px rgba(58, 152, 124, 0.18), 0 2px 8px rgba(58, 152, 124, 0.12);
    transform: translateY(-1px);
}

.faq-question {
    padding: 16px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.faq-question:hover {
    background: #f8fffe;
}

.faq-item.active .faq-question {
    background: #f0fdf4;
    border-bottom: 1px solid #e8f5e8;
}

.faq-question h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    flex-grow: 1;
    padding-right: 16px;
    line-height: 1.4;
}

.toggle-icon {
    font-size: 20px;
    font-weight: 500;
    color: #3a987c;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 28px;
    text-align: center;
    opacity: 0.8;
}

.faq-item.active .toggle-icon {
    transform: none;
}

.faq-answer {
    padding: 15px 20px 18px 20px;
    background: #fff;
}

.faq-answer p {
    margin: 0;
    line-height: 1.65;
    color: #4b5563;
    font-size: 14px;
    animation: fadeInText 0.4s ease-out;
}

.no-results {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 16px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-top: 20px;
}

.no-results p {
    margin: 0;
    color: #999;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .search-input {
        padding: 12px 40px 12px 15px;
        font-size: 14px;
    }
    
    .search-icon {
        right: 15px;
        font-size: 16px;
    }
    
    .faq-question {
        padding: 14px 16px;
    }
    
    .faq-question h3 {
        font-size: 15px;
        padding-right: 12px;
    }
    
    .faq-answer {
        padding: 12px 16px 16px 16px;
    }
    
    .faq-answer p {
        font-size: 13px;
    }
    
    .toggle-icon {
        font-size: 18px;
        min-width: 24px;
    }
}

/* 애니메이션 */
@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 토글 아이콘 호버 효과 */
.faq-question:hover .toggle-icon {
    opacity: 1;
    transform: scale(1.1);
}

.faq-item.active .toggle-icon {
    opacity: 1;
}

