/* 개인정보 처리방침 추가 스타일 */

@import url('terms.css');

/* 정보 박스 */
.info-box {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.info-box.required {
    border-left: 4px solid #ef4444;
}

.info-box.optional {
    border-left: 4px solid #3b82f6;
}

.info-box.auto {
    border-left: 4px solid #8b5cf6;
}

.box-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.box-header i {
    font-size: 1.3rem;
}

.info-box.required .box-header i {
    color: #ef4444;
}

.info-box.optional .box-header i {
    color: #3b82f6;
}

.info-box.auto .box-header i {
    color: #8b5cf6;
}

.box-header h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.info-box ul {
    list-style: none;
    padding: 0;
}

.info-box ul li {
    padding: 0.5rem 0;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

.info-box ul li strong {
    color: #333;
    font-weight: 600;
}

/* 목적 박스 */
.purpose-box {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.purpose-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.purpose-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
}

.purpose-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.purpose-content p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.7;
}

/* 테이블 */
.retention-table,
.provider-table {
    margin-top: 1.5rem;
    overflow-x: auto;
}

.retention-table table,
.provider-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.retention-table th,
.provider-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
}

.retention-table td,
.provider-table td {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.9rem;
    color: #555;
}

.retention-table tbody tr:last-child td,
.provider-table tbody tr:last-child td {
    border-bottom: none;
}

.retention-table tbody tr:hover,
.provider-table tbody tr:hover {
    background: #f9fafb;
}

/* 권리 그리드 */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.right-item {
    text-align: center;
    padding: 2rem 1rem;
    background: #f9fafb;
    border-radius: 12px;
    transition: all 0.3s;
}

.right-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.right-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    font-size: 1.8rem;
}

.right-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.right-item p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
}

/* 담당자 박스 */
.manager-box {
    background: #f9fafb;
    border-left: 4px solid #667eea;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
}

.manager-box h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.manager-box h4 i {
    color: #667eea;
    font-size: 1.3rem;
}

.manager-box ul {
    list-style: none;
    padding: 0;
}

.manager-box ul li {
    padding: 0.5rem 0;
    color: #555;
    font-size: 0.95rem;
}

.manager-box ul li strong {
    display: inline-block;
    width: 80px;
    color: #333;
    font-weight: 600;
}

/* 하이라이트 섹션 (마케팅 동의) */
.highlight-section {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border: 2px solid #667eea;
}

.highlight-section .section-title {
    color: #667eea;
    border-bottom-color: #667eea;
}

/* 마케팅 소개 */
.marketing-intro {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border-left: 4px solid #3b82f6;
}

.marketing-intro p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 0.8rem;
}

.optional-notice {
    color: #3b82f6 !important;
    font-weight: 600;
}

/* 수집 항목 */
.collect-items {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0;
}

.collect-item {
    flex: 1;
    min-width: 150px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
}

.collect-item i {
    font-size: 1.5rem;
    color: #667eea;
}

.collect-item span {
    font-weight: 600;
    color: #333;
}

/* 발송 채널 그리드 */
.channel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.channel-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
    background: white;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s;
}

.channel-item:hover {
    border-color: #667eea;
    transform: translateY(-2px);
}

.channel-item i {
    font-size: 2rem;
    color: #667eea;
}

.channel-item span {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

/* 동의 철회 방법 */
.withdraw-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.withdraw-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
}

.withdraw-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    border-radius: 50%;
    color: #667eea;
    font-size: 1.5rem;
}

.withdraw-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.3rem;
}

.withdraw-content p {
    font-size: 0.9rem;
    color: #666;
}

/* 마케팅 안내 */
.marketing-notice {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: #fef3c7;
    border-radius: 12px;
    border-left: 4px solid #f59e0b;
    margin-top: 2rem;
}

.marketing-notice i {
    flex-shrink: 0;
    font-size: 1.5rem;
    color: #f59e0b;
}

.marketing-notice p {
    font-size: 0.9rem;
    color: #78350f;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.marketing-notice strong {
    color: #92400e;
}

/* 반응형 */
@media (max-width: 768px) {
    .purpose-item {
        flex-direction: column;
        text-align: center;
    }

    .purpose-icon {
        margin: 0 auto;
    }

    .rights-grid {
        grid-template-columns: 1fr;
    }

    .collect-items {
        flex-direction: column;
    }

    .channel-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .retention-table,
    .provider-table {
        font-size: 0.85rem;
    }

    .retention-table th,
    .provider-table th,
    .retention-table td,
    .provider-table td {
        padding: 0.8rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .purpose-item {
        padding: 1rem;
    }

    .purpose-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .right-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .channel-item {
        padding: 1rem 0.5rem;
    }

    .channel-item i {
        font-size: 1.5rem;
    }

    .withdraw-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .withdraw-icon {
        margin: 0 auto;
    }
}
