@charset "utf-8";

/* ==========================================================================
   부산진지역자활센터 정책/약관 팝업 고도화 스타일시트
   (Busanjin Self-Sufficiency Center - Institutional Policy System)
   ========================================================================== */

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    background: #f1f5f9;
    color: #334155;
    font-family: -apple-system, BlinkMacSystemFont, "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "맑은 고딕", sans-serif;
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* 탑 브랜딩 유틸 바 */
.policy_topbar {
    background: #0f172a;
    color: #94a3b8;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #1e293b;
}

.policy_brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #f8fafc;
    letter-spacing: -0.2px;
}

.policy_brand_badge {
    display: inline-block;
    background: #0284c7;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    text-transform: uppercase;
}

.policy_top_actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn_util {
    background: transparent;
    border: 1px solid #334155;
    color: #cbd5e1;
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn_util:hover {
    background: #1e293b;
    color: #ffffff;
    border-color: #475569;
}

.btn_util_close {
    background: #e02424;
    border-color: #c81e1e;
    color: #ffffff;
}
.btn_util_close:hover {
    background: #9b1c1c;
    border-color: #9b1c1c;
}

/* 메인 래퍼 */
.policy_wrap {
    max-width: 940px;
    margin: 30px auto 50px;
    padding: 0 20px;
}

/* 프리미엄 헤더 카드 */
.policy_hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #0369a1 100%);
    border-radius: 16px;
    padding: 36px 40px;
    color: #ffffff;
    box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.25), 0 8px 10px -6px rgba(2, 132, 199, 0.2);
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
}

.policy_hero::before {
    content: "";
    position: absolute;
    right: -30px;
    top: -40px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.policy_hero_badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.policy_hero_title {
    font-size: 30px;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.3;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.policy_hero_title svg {
    flex-shrink: 0;
}

.policy_hero_desc {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #e0f2fe;
    opacity: 0.95;
    word-break: keep-all;
}

/* 메타 정보 칩 */
.policy_meta_bar {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 13px;
    color: #bae6fd;
}

.policy_meta_item strong {
    color: #ffffff;
    font-weight: 600;
    margin-right: 4px;
}

/* 본문 영역 */
.policy_container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 카드 섹션 */
.policy_card {
    background: #ffffff;
    border-radius: 14px;
    padding: 30px 34px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s ease;
}

.policy_card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
}

.policy_card_header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 2px solid #f1f5f9;
}

.policy_card_num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.policy_card_title {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.3px;
}

.policy_card_body {
    font-size: 15px;
    line-height: 1.85;
    color: #334155;
    word-break: keep-all;
}

.policy_card_body p {
    margin: 0 0 12px;
}

.policy_card_body p:last-child {
    margin-bottom: 0;
}

/* 강조 알림 박스 (Callout) */
.policy_callout {
    background: #eff6ff;
    border-left: 4px solid #0284c7;
    border-radius: 0 10px 10px 0;
    padding: 18px 22px;
    margin: 16px 0;
    font-size: 14.5px;
    color: #1e3a8a;
    line-height: 1.75;
}

.policy_callout_warn {
    background: #fef2f2;
    border-left-color: #ef4444;
    color: #991b1b;
}

.policy_callout_success {
    background: #f0fdf4;
    border-left-color: #10b981;
    color: #065f46;
}

/* 그리드 연락처 박스 */
.policy_grid_contacts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.contact_item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact_agency {
    font-size: 13.5px;
    font-weight: 600;
    color: #0f172a;
}

.contact_tel {
    font-size: 14px;
    font-weight: 700;
    color: #0284c7;
    letter-spacing: 0.3px;
}

/* 고정형 영상기기 전용 상태 대시보드 */
.status_dashboard {
    text-align: center;
    padding: 40px 20px;
}

/* 고정형 영상기기 등 정책 테이블 스타일 */
.policy_table_wrap {
    margin-top: 16px;
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.policy_table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    font-size: 14px;
    text-align: left;
}

.policy_table caption {
    display: none;
}

.policy_table th, .policy_table td {
    padding: 13px 16px;
    border-bottom: 1px solid #e2e8f0;
    border-right: 1px solid #f1f5f9;
    line-height: 1.6;
    vertical-align: middle;
}

.policy_table th:last-child, .policy_table td:last-child {
    border-right: 0;
}

.policy_table tr:last-child td {
    border-bottom: 0;
}

.policy_table thead th {
    background: #0f172a;
    color: #f8fafc;
    font-weight: 600;
    font-size: 13.5px;
    text-align: center;
    letter-spacing: -0.2px;
    border-bottom: 2px solid #0284c7;
}

.policy_table tbody tr:hover td {
    background-color: #f8fafc;
}

.policy_table tbody th {
    background: #f8fafc;
    color: #1e293b;
    font-weight: 600;
    text-align: center;
}

.policy_table td.text_center, .policy_table th.text_center {
    text-align: center;
}

.policy_list_clean {
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

.policy_list_clean li {
    position: relative;
    padding-left: 18px;
    margin: 6px 0;
    font-size: 14.5px;
    color: #334155;
    line-height: 1.7;
}

.policy_list_clean li::before {
    content: "•";
    position: absolute;
    left: 4px;
    color: #0284c7;
    font-weight: bold;
    font-size: 16px;
    line-height: 1.5;
}

.status_icon_wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 2px dashed #cbd5e1;
}

.status_tag {
    display: inline-block;
    background: #f1f5f9;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
    border: 1px solid #e2e8f0;
}

.status_title {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 12px;
}

.status_desc {
    font-size: 15px;
    color: #64748b;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.8;
}

/* 하단 푸터 바 */
.policy_footer {
    text-align: center;
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid #cbd5e1;
}

.btn_close_main {
    background: #0f172a;
    color: #ffffff;
    border: 0;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 36px;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
    transition: all 0.2s ease;
}

.btn_close_main:hover {
    background: #1e293b;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.25);
}

.policy_copyright {
    margin-top: 16px;
    font-size: 12px;
    color: #94a3b8;
}

/* 인쇄 스타일 */
@media print {
    .policy_topbar, .policy_footer, .btn_util {
        display: none !important;
    }
    body {
        background: #ffffff;
        color: #000000;
    }
    .policy_wrap {
        margin: 0;
        padding: 0;
        max-width: 100%;
    }
    .policy_card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* 반응형 */
@media screen and (max-width: 768px) {
    .policy_wrap {
        margin: 15px auto 30px;
        padding: 0 12px;
    }
    .policy_hero {
        padding: 26px 22px;
        border-radius: 12px;
    }
    .policy_hero_title {
        font-size: 22px;
    }
    .policy_hero_desc {
        font-size: 14px;
    }
    .policy_card {
        padding: 20px 18px;
    }
    .policy_card_title {
        font-size: 17px;
    }
    .policy_grid_contacts {
        grid-template-columns: 1fr;
    }
}
