/* ========================================
   QCLAB ScanTracer - 스타일시트
   GMP 데이터 무결성 솔루션
   ======================================== */

/* ========================================
   전역 스타일 (Global Styles)
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    overflow-x: hidden;
}

/* ========================================
   히어로 섹션 (Hero Section)
   ======================================== */

.hero {
    background: linear-gradient(135deg, #0066cc 0%, #004999 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.logo-container {
    margin-bottom: 30px;
}

.tagline {
    font-size: 1.8em;
    margin-bottom: 15px;
    font-weight: 600;
}

.subtitle {
    font-size: 1.2em;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* ========================================
   버튼 스타일 (Button Styles)
   ======================================== */

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 40px;
    font-size: 1.1em;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: white;
    color: #0066cc;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #0066cc;
}

/* ========================================
   공통 레이아웃 (Common Layout)
   ======================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 50px;
    color: #1a1a1a;
    font-weight: 700;
}

/* ========================================
   STEP 1: 데모 섹션 (Demo Section)
   ======================================== */

.demo-section {
    padding: 80px 20px;
    background: #f8f9fa;
}

.demo-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.upload-area {
    border: 3px dashed #0066cc;
    border-radius: 15px;
    padding: 60px 40px;
    text-align: center;
    background: #f8f9ff;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 30px;
}

.upload-area:hover,
.upload-area:focus {
    background: #e8f0ff;
    border-color: #004999;
    outline: none;
}

.upload-area:focus {
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.3);
}

.upload-area.dragover {
    background: #d4e4ff;
    border-color: #003366;
}

.upload-icon {
    font-size: 4em;
    margin-bottom: 20px;
}

.upload-text {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 10px;
}

.upload-hint {
    font-size: 0.9em;
    color: #999;
}

.file-input {
    display: none;
}

.file-preview {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: none;
}

.file-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.file-name {
    font-weight: 600;
    color: #1a1a1a;
    word-break: break-all;
}

.file-type-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 10px;
    background: #e9ecef;
    color: #495057;
}

.badge-pdf { background: #ff6b6b; color: white; }
.badge-excel { background: #51cf66; color: white; }
.badge-word { background: #339af0; color: white; }
.badge-image { background: #fcc419; color: #333; }

.remove-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.remove-btn:hover {
    background: #c82333;
}

.remove-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.3);
}

.generate-btn {
    width: 100%;
    padding: 18px;
    background: #0066cc;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.generate-btn:hover {
    background: #004999;
    transform: translateY(-2px);
}

/* ========================================
   QR 코드 출력 영역
   ======================================== */

.qr-output {
    display: none;
    margin-top: 40px;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 15px;
}

.qr-success-title {
    text-align: center;
    margin-bottom: 30px;
    color: #2f9e44;
    font-size: 1.4rem;
}

.qr-output h3 {
    text-align: center;
    margin-bottom: 30px;
    color: #0066cc;
}

.qr-info {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.qr-info p {
    margin: 5px 0;
    font-size: 1rem;
    color: #333;
}

.qr-data-preview {
    margin-top: 10px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #333;
    text-align: left;
    max-height: 150px;
    overflow-y: auto;
    word-break: break-all;
}

.qr-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
}

.qr-pair {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    border: 2px solid #e9ecef;
}

.qr-pair-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #dee2e6;
}

.qr-pair-number {
    background: #0066cc;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1em;
    flex-shrink: 0;
}

.qr-pair-title {
    font-weight: 600;
    color: #333;
    font-size: 0.95em;
    word-break: break-word;
    line-height: 1.4;
}

.qr-pair-codes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.qr-single {
    text-align: center;
    background: white;
    padding: 10px;
    border-radius: 8px;
}

.qr-type-badge {
    font-size: 0.85em;
    font-weight: 700;
    margin-bottom: 8px;
    padding: 5px 10px;
    border-radius: 5px;
    display: inline-block;
}

.qr-type-badge.start {
    background: #d4edda;
    color: #155724;
}

.qr-type-badge.end {
    background: #f8d7da;
    color: #721c24;
}

.qr-code-mini {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px;
    margin: 5px auto;
}

.qr-code-mini img {
    border-radius: 5px;
}

.qr-item-single {
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid #e9ecef;
}

.qr-number {
    font-size: 1.1em;
    font-weight: 700;
    color: #0066cc;
    margin-bottom: 10px;
}

.qr-code-small {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 120px;
    margin: 10px auto;
    background: #fff;
    border-radius: 5px;
}

.qr-label-small {
    margin-top: 10px;
    font-size: 0.85em;
    color: #666;
    word-break: break-word;
    line-height: 1.3;
}

.qr-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.qr-label {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #0066cc;
}

.qr-code {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 256px;
    margin: 20px auto;
    background: #fff;
    border-radius: 10px;
}

.qr-timestamp {
    margin-top: 15px;
    font-size: 0.9em;
    color: #666;
}

/* QR 액션 버튼들 */
.qr-action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.print-btn,
.insert-btn {
    flex: 1;
    min-width: 200px;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.print-btn {
    background: #28a745;
    color: white;
}

.print-btn:hover {
    background: #218838;
    transform: translateY(-2px);
}

.print-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.3);
}

