/* terms.css 
   약관 및 개인정보 처리방침 공용 스타일
*/

.terms-container {
    max-width: 800px;
    margin: 60px auto;
}

.terms-card {
    background: #fff;
    padding: 50px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.terms-header {
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 25px;
    margin-bottom: 30px;
}

.terms-header h2 {
    font-size: 2rem;
    color: #1e293b;
    margin-bottom: 10px;
}

.terms-header p {
    color: #94a3b8;
    font-size: 0.95rem;
}

/* 본문 섹션 스타일 */
.terms-content {
    line-height: 1.8;
    color: #475569;
}

.terms-section {
    margin-bottom: 35px;
}

.terms-section h3 {
    font-size: 1.15rem;
    color: #1e293b;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.terms-section h3::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background: #2563eb;
    /* 브랜드 블루 */
    margin-right: 12px;
    border-radius: 2px;
}

.terms-section p {
    margin-bottom: 10px;
}

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

.terms-section ul li {
    margin-bottom: 8px;
    list-style: disc;
}

/* 강조 상자 (금지 조항 등) */
.highlight-box {
    background: #fff1f2;
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #f43f5e;
}

.highlight-box h3 {
    color: #e11d48;
}

.highlight-box h3::before {
    background: #e11d48;
}

.highlight-box p,
.highlight-box li {
    color: #9f1239;
}

/* 하단 버튼 영역 */
.terms-actions {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-back {
    padding: 12px 30px;
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-back:hover {
    background: #e2e8f0;
}

.btn-confirm {
    padding: 12px 40px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-confirm:hover {
    background: #1d4ed8;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .terms-container {
        margin: 20px auto;
        padding: 0 15px;
    }

    .terms-card {
        padding: 30px 20px;
    }

    .terms-header h2 {
        font-size: 1.5rem;
    }

    .terms-actions {
        flex-direction: column-reverse;
    }

    .btn-back,
    .btn-confirm {
        width: 100%;
    }
}