/* 디자인 변수 설정 */
:root {
    --primary: #2563eb;       /* 신뢰감을 주는 로얄 블루 */
    --primary-dark: #1e40af;  /* 버튼 호버용 다크 블루 */
    --text-dark: #1f2937;     /* 본문 텍스트 (다크 그레이) */
    --text-gray: #6b7280;     /* 보조 텍스트 (그레이) */
    --bg-light: #f3f4f6;      /* 섹션 배경용 라이트 그레이 */
    --white: #ffffff;
    --border: #e5e7eb;
    --radius: 12px;           /* 둥근 모서리 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* 기본 초기화 */
* { box-sizing: border-box; margin: 0; padding: 0; }

/* 모바일 줄바꿈용 (기본 숨김) */
.mobile-br { display: none; }

a {
    text-decoration: none;
    color: inherit;
}

body {
    font-family: 'Pretendard', 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

/* 헤더 스타일 */
header {
    background-color: transparent;
    border-bottom: 1px solid transparent;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0 1rem;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* 스크롤 시 헤더 스타일 */
header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    max-width: 1024px;
    margin: 0 auto;
    padding: 1rem 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

header h1 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}

header h1 a {
    text-decoration: none;
    color: inherit;
}

/* 햄버거 버튼 스타일 (모바일) */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    height: 3px;
    width: 100%;
    background-color: var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* 햄버거 버튼 활성화(X 모양) 애니메이션 */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* 모바일 네비게이션 */
nav {
    width: 100%;
    display: none; /* 기본적으로 숨김 */
    margin-top: 1rem;
    border-top: 1px solid var(--border);
}

nav.active {
    display: block; /* 활성화 시 보임 */
}

nav ul {
    list-style: none;
    display: flex;
    flex-direction: column; /* 세로 정렬 */
    gap: 0;
    margin-top: 0;
}

nav a {
    display: block;
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid var(--bg-light);
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}

nav a:hover { color: var(--primary); }

/* 섹션 공통 스타일 */
section {
    padding: 5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

section:nth-child(even) { background-color: var(--bg-light); }

/* 섹션 내부 콘텐츠 제한 */
section > h2, section > p, section > div {
    width: 100%;
    max-width: 1024px;
}

h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

section > p {
    color: var(--text-gray);
    max-width: 600px; /* 본문 설명은 너무 넓지 않게 */
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
}

/* 제품소개 - 기능 카드 */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-align: left;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-card h3 {
    color: var(--text-dark);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-card p { color: var(--text-gray); font-size: 0.95rem; }

/* 고객사례 - 포트폴리오 카드 */
.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.portfolio-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border: none;
    position: relative;
    overflow: hidden;
}

.portfolio-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
}

/* 고객센터 */
.support-container {
    display: grid;
    gap: 3rem;
    text-align: left;
}

.support-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border);
}

/* 공지사항 리스트 */
.notice-list { list-style: none; }
.notice-list li { margin-bottom: 0.75rem; padding-left: 1rem; position: relative; }
.notice-list li::before { content: '•'; color: var(--primary); position: absolute; left: 0; }
.notice-list a { text-decoration: none; color: var(--text-dark); }
.notice-list a:hover { text-decoration: underline; color: var(--primary); }

/* FAQ */
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    background: var(--white);
}
.faq-item summary {
    padding: 1rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
}
.faq-item summary::after { content: '+'; color: var(--text-gray); }
.faq-item[open] summary::after { content: '-'; }
.faq-item p {
    padding: 0 1rem 1rem 1rem;
    color: var(--text-gray);
    font-size: 0.95rem;
    border-top: 1px solid var(--bg-light);
    margin-top: 0.5rem;
    padding-top: 1rem;
}

/* 폼 스타일 */
.contact-forms { display: grid; gap: 2rem; }

input[type="text"], input[type="tel"], input[type="password"], input[type="number"], input[type="email"] {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    font-size: 1rem;
    transition: border-color 0.2s;
}
input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1); }

.btn {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius);
    border: none;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    width: 100%;
    transition: background-color 0.2s;
}
.btn:hover { background-color: var(--primary-dark); }

/* 푸터 */
footer {
    background-color: #111827; /* 아주 어두운 남색 */
    color: #9ca3af;
    text-align: center;
    padding: 4rem 1rem;
    font-size: 0.9rem;
}
footer p { margin-bottom: 0.5rem; }

/* 솔루션 상세 소개 (이미지 + 텍스트) */
.solution-detail {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 4rem;
    width: 100%;
    max-width: 1024px;
}