.insert-btn {
    background: #0066cc;
    color: white;
}

.insert-btn:hover {
    background: #004999;
    transform: translateY(-2px);
}

.insert-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.3);
}

/* ========================================
   STEP 2: 스캔 섹션 (Scan Section)
   ======================================== */

.scan-section {
    padding: 80px 20px;
    background: white;
}

/* 스캔 방법 선택 탭 */
.scan-method-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 15px 30px;
    background: #f8f9fa;
    color: #666;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 600;
    transition: all 0.3s;
}

.tab-btn:hover {
    background: #e9ecef;
    color: #333;
}

.tab-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.3);
}

.tab-btn.active {
    background: #0066cc;
    color: white;
    border-color: #0066cc;
}

/* 스캔 방법 섹션 */
.scan-method {
    max-width: 900px;
    margin: 0 auto;
}

.scan-demo {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 50px;
    color: white;
    text-align: center;
}

/* 방법별 특징 */
.method-features {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.feature-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9em;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

/* 스마트폰 모형 */
.phone-mockup {
    background: #1a1a1a;
    border-radius: 30px;
    padding: 15px;
    max-width: 430px;
    margin: 30px auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.phone-screen {
    background: white;
    border-radius: 20px;
    padding: 30px;
    min-height: 400px;
    color: #1a1a1a;
}

/* 블루투스 스캐너 모형 */
.scanner-mockup {
    max-width: 500px;
    margin: 30px auto;
}

.scanner-device {
    background: linear-gradient(145deg, #2c3e50, #34495e);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.scanner-screen {
    background: #1a1a1a;
    border-radius: 15px;
    padding: 20px;
    border: 3px solid #444;
}

.scanner-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9em;
    font-weight: 600;
}

.status-indicator.connected {
    color: #4CAF50;
}

.battery-level {
    font-size: 0.9em;
    color: #FFC107;
    font-weight: 600;
}

/* 스캔 버튼 */
.scan-btn {
    width: 100%;
    padding: 20px;
    background: #0066cc;
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s;
}

.scan-btn:hover {
    background: #004999;
    transform: translateY(-2px);
}

.scan-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.5);
}

.scan-btn.end {
    background: #dc3545;
}

.scan-btn.end:hover {
    background: #c82333;
}

