* {
    margin: 0;
    padding: 0;
}

body {
    background-color: #f8f8f8;
    color: #333;
}

.faq_container {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 50px;
    padding-bottom: 100px;
}

.faq-title {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 40px;
    color: #333;
}

.tab-container {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 2rem;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.tab-container .tab {
    flex: 1;
    padding: 1rem;
    text-align: center;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 16px;
    border: none;
    color: #333;
    text-decoration: none; /* ¸µÅ© ¹ØÁÙ Á¦°Å */
}

.tab:hover {
    background-color: #6ab6ff;
    color: #fff;
}

.tab.active {
    background-color: #1e90ff;
    color: #fff;
}

.tab-content {
    /* ÅÇ ÄÜÅÙÃ÷ ½ºÅ¸ÀÏ */
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.faq-list {
    background-color: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.faq-question:hover {
    background-color: rgba(30, 144, 255, 0.05);
}

.question-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.category-icon {
    background-color: #6ab6ff;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.question-text {
    font-weight: 500;
}

.toggle-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    color: #333;
}

.toggle-icon.rotate {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 72px;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0s 0.3s, padding 0.3s ease;
    background-color: #f9fbff;
}

.faq-answer.show {
    padding: 1.5rem 72px;
    max-height: 500px;
    visibility: visible;
    opacity: 1;
    transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0s;
}

.faq-answer p {
    margin-bottom: 0.5rem;
    transform: translateX(0); /* ±ÛÀÚ°¡ ÀÌµ¿ÇÏÁö ¾Êµµ·Ï °íÁ¤ */
    transition: none; /* ±ÛÀÚ¿¡ ´ëÇÑ ÀüÈ¯ È¿°ú Á¦°Å */
}

.faq-answer p:last-child {
    margin-bottom: 0;
}