/* [1] 공통 초기화 */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; width: 100%; font-family: 'Malgun Gothic', sans-serif; }

/* ==========================================
   [2] 관리자 페이지 전용 (admin-page)
   ========================================== */
body.admin-page {
    display: flex !important;
    background-color: #f8f9fa;
    min-height: 100vh;
    align-items: flex-start !important; /* 본문 높이가 달라도 사이드바는 상단 고정 */
    justify-content: flex-start !important;
}


.admin-page {
    --admin-primary: #2c3e50;
    --admin-accent: #e67e22;
    --side-width: 260px;
    display: flex !important; /* 가로로 나란히 배치 */
    align-items: flex-start;
    width: 100%;
    min-height: 100vh;
    margin: 0;
}

/* 사이드바 */
.admin-page .sidebar { 
width: var(--side-width); 
    background: var(--admin-primary); 
    color: white; 
    height: 100vh; 
    
    /* [중요] fixed를 sticky로 변경 */
    position: sticky; 
    left: 0; 
    top: 0;
    
    padding: 20px;
    z-index: 1000;
    
    /* Flex 항목으로서의 설정 */
    flex-shrink: 0; 
    display: flex;
    flex-direction: column;
}

.admin-page .sidebar h2 { font-size: 1.2rem; border-bottom: 1px solid #455a64; padding-bottom: 20px; margin-bottom: 20px; text-align: center; }
.admin-page .sidebar-menu { list-style: none; padding: 0; }
.admin-page .sidebar-menu li { margin-bottom: 10px; }
.admin-page .sidebar-menu a { color: #bdc3c7; text-decoration: none; display: block; padding: 12px 15px; border-radius: 6px; transition: 0.3s; }
.admin-page .sidebar-menu a:hover, .admin-page .sidebar-menu a.active { background: var(--admin-accent); color: white; }
.admin-page .logout-link { color: #e74c3c !important; font-weight: bold; border-top: 1px solid #455a64; margin-top: 20px; padding-top: 20px !important; }

/* 관리자 메인 콘텐츠 */
/* 1. 본문 영역: 사이드바 제외 나머지 공간 전체 */
.admin-page .main-content { 
    /* margin-left: var(--side-width);  <-- [중요] 절대 쓰지 마세요. flex 구조에선 필요 없습니다. */
    flex: 1; 
    padding: 40px; 
    background-color: #f4f7f6;
    min-height: 100vh;
    
    /* 여기서 수평 중앙 정렬을 결정합니다 */
    display: flex;
    justify-content: center; /* 자식인 content-wrapper를 가로 중앙으로! */
}

.admin-page .header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; border-bottom: 1px solid #ddd; padding-bottom: 20px; }

/* 관리자 카드 & 그리드 */
.admin-page .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 20px; }
.admin-page .stat-card { background: white; padding: 20px; border-radius: 10px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); border-top: 4px solid var(--admin-accent); }
.admin-page .stat-card h4 { margin: 0; color: #7f8c8d; font-size: 0.85rem; }
.admin-page .stat-card p { margin: 10px 0 0; font-size: 1.8rem; font-weight: bold; color: var(--admin-primary); }

/* 관리자 하단 메뉴 그리드 */
.admin-page .menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.admin-page .menu-item { display: flex; flex-direction: column; height: 100%; background: white; padding: 20px; border: 1px solid #ddd; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: 0.3s; }
.admin-page .menu-item:hover { transform: translateY(-5px); }
.admin-page .menu-item h3 { margin-top: 0; color: var(--admin-primary); }
.admin-page .btn-admin { display: inline-block; margin-top: 10px; padding: 10px 20px; background: var(--admin-primary); color: white; text-decoration: none; border-radius: 5px; font-weight: bold; align-self: center; }
.admin-page .btn-admin:hover { background: var(--admin-accent); }
/* 텍스트(설명) 부분 설정 */
.menu-item p {
    flex-grow: 1;           /* 이 요소가 남는 공간을 모두 차지함 -> 버튼을 아래로 밀어냄 */
    margin-bottom: 20px;    /* 버튼과의 최소 간격 확보 */
}

/* 모달 레이아웃 추가 (기존 CSS에 없을 경우) */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    display: none; /* 기본값 숨김 */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.modal-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
}

.report-result-section {
    margin-top: 10px;
    overflow-x: auto; /* 화면 작아질 때 가로 스크롤 허용 */
}

.report-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    min-width: 800px; /* 너무 좁아지지 않게 방지 */
}

/* report */
.report-table th, .report-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

.report-table th {
    background-color: #f5f5f5;
    font-weight: bold;
}

.text-left { text-align: left !important; }

.tag {
    background: #e1f5fe;
    color: #01579b;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.85em;
}

/* ==========================================
   [3] 업무 페이지 전용 (work-page)
   ========================================== */
/* ==========================================
   [3] 업무 페이지 전용 (work-page) - 수정본
   ========================================== */
body.work-page { 
    padding-top: 40px; 
    display: block !important; 
    background-color: #f0f2f5; 
}
.work-page { --primary: #2c3e50; --accent: #3498db; }

/* 상단바 */
.work-page .navbar { width: 100%; background: var(--primary); color: white; padding: 15px 30px; display: flex; justify-content: space-between; align-items: center; }
.work-page .navbar a { color: white; text-decoration: none; font-weight: bold; }

/* 업무용 컨테이너 & 카드 */
.work-page .container { max-width: 1100px; margin: 30px auto; padding: 0 20px; }
.work-page .stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 15px; } /* [수정] 하단 마진 축소 (20px) */

/* [수정] 통계 카드 높이 다이어트 (기존 padding 20px -> 12px 20px로 높이를 약 70% 수준으로 축소) */
.work-page .stat-card { background: white; padding: 12px 20px; border-radius: 12px; text-align: center; border-top: 5px solid var(--accent); }
.work-page .stat-card h4 { margin: 0; font-size: 0.95rem; color: #555; } /* [추가] 타이틀 마진 제거 */
.work-page .stat-card .value { font-size: 1.8rem; font-weight: bold; color: var(--primary); margin: 5px 0 0 0; } /* [수정] 상하 마진 축소 */

/* 업무 페이지 테이블 박스 */
/* [수정] padding 상단을 15px로 줄여 h3 타이틀과의 여백 최소화 */
.work-page .content-box { background: white; padding: 15px 25px 25px 25px; border-radius: 12px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); margin-bottom: 30px; }

/* [추가] h3 타이틀 자체의 상단 마진을 완전히 제거(0)하여 위쪽 영역과의 간격을 밀착시킵니다 */
.work-page .content-box h3 { margin-top: 0; margin-bottom: 15px; font-size: 1.3rem; }

.work-page table { width: 100%; border-collapse: collapse; }
.work-page th { text-align: left; padding: 12px; background: #f8f9fa; color: #666; }
.work-page td { padding: 12px; border-bottom: 1px solid #eee; }

/* 업무 페이지 하단 액션 버튼 */
.work-page .action-group { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.work-page .btn-action { padding: 20px; text-align: center; border-radius: 8px; text-decoration: none; font-weight: bold; color: white; font-size: 1.1rem; }
.work-page .btn-new { background: var(--accent); }
.work-page .btn-search { background: #34495e; }
.work-page .btn-report { background: #8e44ad; }

/* 공통 배지 */
.status-badge { padding: 4px 12px; border-radius: 15px; font-size: 0.85rem; font-weight: bold; display: inline-block; text-align: center; }

/* ==========================================
   [4] 데이터 업로드 페이지 전용 (upload-section)
   ========================================== */
.admin-page .upload-container {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* 파일 드롭 영역 */
.admin-page .upload-box {
    border: 2px dashed #bdc3c7;
    background-color: #f9fbfd;
    padding: 60px 20px;
    text-align: center;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.admin-page .upload-box:hover {
    border-color: var(--admin-accent);
    background-color: #fffaf5;
}

.admin-page .upload-box i {
    font-size: 3rem;
    color: #95a5a6;
    margin-bottom: 15px;
}

.admin-page .upload-box p {
    font-size: 1.1rem;
    color: #34495e;
    margin: 10px 0;
}

.admin-page .upload-box span {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* 결과 요약 카드 (업로드 완료 후 출력) */
.admin-page .result-summary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 10px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.admin-page .summary-card {
    padding: 20px;
    border-radius: 8px;
    background: #f8f9fa;
    text-align: center;
}

.admin-page .summary-card.success {
    border-left: 5px solid #27ae60;
}

.admin-page .summary-card h5 {
    margin: 0;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.admin-page .summary-card .count {
    font-size: 2rem;
    font-weight: bold;
    display: block;
    margin-top: 5px;
}

/* 하단 버튼 바 */
.admin-page .upload-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.admin-page .loading-status {
    color: var(--admin-accent);
    font-weight: bold;
    display: none; /* 처리 중에만 표시 */
}

.admin-page .btn-back {
    background: #95a5a6;
    color: white;
    text-decoration: none;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: bold;
}

/* 셀렉트 박스 기본 스타일 */
.status-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}

/* 각 상태별 옵션 색상 정의 */
.status-opt-0 { color: #607d8b; background-color: #eceff1; } /* 신규 대기 */
.status-opt-1 { color: #0288d1; background-color: #e1f5fe; } /* 상담전 */
.status-opt-2 { color: #d32f2f; background-color: #ffebee; } /* 결번 */
.status-opt-3 { color: #f57c00; background-color: #fff3e0; } /* 부재중 */
.status-opt-4 { color: #7b1fa2; background-color: #f3e5f5; } /* 통화거절 */
.status-opt-5 { color: #455a64; background-color: #cfd8dc; } /* 계약실패 */
.status-opt-6 { color: #2e7d32; background-color: #e8f5e green; } /* 계약성공 */
.status-opt-9 { color: #c2185b; background-color: #fce4ec; } /* 보류 */

/* 재상담 목록 전용 스타일 */
.re-consult-table tbody tr {
    cursor: pointer; /* 마우스 커서를 손가락 모양으로 */
    transition: background-color 0.2s ease; /* 색상 변경을 부드럽게 */
}

/* 마우스 올렸을 때 강조 색상 */
.re-consult-table tbody tr:hover {
    background-color: #f1f7ff !important; /* 연한 파란색 계열로 강조 */
}

/* 링크 텍스트 꾸미기 제거 (행 전체가 클릭되므로 버튼처럼 보이게) */
.re-consult-table td a {
    text-decoration: none;
    pointer-events: none; /* <a> 태그 자체 클릭보다 행 클릭 이벤트를 우선시 */
}

/* 페이징 스타일 */
.page-link {
    padding: 8px 12px;
    margin-left: 5px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
}

.page-link.active {
    background-color: var(--accent); /* 포인트 컬러 */
    color: white;
    border-color: var(--accent);
}

/* 상담 내용 열은 왼쪽 정렬 */
.history-table td:nth-child(5) {
    text-align: left;
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.filter-form {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.filter-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-row select, .filter-row input {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.btn-search {
    background-color: #4a90e2;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
}

.btn-search:hover {
    background-color: #357abd;
}

/* --- History Page Styles --- */
.history-container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Report Page Styles --- */
.report-container {
    margin-top: 0 !important;
    width: 100%;
    max-width: 1600px; /* 최대 너비 제한 */
    margin: 0 auto;
    transition: transform 0.2s ease-in-out; /* 부드러운 변화 */
    transform-origin: top left; /* 왼쪽 상단 기준으로 크기 조절 */
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05); /* 부드러운 그림자 */
}

/* report-container 내의 label만 타겟팅 */
.report-container .filter-item label {
    display: block;          /* 부모 요소의 너비를 꽉 채우도록 설정 */
    text-align: center;      /* 텍스트를 정중앙으로 배치 */
    width: 100%;             /* 너비 100% 보장 */
    margin-bottom: 5px;      /* 입력창과의 간격 유지 */
    font-weight: bold;       /* 가독성을 위해 굵게 */
    /* 나머지는 디자인에 맞춰 조절 */
}

.report-container .filter-row {
    gap: 4px; /* 요소 사이의 간격 자체를 줄임 */
}
.report-container .btn-search,
.report-container .btn-reset,
.report-container .btn-excel,
.report-container .btn-pdf {
    padding: 5px 10px; /* 버튼 내부 여백 다이어트 */
    flex-shrink: 0;    /* 어떤 상황에서도 버튼 크기 유지 */
}

/* 해상도가 낮아질 때 전체 스케일 조정 (미디어 쿼리) */
@media screen and (max-width: 1400px) {
    body {
        /* 브라우저 지원 범위가 넓은 zoom 사용 (크롬, 엣지 등) */
        zoom: 0.9; 
    }
}

@media screen and (max-width: 1200px) {
    body {
        zoom: 0.8;
    }
}

@media screen and (max-width: 1000px) {
    .sidebar {
        width: 200px; /* 사이드바도 함께 축소 */
    }
    body {
        zoom: 0.7;
    }
}

.filter-form {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
}

/* 필터 영역 정렬 */
.filter-row {
    display: flex !important;
    align-items: center;
    gap: 5px;
    width: 100%; /* 전체 너비 사용 */
}

/* 엑셀 버튼을 우측 끝으로 밀어내는 클래스 */
.filter-item.align-right {
    margin-left: auto; 
}

.filter-row label {
    font-weight: bold;
    font-size: 0.9rem;
}

.input-date, .select-period {
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
}

.btn-search {
    background: #4a90e2;
    color: white;
    border: none;
    padding: 7px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.btn-search:hover {
    background: #357abd;
}

/* 엑셀 버튼 상태 */
.btn-excel {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    font-size: 0.9rem;
    border: none;
}

.btn-excel.active {
    background-color: #217346;
    color: white;
    cursor: pointer;
}

.btn-excel.active:hover {
    background-color: #1a5c38;
}

.btn-excel.disabled {
    background-color: #e0e0e0;
    color: #a0a0a0;
    cursor: not-allowed;
    border: 1px solid #d0d0d0;
}

/* 테이블 스타일 */
.history-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    margin-top: 10px;
}

.btn-pdf {
    display: inline-block;
    padding: 8px 10px;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    font-size: 0.9rem;
    border: none;
    background-color: #e74c3c;
    color: white;
    cursor: pointer;
}
/*style="background-color: #e74c3c; color: white; border: none; padding: 8px 15px; border-radius: 4px; cursor: pointer;">
*/

.history-table th {
    background: #f8f9fa;
    border-top: 2px solid #333;
    border-bottom: 1px solid #ddd;
    padding: 12px;
    font-size: 0.9rem;
}

.history-table td {
    border-bottom: 1px solid #eee;
    padding: 12px;
    text-align: center;
    font-size: 0.9rem;
}

.text-left {
    text-align: left !important;
}

.status-badge {
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
}

/* 데이터 없음 안내창 */
.no-data-box {
    text-align: center;
    padding: 80px 0;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-top: 10px;
}

/* 페이지네이션 우측 정렬 */
.pagination-wrapper {
    display: flex;
    justify-content: flex-end; /* 우측 정렬 */
    align-items: center;
    margin-top: 15px;
    gap: 5px;
}

.page-link {
    padding: 7px 12px;
    border: 1px solid #ddd;
    text-decoration: none;
    border-radius: 4px;
    background: #fff;
    color: #333;
}

.page-link.active {
    background: #4a90e2;
    color: white;
    border-color: #4a90e2;
}

.page-link:hover:not(.active) {
    background-color: #f1f1f1;
}

.page-dots {
    color: #ccc;
    padding: 0 5px;
}

/* 1. 상단바 공통 (모든 페이지 동일 적용) */
.navbar {
    position: fixed;   /* 화면 상단 고정 */
    top: 0;
    left: 0;
    width: 100%;       /* 가로폭 전체 */
    height: 60px;      /* 네비게이션바 높이 (지정된 높이에 맞춰 조절하세요) */
    z-index: 1000;     /* 다른 요소들보다 항상 위에 표시 */
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* 약간의 그림자 추가 */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.navbar-brand {
    font-size: 1.2rem !important;
    font-weight: bold;
}

.navbar-brand small {
    font-size: 0.7rem !important;
    color: #bbb;
    margin-left: 5px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* 2. 레이아웃 공통 */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* 3. 정보 그리드 (work.html용) */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #eee;
}

.info-item label {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 5px;
}

.info-item div {
    font-size: 1.05rem;
    font-weight: 500;
}

/* user_list */
/* 4. 폼 요소 스타일 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-control, textarea, .status-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box; /* 패딩이 너비를 벗어나지 않게 함 */
}

select.form-control, .status-select {
    /* 1. 주변 Input 상자와 동일한 높이 설정 (보통 38px~40px) */
    height: 38px !important; 
    
    /* 2. 상하 패딩을 아주 작게 조절 (잘림 방지 핵심) */
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 10px !important;
    padding-right: 30px !important; /* 화살표 공간 */

    /* 3. 줄 높이를 높이보다 1~2px 작게 설정하여 중앙 배치 */
    line-height: 36px !important; 
    
    /* 4. 기타 스타일 유지 */
    font-size: 14px; /* 1rem이 너무 크면 14px 정도로 조정 */
    vertical-align: middle;
    appearance: none !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 10px) center;
    background-size: 10px;
    background-color: #fff;
    
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

/* 2. 만약 부트스트랩과 충돌한다면 박스 모델을 재확인 */
select {
    display: inline-block;
    vertical-align: middle;
}

/* 마우스를 올렸을 때 살짝 강조 (선택 사항) */
select.form-control:hover {
    border-color: #3498db;
}

.user-greeting {
    font-size: 0.95rem;
}

.btn-logout {
    text-decoration: none;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 6px 15px;
    border-radius: 4px;
    font-size: 0.85rem;
    transition: background 0.3s;
}

.btn-logout:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

/* 5. 버튼 스타일 */
.button-group {
    display: flex;
    justify-content: space-between; /* 양 끝 정렬 */
    margin-top: 15px;
    width: 100%; /* 부모 너비에 꽉 차게 설정 */
}

.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
}

.btn-save { background-color: #28a745; color: white; }
.btn-exit { background-color: #6c757d; color: white; }

/* end user_list */

/* 재상담 목록 테이블 보정 */
.re-consult-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.re-consult-table th, 
.re-consult-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
}

.text-center {
    text-align: center;
}

/* 정보 그리드 레이아웃 */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-bottom: 30px;
}

/* 라벨 스타일 */
.info-item label {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 5px;
    font-weight: 600;
}

/* 데이터 공통 스타일 */
.info-data {
    font-size: 1rem;
    color: #2c3e50;
}

/* 데이터 강조 유형들 */
.data-bold { font-weight: bold; font-size: 1.1rem; }
.data-accent { color: var(--accent-color); font-weight: bold; font-size: 1.3rem; }
.data-mono { font-family: 'Courier New', monospace; font-size: 0.95rem; }
.data-money { color: #27ae60; font-weight: bold; }
.data-money-alt { color: #e67e22; font-weight: bold; }
.data-small { font-size: 0.9rem; line-height: 1.4; }

/* 주소 등 전체 칸 차지 */
.span-all { grid-column: span 2; border-top: 1px dashed #ddd; padding-top: 10px; }

/* 폼 관련 레이아웃 */
.form-row-group { display: flex; gap: 15px; margin-bottom: 15px; }
.flex-1 { flex: 1; }
.time-picker-group { display: flex; gap: 5px; }
.ampm-select { flex: 0.4; }
.time-input { flex: 0.6; }

/* 1. 기본 버튼 그룹 (모든 페이지 공통) */
.btn-group-base {
    display: flex;
    gap: 10px;
}

/* 2. 업무 처리 페이지 전용 (정렬 추가) */
.work-page .button-group {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    justify-content: flex-start; /* 왼쪽 정렬 */
}

/* 3. 취소 버튼 오른쪽 밀기 전용 */
.btn-push-right {
    margin-left: auto;
}

/* 사이드바를 제외한 나머지 영역 전체 */
.main-content {
    flex-grow: 1;
    background-color: #f4f7f6;
    min-height: 100vh;
    padding: 30px;
    display: flex;
    justify-content: flex-start; /* flex-center(X) -> flex-start(O) */
    overflow-x: auto;
}

/* 2. 내용 래퍼: 실제 검색창과 테이블이 들어가는 박스 */
.content-wrapper {
    width: 100%;
    max-width: 1600px; /* 너무 퍼지지 않게 적당한 너비 제한 (자유롭게 조절) */
    
    /* 혹시 모를 왼쪽 쏠림 방지 */
    margin-left: auto;
    margin-right: auto;
    
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* 결과 테이블 컨테이너 */
.report-result-section {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    width: 100%;
    min-height: 400px; /* 데이터가 없을 때도 어느 정도 영역 유지 */
}

/* 테이블이 영역을 꽉 채우도록 */
.report-table {
    width: 100%;
    border-collapse: collapse;
}

/* 필터 폼 전체 레이아웃 */
/* 리포트 페이지 전용 필터 스타일 (범위 한정) */
.admin-page .filter-form {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e0e6ed; /* 살짝 테두리 추가 */
    margin-bottom: 20px;
}

/* 라벨 위, 입력창 아래의 그리드 구조 */
.admin-page .filter-row {
    display: grid;
    /* 1줄에 8~10개 항목이 들어가도록 유연하게 설정 */
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); 
    gap: 12px;
    align-items: end; /* 버튼과 입력창의 바닥 라인을 일치시킴 */
}

/* 항목별 수직 정렬 */
.admin-page .filter-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.admin-page .filter-item label {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    margin-bottom: 2px;
    white-space: nowrap; /* 라벨 줄바꿈 방지 */
}

/* 입력창 및 셀렉트 박스 스타일 통일 */
.admin-page .filter-item input,
.admin-page .filter-item select {
    height: 35px;
    padding: 0 8px;
    border: 1px solid #ccd6e0;
    border-radius: 4px;
    font-size: 13px;
    width: 100%;
}

/* 버튼들을 위한 특별 처리 (조회, 엑셀) */
.admin-page .btn-search {
    background-color: #4a90e2;
    color: white;
    border: none;
    height: 35px;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.2s;
}

.admin-page .btn-excel.active {
    background-color: #217346;
    color: white;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
}
/****/
/* 2. 메인 컨테이너: 사이드바 옆 남은 공간을 채우고 중앙 정렬 */
.admin-main-wrapper {
    padding-top: 1px !important;    /* 40px -> 10px로 축소 */
    margin-top: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    min-width: 0 !important;
    padding: 40px !important;
    background-color: #f4f7f6;
    box-sizing: border-box !important;
    align-items: center; /* 자식 요소들을 가로축 중앙으로 정렬 */
}

/* 3. A영역: 헤더 (중앙 정렬 유지 및 너비 확보) */
.admin-section-header {
    margin-top: 0 !important;
    width: 100% !important;
    max-width: 1400px; /* 너무 넓게 퍼지지 않도록 제한 (선택) */
    text-align: center; /* 텍스트 정중앙 */
    margin-bottom: 10px !important;
}

/* 4. B영역(통계) & C영역(메뉴) 가로 정렬 고정 */
.admin-stats-container, 
.admin-menu-grid {
    display: grid !important;
    /* repeat(auto-fit, minmax(...)) 대신 요청하신 가로 균등 배분 강제 */
    grid-template-columns: repeat(4, 1fr) !important; 
    gap: 25px !important;
    width: 100% !important;
    max-width: 1400px; /* 헤더와 동일하게 맞춤 */
    margin-bottom: 50px !important;
}

/* 5. 개별 카드 (통계 & 메뉴 카드) 공통 보정 */
.admin-stat-card, 
.admin-menu-bo {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center; /* 내용 중앙 정렬 */
    width: 100% !important;
    min-width: 0 !important;
    padding: 30px !important;
    background: #fff !important;
    border-radius: 15px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06) !important;
    box-sizing: border-box !important;
    text-align: center; /* 카드 내부 텍스트 중앙 */
}

/* 메뉴 카드 내부 요소 (텍스트 정렬 및 버튼 하단 배치) */
.admin-menu-bo h3 { margin-top: 0; }
.admin-menu-bo p { flex-grow: 1; margin: 15px 0; }
.btn-admin { align-self: center; width: auto; min-width: 120px; }

/* 6. 반응형: 화면이 좁아질 때 */
@media (max-width: 1200px) {
    .admin-stats-container, 
    .admin-menu-grid {
        grid-template-columns: repeat(2, 1fr) !important; /* 2개씩 배치 */
    }
}

@media (max-width: 768px) {
    .admin-stats-container, 
    .admin-menu-grid {
        grid-template-columns: 1fr !important; /* 모바일은 1줄로 */
    }
    .admin-main-wrapper {
        padding: 20px !important;
    }
}

/* 수정용 모달 */
#editModal .filter-item select {
    width: 100%;
    height: 42px;         /* 높이 확보 */
    padding: 8px 12px;
    font-size: 15px;
    line-height: 1.5;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
}
#editModal * {
    box-sizing: border-box; /* 모달 내부의 모든 요소가 테두리 안으로 정렬됨 */
}

/* 통계 테이블 전용 스타일 - report-stats */
.stats-table {
    width: 100%;
    border-collapse: collapse !important;
    table-layout: fixed; /* 컬럼 너비를 일정하게 유지 */
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #dee2e6;
}

/* 헤더 공통 스타일 */
.stats-table thead th {
    vertical-align: middle !important;
    text-align: center;
    padding: 12px 4px;
    border: 1px solid #dee2e6 !important;
    font-weight: 600;
}

/* 1단 헤더: 대분류 (밝은 베이지 배경) */
.stats-table thead tr:first-child th {
    background-color: #f5f2ed; /* 따뜻하고 밝은 베이지 */
    color: #343a40;           /* 진한 회색 (가독성 확보) */
    font-size: 1rem;
    font-weight: 700;         /* 배경이 밝으니 글씨를 조금 더 두껍게 */
    border-bottom: 2px solid #dee2e6; /* 아래쪽 경계선 추가 */
}

/* 2단 헤더: 세부 상태 (약간 더 연한 베이지) */
.stats-table thead tr:last-child th {
    background-color: #faf9f7;
    color: #495057;
    font-size: 0.9rem;
}

/* 데이터 셀 스타일 */
.stats-table tbody td {
    padding: 10px;
    text-align: center;
    border: 1px solid #dee2e6;
    font-size: 0.9rem;
    color: #333;
}

/* 합계 컬럼 강조 */
.stats-table .col-total {
    background-color: #fff9db; /* 연한 노란색 배경 */
    font-weight: bold;
}

/* 마우스 호버 효과 */
.stats-table tbody tr:hover {
    background-color: #f1f3f5;
}

/* 소계 헤더 스타일 */
.subtotal-cell {
    background-color: #e9ecef !important;
    color: #495057;
    font-size: 0.85em;
}

/* 소계 데이터 컬럼 배경색 */
.subtotal-data {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #212529;
}

/* 행 전체 합계 강조 */
.row-total {
    background-color: #fff3cd !important;
}

/* 테이블 하단 전체 요약 행 */
.table-summary tr td {
    border-bottom: 2px solid #333 !important;
    padding: 12px 5px !important;
    text-align: center;
}

.btn-reset {
    background-color: #f8f9fa; /* 연한 회색 */
    color: #333;
    border: 1px solid #ccc;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    height: 38px; /* 다른 버튼과 높이 맞춤 */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-reset:hover {
    background-color: #e2e6ea;
    border-color: #adb5bd;
}
/* 주소 관련 */
/* 그룹 전체 호버 시 내부 tr들 색상 변경 */
.consult-group:hover .consult-row,
.consult-group:hover .address-row {
    background-color: #f1f7ff !important;
    cursor: pointer;
}

/* 주소 행만 따로 구분되는 느낌 */
.address-row {
    background-color: #fcfcfc;
}

/* 각 그룹 간의 경계선 */
.consult-group {
    border-bottom: 1px solid #eee;
}

/* 뱃지 스타일 */
.work-status-badge {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: 500;
}

.address-cell {
    padding: 1px 15px !important; /* 아주 얇게 유지 */
    line-height: 1.2;
    border-bottom: 1px solid #f0f0f0;
}

/* 만약 위쪽 tr(consult-row)의 높이 자체가 너무 크다면 */
.consult-row td {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

/* work_main의 조회조건 정렬 */
.input-group {
    display: flex;         /* 요소들을 가로로 정렬 */
    align-items: center;    /* 세로 중앙 맞춤 */
    flex-wrap: nowrap;     /* 절대 줄바꿈 하지 않음 */
    gap: 8px;              /* 요소들 사이의 간격 */
    width: 100%;
}

/* 입력창이 너무 길면 줄어들 수 있도록 설정 */
.input-group input[type="text"] {
    flex: 1;               /* 남는 공간을 채우되, 공간이 부족하면 줄어듦 */
    min-width: 150px;      /* 최소 너비 제한 */
}

.input-group label {
    white-space: nowrap;    /* 라벨 텍스트 줄바꿈 방지 */
}

/* admin_upload.html */
.v-stack {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important; /* 왼쪽 정렬 */
    gap: 20px; /* 제목과 컨테이너 사이 간격 */
}

/* work-html */
/* 레이아웃 분할 */
.content-wrapper {
    display: flex;
    gap: 5px; /* 사이 간격 */
    margin-bottom: 30px;
}

/* 부모 컨테이너: 좌우 배치 */
.work-content-wrapper {
    display: flex !important;  /* 가로 정렬 강제 */
    flex-direction: row !important; /* 가로 방향 강제 */
    gap: 5px;
    width: 100%;             /* 부모 너비 가득 채움 */
    box-sizing: border-box;
}

.main-info-section {
    flex: 0 0 65% !important; /* 정확히 65% 너비 차지, 줄어들거나 늘어나지 않음 */
    min-width: 0; 
}

.history-section {
    flex: 0 0 calc(35% - 5px) !important; /* 나머지 35%에서 gap(20px) 제외 */
    min-width: 0;
}

/* 화면이 좁아지면 세로로 배치 (모바일 대응) */
@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
    }
}

.hidden { display: none !important; }

/* start admin_upload.html */
/* ==========================================
   [데이터 업로드 페이지 전용]
   ========================================== */

/* 1. 컨테이너 전체 폭 확보 */
.upload-page-wrapper {
    width: 100% !important;
    max-width: 1400px; /* 너무 퍼지는 걸 방지하려면 수치 조절 */
    margin: 0 auto;
}

.upload-container {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    width: 100% !important;
    box-sizing: border-box;
    margin-top: 10px;
}

/* 2. 입력 섹션 스타일 */
.upload-group {
    margin-bottom: 25px;
}

.upload-group label {
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
    color: var(--admin-primary);
    font-size: 1.1rem;
}

.table-name-input {
    width: 100%;
    max-width: 400px;
    padding: 12px;
    border: 1px solid #ccd6e0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border 0.3s;
}

.table-name-input:focus {
    border-color: var(--accent-blue);
    outline: none;
}

/* 3. 드래그 앤 드롭 박스 */
.upload-box {
    border: 2px dashed #b2bec3;
    padding: 60px 20px;
    text-align: center;
    cursor: pointer;
    background: #fdfdfd;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.upload-box:hover {
    background: #f1f8ff;
    border-color: var(--accent-blue);
}

.upload-box p {
    font-size: 1.1rem;
    color: #636e72;
    margin: 0;
}

/* 4. 미리보기 테이블 */
.preview-section {
    margin-top: 35px;
}

.preview-title {
    border-left: 5px solid var(--admin-accent);
    padding-left: 12px;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.preview-table-container {
    overflow-x: auto;
    max-height: 400px;
    border: 1px solid #eee;
    border-radius: 4px;
}

#previewTable {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

#previewTable td {
    border: 1px solid #e9ecef;
    padding: 12px;
    white-space: nowrap;
}

/* 5. 하단 버튼 영역 */
.upload-footer {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.btn-upload-submit {
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 6px;
    border: none;
    transition: 0.3s;
}

.btn-cancel {
    background: #95a5a6;
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 6px;
}
.btn-confirm {
    background: #0599f5;
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 6px;
}


/* [데이터 업로드 페이지 레이아웃 강제 교정] */

/* 1. 부모 요소의 중앙 정렬 해제 및 상단 밀착 */
body.admin-page .main-content {
    display: block !important;       /* 중앙 정렬 Flex 해제 */
    width: 100% !important;
    padding-top: 10px !important;    /* 헤더와 너무 떨어지지 않게 조절 */
    min-height: 100vh;
}

/* 2. 래퍼와 컨테이너를 꽉 차게 확장 */
.upload-page-wrapper, 
.content-wrapper {
    width: 100% !important;
    max-width: 1400px !important;    /* 너무 넓으면 1400px, 꽉 채우려면 none */
    margin: 0 auto !important;
}

/* 3. 업로드 컨테이너가 30%로 보이는 현상 해결 */
.upload-container {
    width: 100% !important;          /* 무조건 전체 폭 사용 */
    box-sizing: border-box !important;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: block !important;       /* 내부 요소 정렬 방해 제거 */
}

/* 4. 내부 입력창도 너무 작지 않게 조정 */
.table-name-input {
    width: 100% !important;
    max-width: 500px !important;     /* 입력창은 너무 길면 어색하므로 적당히 제한 */
}
/* end upload */

/* serach_corp */
/* 업체 조회 페이지 전용 스타일 */
.search-container {
    /* 기존 20px 패딩 유지 */
    padding: 20px; 
    
    /* 핵심 수정: 1200px로 제한된 너비를 화면의 90%로 확장 */
    width: 90%; 
    max-width: none; /* 혹시 모를 제한 해제 */
    
    /* 중앙 정렬 유지 */
    margin: 0 auto;
}

/* 검색 박스 영역 */
.search-container .search-box { 
    background: #f8f9fa; 
    padding: 20px; 
    margin-bottom: 25px; 
    border: 1px solid #dee2e6; 
    border-radius: 5px; 
}

/* 리스트 테이블 영역 */
.search-container .table-container { 
    background: white; 
    border-radius: 5px; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.05); 
    overflow-x: auto;
}

.search-container .list-table { 
    width: 100%; 
    border-collapse: collapse; 
}

.search-container .list-table th { 
    background: #f1f3f5; 
    color: #495057;
    font-weight: 600;
    padding: 12px;
    border-bottom: 2px solid #dee2e6;
    /* 왼쪽 정렬(left)에서 중앙 정렬(center)로 변경 */
    text-align: center;
}

.search-container .list-table td { 
    padding: 12px; 
    border-bottom: 1px solid #dee2e6; 
    vertical-align: middle;
}

.search-container .list-table tr:hover { 
    background-color: #f8f9fa; 
    cursor: pointer; 
}

/* 하단 상세 정보 섹션 */
#detail_section { 
    display: none; 
    margin-top: 30px;
    border: 1px solid #3498db; 
    padding: 25px; 
    background: #fff; 
    border-radius: 8px;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.detail-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 15px 30px; 
}

.detail-item { 
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f1f3f5; 
}

.detail-label { 
    width: 120px;         /* 라벨 너비를 일정하게 고정 */
    display: inline-block; /* 너비 적용을 위해 블록 요소화 */
    text-align: center;    /* 텍스트 중앙 정렬 */
    font-weight: bold;
    background-color: #f1f3f5;
    padding: 8px 0;
    margin-right: 10px;
    border-radius: 4px;
}

.detail-value { 
    color: #212529; 
    word-break: break-all;
}

.full-width {
    grid-column: span 2;
}

/* 검색 박스 레이아웃: 테이블 크기에 맞춰 전체 너비 사용 */
.search-box form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    width: 100%;
}

/* 개별 필터 아이템 스타일 */
.search-box .filter-item {
    display: flex;
    flex-direction: column;
    margin-right: 10px;
}

/* 라벨만 중앙 정렬 (다른 CSS 영향 없음) */
.search-box .filter-item label {
    display: block;
    width: 100%;
    text-align: center; /* 라벨 텍스트 중앙 */
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 0.85rem;
}

/* 버튼들을 오른쪽 끝으로 밀기 위해 마지막 버튼 그룹에 margin-left: auto 적용 */
/* 조회 버튼이 들어있는 아이템부터 오른쪽으로 밀립니다 */
.search-box .filter-item:has(.btn-search) {
    margin-left: auto;
}

/* 버튼 아이템들 사이 간격 */
.search-box .filter-item:has(.btn-reset) {
    margin-right: 0;
}

/* 버튼 공통 스타일 살짝 조정 */
.search-box button {
    height: 38px; /* input/select 높이와 맞춤 */
    padding: 0 15px;
    white-space: nowrap;
}

/* 비율 설정 */
.width-75 { flex: 0 0 75%; }
.width-50 { flex: 0 0 50%; }
.width-25 { flex: 0 0 25%; }
/* end serach_corp */


/* =========================================
   모바일 반응형 스타일 (화면 너비 768px 이하)
   ========================================= */
@media screen and (max-width: 768px) {
    
    /* 1. 네비게이션 바 (user_base.html) */
    .navbar {
        flex-direction: column; /* 가로 배치를 세로 배치로 변경 */
        align-items: flex-start;
        padding: 10px 15px;
    }
    .nav-right {
        width: 100%;
        flex-direction: column;
        gap: 10px;
        margin-top: 15px;
    }
    .nav-link, .btn-logout {
        width: 100%; /* 버튼을 화면 꽉 차게 만들기 */
        text-align: center;
        box-sizing: border-box;
    }
    .user-greeting {
        margin-bottom: 10px;
    }

    /* 2. 대시보드 통계 카드 (work_main.html) */
    .stats-grid {
        display: grid;
        grid-template-columns: 1fr; /* 3칸을 1칸으로 변경하여 세로로 쌓기 */
        gap: 15px;
    }

    /* 3. 검색 및 필터 영역 (history.html, work_main.html) */
    .filter-row, 
    .filter-form,
    .search-filter-bar form {
        flex-direction: column !important; /* 가로 배열된 검색창을 세로로 */
        align-items: stretch !important;
        gap: 10px;
    }
    .filter-item, 
    .input-group {
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    .filter-item input, 
    .filter-item select,
    .input-group select,
    .input-group input {
        width: 100% !important; /* 입력창이 화면 밖으로 나가지 않게 */
        box-sizing: border-box;
        margin-top: 5px;
    }
    .date-separator {
        display: none; /* 모바일에서는 날짜 사이의 '~' 물결표시 숨김 */
    }

    /* 4. 업무 처리 상세 정보 그리드 (work.html) */
    .info-grid {
        grid-template-columns: 1fr !important; /* 2단/3단 구성을 1단으로 */
    }
    .form-row {
        flex-direction: column;
    }
    .form-group {
        width: 100%;
    }

    /* 5. 공통 여백 및 버튼 크기 조정 */
    .container, .history-container {
        padding: 10px;
    }
    button, .btn-action {
        width: 100%; /* 버튼들을 터치하기 쉽게 전체 너비로 변경 */
        padding: 12px; /* 터치 영역 확보를 위해 높이 증가 */
        margin-bottom: 5px;
        box-sizing: border-box;
    }
    .action-group {
        flex-direction: column;
    }
    /* 6. 모바일 전용 폰트 사이즈 확대 */
    body {
        font-size: 16px; /* 스마트폰 기본 가독성 보장 및 자동확대 방지 */
    }

    /* 제목 크기 확대 */
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.3rem; }
    h4 { font-size: 1.2rem; }

    /* 상단 네비게이션 및 인사말 */
    .user-greeting { font-size: 1.1rem; }
    .nav-link, .btn-logout { font-size: 1.1rem; font-weight: bold; }

    /* 입력 폼 및 필터 (조회구분, 날짜 등) */
    label, .filter-label { font-size: 1.05rem; font-weight: bold; }
    input, select, .filter-input, .filter-select, .input-date { 
        font-size: 16px !important; /* 모바일 입력창 권장 사이즈 */
    }

    /* 상세 정보(work.html) 및 테이블(history.html) 글씨 */
    .info-data { font-size: 1.1rem; }
    table td, table th { font-size: 1rem; padding: 10px 5px; }

    /* 대시보드(work_main.html) 숫자 크기 */
    .stat-card .value { font-size: 1.8rem; }

    /* 버튼 글씨 확대 */
    button, .btn-action { 
        font-size: 1.15rem; 
        font-weight: bold;
    }
}