.scan-btn.scanner {
    background: linear-gradient(135deg, #0066cc, #004999);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.scan-btn.scanner:hover {
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.scan-btn.scanner.end {
    background: linear-gradient(135deg, #dc3545, #c82333);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.scan-btn.scanner.end:hover {
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

/* 스캔 결과 */
.scan-result {
    display: none;
    margin-top: 20px;
    padding: 20px;
    background: #e8f5e9;
    border-radius: 10px;
    border-left: 4px solid #28a745;
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #c8e6c9;
}

.result-item:last-child {
    border-bottom: none;
}

.result-label {
    font-weight: 600;
    color: #1b5e20;
}

.result-value {
    color: #2e7d32;
}

/* ========================================
   STEP 3: 클라우드 섹션 (Cloud Section)
   ======================================== */

.cloud-section {
    padding: 80px 20px;
    background: #f8f9fa;
}

.cloud-visual {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.upload-animation {
    font-size: 5em;
    margin: 30px 0;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.data-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.data-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.data-card-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.data-card-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: #0066cc;
}

/* ========================================
   STEP 4: 리포트 섹션 (Report Section)
   ======================================== */

.report-section {
    padding: 80px 20px;
    background: white;
}

.report-preview {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border: 2px solid #ddd;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.report-header {
    border-bottom: 3px solid #0066cc;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.report-title {
    font-size: 2em;
    font-weight: 700;
    color: #0066cc;
    margin-bottom: 10px;
}

.report-meta {
    color: #666;
    font-size: 0.9em;
}

.report-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    table-layout: fixed;
}

.report-table th {
    background: #f8f9fa;
    padding: 12px 6px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #ddd;
    font-size: 0.85em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.report-table td {
    padding: 12px 6px;
    border-bottom: 1px solid #eee;
    font-size: 0.8em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

/* 화면용 테이블 열 너비 - 한 줄로 모든 내용 표시 */
.report-table th:nth-child(1),
.report-table td:nth-child(1) {
    width: 20%;
}

.report-table th:nth-child(2),
.report-table td:nth-child(2) {
    width: 15%;
    text-align: center;
}

.report-table th:nth-child(3),
.report-table td:nth-child(3) {
    width: 25%;
}

.report-table th:nth-child(4),
.report-table td:nth-child(4) {
    width: 30%;
}

.report-table th:nth-child(5),
.report-table td:nth-child(5) {
    width: 15%;
    text-align: center;
}

.report-table tr:hover {
    background: #f8f9fa;
}

.status-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.85em;
    font-weight: 600;
    background: #d4edda;
    color: #155724;
}

.report-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.report-info h4 {
    margin-bottom: 15px;
    color: #0066cc;
}

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

.report-info li {
    padding: 8px 0;
}

/* 서명 섹션 - 화면에서는 숨김, 인쇄시에만 표시 */
.signature-section {
    display: none;
}

.signature-row {
    display: flex;
    justify-content: flex-end;
    gap: 40px;
    align-items: center;
}

.signature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.signature-label {
    font-weight: 700;
    font-size: 0.9em;
    color: #333;
    white-space: nowrap;
}

.signature-line {
    width: 120px;
    height: 20px;
    border: none;
    border-bottom: 2px solid #333;
    background: transparent;
}

.download-report-btn {
    width: 100%;
    padding: 18px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.download-report-btn:hover {
    background: #218838;
    transform: translateY(-2px);
}

.download-report-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.3);
}

/* ========================================
   서비스 단계 섹션 (Tiers Section)
   ======================================== */

.tiers {
    padding: 80px 20px;
    background: linear-gradient(to bottom, #f8f9fa, white);
}

.tier-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.tier-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    border: 3px solid transparent;
    position: relative;
}

.tier-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.tier-card.featured {
    border-color: #0066cc;
}

.tier-badge {
    position: absolute;
    top: -15px;
    right: 150px;
    background: #0066cc;
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
}

.tier-header {
    text-align: center;
    margin-bottom: 30px;
}

.tier-step {
    font-size: 0.9em;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tier-title {
    font-size: 2em;
    margin: 10px 0;
    color: #1a1a1a;
    font-weight: 700;
}

.tier-description {
    color: #666;
    margin-bottom: 30px;
}

.tier-features {
    list-style: none;
    margin-bottom: 30px;
}

.tier-features li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tier-features li:before {
    content: "✓";
    color: #0066cc;
    font-weight: bold;
    margin-right: 10px;
    font-size: 1.2em;
}

.tier-tag {
    display: inline-block;
    background: #e3f2fd;
    color: #0066cc;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.85em;
    margin: 5px 5px 5px 0;
    font-weight: 600;
}

.tier-tag.no {
    background: #fff3e0;
    color: #ff9800;
}

/* ========================================
   B2B Pre-Order Section
   ======================================== */

.preorder-section-b2b {
    padding: 80px 20px;
    background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
    position: relative;
}

.preorder-section-b2b::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, white, transparent);
}

.preorder-section-b2b .section-title {
    color: #0066cc;
    position: relative;
    z-index: 1;
}

.preorder-section-b2b .section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 60px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.preorder-content-b2b {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    position: relative;
    z-index: 1;
}

/* 좌측: 도입 혜택 */
.preorder-benefits {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.benefit-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.15);
    border-color: #0066cc;
}

.benefit-card.highlight {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
    border: 2px solid #0066cc;
}

.benefit-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.benefit-card h3 {
    font-size: 1.4em;
    color: #0066cc;
    margin-bottom: 15px;
    font-weight: 700;
}

.benefit-card ul {
    list-style: none;
    padding-left: 0;
}

.benefit-card ul li {
    padding: 8px 0;
    color: #333;
    position: relative;
    padding-left: 25px;
    line-height: 1.6;
}

.benefit-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: 700;
    font-size: 1.2em;
}

.benefit-card ul li strong {
    color: #0066cc;
    font-weight: 700;
}

/* 우측: 문의 양식 */
.preorder-form-wrapper {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.preorder-form-b2b {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #e9ecef;
}

.preorder-form-b2b h3 {
    font-size: 1.8em;
    color: #0066cc;
    margin-bottom: 10px;
    font-weight: 700;
}

.form-intro {
    color: #666;
    margin-bottom: 30px;
    font-size: 0.95em;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.95em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #0066cc;
}

.form-checkbox label {
    font-size: 0.9em;
    color: #666;
    cursor: pointer;
}

.submit-btn-b2b {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #0066cc 0%, #004999 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.2em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0, 102, 204, 0.3);
}

.submit-btn-b2b:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4);
}

