/* 이용약관 페이지 스타일 */

/* 컨테이너 - Mobile First */
body {
    background-color: #f8f9fa;
}

.terms-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    background-color: #ffffff;
    min-height: 100vh;
    position: relative;
}

/* PC/태블릿 대응 */
@media (min-width: 481px) {
    .terms-container {
        max-width: 360px;
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
    }
}

/* 탭 네비게이션 */
.terms-tabs {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
}

.terms-tab {
    flex: 1;
    padding: 16px 8px;
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
}

.terms-tab:hover {
    color: #333;
}

.terms-tab.active {
    color: #1a1a1a;
    border-bottom-color: #4285f4;
    font-weight: 600;
}

/* 약관 내용 */
.terms-content {
    padding: 20px;
}

.terms-section {
    display: none;
    line-height: 1.6;
    font-size: 14px;
    color: #333;
}

.terms-section.active {
    display: block;
}

.terms-section h2 {
    font-size: 18px;
    font-weight: 600;
    margin: 24px 0 12px 0;
    color: #1a1a1a;
}

.terms-section h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 20px 0 8px 0;
    color: #333;
}

.terms-section p {
    margin: 12px 0;
}

.terms-section ul {
    margin: 12px 0;
    padding-left: 20px;
}

.terms-section li {
    margin: 8px 0;
}

.terms-section strong {
    font-weight: 600;
    color: #1a1a1a;
}

/* 하이라이트 박스 */
.terms-highlight {
    padding: 12px;
    background: #fff3cd;
    border-radius: 4px;
    font-size: 13px;
    margin: 16px 0;
}

.terms-info {
    padding: 12px;
    background: #e7f3ff;
    border-radius: 4px;
    font-size: 13px;
    margin: 16px 0;
}

/* 푸터 */
.terms-footer {
    padding: 20px;
    text-align: center;
    border-top: 1px solid #e0e0e0;
    background: #f8f9fa;
    font-size: 13px;
    color: #666;
}

.terms-footer p {
    margin: 8px 0;
}
