/**
 * 생활 가이드북 페이지 스타일
 *
 * pages/help/life-guide-book/{cc}.php 에서 사용하는 CSS 스타일입니다.
 * country-info 페이지와 동일한 디자인 언어를 사용합니다.
 * CSS 접두사: lgb- (life guide book)
 */

/* 페이지 전체 배경 */
.lgb-page { background: linear-gradient(180deg, #f8f9fb 0%, #ffffff 40%); }

/* ========================================== */
/* 히어로 헤더 영역 */
/* ========================================== */
.lgb-hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 50%, #3b7dab 100%);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.lgb-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
}
.lgb-hero-icon {
    font-size: 2.5rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 0.75rem;
}
.lgb-hero h1 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}
.lgb-hero-desc {
    color: rgba(255,255,255,0.7);
    font-size: 0.88rem;
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}
.lgb-hero-tags {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 1rem;
    position: relative;
    z-index: 1;
}
.lgb-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 50px;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.85);
    font-size: 0.78rem;
    font-weight: 500;
    backdrop-filter: blur(4px);
}

/* ========================================== */
/* 섹션 카드 공통 */
/* ========================================== */
.lgb-section {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 20px;
    margin-bottom: 1.25rem;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}
.lgb-section:hover { box-shadow: 0 4px 24px rgba(0,0,0,0.06); }

/* 섹션 헤더 */
.lgb-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1.25rem 1.5rem 0;
}
.lgb-section-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.lgb-section-header h2 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    color: #1a1a2e;
}
.lgb-section-header h2 small {
    font-weight: 400;
    color: #94a3b8;
    font-size: 0.8rem;
    margin-left: 4px;
}
.lgb-section-body { padding: 1rem 1.5rem 1.5rem; }

/* 서브 타이틀 */
.lgb-sub-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.lgb-sub-title i { font-size: 0.85rem; color: #64748b; }

/* ========================================== */
/* 심플 리스트 */
/* ========================================== */
.lgb-list-simple-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.85rem;
    color: #334155;
    line-height: 1.5;
}
.lgb-list-simple-item:last-child { border-bottom: none; }
.lgb-list-simple-item strong { color: #1e293b; }
.lgb-list-simple-item a { color: #3b82f6; text-decoration: none; }
.lgb-list-simple-item a:hover { color: #1d4ed8; }

/* ========================================== */
/* 체크리스트 */
/* ========================================== */
.lgb-checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 0.5rem 0;
    font-size: 0.85rem;
    color: #334155;
    line-height: 1.5;
}
.lgb-checklist-item i {
    color: #22c55e;
    margin-top: 3px;
    flex-shrink: 0;
    font-size: 0.8rem;
}

/* ========================================== */
/* 테이블 */
/* ========================================== */
.lgb-table { width: 100%; border-collapse: collapse; }
.lgb-table th {
    font-size: 0.72rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 0.5rem;
    border-bottom: 2px solid #f1f5f9;
    text-align: left;
}
.lgb-table td {
    padding: 0.55rem 0.5rem;
    border-bottom: 1px solid #f8fafc;
    font-size: 0.82rem;
    color: #334155;
    vertical-align: middle;
}
.lgb-table tr:last-child td { border-bottom: none; }
.lgb-table-compact th, .lgb-table-compact td { padding: 0.45rem 0.5rem; }

/* ========================================== */
/* 하이라이트 카드 */
/* ========================================== */
.lgb-highlight-card {
    border-radius: 16px;
    padding: 1.25rem;
    border: 1px solid;
}
.lgb-highlight-card h3 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.lgb-highlight-card p {
    font-size: 0.85rem;
    line-height: 1.5;
}

/* ========================================== */
/* 미니 카드 */
/* ========================================== */
.lgb-card-mini {
    background: #f8fafc;
    border-radius: 16px;
    padding: 1.25rem;
    height: 100%;
}
.lgb-card-mini-label {
    font-size: 0.72rem;
    color: #94a3b8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.lgb-card-mini-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 4px 0 2px;
}
.lgb-card-mini-sub {
    font-size: 0.78rem;
    color: #64748b;
}

/* ========================================== */
/* 대사관 강조 카드 */
/* ========================================== */
.lgb-embassy-card {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    border-radius: 20px;
    padding: 1.5rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.lgb-embassy-card::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    border-radius: 50%;
}
.lgb-embassy-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}
.lgb-embassy-phone {
    font-size: 1.3rem;
    font-weight: 700;
    color: #93c5fd;
    margin-bottom: 0.25rem;
    position: relative;
    z-index: 1;
}
.lgb-embassy-info {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
    position: relative;
    z-index: 1;
}
.lgb-embassy-info strong { color: rgba(255,255,255,0.9); }

/* ========================================== */
/* 비자 아이템 */
/* ========================================== */
.lgb-visa-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
}
.lgb-visa-item:last-child { border-bottom: none; }
.lgb-visa-badge {
    min-width: 48px;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    text-align: center;
    flex-shrink: 0;
}
.lgb-visa-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: #1e293b;
}
.lgb-visa-desc {
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.4;
}

/* ========================================== */
/* 알림 박스 */
/* ========================================== */
.lgb-notice {
    border-radius: 14px;
    padding: 0.85rem 1.1rem;
    font-size: 0.82rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border: none;
}
.lgb-notice i { margin-top: 2px; flex-shrink: 0; }
.lgb-notice-warning { background: #fffbeb; color: #92400e; }
.lgb-notice-danger { background: #fef2f2; color: #991b1b; }
.lgb-notice-success { background: #f0fdf4; color: #166534; }
.lgb-notice-info { background: #eff6ff; color: #1e40af; }

/* ========================================== */
/* 하단 출처 안내 */
/* ========================================== */
.lgb-footer-notice {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    font-size: 0.82rem;
    color: #64748b;
    text-align: center;
}

/* ========================================== */
/* 반응형 */
/* ========================================== */
@media (max-width: 768px) {
    .lgb-hero { padding: 2rem 1.25rem; border-radius: 20px; }
    .lgb-hero h1 { font-size: 1.3rem; }
    .lgb-hero-icon { font-size: 2rem; }
    .lgb-section-header { padding: 1rem 1.25rem 0; }
    .lgb-section-body { padding: 0.75rem 1.25rem 1.25rem; }
    .lgb-embassy-card { padding: 1.25rem; }
    .lgb-embassy-phone { font-size: 1.1rem; }
}