.submit-btn-b2b:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-note {
    font-size: 0.85em;
    color: #999;
    text-align: center;
    margin-top: 15px;
    line-height: 1.6;
}



/* ========================================
   CTA 섹션 (Call-to-Action Section)
   ======================================== */

.cta-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #0066cc 0%, #004999 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2em;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* ========================================
   푸터 (Footer)
   ======================================== */

footer {
    background: #1a1a1a;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: #66d9ff;
    text-decoration: none;
    margin: 0 15px;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* ========================================
   TOP 버튼 (Scroll to Top Button)
   ======================================== */

.top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0066cc 0%, #004999 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.top-btn:hover {
    background: linear-gradient(135deg, #0052a3 0%, #003366 100%);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.6);
    transform: translateY(-3px);
}

.top-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.5), 0 6px 20px rgba(0, 102, 204, 0.6);
}

.top-btn svg {
    width: 24px;
    height: 24px;
}

.top-btn span {
    font-size: 0.7em;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* ========================================
   AI 추출 기능 스타일
   ======================================== */

/* 시험일지 삽입 모달 */
.insert-modal {
    display: block;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.3s ease;
    overflow-y: auto;
}

.insert-modal.show {
    background-color: rgba(0, 0, 0, 0.5);
}

.insert-modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 40px;
    border-radius: 20px;
    max-width: 700px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: translateY(-50px);
    opacity: 0;
    transition: all 0.3s ease;
}

.insert-modal.show .insert-modal-content {
    transform: translateY(0);
    opacity: 1;
}

.insert-modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    background: #f8f9fa;
    color: #666;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 1.3em;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.insert-modal-close:hover {
    background: #dc3545;
    color: white;
    transform: rotate(90deg);
}

.insert-modal-close:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.3);
}

.processing-status {
    display: none;
    margin-top: 25px;
    padding: 25px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 12px;
    text-align: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e3f2fd;
    border-top-color: #0066cc;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: #e0e0e0;
    border-radius: 5px;
    margin-top: 15px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0066cc, #004999);
    border-radius: 5px;
    transition: width 0.3s ease;
    width: 0%;
}

.extracted-items,
.extracted-items-section {
    display: none;
    margin-top: 25px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid #e9ecef;
}

.extracted-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.extracted-header {
    margin-bottom: 20px;
}

.extracted-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 10px 0;
}

.item-count {
    background: #0066cc;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-block;
}

.item-list {
    max-height: 350px;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: white;
}

.extracted-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}

.extracted-item:last-child {
    border-bottom: none;
}

.extracted-item:hover {
    background: #f8f9fa;
}

.extracted-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 15px;
    cursor: pointer;
    accent-color: #0066cc;
}

.extracted-item input[type="checkbox"]:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

.extracted-item label {
    flex: 1;
    font-size: 0.95rem;
    color: #333;
    cursor: pointer;
}

.item-row {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}

.item-row:hover {
    background: #f8f9fa;
}

.item-checkbox {
    width: 20px;
    height: 20px;
    margin-right: 15px;
    cursor: pointer;
    accent-color: #0066cc;
}

.item-number {
    width: 30px;
    color: #999;
    font-size: 0.85rem;
}

