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

.legal-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
}

/* 법적 문서 헤더 */
.legal-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 3px solid #007bff;
}

.legal-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.legal-description {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 20px;
}

.legal-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.legal-version,
.legal-date {
    background-color: #e9ecef;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #495057;
    font-weight: 500;
}

/* 법적 문서 내용 */
.legal-content {
    line-height: 1.8;
    color: #333;
}

.legal-section {
    margin-bottom: 40px;
    padding: 25px;
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.legal-section h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f8f9fa;
}

.legal-section p {
    margin-bottom: 15px;
    text-align: justify;
}

/* 목록 스타일 */
.legal-list {
    margin: 15px 0;
    padding-left: 0;
    counter-reset: legal-counter;
}

.legal-list > li {
    list-style: none;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    counter-increment: legal-counter;
}

.legal-list > li::before {
    content: counter(legal-counter);
    position: absolute;
    left: 0;
    top: 0;
    background-color: #007bff;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

.legal-sublist {
    margin: 10px 0;
    padding-left: 20px;
}

.legal-sublist li {
    margin-bottom: 8px;
    list-style-type: disc;
    color: #495057;
}

/* 강조 텍스트 */
.legal-section strong {
    color: #2c3e50;
    font-weight: 600;
}

/* 마지막 섹션 */
.legal-section-final {
    background-color: #f8f9fa;
    border: 2px solid #007bff;
}

/* 하단 연락처 정보 */
.legal-footer {
    margin-top: 50px;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.legal-contact h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.legal-contact p {
    color: #6c757d;
    margin-bottom: 20px;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    margin-bottom: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.contact-info li:last-child {
    border-bottom: none;
}

.contact-info strong {
    color: #2c3e50;
    margin-right: 10px;
    min-width: 80px;
    display: inline-block;
}

.contact-info a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-info a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .legal-container {
        padding: 15px;
    }
    
    .legal-header h1 {
        font-size: 2rem;
    }
    
    .legal-meta {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .legal-section {
        padding: 20px 15px;
        margin-bottom: 25px;
    }
    
    .legal-section h2 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .legal-header h1 {
        font-size: 1.8rem;
    }
    
    .legal-section {
        padding: 15px 10px;
    }
    
    .legal-list > li {
        padding-left: 25px;
        font-size: 0.9rem;
    }
    
    .legal-list > li::before {
        width: 18px;
        height: 18px;
        font-size: 0.7rem;
    }
}