.detail-row {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.detail-img-box {
    width: 100%;
    height: 320px;
    background-color: #eef2ff; /* 아주 연한 블루 */
    border: 2px dashed #a5b4fc;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4f46e5;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

/* 실제 이미지가 들어갈 때를 대비한 스타일 */
.detail-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-content { width: 100%; text-align: left; }
.detail-content h3 { font-size: 1.5rem; color: var(--text-dark); margin-bottom: 1rem; }

.process-steps { list-style: none; padding: 0; }
.process-steps li {
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.step-number {
    background: var(--primary);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* 구성요소 갤러리 */
.component-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
    margin-bottom: 3rem;
}

.component-item { text-align: center; }
.component-img {
    width: 100%;
    height: 200px;
    background-color: #f3f4f6;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    border: 1px solid var(--border);
    overflow: hidden; /* 슬라이더 넘침 방지 */
    position: relative;
}

/* PC 반응형 (768px 이상) */
@media (min-width: 768px) {
    .header-inner {
        padding: 0.5rem 0;
        flex-wrap: nowrap;
    }
    
    .menu-toggle { display: none; } /* PC에서는 햄버거 버튼 숨김 */

    nav {
        display: block; /* PC에서는 항상 보임 */
        width: auto;
        margin-top: 0;
        border-top: none;
    }

    nav ul { flex-direction: row; gap: 2.5rem; }
    nav a { padding: 0; border-bottom: none; }

    .feature-grid, .portfolio-grid {
        grid-template-columns: repeat(3, 1fr); /* 3열 그리드 */
    }

    .support-container {
        grid-template-columns: 1fr 1fr; /* 2열 그리드 */
    }
    
    .contact-forms {
        grid-column: 1 / -1; /* 폼은 전체 너비 사용 */
        grid-template-columns: 1fr 1fr;
    }

    /* 솔루션 상세 반응형 */
    .detail-row { flex-direction: row; }
    .detail-img-box, .detail-content { width: 50%; }
    
    .component-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 이미지 슬라이더 스타일 */
.slider-wrapper {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.8s ease-in-out; /* 부드러운 전환 효과 */
}

.slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0; /* 이미지가 찌그러지지 않도록 설정 */
    display: block;
}

/* 맨 위로 가기 버튼 */
#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    font-size: 1.2rem;
    border: none;
    outline: none;
    background-color: var(--primary);
    color: white;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#scrollTopBtn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

#scrollTopBtn.show {
    opacity: 1;
    visibility: visible;
}

/* 관리자 페이지 테이블 스타일 */
.admin-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 20px;
    font-size: 0.95rem;
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.admin-table th, .admin-table td {
    padding: 16px;
    text-align: center;
    border-bottom: 1px solid var(--border);
    border-right: none;
    border-left: none;
}

.admin-table th {
    background-color: #f9fafb;
    color: var(--text-gray);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table tr:hover {
    background-color: #f3f4f6;
}

.btn-delete {
    background-color: white;
    color: #ef4444;
    border: 1px solid #ef4444;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-delete:hover {
    background-color: #ef4444;
    color: white;
}

/* 로그인 페이지 스타일 */
.login-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(to left, #8f94fb, #4e54c8);
    position: relative;
    padding: 20px;
}

.login-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 3rem 2.5rem;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    width: 100%;
    max-width: 420px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    animation: fadeInUp 0.5s ease-out;
    z-index: 10;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.login-logo {
    width: 64px;
    height: 64px;
    background-color: var(--primary);
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.3);
}

.login-container h2 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 1.75rem;
    font-weight: 800;
}

.login-subtitle {
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.login-form input {
    background-color: #f9fafb;
    padding: 14px;
    border-radius: 8px;
    font-size: 1rem;
}

.login-form input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
    vertical-align: middle;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.shake {
    animation: shake 0.5s;
}

.error-msg {
    color: #ef4444;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* 로그인 배경 파티클 애니메이션 */
.circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    z-index: 1;
}

.circles li {
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    animation: animate 25s linear infinite;
    bottom: -150px;
}

.circles li:nth-child(1) { left: 25%; width: 80px; height: 80px; animation-delay: 0s; }
.circles li:nth-child(2) { left: 10%; width: 20px; height: 20px; animation-delay: 2s; animation-duration: 12s; }
.circles li:nth-child(3) { left: 70%; width: 20px; height: 20px; animation-delay: 4s; }
.circles li:nth-child(4) { left: 40%; width: 60px; height: 60px; animation-delay: 0s; animation-duration: 18s; }
.circles li:nth-child(5) { left: 65%; width: 20px; height: 20px; animation-delay: 0s; }
.circles li:nth-child(6) { left: 75%; width: 110px; height: 110px; animation-delay: 3s; }
.circles li:nth-child(7) { left: 35%; width: 150px; height: 150px; animation-delay: 7s; }
.circles li:nth-child(8) { left: 50%; width: 25px; height: 25px; animation-delay: 15s; animation-duration: 45s; }
.circles li:nth-child(9) { left: 20%; width: 15px; height: 15px; animation-delay: 2s; animation-duration: 35s; }
.circles li:nth-child(10) { left: 85%; width: 150px; height: 150px; animation-delay: 0s; animation-duration: 11s; }

@keyframes animate {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }
    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }
}

