/* ===== 지콜차이나 070 ===== */
.smart070-page { max-width: 960px; margin: 0 auto; padding: 24px 16px; }

/* Hero */
.smart070-hero {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: #fff;
    padding: 48px 32px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 32px;
}
.smart070-hero h1 { font-size: 32px; margin: 0 0 12px; }
.smart070-subtitle { font-size: 18px; opacity: 0.95; margin: 0 0 24px; }
.smart070-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.smart070-cta .btn { min-width: 180px; }

/* Section */
.smart070-section { margin-bottom: 40px; }
.smart070-section h2 {
    font-size: 22px;
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e5e7eb;
}

/* Card */
.smart070-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 16px;
}
.smart070-card h3 { margin: 0 0 12px; font-size: 18px; color: #111827; }
.smart070-content { color: #374151; line-height: 1.7; }
.smart070-content p { margin: 0 0 8px; }
.smart070-content ul, .smart070-content ol { margin: 8px 0; padding-left: 24px; }

.smart070-card.smart070-notice {
    background: #fffbeb;
    border-color: #fcd34d;
}
.smart070-card.smart070-notice h3 { color: #92400e; }

/* FAQ */
.smart070-faq-list { display: flex; flex-direction: column; gap: 8px; }
.smart070-faq-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0;
}
.smart070-faq-item summary {
    cursor: pointer;
    padding: 16px 20px;
    font-weight: 600;
    color: #111827;
    list-style: none;
    position: relative;
    padding-right: 40px;
}
.smart070-faq-item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #6b7280;
}
.smart070-faq-item[open] summary::after { content: '−'; }
.smart070-faq-item .smart070-content {
    padding: 0 20px 16px;
    border-top: 1px solid #f3f4f6;
    margin-top: 8px;
    padding-top: 16px;
}

/* Footer CTA */
.smart070-footer-cta {
    text-align: center;
    padding: 32px 0;
    border-top: 1px solid #e5e7eb;
    margin-top: 32px;
}

/* Notice box (apply page) */
.smart070-notice-box {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 16px 0 24px;
    color: #78350f;
    font-size: 14px;
}
.smart070-notice-box ul { margin: 8px 0 0; padding-left: 20px; }
.smart070-notice-box li { margin-bottom: 4px; }

/* Form */
.smart070-form {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 24px;
}
.smart070-form .form-group { margin-bottom: 20px; }
.smart070-form .form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #111827;
}
.smart070-form .form-label.required::after {
    content: ' *';
    color: #dc2626;
}
.smart070-form .form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
}
.smart070-form textarea.form-control { resize: vertical; font-family: inherit; }
.smart070-form .form-help { color: #6b7280; font-size: 13px; margin: 6px 0 0; }
.smart070-form .form-error { color: #dc2626; font-size: 13px; margin: 6px 0 0; }

.radio-group { display: flex; gap: 16px; flex-wrap: wrap; }
.radio-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 8px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #f9fafb;
}
.radio-item input { margin: 0; }

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

/* Detail page */
.detail-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 16px;
}
.detail-card h2 { margin: 0 0 16px; font-size: 18px; }
.detail-card.detail-card-info { background: #eff6ff; border-color: #bfdbfe; }

.detail-table { width: 100%; border-collapse: collapse; }
.detail-table th, .detail-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: top;
    text-align: left;
}
.detail-table th {
    width: 160px;
    color: #6b7280;
    font-weight: 500;
    background: #f9fafb;
}
.detail-pre {
    margin: 0;
    white-space: pre-wrap;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.6;
}

