/* ============================================
   리서치 리포트 페이지 스타일
   Research Report Page Styles
   ============================================ */

/* 페이지 전체 배경 */
.research-container {
    background: #ffffff; /* 흰색 배경 */
    position: relative;
    padding-bottom: 0;
}

/* Hero section 아래 배경을 hero와 동일하게 */
.research-container > .hero-section {
    background: radial-gradient(circle at 40% 70%, #0b2242 0%, #15161b 100%);
}

/* === Hero Section (market.html 스타일 참고) === */
.hero-section.start {
    background: radial-gradient(circle at 40% 70%, #0b2242 0%, #15161b 100%);
    color: var(--color-text-light);
    min-height: 45vh; /* 최소 높이만 설정, 내용에 맞게 자동 확장 */
    height: auto; /* 내용에 맞게 자동 높이 조정 */
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
    padding: 2rem 0 80px 0;
    text-align: left;
    z-index: 1;
    overflow: hidden; /* 스크롤 완전히 방지, 내용은 높이 자동 조정으로 모두 표시 */
    margin-top: calc(-1 * var(--navbar-height));
    padding-top: calc(var(--navbar-height) + 1rem);
    padding-bottom: 80px;
    margin-bottom: 0;
}

.cc-svg-overlay {
    position: absolute;
    top: calc(-1 * var(--navbar-height));
    left: 0;
    width: 100%;
    height: calc(100% + 80px); /* hero-section보다 80px 더 길게 */
    z-index: 10;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* 넘치는 부분 숨기기 */
}

.cc-svg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    filter: brightness(1.0);
}

.hero-section .container {
    position: relative;
    z-index: 50 !important;
    margin-left: 8.75rem !important;
    text-align: left !important;
}

.hero-section .headline-big {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-text-light);
    margin-bottom: 1rem !important;
    margin-top: 0 !important;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8), 0 0 10px rgba(0,0,0,0.5);
    position: relative;
    z-index: 50 !important;
    line-height: 1.2;
}

.hero-section .small_words h4 {
    font-family: var(--font-korean);
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--color-text-light);
    opacity: 0.85;
    line-height: 1.6;
    margin-bottom: 0;
    margin-top: 0;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6), 0 0 6px rgba(0,0,0,0.3);
    position: relative;
    z-index: 50 !important;
}

.hero-section .small_words {
    margin-bottom: 1.5rem !important;
    margin-top: 0 !important;
}

.hero-cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    position: relative;
    z-index: 50 !important;
}

/* 업로드 버튼 스타일 개선 */
.hero-section .btn.start_b {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    padding: 0.85rem 2rem;
    background-color: #ffffff !important;
    border: 2px solid #87CEEB !important;
    border-radius: 30px !important;
    color: #0b2242 !important;
    text-transform: none;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 50 !important;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.hero-section .btn.start_b i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.hero-section .btn.start_b:hover {
    background-color: #4da6ff !important;
    color: #ffffff !important;
    border-color: #4da6ff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(77, 166, 255, 0.4);
}

.hero-section .btn.start_b:hover i {
    transform: translateY(-2px) scale(1.1);
}

.hero-section .btn.start_b:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(77, 166, 255, 0.3);
}

.fade-in-delay {
    animation: fadeIn 0.8s ease-in-out;
}

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

/* === Main Content Card === */
.research-main-content {
    padding-top: 0 !important;
    padding-bottom: 2rem;
    background: transparent;
    position: relative;
    z-index: 2;
    margin-top: -60px; /* hero-section과 겹치도록 */
}

.research-content-card {
    background: #ffffff;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1), 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-top: -60px; /* 헤더에 겹치도록 */
    padding: 3rem 2rem 4rem 2rem; /* 하단 패딩 증가로 푸터 공간 확보 */
    position: relative;
    z-index: 2;
    min-height: 400px;
    border: none; /* 남색 선 제거 */
}

/* hero-section과 content-card 사이 간격 제거 */
.research-main-content {
    background: #ffffff; /* 흰색 배경으로 간격이 보이지 않도록 */
}

/* Main content 아래 배경 - 제거 (푸터가 잘리는 문제 해결) */

/* === Filter Section === */
.filter-section {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    border: 1px solid #e9ecef;
}

.search-box {
    position: relative;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}

