/**
 * FAQ 페이지 스타일
 * [기술팀] CSS 분리 - 2026-01-03
 */
/* reset/body 스타일은 common.css에서 처리 */

/* 헤더 스타일은 header-unified.css 사용 */

.faq-container { max-width: 900px; margin: 30px auto; padding: 0 20px; }

.page-header { background: white; padding: 30px; border-radius: 10px; margin-bottom: 25px; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.page-header h2 { color: #333; font-size: 28px; margin-bottom: 10px; }
.page-header p { color: #666; }

.search-box { background: white; padding: 20px; border-radius: 10px; margin-bottom: 25px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.search-box form { display: flex; gap: 10px; }
.search-box input { flex: 1; padding: 14px 20px; border: 2px solid #e0e7ff; border-radius: 8px; font-size: 15px; }
.search-box input:focus { outline: none; border-color: #667eea; }
.search-box button { padding: 14px 30px; background: #667eea; color: white; border: none; border-radius: 8px; cursor: pointer; font-size: 15px; }

.category-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 25px; }
.category-tab { padding: 10px 20px; background: white; border: 2px solid #e0e7ff; border-radius: 25px; color: #667eea; text-decoration: none; font-size: 14px; transition: all 0.2s; }
.category-tab:hover, .category-tab.active { background: #667eea; color: white; border-color: #667eea; }

.faq-section { margin-bottom: 30px; }
.faq-section h3 { color: #333; font-size: 18px; margin-bottom: 15px; padding-left: 10px; border-left: 4px solid #667eea; }

.faq-list { background: white; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }

.faq-item { border-bottom: 1px solid #eee; }
.faq-item:last-child { border-bottom: none; }

.faq-question { padding: 20px 25px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background 0.2s; }
.faq-question:hover { background: #f8f9ff; }
.faq-question h4 { font-size: 15px; color: #333; font-weight: normal; flex: 1; padding-right: 15px; }
.faq-question h4 .q-mark { color: #667eea; font-weight: bold; margin-right: 10px; }
.faq-toggle { width: 30px; height: 30px; background: #f0f0f0; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; color: #666; transition: all 0.3s; }
.faq-item.open .faq-toggle { background: #667eea; color: white; transform: rotate(45deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; }
.faq-answer-inner { padding: 0 25px 25px 45px; line-height: 1.8; color: #666; }
.faq-item.open .faq-answer { max-height: 1000px; }

.empty-message { text-align: center; padding: 60px 20px; color: #999; background: white; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }

.contact-box { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; padding: 30px; border-radius: 10px; text-align: center; margin-top: 30px; }
.contact-box h3 { margin-bottom: 10px; }
.contact-box p { opacity: 0.9; margin-bottom: 20px; }
.contact-box a { display: inline-block; padding: 12px 30px; background: white; color: #667eea; text-decoration: none; border-radius: 5px; font-weight: bold; }