/* 게시판 작성 폼 스타일 */
.write-form .form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.write-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.write-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    resize: vertical;
}

.write-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* 공지사항 이전/다음 글 */
.post-nav {
    margin-top: 40px;
    border-top: 1px solid var(--border);
}

.post-nav .nav-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
}

.post-nav .nav-item span {
    font-weight: 600;
    color: var(--primary);
    flex-shrink: 0;
    width: 60px;
}

.post-nav .nav-item a {
    text-decoration: none;
    color: var(--text-gray);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.post-nav .nav-item a:hover {
    color: var(--text-dark);
    text-decoration: underline;
}

/* 페이징 스타일 */
.pagination {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.pagination a {
    color: var(--primary);
    padding: 8px 12px;
    text-decoration: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: background-color 0.2s, color 0.2s;
}

.pagination a:hover, .pagination a:focus {
    background-color: var(--bg-light);
}

.pagination a.active {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    font-weight: bold;
}

/* 대시보드 스타일 */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    width: 100%;
    max-width: 1024px;
}

.dash-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.dash-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.dash-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dash-icon svg {
    width: 28px;
    height: 28px;
}

/* 아이콘 색상 테마 */
.icon-blue { background-color: #eff6ff; color: #3b82f6; }
.icon-indigo { background-color: #eef2ff; color: #6366f1; }
.icon-green { background-color: #ecfdf5; color: #10b981; }
.icon-amber { background-color: #fffbeb; color: #f59e0b; }
.icon-red { background-color: #fef2f2; color: #ef4444; }

.dash-info {
    display: flex;
    flex-direction: column;
}

.dash-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.dash-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.2;
}

/* 차트 스타일 */
.chart-wrap {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 250px;
    width: 100%;
    max-width: 1024px;
    margin-top: 1rem;
    padding: 30px 20px 10px 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    width: 100%;
    margin: 0 5px;
}

.bar {
    width: 60%;
    max-width: 50px;
    background-color: var(--primary);
    border-radius: 4px 4px 0 0;
    transition: height 0.5s ease;
    min-height: 2px; /* 값이 0이어도 최소한의 라인은 표시 */
}

.bar-value {
    margin-bottom: 5px;
    font-size: 0.85rem;
    font-weight: bold;
    color: var(--text-dark);
}

.bar-label {
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--text-gray);
}

/* 관리자 헤더 및 네비게이션 */
.admin-header {
    width: 100%;
    max-width: 1024px;
    margin-bottom: 2rem;
    text-align: left;
}

.admin-header h2 {
    margin-bottom: 1.5rem;
}

.admin-nav {
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.admin-nav-toggle {
    display: none;
    width: 100%;
    padding: 12px;
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: left;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    margin-bottom: 10px;
}

.admin-nav-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.btn-admin-nav {
    width: auto;
    padding: 0.5rem 1rem;
    margin-right: 0.5rem;
    color: white;
}

.admin-user-info {
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    background-color: #f9fafb;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: left;
}

.admin-user-info p {
    margin: 0;
    line-height: 1.5;
    color: var(--text-gray);
}
.admin-user-info p strong { color: var(--text-dark); }

@media (max-width: 768px) {
    .admin-nav-toggle {
        display: none;
    }

    .admin-nav-items {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .btn-admin-nav {
        width: 100%;
        margin-right: 0;
        text-align: center;
    }

    .mobile-br {
        display: inline;
    }
}

/* 라인 차트 스타일 */
.line-chart-wrap {
    width: 100%;
    max-width: 1024px;
    margin-top: 1rem;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.line-chart-svg {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 1;
}

.line-chart-svg .grid {
    stroke: #e5e7eb;
    stroke-width: 1;
    stroke-dasharray: 2,2;
}

.line-chart-svg .line {
    fill: none;
    stroke: var(--primary);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.line-chart-svg .point {
    fill: var(--primary);
    stroke: white;
    stroke-width: 2;
}

.line-chart-svg .point-label, .line-chart-svg .axis-label {
    font-size: 12px;
    fill: var(--text-gray);
    text-anchor: middle;
    font-weight: 600;
}

/* 팝업(모달) 스타일 */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-overlay.show {
    display: flex;
}

.modal-content {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: var(--shadow-lg);
    max-height: 80vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-gray);
}