.search-box input {
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border-radius: 10px;
    border: 2px solid #e0e6ed;
    font-size: 0.95rem;
    font-weight: 500;
    color: #2c3e50;
    background: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.search-box input::placeholder {
    color: #6c757d;
    font-weight: 400;
}

.search-box input:hover {
    border-color: #0b2242;
    box-shadow: 0 4px 8px rgba(11, 34, 66, 0.1);
    transform: translateY(-1px);
}

.search-box input:focus {
    outline: none;
    border-color: #0b2242;
    box-shadow: 0 0 0 3px rgba(11, 34, 66, 0.1), 0 4px 12px rgba(11, 34, 66, 0.15);
    background-color: #ffffff;
}

/* 필터 드롭다운 공통 스타일 */
.research-filter-select,
.research-filter-select.form-select {
    background: #ffffff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232c3e50' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    background-size: 12px !important;
    border: 2px solid #e0e6ed !important;
    border-radius: 10px !important;
    padding: 0.75rem 2.5rem 0.75rem 1rem !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    color: #2c3e50 !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04) !important;
    width: 100% !important;
    /* 브라우저 기본 스타일 제거 */
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    -ms-appearance: none !important;
    /* 텍스트 선택 방지 */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.research-filter-select:hover,
.research-filter-select.form-select:hover {
    border-color: #0b2242 !important;
    box-shadow: 0 4px 8px rgba(11, 34, 66, 0.1) !important;
    transform: translateY(-1px);
}

.research-filter-select:focus,
.research-filter-select.form-select:focus {
    outline: none !important;
    border-color: #0b2242 !important;
    box-shadow: 0 0 0 3px rgba(11, 34, 66, 0.1), 0 4px 12px rgba(11, 34, 66, 0.15) !important;
    background-color: #ffffff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%230b2242' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
}

/* 드롭다운 옵션 스타일 개선 */
.research-filter-select option {
    padding: 0.875rem 1rem;
    font-weight: 500;
    color: #2c3e50;
    background-color: #ffffff;
    border: none;
}

.research-filter-select option:first-child {
    color: #6c757d;
    font-weight: 400;
    background-color: #ffffff;
}

.research-filter-select option:not(:first-child) {
    background-color: #ffffff;
    color: #2c3e50;
}

.research-filter-select option:not(:first-child):hover,
.research-filter-select option:not(:first-child):checked {
    background-color: #f8f9fa;
    color: #0b2242;
    font-weight: 600;
}

/* 검색 버튼 스타일 */
.btn-search {
    width: 100%;
    height: 100%;
    min-height: 48px;
    background: linear-gradient(135deg, #0b2242 0%, #1a3a5c 100%);
    border: 2px solid #0b2242;
    border-radius: 10px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(11, 34, 66, 0.2);
    padding: 0;
}

.btn-search:hover {
    background: linear-gradient(135deg, #1a3a5c 0%, #0b2242 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 34, 66, 0.3);
    border-color: #1a3a5c;
}

.btn-search:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(11, 34, 66, 0.2);
}

.btn-search i {
    font-size: 1rem;
    margin: 0;
}

/* 검색 제안 드롭다운 */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    margin-top: 4px;
}

.search-suggestions.show {
    display: block;
}

.suggestion-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.suggestion-item:hover {
    background-color: #f8f9fa;
}

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

.suggestion-item .suggestion-text {
    color: #212529;
    font-size: 0.95rem;
}

.suggestion-item .suggestion-highlight {
    color: #0d6efd;
    font-weight: 600;
}

/* 검색 태그 */
.search-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.search-tag-label {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
    margin-right: 0.25rem;
}

.search-tag {
    background: #e9ecef;
    color: #495057;
    border: none;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.search-tag:hover {
    background: #0d6efd;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(13, 110, 253, 0.3);
}

.search-tag:active {
    transform: translateY(0);
}

/* 필터 태그 */
.filter-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.filter-tag-label {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
    margin-right: 0.25rem;
}

.filter-tag {
    background: #e9ecef;
    color: #495057;
    border: none;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.filter-tag:hover {
    background: #0d6efd;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(13, 110, 253, 0.3);
}

.filter-tag.active {
    background: #0d6efd;
    color: #ffffff;
    font-weight: 600;
}

.filter-tag:active {
    transform: translateY(0);
}

/* === Reports Grid === */
.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.report-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.report-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0b2242 0%, #1a365d 50%, #3182ce 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.report-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(11, 34, 66, 0.12), 0 4px 10px rgba(11, 34, 66, 0.08);
    border-color: #cbd5e0;
}

.report-card:hover::before {
    opacity: 1;
}

.report-card-header {
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #0b2242 0%, #1a365d 100%);
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    position: relative;
}

.report-card-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
}

.report-category-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0.3px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.report-category-badge i {
    font-size: 0.75rem;
    opacity: 0.9;
}

.report-meta-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.report-language-badge,
.report-company-badge {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    padding: 0.35rem 0.7rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.report-card-body {
    padding: 1.75rem 1.5rem;
    flex: 1;
    background: #ffffff;
}

.report-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.875rem;
    line-height: 1.4;
    color: #1a202c;
}

.report-title a {
    color: #1a202c;
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
}

.report-title a:hover {
    color: #3182ce;
}

.report-abstract {
    color: #4a5568;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.report-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.report-tag {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    color: #2d3748;
    padding: 0.4rem 0.85rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.report-tag:hover {
    background: linear-gradient(135deg, #ebf8ff 0%, #bee3f8 100%);
    border-color: #3182ce;
    color: #3182ce;
    transform: translateY(-1px);
}

.report-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-top: 1px solid #e2e8f0;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
}

.report-author {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #4a5568;
    font-size: 0.875rem;
    font-weight: 500;
}

.report-author i {
    color: #3182ce;
    font-size: 0.9rem;
}

.report-stats {
    display: flex;
    gap: 1.25rem;
    color: #718096;
    font-size: 0.8rem;
    font-weight: 500;
}

.report-stat {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s ease;
}

.report-stat:hover {
    color: #2d3748;
}

.report-stat i {
    font-size: 0.85rem;
    opacity: 0.7;
}

.report-stat:nth-child(1) i {
    color: #3182ce;
}

.report-stat:nth-child(2) i {
    color: #e53e3e;
}

.report-stat:nth-child(3) i {
    color: #38a169;
}

.report-card-actions {
    display: flex;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    border-top: 1px solid #e2e8f0;
    background: #ffffff;
}

.btn-like {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    color: #4a5568;
    cursor: pointer;
    padding: 0.625rem 1.125rem;
    border-radius: 10px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    min-width: 90px;
    justify-content: center;
}

.btn-like:hover:not(:disabled) {
    border-color: #fc8181;
    color: #e53e3e;
    background: #fff5f5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.15);
}

.btn-like.liked {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    border-color: #e53e3e;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.25);
}

.btn-like.liked:hover {
    background: linear-gradient(135deg, #c53030 0%, #9b2c2c 100%);
    box-shadow: 0 6px 16px rgba(229, 62, 62, 0.3);
}

.btn-like:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.btn-download,
.btn-view {
    background: linear-gradient(135deg, #3182ce 0%, #2c5aa0 100%);
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 0.625rem 1.125rem;
    border-radius: 10px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    flex: 1;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(49, 130, 206, 0.2);
}

.btn-download:hover,
.btn-view:hover {
    background: linear-gradient(135deg, #2c5aa0 0%, #1a365d 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(49, 130, 206, 0.3);
}

.btn-view {
    background: linear-gradient(135deg, #0b2242 0%, #1a365d 100%);
    box-shadow: 0 2px 8px rgba(11, 34, 66, 0.2);
}

.btn-view:hover {
    background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
    box-shadow: 0 6px 16px rgba(11, 34, 66, 0.3);
}

/* === 리포트 상세 모달 === */
.report-detail-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 34, 66, 0.85);
    backdrop-filter: blur(10px);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 2rem;
}

.report-detail-modal.show {
    display: flex;
    opacity: 1;
}

.report-detail-modal-content {
    background: #ffffff;
    border-radius: 20px;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.95);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.report-detail-modal.show .report-detail-modal-content {
    transform: scale(1);
}

.report-detail-modal-header {
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, #0b2242 0%, #1a365d 100%);
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.report-detail-modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    flex: 1;
    padding-right: 1rem;
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.4;
}

.report-detail-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.report-detail-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.report-detail-modal-body {
    padding: 2rem 2.5rem;
    overflow-y: auto;
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.report-detail-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.report-detail-meta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.report-detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.report-detail-category,
.report-detail-language,
.report-detail-company {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    color: #2d3748;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid #e2e8f0;
}

.report-detail-category {
    background: linear-gradient(135deg, #ebf8ff 0%, #bee3f8 100%);
    color: #2c5282;
    border-color: #3182ce;
}

.report-detail-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #4a5568;
    font-size: 0.95rem;
    font-weight: 500;
}

.report-detail-author i {
    color: #3182ce;
    font-size: 1rem;
}

.report-detail-stats {
    display: flex;
    gap: 1.5rem;
    color: #718096;
    font-size: 0.9rem;
    font-weight: 500;
}

.report-detail-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.report-detail-stat:nth-child(1) i {
    color: #3182ce;
}

.report-detail-stat:nth-child(2) i {
    color: #e53e3e;
}

.report-detail-stat:nth-child(3) i {
    color: #38a169;
}

.report-detail-abstract {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.report-detail-abstract h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.75rem;
}

.report-detail-abstract p {
    color: #4a5568;
    line-height: 1.7;
    margin: 0;
}

.report-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.report-detail-tag {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    color: #2d3748;
    padding: 0.4rem 0.85rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #e2e8f0;
}

.report-detail-preview {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.report-detail-preview h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
}

.pdf-preview-container {
    position: relative;
    background: #f9fafb;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#pdfPreviewCanvas {
    max-width: 100%;
    height: auto;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pdf-preview-loading,
.pdf-preview-error {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #718096;
}

.pdf-preview-loading i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #3182ce;
}

.pdf-preview-error i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #e53e3e;
}

.report-detail-modal-footer {
    padding: 1.5rem 2.5rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    flex-shrink: 0;
    background: #f9fafb;
}

.btn-like-modal,
.btn-share-modal,
.btn-download-modal {
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-like-modal {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    color: #4a5568;
}

.btn-like-modal:hover {
    border-color: #fc8181;
    color: #e53e3e;
    background: #fff5f5;
}

.btn-like-modal.liked {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    border-color: #e53e3e;
    color: #ffffff;
}

.btn-share-modal {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    color: #4a5568;
}

.btn-share-modal:hover {
    border-color: #3182ce;
    color: #3182ce;
    background: #ebf8ff;
    transform: translateY(-2px);
}

.btn-share-modal.copied {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    border-color: #38a169;
    color: #ffffff;
}

.btn-download-modal {
    background: linear-gradient(135deg, #3182ce 0%, #2c5aa0 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(49, 130, 206, 0.2);
}

.btn-download-modal:hover {
    background: linear-gradient(135deg, #2c5aa0 0%, #1a365d 100%);
    box-shadow: 0 4px 12px rgba(49, 130, 206, 0.3);
    transform: translateY(-2px);
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .report-detail-modal {
        padding: 1rem;
    }
    
    .report-detail-modal-content {
        width: 100%;
        max-height: 95vh;
        border-radius: 16px;
    }
    
    .report-detail-modal-header {
        padding: 1.5rem;
    }
    
    .report-detail-modal-header h3 {
        font-size: 1.25rem;
    }
    
    .report-detail-modal-body {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .report-detail-modal-footer {
        flex-direction: column;
        padding: 1.5rem;
    }
    
    .btn-like-modal,
    .btn-share-modal,
    .btn-download-modal {
        width: 100%;
        justify-content: center;
    }
    
    .pdf-preview-container {
        min-height: 300px;
    }
}

/* === 토스트 메시지 === */
.toast-message {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    z-index: 10001;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 400px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.toast-message.show {
    opacity: 1;
    transform: translateY(0);
}

.toast-success {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
}

.toast-error {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
}

.toast-success::before {
    content: '✓';
    font-size: 1.1rem;
    font-weight: bold;
    margin-right: 0.5rem;
}

.toast-error::before {
    content: '✕';
    font-size: 1.1rem;
    font-weight: bold;
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .toast-message {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: none;
    }
}

/* === Empty State === */
.empty-state-wrapper {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    padding: 4rem 2rem;
}

.empty-state {
    text-align: center;
    max-width: 500px;
    padding: 3rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(11, 34, 66, 0.08), 0 2px 8px rgba(11, 34, 66, 0.04);
    border: 1px solid #e0e6ed;
    position: relative;
    overflow: hidden;
}

.empty-state::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0b2242 0%, #1a3a5c 50%, #0b2242 100%);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.empty-state-icon {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.empty-state-icon i {
    font-size: 4rem;
    color: #0b2242;
    position: relative;
    z-index: 2;
    animation: float 3s ease-in-out infinite;
}

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

.icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(11, 34, 66, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.empty-state-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0b2242;
    margin-bottom: 1rem;
    font-family: var(--font-primary);
}

.empty-state-description {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-weight: 400;
}

.btn-upload-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #0b2242 0%, #1a3a5c 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(11, 34, 66, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-upload-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-upload-primary:hover::before {
    left: 100%;
}

.btn-upload-primary:hover {
    background: linear-gradient(135deg, #1a3a5c 0%, #0b2242 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(11, 34, 66, 0.3);
}

.btn-upload-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(11, 34, 66, 0.2);
}

.btn-upload-primary i {
    font-size: 1.1rem;
}

/* === Responsive === */
/* === 모바일 반응형 === */
@media (max-width: 768px) {
    .hero-section.start {
        min-height: auto; /* 내용에 맞게 자동 높이 조정 */
        height: auto; /* 고정 높이 제거, 내용에 맞게 확장 */
        padding: 1.5rem 0 2rem 0; /* 하단 패딩 증가로 내용 여유 공간 확보 */
        padding-top: calc(var(--navbar-height) + 0.75rem);
        overflow: hidden; /* 스크롤 완전히 방지, 내용은 높이 자동 조정으로 모두 표시 */
    }
    
    .cc-svg-overlay {
        height: calc(100% + 100px) !important; /* 모바일에서도 더 길게 */
    }
    
    .reports-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .report-card-header {
        padding: 1rem 1.25rem;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .report-meta-badges {
        width: 100%;
        justify-content: flex-start;
    }
    
    .report-card-body {
        padding: 1.5rem 1.25rem;
    }
    
    .report-title {
        font-size: 1.15rem;
    }
    
    .report-card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1rem 1.25rem;
    }
    
    .report-stats {
        width: 100%;
        justify-content: space-between;
    }
    
    .report-card-actions {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem 1.25rem;
    }
    
    .btn-download,
    .btn-view {
        width: 100%;
    }
    
    .btn-like {
        width: 100%;
    }
    
    .hero-section .container {
        margin-left: 1rem !important;
        padding: 0 1rem;
    }
    
    .hero-section .headline-big {
        font-size: 2rem;
        margin-bottom: 0.75rem !important;
    }
    
    .hero-section .small_words h4 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-section .small_words {
        margin-bottom: 1rem !important;
    }
    
    .hero-cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 0.5rem;
    }
    
    .hero-section .btn.start_b {
        width: 100%;
        max-width: 280px;
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
        justify-content: center;
    }
    
    .research-main-content {
        margin-top: -50px !important; /* dcf.html과 동일하게 겹치기 */
        padding-bottom: 2rem;
    }
    
    .research-content-card {
        margin-top: -80px !important; /* dcf.html의 input-card처럼 겹치기 */
        padding: 2rem 1.5rem 4rem 1.5rem;
        border-radius: 20px 20px 0 0; /* 상단만 둥글게 */
        margin-bottom: 0;
        position: relative;
        z-index: 10;
    }
    
    .hero-section.start {
        padding-bottom: 2rem !important; /* 모바일에서 하단 패딩 */
        margin-bottom: 0;
    }
    
    .reports-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-section {
        padding: 1rem;
    }
    
    .filter-section .row {
        flex-direction: column;
    }
    
    .filter-section .col-md-1,
    .filter-section .col-md-2,
    .filter-section .col-md-4,
    .filter-section .col-md-5,
    .filter-section .col-md-6 {
        margin-top: 1rem;
    }
    
    .research-filter-select {
        padding: 0.65rem 2.25rem 0.65rem 0.875rem;
        font-size: 0.9rem;
        background-size: 10px;
        background-position: right 0.875rem center;
    }
    
    .btn-search {
        min-height: 44px;
        font-size: 0.9rem;
    }
    
    .search-tags,
    .filter-tags {
        margin-top: 0.75rem;
    }
    
    .search-tag,
    .filter-tag {
        font-size: 0.8rem;
        padding: 0.35rem 0.75rem;
    }
    
    .search-tag-label,
    .filter-tag-label {
        font-size: 0.8rem;
        width: 100%;
        margin-bottom: 0.25rem;
    }
    
    .empty-state-wrapper {
        min-height: 400px;
        padding: 2rem 1rem;
    }
    
    .empty-state {
        padding: 2rem 1.5rem;
    }
    
    .empty-state-icon i {
        font-size: 3rem;
    }
    
    .icon-glow {
        width: 100px;
        height: 100px;
    }
    
    .empty-state-title {
        font-size: 1.5rem;
    }
    
    .empty-state-description {
        font-size: 0.95rem;
    }
    
    .btn-upload-primary {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
        width: 100%;
        justify-content: center;
    }
}

/* 모바일 작은 화면에서 더 겹치기 */
@media (max-width: 576px) {
    .research-content-card {
        margin-top: -100px !important;
    }
}

@media (max-width: 480px) {
    .research-content-card {
        margin-top: -120px !important;
    }
}

/* === 리포트 업로드 모달 === */
.upload-report-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
}

.upload-report-modal.show {
    display: flex;
    opacity: 1;
}

.upload-report-modal-content {
    background: #ffffff;
    border: none;
    border-radius: 24px;
    width: 95%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25),
                0 0 0 1px rgba(0, 0, 0, 0.05);
    transform: scale(0.96);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    animation: slideInModal 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.upload-report-modal.show .upload-report-modal-content {
    transform: scale(1);
}

@keyframes slideInModal {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.upload-report-modal-header {
    background: linear-gradient(135deg, #0b2242 0%, #1a3a5c 100%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.1);
    padding: 2rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    position: relative;
}

.upload-report-modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0b2242 0%, #1a3a5c 50%, #0b2242 100%);
}

.upload-report-modal-header h3 {
    color: #ffffff;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: -0.02em;
}

.upload-report-modal-header h3 i {
    color: #87CEEB;
    font-size: 1.5rem;
}

.upload-report-modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1.25rem;
}

.upload-report-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.upload-report-modal-body {
    padding: 2rem 2.5rem;
    overflow-y: auto;
    flex: 1;
}

.upload-report-modal-footer {
    padding: 1.5rem 2.5rem;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    flex-shrink: 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group label .required {
    color: #ef4444;
    margin-left: 0.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e0e6ed;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #2c3e50;
    transition: all 0.3s ease;
    background: #ffffff;
}

.form-control:focus {
    outline: none;
    border-color: #0b2242;
    box-shadow: 0 0 0 3px rgba(11, 34, 66, 0.1);
}

.form-control::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.form-text {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #6c757d;
}

/* 파일 업로드 영역 */
.file-upload-area {
    position: relative;
    border: 2px dashed #e0e6ed;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.file-upload-area:hover {
    border-color: #0b2242;
    background: #f0f4f8;
}

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-upload-content {
    pointer-events: none;
}

.file-upload-content i {
    font-size: 3rem;
    color: #0b2242;
    margin-bottom: 1rem;
}

.file-upload-content p {
    margin: 0.5rem 0;
    color: #2c3e50;
    font-weight: 500;
}

.file-types {
    display: block;
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 0.5rem;
}

.file-selected {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: #ffffff;
    border: 2px solid #0b2242;
    border-radius: 10px;
    margin-top: 1rem;
}

.file-selected i {
    color: #0b2242;
    font-size: 1.5rem;
    margin-right: 1rem;
}

.file-name {
    flex: 1;
    color: #2c3e50;
    font-weight: 500;
    text-align: left;
}

.file-remove {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.file-remove:hover {
    background: #fee2e2;
}

.btn-cancel {
    background: #e9ecef;
    color: #495057;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background: #dee2e6;
    transform: translateY(-1px);
}

.btn-upload {
    background: linear-gradient(135deg, #0b2242 0%, #1a3a5c 100%);
    color: #ffffff;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(11, 34, 66, 0.2);
}

.btn-upload:hover {
    background: linear-gradient(135deg, #1a3a5c 0%, #0b2242 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(11, 34, 66, 0.3);
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .upload-report-modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .upload-report-modal-header {
        padding: 1.5rem;
    }
    
    .upload-report-modal-header h3 {
        font-size: 1.5rem;
    }
    
    .upload-report-modal-body {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .upload-report-modal-footer {
        padding: 1rem 1.5rem;
        flex-direction: column;
    }
    
    .btn-cancel,
    .btn-upload {
        width: 100%;
        justify-content: center;
    }
}

/* 다운로드 확인 모달 */
.download-confirm-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 34, 66, 0.85);
    backdrop-filter: blur(10px);
    z-index: 10001;
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 2rem;
}

.download-confirm-modal.show {
    display: flex;
    opacity: 1;
}

.download-confirm-modal-content {
    background: #ffffff;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.95);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.download-confirm-modal.show .download-confirm-modal-content {
    transform: scale(1);
}

.download-confirm-modal-header {
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, #0b2242 0%, #1a365d 100%);
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.download-confirm-modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    flex: 1;
    padding-right: 1rem;
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.download-confirm-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.download-confirm-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.download-confirm-modal-body {
    padding: 2.5rem;
    text-align: center;
}

.download-confirm-icon {
    font-size: 4rem;
    color: #0b2242;
    margin-bottom: 1.5rem;
}

.download-confirm-message {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.download-confirm-message strong {
    color: #0b2242;
    font-weight: 700;
}

.download-confirm-copyright {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.download-confirm-copyright strong {
    color: #0b2242;
    font-weight: 600;
}

.download-confirm-warning {
    font-size: 0.9rem;
    color: #e74c3c;
    margin-top: 1.5rem;
    padding: 1rem;
    background: #fff5f5;
    border-radius: 8px;
    border-left: 4px solid #e74c3c;
}

.download-confirm-modal-footer {
    padding: 1.5rem 2.5rem;
    background: #f8f9fa;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    flex-shrink: 0;
}

.download-confirm-modal-footer .btn {
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-size: 1rem;
}

.download-confirm-modal-footer .btn-cancel {
    background: #e9ecef;
    color: #495057;
}

.download-confirm-modal-footer .btn-cancel:hover {
    background: #dee2e6;
}

.download-confirm-modal-footer .btn-confirm {
    background: linear-gradient(135deg, #0b2242 0%, #1a365d 100%);
    color: #ffffff;
}

.download-confirm-modal-footer .btn-confirm:hover {
    background: linear-gradient(135deg, #1a365d 0%, #0b2242 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 34, 66, 0.3);
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .download-confirm-modal {
        padding: 1rem;
        align-items: flex-start;
        padding-top: 2rem;
    }
    
    .download-confirm-modal-content {
        width: 95%;
        max-width: 100%;
        margin: auto;
        border-radius: 16px;
        max-height: calc(100vh - 2rem);
        display: flex;
        flex-direction: column;
    }
    
    .download-confirm-modal-header {
        padding: 1.25rem 1.5rem;
        border-radius: 16px 16px 0 0;
    }
    
    .download-confirm-modal-header h3 {
        font-size: 1.125rem;
        line-height: 1.4;
    }
    
    .download-confirm-modal-close {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
        flex-shrink: 0;
    }
    
    .download-confirm-modal-body {
        padding: 1.5rem;
        overflow-y: auto;
        flex: 1;
    }
    
    .download-confirm-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .download-confirm-message {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1rem;
        word-break: keep-all;
    }
    
    .download-confirm-copyright {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 0.75rem;
        word-break: keep-all;
    }
    
    .download-confirm-warning {
        font-size: 0.85rem;
        padding: 0.875rem;
        margin-top: 1rem;
        line-height: 1.5;
        word-break: keep-all;
    }
    
    .download-confirm-modal-footer {
        padding: 1rem 1.5rem;
        flex-direction: column;
        gap: 0.75rem;
        border-radius: 0 0 16px 16px;
    }
    
    .download-confirm-modal-footer .btn {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* 작은 모바일 화면 (480px 이하) */
@media (max-width: 480px) {
    .download-confirm-modal {
        padding: 0.5rem;
        padding-top: 1rem;
    }
    
    .download-confirm-modal-content {
        width: 98%;
        border-radius: 12px;
        max-height: calc(100vh - 1rem);
    }
    
    .download-confirm-modal-header {
        padding: 1rem 1.25rem;
        border-radius: 12px 12px 0 0;
    }
    
    .download-confirm-modal-header h3 {
        font-size: 1rem;
    }
    
    .download-confirm-modal-close {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .download-confirm-modal-body {
        padding: 1.25rem;
    }
    
    .download-confirm-icon {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .download-confirm-message {
        font-size: 0.9rem;
        margin-bottom: 0.875rem;
    }
    
    .download-confirm-copyright {
        font-size: 0.85rem;
        margin-bottom: 0.625rem;
    }
    
    .download-confirm-warning {
        font-size: 0.8rem;
        padding: 0.75rem;
        margin-top: 0.875rem;
    }
    
    .download-confirm-modal-footer {
        padding: 0.875rem 1.25rem;
        gap: 0.625rem;
        border-radius: 0 0 12px 12px;
    }
    
    .download-confirm-modal-footer .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
}