.item-name {
    flex: 1;
    font-size: 0.95rem;
    color: #333;
    cursor: pointer;
}

.btn-group {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.select-btn {
    padding: 10px 20px;
    background: #0066cc;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.select-btn:hover {
    background: #004999;
}

.select-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.3);
}

.select-btn.secondary {
    background: #868e96;
}

.select-btn.secondary:hover {
    background: #6c757d;
}

.error-message {
    display: none;
    margin-top: 20px;
    padding: 20px;
    background: #fff5f5;
    border: 2px solid #ff6b6b;
    border-radius: 12px;
    color: #c92a2a;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   Modal Styles
   ======================================== */

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.modal-content h3 {
    font-size: 1.8rem;
    color: #0066cc;
    margin-bottom: 15px;
    font-weight: 700;
}

.modal-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.modal-button {
    padding: 12px 40px;
    background: #0066cc;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-button:hover {
    background: #004999;
    transform: translateY(-2px);
}

/* ========================================
   반응형 디자인 (Responsive Design) - 통합
   ======================================== */

@media (max-width: 768px) {
    .tagline {
        font-size: 1.5em;
    }

    .subtitle {
        font-size: 1em;
    }

    .section-title {
        font-size: 1.8em;
    }

    .demo-container {
        padding: 30px 20px;
    }

    .qr-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .qr-pair-codes {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .tier-cards {
        grid-template-columns: 1fr;
    }

    .top-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .top-btn svg {
        width: 20px;
        height: 20px;
    }

    .top-btn span {
        font-size: 0.65em;
    }

    .data-cards {
        grid-template-columns: 1fr;
    }

    .report-table {
        display: block;
        overflow-x: auto;
    }

    .cta-section h2 {
        font-size: 1.8em;
    }

    .btn-group {
        flex-direction: column;
    }

    .select-btn {
        width: 100%;
    }

    /* 스캔 섹션 모바일 대응 */
    .scan-method-tabs {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .tab-btn {
        width: 100%;
        max-width: 300px;
        padding: 12px 25px;
        font-size: 1em;
    }

    .method-features {
        flex-direction: column;
        gap: 10px;
    }

    .feature-item {
        width: 100%;
        text-align: center;
    }

    .scanner-status {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    /* QR 액션 버튼 모바일 대응 */
    .qr-action-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .print-btn,
    .insert-btn {
        width: 100%;
        min-width: auto;
    }

    /* 서명 섹션 모바일 대응 */
    .signature-row {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .signature-item {
        width: 100%;
        justify-content: flex-start;
    }

    .signature-line {
        width: 200px;
    }

    /* 모달 모바일 대응 */
    .insert-modal-content {
        margin: 10% auto;
        padding: 30px 20px;
        width: 95%;
    }

    .insert-modal-close {
        right: 15px;
        top: 15px;
        width: 30px;
        height: 30px;
        font-size: 1.1em;
    }
    
    /* B2B Pre-Order 모바일 대응 */
    .preorder-content-b2b {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .preorder-section-b2b .section-subtitle {
        font-size: 1rem;
    }
    
    .benefit-card {
        padding: 25px;
    }
    
    .preorder-form-b2b {
        padding: 30px 20px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .qr-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tier-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .preorder-content-b2b {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   인쇄 스타일 (Print Styles) - 완전 분리
   ======================================== */

@media print {
    @page {
        size: A4;
        margin: 10mm 25mm;
    }

    body {
        background: white !important;
        font-family: Arial, sans-serif !important;
        font-size: 12px !important;
        line-height: 1.4 !important;
        color: #000 !important;
    }

    /* 기본적으로 모든 섹션 숨김 */
    .hero,
    .scan-section,
    .cloud-section,
    .tiers,
    .preorder-section-b2b,
    .cta-section,
    footer,
    .top-btn,
    .insert-modal {
        display: none !important;
    }

    /* STEP 1 QR 코드 출력을 위해 demo-section은 조건부 숨김 */
    body.printing-report .demo-section {
        display: none !important;
    }

    /* ===== STEP 1: QR 코드 출력 (기본 상태) ===== */
    body:not(.printing-report) .demo-section {
        display: block !important;
        padding: 0 !important;
        background: white !important;
    }

    body:not(.printing-report) .container {
        display: block !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body:not(.printing-report) .section-title {
        display: none !important;
    }

    body:not(.printing-report) .demo-container {
        display: block !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        background: white !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    body:not(.printing-report) .upload-area,
    body:not(.printing-report) .file-preview,
    body:not(.printing-report) .processing-status,
    body:not(.printing-report) .extracted-items-section {
        display: none !important;
    }

    body:not(.printing-report) .report-section {
        display: none !important;
    }

    body:not(.printing-report) .qr-output {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        background: white !important;
    }

    body:not(.printing-report) .qr-success-title {
        display: none !important;
    }

    body:not(.printing-report) .qr-info {
        display: none !important;
    }

    body:not(.printing-report) .qr-action-buttons {
        display: none !important;
    }

    body:not(.printing-report) .qr-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
        padding: 0 !important;
        width: 100% !important;
        background: white !important;
        margin: 0 !important;
    }

    /* 항목 수에 따른 인쇄용 레이아웃 조정 */
    body:not(.printing-report) .qr-grid.items-20 {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 5px !important;
    }

    body:not(.printing-report) .qr-grid.items-15 {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6px !important;
    }

    body:not(.printing-report) .qr-grid.items-10 {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
    }

    body:not(.printing-report) .qr-pair {
        display: block !important;
        padding: 10px !important;
        page-break-inside: avoid !important;
        border: 1px solid #ddd !important;
        background: #f8f9fa !important;
        border-radius: 8px !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    body:not(.printing-report) .qr-grid.items-20 .qr-pair {
        padding: 6px !important;
    }

    body:not(.printing-report) .qr-pair-header {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        margin-bottom: 10px !important;
        padding-bottom: 8px !important;
        border-bottom: 1px solid #dee2e6 !important;
    }

    body:not(.printing-report) .qr-pair-number {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 24px !important;
        height: 24px !important;
        font-size: 0.8em !important;
        font-weight: 700 !important;
        background: #0066cc !important;
        color: white !important;
        border-radius: 50% !important;
        flex-shrink: 0 !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    body:not(.printing-report) .qr-grid.items-20 .qr-pair-number {
        width: 20px !important;
        height: 20px !important;
        font-size: 0.7em !important;
    }

    body:not(.printing-report) .qr-pair-title {
        display: block !important;
        font-size: 0.7em !important;
        line-height: 1.3 !important;
        font-weight: 600 !important;
        color: #333 !important;
        word-break: break-word !important;
    }

    body:not(.printing-report) .qr-grid.items-20 .qr-pair-title {
        font-size: 0.6em !important;
    }

    body:not(.printing-report) .qr-pair-codes {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }

    body:not(.printing-report) .qr-grid.items-20 .qr-pair-codes {
        gap: 5px !important;
    }

    body:not(.printing-report) .qr-single {
        display: block !important;
        text-align: center !important;
        padding: 8px !important;
        background: white !important;
        border-radius: 5px !important;
    }

    body:not(.printing-report) .qr-type-badge {
        display: inline-block !important;
        font-size: 0.7em !important;
        font-weight: 700 !important;
        padding: 4px 8px !important;
        margin-bottom: 8px !important;
        border-radius: 5px !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    body:not(.printing-report) .qr-grid.items-20 .qr-type-badge {
        font-size: 0.6em !important;
        padding: 2px 5px !important;
        margin-bottom: 4px !important;
    }

    body:not(.printing-report) .qr-type-badge.start {
        background: #d4edda !important;
        color: #155724 !important;
    }

    body:not(.printing-report) .qr-type-badge.end {
        background: #f8d7da !important;
        color: #721c24 !important;
    }

    body:not(.printing-report) .qr-code-mini {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        min-height: 80px !important;
        margin: 5px auto !important;
    }

    body:not(.printing-report) .qr-grid.items-20 .qr-code-mini {
        min-height: 60px !important;
    }

    body:not(.printing-report) .qr-code-mini img {
        width: 75px !important;
        height: 75px !important;
        border-radius: 3px !important;
    }

    body:not(.printing-report) .qr-grid.items-20 .qr-code-mini img {
        width: 55px !important;
        height: 55px !important;
    }

    /* ===== STEP 4: 리포트 출력 (printing-report 클래스 있을 때) ===== */
    body.printing-report .qr-output {
        display: none !important;
    }

    body.printing-report .report-section {
        display: block !important;
        padding: 0 !important;
        background: white !important;
    }

    body.printing-report .container {
        display: block !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.printing-report .section-title {
        display: none !important;
    }

    body.printing-report .report-preview {
        display: block !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
        max-width: none !important;
        background: white !important;
        border-radius: 0 !important;
    }

    body.printing-report .report-header {
        display: block !important;
        border-bottom: 2px solid #0066cc !important;
        margin-bottom: 15px !important;
        padding-bottom: 10px !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    body.printing-report .report-title {
        display: block !important;
        color: #0066cc !important;
        font-size: 1.5em !important;
        font-weight: 700 !important;
        margin: 0 0 5px 0 !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    body.printing-report .report-meta {
        display: block !important;
        font-size: 0.8em !important;
        color: #666 !important;
        margin: 0 !important;
    }

    body.printing-report .report-table {
        display: table !important;
        border-collapse: collapse !important;
        width: 90% !important;
        font-size: 0.7em !important;
        margin: 0 auto 15px auto !important;
        table-layout: fixed !important;
    }

    body.printing-report .report-table thead {
        display: table-header-group !important;
    }

    body.printing-report .report-table tbody {
        display: table-row-group !important;
    }

    body.printing-report .report-table tr {
        display: table-row !important;
    }

    body.printing-report .report-table th,
    body.printing-report .report-table td {
        display: table-cell !important;
        border: 1px solid #ddd !important;
        padding: 4px 3px !important;
        text-align: left !important;
        vertical-align: middle !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        line-height: 1.1 !important;
        font-size: 0.9em !important;
    }

    body.printing-report .report-table th {
        background: #f8f9fa !important;
        font-weight: 600 !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    body.printing-report .status-badge {
        display: inline-block !important;
        background: #d4edda !important;
        color: #155724 !important;
        padding: 3px 10px !important;
        border-radius: 10px !important;
        font-size: 0.75em !important;
        font-weight: 600 !important;
        white-space: nowrap !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    body.printing-report .report-info {
        display: block !important;
        background: #f8f9fa !important;
        padding: 10px !important;
        border-radius: 5px !important;
        margin-bottom: 15px !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    body.printing-report .report-info h4 {
        display: block !important;
        color: #0066cc !important;
        font-size: 1em !important;
        font-weight: 600 !important;
        margin: 0 0 8px 0 !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    body.printing-report .report-info ul {
        display: block !important;
        margin: 0 !important;
        padding-left: 15px !important;
        list-style: none !important;
    }

    body.printing-report .report-info li {
        display: list-item !important;
        padding: 2px 0 !important;
        font-size: 0.8em !important;
        line-height: 1.3 !important;
        list-style: none !important;
    }

    body.printing-report .signature-section {
        display: block !important;
        margin-top: 20px !important;
        padding: 15px 0 0 0 !important;
        border-top: 1px solid #333 !important;
    }

    body.printing-report .signature-row {
        display: flex !important;
        justify-content: flex-end !important;
        gap: 40px !important;
        align-items: center !important;
    }

    body.printing-report .signature-item {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
    }

    body.printing-report .signature-label {
        display: inline-block !important;
        font-weight: 700 !important;
        font-size: 0.9em !important;
        color: #333 !important;
        white-space: nowrap !important;
    }

    body.printing-report .signature-line {
        display: inline-block !important;
        width: 120px !important;
        height: 20px !important;
        border: none !important;
        border-bottom: 2px solid #333 !important;
        background: transparent !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    body.printing-report .download-report-btn {
        display: none !important;
    }

    /* 테이블 열 너비 - 한 줄로 모든 내용 표시 */
    body.printing-report .report-table th:nth-child(1),
    body.printing-report .report-table td:nth-child(1) {
        width: 25% !important;
    }

    body.printing-report .report-table th:nth-child(2),
    body.printing-report .report-table td:nth-child(2) {
        width: 15% !important;
        text-align: center !important;
    }

    body.printing-report .report-table th:nth-child(3),
    body.printing-report .report-table td:nth-child(3) {
        width: 25% !important;
    }

    body.printing-report .report-table th:nth-child(4),
    body.printing-report .report-table td:nth-child(4) {
        width: 25% !important;
    }

    body.printing-report .report-table th:nth-child(5),
    body.printing-report .report-table td:nth-child(5) {
        width: 15% !important;
        text-align: center !important;
    }
}