/* legal.css - 법적 페이지(개인정보처리방침, 이용약관) 스타일 */

.legal-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1.5rem 3rem;
}

.legal-page h1 {
    color: #1a237e;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #1a237e;
}

.legal-updated {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.legal-section {
    margin-bottom: 2rem;
}

.legal-section h2 {
    text-align: left;
    font-size: 1.3rem;
    color: #1a237e;
    margin-bottom: 0.8rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid #e0e0e0;
}

.legal-section h3 {
    font-size: 1.05rem;
    color: #333;
    margin: 1rem 0 0.5rem;
}

.legal-section p {
    color: #444;
    line-height: 1.8;
    margin-bottom: 0.8rem;
}

.legal-section ul {
    color: #444;
    line-height: 1.8;
    margin-left: 1.5rem;
    margin-bottom: 0.8rem;
}

.legal-section li {
    margin-bottom: 0.3rem;
}

.legal-section a {
    color: #1a237e;
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

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

/* Commitment box */
.commitment-box {
    background: #f0f2f8;
    border-left: 4px solid #1a237e;
    border-radius: 8px;
    padding: 1.2rem 1.5rem;
    margin-bottom: 1rem;
}
.commitment-box p {
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}
.commitment-box p:last-child { margin-bottom: 0; }

/* Legal tables */
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.8rem 0 1.2rem;
    font-size: 0.9rem;
}
.legal-table th, .legal-table td {
    border: 1px solid #e0e0e0;
    padding: 0.6rem 0.8rem;
    text-align: left;
    vertical-align: top;
    color: #444;
    line-height: 1.6;
}
.legal-table th {
    background: #f5f6fa;
    color: #1a237e;
    font-weight: 600;
    white-space: nowrap;
}
.legal-table td a {
    word-break: break-all;
}

.legal-section code {
    background: #f0f0f0;
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    font-size: 0.85rem;
}

/* Service-specific supplement sections */
.service-supplement {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0 2rem;
    background: #fafbff;
}
.service-supplement-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid #1a237e;
}
.service-supplement-header .service-badge {
    display: inline-block;
    background: #1a237e;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    letter-spacing: 0.02em;
}
.service-supplement-header .service-badge.coming-soon {
    background: #9e9e9e;
}
.service-supplement-header h3 {
    font-size: 1.15rem;
    color: #1a237e;
    margin: 0;
}
.service-supplement .legal-section {
    margin-bottom: 1.2rem;
}
.service-supplement .legal-section:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .legal-page {
        padding: 1.5rem 1rem 2rem;
    }

    .legal-page h1 {
        font-size: 1.5rem;
    }

    .legal-table {
        font-size: 0.8rem;
    }
    .legal-table th, .legal-table td {
        padding: 0.4rem 0.5rem;
    }
}