.file-list { list-style: none; padding: 0; margin: 0; }
.file-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
    flex-wrap: wrap;
}
.file-list .file-name { color: #374151; }
.file-list .file-size { color: #9ca3af; font-size: 13px; }

.admin-memo {
    color: #1e3a8a;
    line-height: 1.7;
    white-space: pre-wrap;
}

/* Empty state */
.empty-state {
    background: #fff;
    border: 1px dashed #d1d5db;
    border-radius: 8px;
    padding: 48px 24px;
    text-align: center;
}
.empty-state p { color: #6b7280; margin: 0 0 16px; }

/* CNY/KRW 입력 라인 */
.cny-input-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.cny-input-row .form-control {
    width: auto;
    flex: 0 1 200px;
}
.cny-unit {
    color: #6b7280;
    font-size: 14px;
    font-weight: 600;
}
.cny-arrow { color: #9ca3af; }
.cny-krw {
    min-width: 100px;
    padding: 10px 12px;
    background: #f3f4f6;
    border-radius: 6px;
    font-weight: 600;
    color: #111827;
    text-align: right;
}

/* 신청 종류별 블록 */
.type-only {
    margin: 24px 0;
    padding: 20px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}
.form-section-title {
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e5e7eb;
    font-size: 16px;
    color: #111827;
}

/* 결제계좌 미리보기 */
.payment-preview {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
}
.preview-qr-box { text-align: center; margin-bottom: 12px; }
.preview-qr-box img {
    max-width: 300px;
    max-height: 300px;
    width: auto;
    height: auto;
    display: inline-block;
    object-fit: contain;
}

.preview-info {
    white-space: pre-wrap;
    font-size: 14px;
    color: #111827;
    line-height: 1.7;
}
.preview-desc {
    margin-top: 8px;
    color: #6b7280;
    font-size: 13px;
}
/* ===== Admin: 신청 상세 레이아웃 ===== */
.detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    align-items: start;
}
.detail-col { display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 900px) {
    .detail-grid { grid-template-columns: 1fr; }
}

.detail-card-danger { border-color: #fecaca; background: #fef2f2; }
.detail-card-danger h2 { color: #991b1b; }

.memo-box {
    background: #f9fafb;
    border-left: 3px solid #2563eb;
    padding: 12px 16px;
    border-radius: 4px;
    white-space: pre-wrap;
    line-height: 1.6;
}

/* ===== Admin: 첨부 파일 썸네일 ===== */
.file-list-thumb {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.file-list-thumb .file-item {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 12px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}
.file-thumb {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
}
.file-thumb img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
.file-thumb-doc { font-size: 40px; color: #9ca3af; }
.file-meta { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.file-meta strong { color: #111827; }
.file-meta .file-name { color: #374151; font-size: 14px; word-break: break-all; }
.file-meta .file-size { color: #9ca3af; font-size: 13px; }
.file-meta .file-actions { margin-top: 6px; display: flex; gap: 6px; }

.btn-mini {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background: #fff;
    color: #374151;
    text-decoration: none;
    cursor: pointer;
}
.btn-mini:hover { background: #f3f4f6; }
.btn-mini.btn-danger { color: #dc2626; border-color: #fecaca; }
.btn-mini.btn-danger:hover { background: #fee2e2; }
/* ===== 공통 헤더/브레드크럼/페이지 ===== */
.breadcrumb {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.breadcrumb a { color: #2563eb; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: #9ca3af; }

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}
.page-header h1 { margin: 0 0 4px; font-size: 26px; color: #111827; }
.page-subtitle { margin: 0; color: #6b7280; font-size: 14px; }

/* ===== 테이블 ===== */
.data-table-wrap {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.data-table thead th {
    background: #f9fafb;
    color: #374151;
    font-weight: 600;
    text-align: left;
    padding: 12px;
    border-bottom: 1px solid #e5e7eb;
    white-space: nowrap;
}
.data-table tbody td {
    padding: 12px;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
    vertical-align: middle;
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: #f9fafb; }

/* ===== 배지 ===== */
.badge {
    display: inline-block;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 999px;
    background: #f3f4f6;
    color: #374151;
    line-height: 1.5;
    white-space: nowrap;
}
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-info    { background: #dbeafe; color: #1e40af; }
.badge-success { background: #d1fae5; color: #065f46; }
.badge-danger  { background: #fee2e2; color: #991b1b; }

/* ===== 버튼 (작은) ===== */
.btn-mini {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background: #fff;
    color: #374151;
    text-decoration: none;
    cursor: pointer;
    line-height: 1.5;
}
.btn-mini:hover { background: #f3f4f6; }
.btn-mini.btn-danger { color: #dc2626; border-color: #fecaca; background: #fff; }
.btn-mini.btn-danger:hover { background: #fee2e2; }

/* ===== 알림 박스 ===== */
.alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 14px;
}
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error,
.alert-danger  { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.alert-info    { background: #dbeafe; color: #1e40af; border: 1px solid #bfdbfe; }
.alert-warning { background: #fef3c7; color: #92400e; border: 1px solid #fcd34d; }

/* ===== 폼 보조 ===== */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; }
}
.checkbox-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 0;
}

/* ===== 빈 상태 (사용자 페이지) ===== */
.smart070-page .empty-state {
    background: #fff;
    border: 1px dashed #d1d5db;
    border-radius: 8px;
    padding: 48px 24px;
    text-align: center;
}
.file-delete-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}
.file-delete-actions form { display: inline-block; margin: 0; }
/* ========== 지콜차이나 랜딩 페이지 ========== */
.smart070-landing { max-width: 1140px; margin: 0 auto; padding: 0 16px; }

/* Hero */
.s070-hero {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 60%, #1e3a8a 100%);
    color: #fff;
    padding: 32px 32px;
    border-radius: 16px;
    margin: 4px 0 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.s070-hero::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 300px; height: 300px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}
.s070-hero::after {
    content: '';
    position: absolute;
    bottom: -150px; left: -100px;
    width: 400px; height: 400px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}
.s070-hero-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.s070-hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    backdrop-filter: blur(10px);
}
.s070-hero h1 { font-size: 36px; line-height: 1.3; margin: 0 0 16px; font-weight: 700; }
.s070-hero-sub { font-size: 17px; line-height: 1.6; opacity: 0.95; margin: 0 0 32px; }
.s070-hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.s070-hero-cta .btn-lg { min-width: 200px; padding: 14px 28px; font-size: 16px; }
.btn-ghost {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.25); color: #fff; }

/* Section common */
.s070-section { margin-bottom: 64px; }
.s070-section-head { text-align: center; margin-bottom: 40px; }
.s070-section-head h2 { font-size: 28px; margin: 0 0 12px; color: #111827; font-weight: 700; }
.s070-section-head p { color: #6b7280; font-size: 15px; line-height: 1.7; margin: 0; }
.s070-section-tag {
    display: inline-block;
    background: #fef3c7;
    color: #92400e;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

/* Feature grid */
.s070-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.s070-feature-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 28px 24px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.s070-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.s070-feature-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 16px;
}
.s070-feature-card h3 { font-size: 17px; margin: 0 0 10px; color: #111827; }
.s070-feature-card p { color: #6b7280; font-size: 14px; line-height: 1.6; margin: 0; }

/* Why / Reviews */
.s070-why {
    background: #f0f9ff;
    padding: 48px 32px;
    border-radius: 16px;
    margin: 0 0 64px;
}
.s070-review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.s070-review-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.s070-stars { color: #f59e0b; font-size: 14px; letter-spacing: 2px; margin-bottom: 12px; }
.s070-quote {
    color: #374151;
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 20px;
    font-style: italic;
}
.s070-reviewer { display: flex; align-items: center; gap: 12px; }
.s070-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.s070-reviewer strong { display: block; color: #111827; font-size: 14px; }
.s070-reviewer small { color: #6b7280; font-size: 12px; }

/* Price grid */
.s070-price-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}
@media (max-width: 1024px) {
    .s070-price-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .s070-price-grid { grid-template-columns: 1fr; }
}

.s070-price-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 28px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.s070-price-card:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 16px rgba(37,99,235,0.1);
}
.s070-price-icon {
    width: 56px; height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 16px;
}
.s070-price-card h3 { font-size: 17px; margin: 0 0 10px; color: #111827; }
.s070-price-card p { color: #6b7280; font-size: 14px; line-height: 1.7; margin: 0; }
.s070-price-card strong { color: #2563eb; font-weight: 700; }
.s070-price-note { text-align: center; color: #9ca3af; font-size: 13px; margin: 0; }

/* FAQ section */
/* 기존: max-width 좁게 설정된 부분 제거/수정 */
.s070-faq {
    max-width: 100%;          /* 기존에 800px 등으로 제한되어 있을 가능성 */
    margin: 0 auto;
}
.s070-faq-list {
    max-width: 100%;          /* 동일 */
    width: 100%;
}
.s070-faq-list details {
    width: 100%;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 12px;
}
.s070-faq-list summary {
    font-weight: 600;
    color: #111827;
    cursor: pointer;
}
.s070-faq-list details[open] summary {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}


.s070-cta-bottom h2 { font-size: 26px; margin: 0 0 12px; color: #111827; }
.s070-cta-bottom p { color: #6b7280; font-size: 16px; margin: 0 0 24px; }
.s070-cta-bottom .btn-lg { padding: 14px 32px; font-size: 16px; }

/* Mobile */
@media (max-width: 640px) {
    .s070-hero { padding: 48px 24px; }
    .s070-hero h1 { font-size: 26px; }
    .s070-hero-sub { font-size: 15px; }
    .s070-section-head h2 { font-size: 22px; }
    .s070-why { padding: 32px 20px; }
    .s070-cta-bottom { padding: 40px 20px; }
    .s070-cta-bottom h2 { font-size: 20px; }
}
