* {
	box-sizing:border-box;
}

a:hover {
    text-decoration: none;
}

/* theme colors : corporate blue */
.theme-color-primary {
	color: #0d47a1;
}
.theme-color-secondary {
	color: #1976d2;
}
.theme-color-hover {
	color: #1565c0;
}
.theme-color-point {
	color: #64b5f6;
}
.theme-color-background {
	background-color: #e3f2fd;
}
.theme-color-text {
	color: #0d47a1;
}
.theme-color-text-point {
	color: #64b5f6;
}
.theme-color-red {
	color: #c62828;
}
.theme-color-green {
	color: #2e7d32;
}
.theme-color-yellow {
	color: #f9a825;
}
.theme-color-grey {
	color: #455a64;
}
.theme-color-purple {
	color: #6a1b9a;
}


/* 메인 화면 */

.body-section {
	background-color: #f5f5f5;
	min-height: 100vh;
}

/* 상단 네비게이션 */
.top-nav {
	background: linear-gradient(135deg, #0d47a1 0%, #1976d2 100%);
	padding: 15px 30px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 1000;
}

.nav-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.nav-logo {
	color: white;
	font-size: 20px;
	font-weight: 600;
}

.nav-right {
	display: flex;
	align-items: center;
}

.logout-link {
	color: white;
	text-decoration: none;
	padding: 8px 16px;
	border-radius: 4px;
	background-color: rgba(255, 255, 255, 0.1);
	transition: background-color 0.3s ease;
	font-size: 14px;
}

.logout-link:hover {
	background-color: rgba(255, 255, 255, 0.2);
	color: white;
}

.logout-link-mobile {
	display: none;
}

/* 등급 정보 스타일 - PC용 (nav-right 안에서만) */
.nav-right .grade-info {
	color: white;
	background-color: rgba(255, 255, 255, 0.15);
	padding: 6px 12px;
	border-radius: 12px;
	font-size: 13px;
	font-weight: 500;
	margin-right: 12px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

/* 모바일 메뉴의 등급 정보는 기본적으로 숨김 */
.nav-menu .grade-info {
	display: none;
}

.nav-menu {
	display: flex;
	gap: 20px;
}

.menu-toggle {
	display: none;
	background: none;
	border: none;
	color: white;
	font-size: 24px;
	cursor: pointer;
	padding: 10px;
	min-width: 44px;
	min-height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.menu-toggle:hover {
	opacity: 0.8;
}

.nav-menu a {
	color: white;
	text-decoration: none;
	padding: 8px 16px;
	border-radius: 4px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
}

.nav-menu a:hover:not(.active) {
	background: rgba(255, 255, 255, 0.12);
	transform: translateY(-0.5px);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.nav-menu a:hover:not(.active)::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
	transition: left 0.5s ease;
}

.nav-menu a:hover:not(.active)::before {
	left: 100%;
}

/* 활성 메뉴 스타일 */
.nav-menu a.active {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
	color: #fff;
	font-weight: 600;
	position: relative;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.3);
	border: 1px solid rgba(255, 255, 255, 0.2);
	transform: translateY(-1px);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu a.active::before {
	content: '';
	position: absolute;
	bottom: -1px;
	left: 50%;
	transform: translateX(-50%);
	width: 60%;
	height: 2px;
	background: linear-gradient(90deg, transparent 0%, #fff 50%, transparent 100%);
	border-radius: 1px;
}

.nav-menu a.active::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
	border-radius: inherit;
	pointer-events: none;
}

/* 메인 컨텐츠 */
.main-content {
	max-width: 1200px;
	margin: 80px auto 0;
	padding: 20px;
}

/* 새 작업 요청 버튼 */
.new-task-button {
	background-color: #f44336;
	color: white;
	padding: 15px 30px;
	border: none;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.3s ease;
	margin: 20px 0;
	display: inline-block;
	text-decoration: none;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.new-task-button:hover {
	background-color: #d32f2f;
	color: white;
}

/* 섹션 공통 스타일 */
.section {
	background: white;
	border-radius: 10px;
	padding: 25px;
	margin-bottom: 20px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.section-title {
	color: #0d47a1;
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 20px;
}

/* 정액제 현황 */
.subscription-info {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
}

.info-item {
	padding: 15px;
	background-color: #e3f2fd;
	border-radius: 6px;
}

.info-label {
	color: #455a64;
	font-size: 14px;
	margin-bottom: 5px;
}

.info-value {
	color: #0d47a1;
	font-size: 18px;
	font-weight: 500;
}

/* 작업 현황 */
.task-status {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-bottom: 15px;
}

.total-tasks {
	text-align: right;
	color: #455a64;
	font-size: 14px;
	padding: 10px 0;
	border-top: 1px solid #e0e0e0;
	margin-top: 10px;
}

.status-box {
	padding: 20px;
	border-radius: 6px;
	text-align: center;
	cursor: pointer;
	transition: transform 0.3s ease;
	text-decoration: none;
}

.status-box:hover {
	transform: translateY(-5px);
}

.status-box.waiting {
	background-color: #fff3e0;
	color: #e65100;
}

.status-box.processing {
	background-color: #e3f2fd;
	color: #0d47a1;
}

.status-box.completed {
	background-color: #e8f5e9;
	color: #2e7d32;
}

.status-box.hold {
	background-color: #f5f5f5;
	color: #616161;
}

.status-count {
	font-size: 24px;
	font-weight: 600;
	margin: 10px 0;
}

.status-label {
	font-size: 14px;
}

/* 모바일 최적화 스타일 */
@media (max-width: 768px) {
	.nav-container {
		padding: 10px 15px;
	}

	.logout-link-mobile {
		display: block;
	}

	.nav-right {
		display: none;
	}

	.menu-toggle {
		display: block;
	}

	.nav-menu {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background-color: #1a365d;
		flex-direction: column;
		gap: 0px;
		padding: 10px 0;
		box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
		z-index: 1001;
	}

	.nav-menu.active {
		display: flex;
	}

	.nav-menu a {
		padding: 20px 20px;
		text-align: left;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
		min-height: 48px;
		-webkit-tap-highlight-color: rgba(255, 255, 255, 0.1);
		-webkit-touch-callout: none;
		-webkit-user-select: none;
	user-select: none;
		cursor: pointer;
		pointer-events: auto;
		transition: all 0.2s ease;
\n	.nav-menu a:hover {
		background-color: rgba(255, 255, 255, 0.1);
		transform: translateX(5px);
		transition: all 0.2s ease;
	}

	.nav-menu a:active {
		background-color: rgba(255, 255, 255, 0.2);
		transform: scale(0.98);
	}
	}

	.nav-menu a:last-child {
		border-bottom: none;
	}

	/* 모바일에서 활성 메뉴 스타일 */
	.nav-menu a.active {
		background: linear-gradient(90deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
		font-weight: 600;
		color: #fff;
		border-left: 4px solid #fff;
		box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 3px rgba(0, 0, 0, 0.1);
		position: relative;
		transition: all 0.3s ease;
	}
	
	.nav-menu a.active::before {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, transparent 30%);
		pointer-events: none;
	}

	.logout-link {
		width: 100%;
		text-align: left;
		padding: 17px 20px;
		border-top: 1px solid rgba(255, 255, 255, 0.1);
		background-color: transparent;
	}

	.logout-link:hover {
		background-color: rgba(255, 255, 255, 0.1);
	}

	/* 모바일에서 등급 정보 스타일 */
	.nav-menu .grade-info {
		display: block;
		width: 100%;
		text-align: center;
		padding: 12px 20px;
		margin: 0;
		background-color: rgba(255, 255, 255, 0.1);
		border: none;
		border-radius: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
		box-shadow: none;
		font-size: 14px;
		color: white;
	}

	.main-content {
		margin-top: 70px; /* 상단 메뉴 높이에 맞춰 여백 증가 */
		padding: 15px;
	}

	.top-nav {
		padding: 10px;
	}

	.nav-logo {
		font-size: 18px;
		text-align: center;
	}

	/* 작업 현황 모바일 스타일 - 한줄에 2개씩 */
	.task-status {
		grid-template-columns: repeat(2, 1fr);
		gap: 15px;
	}
}

/* 작은 모바일 화면 추가 최적화 */
@media (max-width: 480px) {
	.nav-container {
		padding: 10px 15px;
	}

	.menu-toggle {
		display: block;
	}

	.nav-menu {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background-color: #1a365d;
		flex-direction: column;
		padding: 0;
		box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	}

	.nav-menu.active {
		display: flex;
	}

	.nav-menu a {
		padding: 17px 20px;
		text-align: left;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}

	.nav-menu a:last-child {
		border-bottom: none;
	}

	/* 작은 모바일에서 활성 메뉴 스타일 */
	.nav-menu a.active {
		background: linear-gradient(90deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
		font-weight: 600;
		color: #fff;
		border-left: 4px solid #fff;
		box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 3px rgba(0, 0, 0, 0.1);
		position: relative;
		transition: all 0.3s ease;
	}
	
	.nav-menu a.active::before {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, transparent 30%);
		pointer-events: none;
	}

	/* 작은 모바일에서 등급 정보 스타일 */
	.nav-menu .grade-info {
		display: block;
		width: 100%;
		text-align: center;
		padding: 12px 20px;
		margin: 0;
		background-color: rgba(255, 255, 255, 0.1);
		border: none;
		border-radius: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
		box-shadow: none;
		font-size: 14px;
		color: white;
	}

	.main-content {
		margin-top: 70px; /* 더 작은 화면에서 여백 추가 증가 */
	}

	.top-nav {
		padding: 8px;
	}

	/* 작업 현황 작은 모바일 스타일 - 한줄에 2개씩 */
	.task-status {
		grid-template-columns: repeat(2, 1fr);
		gap: 15px;
	}
}

/* 작업 요청 폼 스타일 */
.apply-form-section {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.apply-section-title {
    margin-bottom: 20px;
    color: #0d47a1;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.apply-form-group {
    margin-bottom: 20px;
}

.apply-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.apply-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.apply-form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.apply-form-control:focus {
    outline: none;
    border-color: #1976d2;
}

.apply-form-time {
    width: 160px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.apply-form-time:focus {
    outline: none;
    border-color: #1976d2;
}

.apply-time-period {
    display: flex;
    gap: 10px;
}

.apply-time-period label {
    display: flex;
    align-items: center;
    gap: 5px;
}

.apply-count-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.apply-count-btn {
    padding: 5px 10px;
    border: 1px solid #ddd;
    background: #f5f5f5;
    border-radius: 4px;
    cursor: pointer;
    min-width: 110px;
}

.apply-count-btn:hover {
    background: #e0e0e0;
}

.apply-count-display {
    min-width: 80px;
    max-width: 100px;
    text-align: center;
    flex: none;
}

.apply-address-group {
    display: grid;
    gap: 10px;
}

.apply-address-input {
    display: flex;
    gap: 10px;
}

.apply-address-input input:first-child {
    width: 100px;
}

.apply-address-input input:last-child {
    flex: 1;
}

.apply-submit-btn {
    width: 100%;
    padding: 15px;
    background-color: #1976d2;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.apply-submit-btn:hover {
    background-color: #1565c0;
}

textarea.apply-form-control {
    min-height: 100px;
    resize: vertical;
}

@media (max-width: 768px) {
    .apply-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* 정액제 정보 페이지 전용 스타일 */
/* body 스타일 - test_service_info용 */
.service-info-body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans KR', sans-serif;
    background-color: #f5f5f5;
    min-height: 100vh;
}

/* service_info용 전역 설정 */
.service-info-body * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans KR', sans-serif;
}

/* 현재 이용 중인 정액제 - service_info용 */
.service-current-plan {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.service-plan-item {
    padding: 20px;
    background-color: #e3f2fd;
    border-radius: 8px;
}

.service-plan-label {
    color: #455a64;
    font-size: 14px;
    margin-bottom: 8px;
}

.service-plan-value {
    color: #0d47a1;
    font-size: 18px;
    font-weight: 500;
}

/* 정액제 서비스 비교 테이블 */
.service-comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.service-comparison-table th,
.service-comparison-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.service-comparison-table th {
    background-color: #f5f5f5;
    font-weight: 600;
    color: #333;
}

.service-comparison-table tr:hover {
    background-color: #f8f9fa;
}

/* 문의하기 버튼 - service_info용 */
.service-inquiry-btn {
    width: 100%;
    padding: 15px;
    background-color: #1976d2;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: block;
    text-align: center;
}

.service-inquiry-btn:hover {
    background-color: #1565c0;
}

/* 모바일 최적화 - service_info용 추가 */
@media (max-width: 768px) {
    .service-comparison-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* 작업 리스트 페이지 전용 스타일 */

/* 작업리스트 상태별 갯수 */
.task-status-counts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.task-status-box {
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.task-status-box.waiting {
    background-color: #fff3e0;
    color: #e65100;
}

.task-status-box.processing {
    background-color: #e3f2fd;
    color: #0d47a1;
}

.task-status-box.completed {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.task-status-box.hold {
    background-color: #f5f5f5;
    color: #616161;
}

.task-status-count {
    font-size: 24px;
    font-weight: 600;
    margin: 10px 0;
}

.task-status-label {
    font-size: 14px;
}

/* 검색 영역 */
.search-area {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.search-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.search-select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    min-width: 120px;
}

.search-button {
    padding: 10px 20px;
    background: linear-gradient(135deg, #0d47a1 0%, #1976d2 100%);
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(13, 71, 161, 0.2);
    position: relative;
    overflow: hidden;
    min-width: 80px;
}

.search-button:hover {
    background: linear-gradient(135deg, #1565c0 0%, #1976d2 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(13, 71, 161, 0.3);
}

.search-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(13, 71, 161, 0.2);
}

.search-button::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 ease;
}

.search-button:hover::before {
    left: 100%;
}

/* 작업 리스트 */
.task-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.task-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    display: grid;
    gap: 10px;
}

.task-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.task-code {
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-badge {
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.status-badge.waiting {
    background-color: #fff3e0;
    color: #e65100;
}

.status-badge.processing {
    background-color: #e3f2fd;
    color: #0d47a1;
}

.status-badge.completed {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.status-badge.hold {
    background-color: #f5f5f5;
    color: #616161;
}

.type-badge {
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    position: relative;
    padding-left: 24px;
}

.type-badge::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.type-badge.new {
    background-color: #e3f2fd;
    color: #0d47a1;
}

.type-badge.new::before {
    background-color: #0d47a1;
}

.type-badge.maintenance {
    background-color: #fff3e0;
    color: #e65100;
}

.type-badge.maintenance::before {
    background-color: #e65100;
}

.type-badge.etc {
    background-color: #f5f5f5;
    color: #616161;
}

.type-badge.etc::before {
    background-color: #616161;
}

.task-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.task-info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.task-info-item.address {
    grid-column: 1 / -1;
}

.task-info-label {
    font-size: 12px;
    color: #666;
}

.task-info-value {
    font-size: 18px;
    color: #333;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding: 20px 0;
}

.pagination button {
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    background-color: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
}

.pagination button:hover {
    background-color: #f5f5f5;
}

.pagination button.active {
    background-color: #1976d2;
    color: white;
    border-color: #1976d2;
}

.pagination button:disabled {
    background-color: #f5f5f5;
    color: #bdbdbd;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .task-status-counts {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .search-area {
        flex-direction: column;
    }

    .search-select {
        width: 100%;
    }

    .search-button {
        width: 100%;
        padding: 12px 20px;
        font-size: 16px;
        margin-top: 5px;
    }
}

/* 작업내역 페이지 전용 스타일 */

/* 메인 컨텐츠 */
.task-main-content {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px 20px;
}

/* 헤더 컨테이너 */
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tab-menu {
    display: flex;
    gap: 20px;
}

.tab-item {
    padding: 8px 16px;
    color: #666;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
}

.tab-item:hover {
    color: #1976d2;
    background-color: #e3f2fd;
}

.tab-item.active {
    color: #1976d2;
    font-weight: 500;
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #1976d2;
}

.logout-button {
    padding: 8px 16px;
    background-color: #1976d2;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.logout-button:hover {
    background-color: #0d47a1;
    color: white;
    text-decoration: none;
}

/* 작업내역 상태별 갯수 */
.task-list-status-counts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.task-list-status-box {
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.task-list-status-box.total {
    background-color: #fff3e0;
    color: #e65100;
}

.task-list-status-box.processing {
    background-color: #e3f2fd;
    color: #0d47a1;
}

.task-list-status-box.completed {
    background-color: #e8f5e9;
    color: #2e7d32;
}

/* 작업내역 작업 리스트 아이템 */
.task-list-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    display: grid;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.task-list-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* 작업내역 정보 아이템 */
.task-info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.task-info-item.address {
    grid-column: 1 / -1;
}

.info-value.store-name {
    font-size: 18px;
    font-weight: 600;
    color: #0d47a1;
}

/* 작업내역 페이지네이션 */
.task-list-pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 20px;
}

.task-pagination-item {
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.task-pagination-item:hover {
    background-color: #e3f2fd;
    color: #1976d2;
    border-color: #1976d2;
}

.task-pagination-item.active {
    background-color: #1976d2;
    color: white;
    border-color: #1976d2;
}

.task-pagination-item.prev,
.task-pagination-item.next {
    display: flex;
    align-items: center;
    gap: 4px;
}

@media (max-width: 768px) {
    .header-container {
        padding: 15px 20px;
    }

    .tab-menu {
        gap: 10px;
    }

    .tab-item {
        padding: 6px 10px;
    }

    .logout-button {
        padding: 6px 12px;
    }

    .task-list-pagination {
        gap: 3px;
    }

    .task-pagination-item {
        padding: 6px 10px;
    }

    .task-pagination-item.prev span,
    .task-pagination-item.next span {
        display: none;
    }

    .task-pagination-item.prev::before {
        content: '←';
    }

    .task-pagination-item.next::before {
        content: '→';
    }
}

/* 작업 이력 조회 페이지 스타일 */
.task-history-body {
    font-family: 'Noto Sans KR', sans-serif;
    background-color: #f5f5f5;
    min-height: 100vh;
}

.task-history-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.task-history-tab-menu {
    display: flex;
    gap: 20px;
}

.task-history-tab-item {
    padding: 8px 16px;
    color: #666;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
}

.task-history-tab-item:hover {
    color: #1976d2;
    background-color: #e3f2fd;
}

.task-history-tab-item.active {
    color: #1976d2;
    font-weight: 500;
}

.task-history-tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #1976d2;
}

.task-history-logout-button {
    padding: 8px 16px;
    background-color: #1976d2;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.task-history-logout-button:hover {
    background-color: #0d47a1;
}

.task-history-main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 20px;
}

.task-history-section {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.task-history-section-title {
    margin-bottom: 20px;
    color: #0d47a1;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
    font-size: 18px;
    font-weight: 600;
}

/* 검색 영역 */
.task-history-search-area {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    align-items: center;
}

.task-history-search-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.task-history-search-select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    min-width: 120px;
}

.task-history-date-filter {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
}

.task-history-date-buttons {
    display: flex;
    gap: 10px;
}

.task-history-date-button {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.task-history-date-button:hover,
.task-history-date-button.active {
    background-color: #e3f2fd;
    color: #1976d2;
    border-color: #1976d2;
}

.task-history-date-range {
    display: flex;
    gap: 10px;
    align-items: center;
}

.task-history-date-input {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.task-history-date-label {
    font-size: 14px;
    color: #666;
    white-space: nowrap;
}

/* 통계 박스 */
.task-history-stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.task-history-stat-box {
    background: white;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.task-history-stat-box:hover {
    transform: translateY(-2px);
}

.task-history-stat-box.total {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.task-history-stat-box.new {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

.task-history-stat-box.maintenance {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
}

.task-history-stat-label {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

.task-history-stat-value {
    color: #1976d2;
    font-size: 24px;
    font-weight: 600;
}

.task-history-stat-box.total .task-history-stat-value {
    color: #0d47a1;
}

.task-history-stat-box.new .task-history-stat-value {
    color: #2e7d32;
}

.task-history-stat-box.maintenance .task-history-stat-value {
    color: #e65100;
}

/* 작업 목록 */
.task-history-task-list {
    width: 100%;
    border-collapse: collapse;
}

.task-history-task-list th,
.task-history-task-list td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
    white-space: nowrap;
}

.task-history-task-list th {
    background-color: #f5f5f5;
    font-weight: 500;
    color: #333;
}

.task-history-task-list tr:hover {
    background-color: #f8f9fa;
}

.task-history-task-list tbody tr {
    transition: background-color 0.2s ease;
}

.task-history-task-list tbody tr:hover {
    background-color: #e3f2fd;
}

.task-history-table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 15px;
}

/* 페이지네이션 */
.task-history-pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 20px;
}

.task-history-page-item {
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.task-history-page-item:hover {
    background-color: #e3f2fd;
    color: #1976d2;
    border-color: #1976d2;
}

.task-history-page-item.active {
    background-color: #1976d2;
    color: white;
    border-color: #1976d2;
}

.task-history-page-item.prev,
.task-history-page-item.next {
    display: flex;
    align-items: center;
    gap: 4px;
}

@media (max-width: 768px) {
    .task-history-header-container {
        padding: 15px 20px;
    }

    .task-history-tab-menu {
        gap: 10px;
    }

    .task-history-tab-item {
        padding: 6px 10px;
    }

    .task-history-logout-button {
        padding: 6px 12px;
    }

    .task-history-search-area {
        flex-direction: column;
        gap: 8px;
    }

    .task-history-search-input,
    .task-history-search-select {
        width: 100%;
        min-width: unset;
    }

    .task-history-date-filter {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .task-history-date-buttons {
        flex-wrap: wrap;
    }

    .task-history-date-range {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .task-history-date-label {
        font-weight: 500;
        color: #333;
    }

    .task-history-date-input {
        width: 100%;
    }

    .task-history-date-inputs-container {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .task-history-date-inputs-container span {
        white-space: nowrap;
    }

    .task-history-stats-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .task-history-stat-box {
        padding: 15px 10px;
    }

    .task-history-stat-label {
        font-size: 12px;
        margin-bottom: 5px;
    }

    .task-history-stat-value {
        font-size: 18px;
    }

    .task-history-table-container {
        padding: 0;
    }

    .task-history-task-list th,
    .task-history-task-list td {
        padding: 10px;
        font-size: 13px;
    }

    .task-history-task-list th:first-child,
    .task-history-task-list td:first-child {
        padding-left: 15px;
    }

    .task-history-task-list th:last-child,
    .task-history-task-list td:last-child {
        padding-right: 15px;
    }

    .task-history-pagination {
        gap: 3px;
    }

    .task-history-page-item {
        padding: 6px 10px;
    }

    .task-history-page-item.prev span,
    .task-history-page-item.next span {
        display: none;
    }

    .task-history-page-item.prev::before {
        content: '←';
    }

    .task-history-page-item.next::before {
        content: '→';
    }
}

/* 알림 센터 스타일 */
.notice-search-section {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
    align-items: center;
}

.notice-search-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
}

.notice-filter-select {
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    min-width: 120px;
}

.notice-search-button {
    padding: 8px 20px;
    background: linear-gradient(135deg, #0d47a1 0%, #1976d2 100%);
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(13, 71, 161, 0.2);
    min-width: 80px;
}

.notice-search-button:hover {
    background: linear-gradient(135deg, #1565c0 0%, #1976d2 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(13, 71, 161, 0.3);
}

.notice-search-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(13, 71, 161, 0.2);
}

/* 알림 목록 */
.notice-alert-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.notice-alert-item {
    background: white;
    border-radius: 8px;
    padding: 10px 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.2s ease;
    cursor: pointer;
}

.notice-alert-item:hover {
    transform: translateY(-2px);
}

.notice-alert-item.unread {
    border-left: 4px solid #1976d2;
    background-color: #e3f2fd;
}

.notice-alert-item:not(.unread) {
    opacity: 0.7;
    cursor: default;
}

.notice-alert-item.urgent {
    background-color: #ffebee;
    border-left: 4px solid #d32f2f;
}

.notice-alert-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.notice-alert-code {
    font-size: 14px;
    color: #666;
    flex-shrink: 0;
}

.notice-alert-subject {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
    flex: 1;
}

.notice-alert-content {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.notice-alert-task-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 8px;
    padding: 8px;
    background-color: rgba(0, 0, 0, 0.02);
    border-radius: 4px;
    font-size: 12px;
}

.task-info-item {
    color: #666;
    line-height: 1.3;
}

.task-info-item:first-child {
    color: #1976d2;
    font-weight: 500;
}

.notice-alert-time {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 12px;
    color: #666;
}

.notice-alert-delete {
    position: absolute;
    bottom: 10px;
    right: 20px;
    width: 24px;
    height: 24px;
    border: none;
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border-radius: 50%;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.notice-alert-delete:hover {
    background: #dc3545;
    color: white;
    transform: scale(1.1);
}

.notice-urgent-badge {
    display: inline-block;
    padding: 4px 8px;
    background-color: #d32f2f;
    color: white;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 8px;
}

/* 하단 버튼 */
.notice-mark-all-read {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #1976d2;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.notice-mark-all-read:hover {
    background-color: #0d47a1;
}

/* 알림 센터 모바일 반응형 */
@media (max-width: 768px) {
    .notice-search-section {
        flex-direction: column;
        padding: 15px;
    }

    .notice-search-input,
    .notice-filter-select {
        width: 100%;
    }

    .notice-search-button {
        width: 100%;
        margin-top: 10px;
    }

    .notice-alert-item {
        padding: 15px;
    }

    .notice-alert-time {
        position: static;
        display: block;
        margin-top: 8px;
    }

    .notice-alert-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .notice-alert-task-info {
        font-size: 11px;
    }
}

/* 작업 상세 페이지 스타일 */
.task-detail-section {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.task-detail-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

.task-detail-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.task-detail-info-item {
    display: flex;
    flex-direction: column;
}

.task-detail-info-item.address {
    grid-column: 1 / -1;
}

.task-detail-info-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.task-detail-info-value {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}
.task-detail-info-dt {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    width: 160px;
    display: inline-block;
}

.task-detail-report-section textarea {
    width: 100%;
    min-height: 120px;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-bottom: 15px;
    resize: vertical;
    font-size: 14px;
}

.task-detail-image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.task-detail-image-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.task-detail-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.task-detail-image-item:hover img {
    transform: scale(1.05);
}

.task-detail-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.task-detail-image-item:hover .task-detail-image-overlay {
    opacity: 1;
}

.task-detail-list-button {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #1976d2;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.task-detail-list-button:hover {
    background-color: #0d47a1;
}

.task-detail-button-container {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    margin-bottom: 30px;
}

.task-detail-input-button {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.task-detail-input-button:hover {
    background-color: #388e3c;
}

.task-detail-status-section {
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    margin-top: 10px;
}

.task-detail-status-radio-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.task-detail-status-radio {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 12px 20px;
    background-color: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 100px;
    justify-content: center;
}

.task-detail-status-radio:hover {
    border-color: #1976d2;
    background-color: #f3f7fd;
}

.task-detail-status-radio input[type="radio"] {
    margin: 0;
    margin-right: 8px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.task-detail-status-radio-label {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
}

.task-detail-status-radio input[type="radio"]:checked + .task-detail-status-radio-label {
    color: #1976d2;
    font-weight: 600;
}

.task-detail-status-radio:has(input[type="radio"]:checked) {
    border-color: #1976d2;
    background-color: #e3f2fd;
}

.task-detail-upload-section {
    margin-top: 20px;
}

.task-detail-upload-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.task-detail-upload-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.task-detail-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: #1976d2;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.task-detail-upload-btn:hover {
    background-color: #0d47a1;
}

.upload-icon {
    font-size: 16px;
}

.task-detail-image-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.task-detail-image-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.task-detail-image-item:hover img {
    transform: scale(1.05);
}

.task-detail-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 15px 12px 10px;
    text-align: center;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.task-detail-image-item:hover .task-detail-image-overlay {
    opacity: 1;
}

.image-remove-btn {
    background-color: #f44336;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.image-remove-btn:hover {
    background-color: #d32f2f;
}

.task-detail-image-item.marked-for-deletion {
    opacity: 0.5;
    border: 3px solid #f44336;
    border-radius: 8px;
    position: relative;
}

.task-detail-image-item.marked-for-deletion::before {
    content: "삭제 예정";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(244, 67, 54, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    z-index: 10;
    pointer-events: none;
}

.task-detail-image-item.marked-for-deletion img {
    filter: grayscale(100%);
}

.restore-btn {
    background-color: #ff9800 !important;
    color: white !important;
}

.restore-btn:hover {
    background-color: #f57c00 !important;
}

.task-detail-image-item.new-upload {
    border: 2px solid #4caf50;
    border-radius: 8px;
}

.task-detail-image-item.new-upload::after {
    content: "새 업로드";
    position: absolute;
    top: 8px;
    right: 8px;
    background-color: rgba(76, 175, 80, 0.9);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    z-index: 5;
}

.clickable-image {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.clickable-image:hover {
    transform: scale(1.02);
}

/* 이미지 뷰어 모달 */
.image-viewer-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-viewer-modal.show {
    opacity: 1;
}

.image-viewer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.image-viewer-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    z-index: 10001;
}

.image-viewer-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-viewer-container img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.image-viewer-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    z-index: 10002;
}

.image-viewer-close:hover {
    background: rgba(255, 255, 255, 1);
}

.image-viewer-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10002;
}

.image-viewer-nav:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.image-viewer-nav.prev {
    left: -70px;
}

.image-viewer-nav.next {
    right: -70px;
}

.image-viewer-info {
    margin-top: 15px;
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
}

.image-viewer-info span {
    margin: 0 10px;
}

#imageCounter {
    font-weight: bold;
}

@media (max-width: 768px) {
    .task-detail-info-grid {
        grid-template-columns: 1fr;
    }

    .task-detail-image-gallery {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .task-detail-button-container {
        flex-direction: column;
    }

    .task-detail-status-radio-group {
        flex-direction: column;
        gap: 12px;
    }

    .task-detail-status-radio {
        min-width: auto;
        width: 100%;
    }

    .task-detail-upload-header {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .task-detail-upload-btn {
        width: 100%;
        justify-content: center;
    }

    .task-detail-image-item img {
        height: 120px;
    }

    /* 이미지 뷰어 모바일 스타일 */
    .image-viewer-container img {
        max-width: 95vw;
        max-height: 70vh;
    }

    .image-viewer-close {
        top: -40px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 20px;
    }

    .image-viewer-nav {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .image-viewer-nav.prev {
        left: 10px;
    }

    .image-viewer-nav.next {
        right: 10px;
    }

    .image-viewer-info {
        margin-top: 10px;
        padding: 8px 15px;
        font-size: 12px;
    }
}

/* 관리자 대시보드 스타일 */

.adm-body {
    background-color: #f5f5f5;
    min-height: 100vh;
}

/* ADM 메인 페이지 스타일 */
/* 메인 컨텐츠 */
.adm-main-content {
    max-width: 1200px;
    margin: 80px auto 0;
    padding: 20px;
}

.box {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 25px;
    margin-bottom: 20px;
}

.box:last-child {
    margin-bottom: 0;
}

.box-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.box-row .box {
    flex: 1;
    margin-bottom: 0;
}

.box-title {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.status-icon {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
    color: #1976d2;
}

.status-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 15px;
}

.status-item.waiting {
    background-color: #fff3e0;
    color: #e65100;
}

.status-item.processing {
    background-color: #e3f2fd;
    color: #0d47a1;
}

.status-item.completed {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.status-item.pending {
    background-color: #f5f5f5;
    color: #616161;
}

.status-item.type-a {
    background-color: #e8eaf6;
    color: #3949ab;
}

.status-item.type-b {
    background-color: #f3e5f5;
    color: #7b1fa2;
}

.status-item.type-c {
    background-color: #e0f7fa;
    color: #00838f;
}

.status-item.type-d {
    background-color: #fff3e0;
    color: #e65100;
}

.status-item.type-s {
    background-color: #fce4ec;
    color: #ad1457;
}

.status-item.total {
    background-color: #f5f5f5;
    color: #424242;
}

.status-item.paid {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.status-item.unpaid {
    background-color: #ffebee;
    color: #c62828;
}

.adm-main-status-label {
    font-weight: 500;
}

.adm-main-status-count {
    font-weight: 600;
    font-size: 16px;
}

.adm-main-status-count.money {
    font-family: 'Noto Sans KR', sans-serif;
}

.box-title-left {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    text-align: left;
}

.urgent-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.urgent-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #fff3e0;
    border-radius: 8px;
    border-left: 4px solid #e65100;
}

.urgent-info {
    flex: 1;
}

.urgent-id {
    font-weight: 600;
    color: #e65100;
    margin-bottom: 4px;
    font-size: 14px;
}

.urgent-desc {
    color: #333;
    font-size: 14px;
}

.urgent-btn {
    padding: 6px 12px;
    background-color: #e65100;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    margin-left: 15px;
}

.urgent-btn:hover {
    background-color: #f57c00;
}

.agency-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.agency-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 8px;
    border-left: 4px solid #424242;
}

.agency-info {
    flex: 1;
}

.agency-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    font-size: 14px;
}

.agency-amount {
    color: #c62828;
    font-size: 14px;
    font-weight: 500;
}

.agency-btn {
    padding: 6px 12px;
    background-color: #424242;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    margin-left: 15px;
}

.agency-btn:hover {
    background-color: #616161;
}

.chart-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.pie-chart {
    width: 200px;
    height: 200px;
    position: relative;
    border-radius: 50%;
    background: conic-gradient(
        #2e7d32 0% 80%,
        #c62828 80% 100%
    );
}

.pie-chart::before {
    content: '';
    position: absolute;
    width: 140px;
    height: 140px;
    background: white;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.legend-color.paid {
    background-color: #2e7d32;
}

.legend-color.unpaid {
    background-color: #c62828;
}

.progress-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 10px 0;
}

.progress-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.progress-label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.progress-percent {
    font-size: 14px;
    font-weight: 600;
    color: #1976d2;
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-bar.type-a {
    background-color: #3949ab;
    width: 90%;
}

.progress-bar.type-b {
    background-color: #7b1fa2;
    width: 88%;
}

.progress-bar.type-c {
    background-color: #00838f;
    width: 85%;
}

/* 모바일 반응형 스타일 추가 */
@media screen and (max-width: 768px) {
    .box-row {
        flex-direction: column;
        gap: 20px;
    }
}

/* 관리자 작업목록 페이지 CSS */

/* 작업 현황 박스 */
.adm-task-list-status-box {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 25px;
    margin: 20px;
}

.adm-task-list-status-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.adm-task-list-count {
    font-size: 24px;
    font-weight: 600;
    color: #1976d2;
    margin-bottom: 15px;
}

.adm-task-list-progress-container {
    width: 100%;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.adm-task-list-progress-bar {
    height: 100%;
    background-color: #1976d2;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.adm-task-list-progress-text {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 13px;
    color: #666;
}

.adm-task-list-box-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
	padding: 0 20px;
}
.adm-task-list-box-row .box {
    flex: 1;
    margin-bottom: 0;
}
/* 모바일 반응형 스타일 추가 */
@media screen and (max-width: 768px) {
    .adm-task-list-box-row {
        flex-direction: column;
        gap: 20px;
    }
}

/* 작업 유형 분포 */
.adm-task-list-type-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.adm-task-list-type-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    line-height: 1.3;
    background-color: #f8f9fa;
    border-radius: 6px;
}

.adm-task-list-type-label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.adm-task-list-type-color {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

.adm-task-list-type-color.new {
    background-color: #1976d2;
}

.adm-task-list-type-color.maintenance {
    background-color: #2e7d32;
}

.adm-task-list-type-color.etc {
    background-color: #7b1fa2;
}

.adm-task-list-type-name {
    font-size: 14px;
    color: #333;
}

.adm-task-list-type-percent {
    font-size: 14px;
    font-weight: 500;
    color: #1976d2;
    background-color: #e3f2fd;
    padding: 2px 8px;
    border-radius: 4px;
}

/* 결과 보고 현황 */
.adm-task-list-report-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.adm-task-list-report-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    line-height: 1.3;
    background-color: #f8f9fa;
    border-radius: 6px;
}

.adm-task-list-report-reason {
    font-size: 14px;
    color: #333;
}

.adm-task-list-report-count {
    font-size: 14px;
    font-weight: 500;
    color: #1976d2;
    background-color: #e3f2fd;
    padding: 2px 8px;
    border-radius: 4px;
}

/* 결과 보고 현황 색상 점 스타일 - 작업 유형 분포와 동일한 구조 */
.adm-task-list-report-label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.adm-task-list-report-color {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

.adm-task-list-report-color.server {
    background-color: #f44336; /* 빨간색 - 서버 장애 */
}

.adm-task-list-report-color.network {
    background-color: #ff9800; /* 주황색 - 네트워크 불안정 */
}

.adm-task-list-report-color.security {
    background-color: #2196f3; /* 파란색 - 보안 업데이트 */
}

.adm-task-list-report-color.system {
    background-color: #4caf50; /* 초록색 - 시스템 점검 */
}

.adm-task-list-report-color.etc {
    background-color: #9c27b0; /* 보라색 - 기타 */
}

/* 검색 섹션 */
.adm-task-list-search-section {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 25px;
    margin: 20px;
}

.adm-task-list-search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.adm-task-list-search-group {
    flex: 1;
    min-width: 200px;
}

.adm-task-list-search-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.adm-task-list-search-input:focus {
    outline: none;
    border-color: #1976d2;
}

.adm-task-list-search-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background-color: white;
}

.adm-task-list-search-select:focus {
    outline: none;
    border-color: #1976d2;
}

.adm-task-list-date-section {
    width: 100%;
    margin-top: 0;
}

.adm-task-list-date-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.adm-task-list-date-button {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: white;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.adm-task-list-date-button:hover {
    background-color: #f5f5f5;
}

.adm-task-list-date-button.active {
    background-color: #ff7043;
    color: white;
    border-color: #ff7043;
}

.adm-task-list-date-button.active:hover {
    background-color: #f4511e;
    border-color: #f4511e;
}

.adm-task-list-date-button.search {
    background-color: #1976d2;
    color: white;
    border-color: #1976d2;
}

.adm-task-list-date-button.search:hover {
    background-color: #1565c0;
    border-color: #1565c0;
}

.adm-task-list-date-range {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-left: 10px;
}

.adm-task-list-date-range input {
    width: 130px;
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
}

.adm-task-list-date-range input:focus {
    outline: none;
    border-color: #1976d2;
}

/* 작업 목록 테이블 */
.adm-task-list-result-section {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 25px;
    margin: 20px;
}

.adm-task-list-table-container {
    width: 100%;
}

.adm-task-list-result-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.adm-task-list-result-table th {
    background-color: #f8f9fa;
    padding: 12px 6px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #dee2e6;
    white-space: nowrap;
}

.adm-task-list-result-table td {
    padding: 12px 6px;
    border-bottom: 1px solid #dee2e6;
    color: #666;
}

.adm-task-list-result-table tr:hover {
    background-color: #f8f9fa;
}

.adm-task-list-status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.adm-task-list-status-badge.status-start {
    background-color: #e3f2fd;
    color: #1976d2;
}

.adm-task-list-status-badge.status-progress {
    background-color: #fff3e0;
    color: #f57c00;
}

.adm-task-list-status-badge.status-complete {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.adm-task-list-status-badge.status-pending {
    background-color: #fce4ec;
    color: #c2185b;
}

.adm-task-list-result-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.adm-task-list-result-badge.result-attached {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.adm-task-list-result-badge.result-none {
    background-color: #f5f5f5;
    color: #757575;
}

.adm-task-list-button-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.adm-task-list-download-buttons {
    display: flex;
    gap: 10px;
}

.adm-task-list-action-buttons {
    display: flex;
    gap: 10px;
}

.adm-task-list-download-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.adm-task-list-download-button.excel {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.adm-task-list-download-button.excel:hover {
    background-color: #c8e6c9;
}

.adm-task-list-download-button.pdf {
    background-color: #ffebee;
    color: #c62828;
}

.adm-task-list-download-button.pdf:hover {
    background-color: #ffcdd2;
}

.adm-task-list-new-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #4caf50;
    color: white;
}

.adm-task-list-new-button:hover {
    background-color: #45a049;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .adm-task-list-button-section {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .adm-task-list-download-buttons,
    .adm-task-list-action-buttons {
        justify-content: center;
    }

    .adm-task-list-result-section {
        padding: 15px;
        margin: 15px;
        overflow-x: auto;
    }

    .adm-task-list-table-container {
        min-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .adm-task-list-result-table {
        min-width: 1200px;
    }

    .adm-task-list-result-table th,
    .adm-task-list-result-table td {
        padding: 10px 6px;
        font-size: 13px;
    }

    .adm-task-list-download-buttons {
        flex-direction: column;
    }

    .adm-task-list-download-button {
        width: 100%;
        justify-content: center;
    }

    .adm-task-list-search-group {
        min-width: 100%;
    }

    .adm-task-list-date-buttons {
        flex-wrap: wrap;
    }

    .adm-task-list-date-button {
        flex: 1;
        min-width: calc(50% - 5px);
        text-align: center;
    }

    .adm-task-list-date-range {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
    }

    .adm-task-list-date-range input {
        width: 100%;
    }
}

/* 알림 관리 페이지 스타일 */

/* 알림 페이지 상단 네비게이션 */
.alert-top-nav {
    background: linear-gradient(135deg, #0d47a1 0%, #1976d2 100%);
    padding: 15px 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.alert-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.alert-nav-logo {
    color: white;
    font-size: 20px;
    font-weight: 600;
}

.alert-nav-right {
    display: flex;
    align-items: center;
}

.alert-logout-link {
    color: white;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
    font-size: 13px;
}

.alert-logout-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.alert-logout-link-mobile {
    display: none;
    color: white;
    text-decoration: none;
    padding: 12px 16px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 10px;
}

.alert-nav-menu {
    display: flex;
    gap: 10px;
}

.alert-nav-menu a {
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.alert-nav-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.alert-nav-menu a.active {
    background-color: rgba(255, 255, 255, 0.2);
    font-weight: 500;
}

.alert-nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background-color: white;
    border-radius: 2px;
}

.alert-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

.alert-menu-toggle:hover {
    opacity: 0.8;
}

/* 알림 페이지 메인 컨텐츠 */
.alert-main-content {
    max-width: 1200px;
    margin: 80px auto 0;
    padding: 20px;
}

.alert-box-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.alert-box {
    flex: 1;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
}

.alert-box-title {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

.alert-box-count {
    font-size: 32px;
    font-weight: 600;
    color: #1976d2;
}

.alert-box.unread .alert-box-count {
    color: #d32f2f;
}

.alert-box.read .alert-box-count {
    color: #2e7d32;
}

/* 알림 검색 섹션 */
.alert-search-section {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 25px;
    margin-bottom: 20px;
}

.alert-search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.alert-search-group {
    flex: 1;
    min-width: 200px;
}

.alert-search-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.alert-search-input:focus {
    outline: none;
    border-color: #1976d2;
}

.alert-search-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background-color: white;
}

.alert-search-select:focus {
    outline: none;
    border-color: #1976d2;
}

.alert-date-section {
    width: 100%;
}

.alert-date-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.alert-date-button {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: white;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.alert-date-button:hover {
    background-color: #f5f5f5;
}



.alert-date-range {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-left: 10px;
}

.alert-date-range input {
    width: 130px;
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
}

.alert-date-range input:focus {
    outline: none;
    border-color: #1976d2;
}

/* 알림 검색 버튼 섹션 */
.alert-search-button-section {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.alert-search-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 20px;
    background-color: #1976d2;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(25, 118, 210, 0.2);
}

.alert-search-button:hover {
    background-color: #1565c0;
    box-shadow: 0 4px 8px rgba(25, 118, 210, 0.3);
    transform: translateY(-1px);
}

.alert-search-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(25, 118, 210, 0.2);
}

.alert-reset-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background-color: #6c757d;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(108, 117, 125, 0.2);
}

.alert-reset-button:hover {
    background-color: #5a6268;
    box-shadow: 0 4px 8px rgba(108, 117, 125, 0.3);
    transform: translateY(-1px);
}

.alert-reset-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(108, 117, 125, 0.2);
}

.alert-search-button svg,
.alert-reset-button svg {
    flex-shrink: 0;
}

/* 알림 검색 결과 테이블 */
.alert-result-section {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 25px;
    margin-top: 20px;
}

.alert-result-table {
    width: 100%;
    border-collapse: collapse;
}

.alert-result-table th {
    background-color: #f8f9fa;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #dee2e6;
}

.alert-result-table td {
    padding: 12px;
    border-bottom: 1px solid #dee2e6;
    color: #666;
}

.alert-result-table tr:last-child td {
    border-bottom: none;
}

.alert-result-table tr.unread {
    background-color: #fff8e1;
}

.alert-result-table tr.unread td {
    color: #333;
    font-weight: 500;
}

.alert-type {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.alert-type.work {
    background-color: #e3f2fd;
    color: #1976d2;
}

.alert-type.payment {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.alert-type.subscription {
    background-color: #f3e5f5;
    color: #7b1fa2;
}

.alert-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.alert-status.unread {
    background-color: #ffebee;
    color: #d32f2f;
}

.alert-status.read {
    background-color: #f5f5f5;
    color: #757575;
}

.alert-detail-link {
    color: #1976d2;
    text-decoration: none;
    font-size: 13px;
}

.alert-detail-link:hover {
    text-decoration: underline;
}

/* 알림 페이지 반응형 스타일 */
@media (max-width: 768px) {
    .alert-menu-toggle {
        display: block;
        margin-left: auto;
    }

    .alert-nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #0d47a1 0%, #1976d2 100%);
        flex-direction: column;
        padding: 15px;
        gap: 5px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    .alert-nav-menu.active {
        display: flex;
    }

    .alert-nav-menu a {
        padding: 10px 16px;
        display: block;
        text-align: center;
    }

    .alert-nav-container {
        padding: 0 10px;
    }

    .alert-nav-logo {
        font-size: 18px;
    }

    .alert-nav-right {
        display: none;
    }

    .alert-logout-link-mobile {
        display: block;
    }

    .alert-nav-menu a.active::after {
        display: none;
    }
    
    .alert-nav-menu a.active {
        background-color: rgba(255, 255, 255, 0.2);
        font-weight: 500;
        border-left: 3px solid white;
    }

    .alert-main-content {
        margin-top: 120px;
        padding: 1rem;
    }

    .alert-box-row {
        flex-direction: column;
        gap: 15px;
    }

    .alert-box {
        padding: 20px;
    }

    .alert-box-count {
        font-size: 28px;
    }

    .alert-search-group {
        min-width: 100%;
    }

    .alert-date-buttons {
        flex-wrap: wrap;
    }

    .alert-date-button {
        flex: 1;
        min-width: calc(50% - 5px);
        text-align: center;
    }

    .alert-date-range {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
    }

    .alert-date-range input {
        width: 100%;
    }

    .alert-result-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .alert-result-table th,
    .alert-result-table td {
        padding: 10px;
        font-size: 13px;
    }

    .alert-search-button-section {
        flex-direction: column;
        margin-top: 10px;
        padding-top: 10px;
    }

    .alert-search-button,
    .alert-reset-button {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }
}

/* 정액제 관리 페이지 스타일 */

/* 통계 박스 */
.pricing-stats-container {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

/* PC에서는 한 줄로 표시 */
.pricing-stats-row {
    display: contents;
}

.pricing-stats-box {
    flex: 1;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-stats-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pricing-stats-box-title {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
    font-weight: 500;
}

.pricing-stats-box-count {
    font-size: 32px;
    font-weight: 600;
    color: #1976d2;
    margin-bottom: 5px;
}

/* 각 박스별 색상 */
.pricing-stats-box.total .pricing-stats-box-count {
    color: #1976d2;
}

.pricing-stats-box.active .pricing-stats-box-count {
    color: #2e7d32;
}

.pricing-stats-box.expiring .pricing-stats-box-count {
    color: #f57c00;
}

.pricing-stats-box.expired .pricing-stats-box-count {
    color: #d32f2f;
}

.pricing-stats-box.over .pricing-stats-box-count {
    color: #7b1fa2;
}

/* 검색 섹션 */
.pricing-search-section {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 25px;
    margin-bottom: 20px;
}

.pricing-search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: end;
}

.pricing-search-group {
    flex: 1;
    min-width: 200px;
}

.pricing-search-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.pricing-search-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.pricing-search-input:focus {
    outline: none;
    border-color: #1976d2;
    box-shadow: 0 0 0 2px rgba(25, 118, 210, 0.1);
}

.pricing-search-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background-color: white;
}

.pricing-search-select:focus {
    outline: none;
    border-color: #1976d2;
    box-shadow: 0 0 0 2px rgba(25, 118, 210, 0.1);
}

.pricing-search-btn {
    padding: 10px 20px;
    background-color: #1976d2;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    min-width: 80px;
}

.pricing-search-btn:hover {
    background-color: #1565c0;
}

/* 테이블 섹션 */
.pricing-table-section {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 25px;
    margin-top: 20px;
}

.pricing-table-container {
    overflow-x: auto;
    border-radius: 8px;
    /* 스크롤 개선 */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

/* PC용 스크롤바 스타일 */
.pricing-table-container::-webkit-scrollbar {
    height: 8px;
}

.pricing-table-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.pricing-table-container::-webkit-scrollbar-thumb {
    background: #1976d2;
    border-radius: 4px;
}

.pricing-table-container::-webkit-scrollbar-thumb:hover {
    background: #1565c0;
}

.pricing-data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 700px; /* 최소 너비 설정으로 모바일에서 스크롤 유도 */
}

.pricing-data-table th {
    background-color: #f8f9fa;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #dee2e6;
}

.pricing-data-table td {
    padding: 12px;
    border-bottom: 1px solid #dee2e6;
    color: #666;
    vertical-align: middle;
}

.pricing-data-table tr:last-child td {
    border-bottom: none;
}

.pricing-data-table tr:hover {
    background-color: #f8f9fa;
}

/* 뱃지 스타일 */
.pricing-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

/* 유형 뱃지 (배경색 없음) */
.pricing-badge-type {
    border: 1px solid #dee2e6;
    background-color: transparent;
    color: #495057;
}

/* 상태 뱃지 (색상별) */
.pricing-badge-active {
    background-color: #d4edda;
    color: #155724;
}

.pricing-badge-expiring {
    background-color: #fff3cd;
    color: #856404;
}

.pricing-badge-expired {
    background-color: #f8d7da;
    color: #721c24;
}

.pricing-badge-over {
    background-color: #e2e3f0;
    color: #383d41;
}

/* 관리 아이콘 */
.pricing-edit-btn, .pricing-alert-btn, .pricing-delete-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 16px;
    margin-right: 5px;
}

.pricing-edit-btn {
    color: #1976d2;
}

.pricing-edit-btn:hover {
    background-color: #e3f2fd;
    color: #1565c0;
}

.pricing-alert-btn {
    color: #f57c00;
}

.pricing-alert-btn:hover {
    background-color: #fff3e0;
    color: #ef6c00;
}

.pricing-delete-btn {
    color: #d32f2f;
}

.pricing-delete-btn:hover {
    background-color: #ffebee;
    color: #c62828;
}

/* 관리 버튼 컨테이너 */
.pricing-action-buttons {
    display: flex;
    align-items: center;
    gap: 2px;
}

/* 대리점명 강조 */
.pricing-agency-name {
    font-weight: 600;
    color: #333;
}

/* 테이블 헤더 */
.pricing-table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.pricing-table-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.pricing-add-btn {
    padding: 10px 20px;
    background-color: #2e7d32;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: 500;
}

.pricing-add-btn:hover {
    background-color: #1b5e20;
}

/* 페이지네이션 */
.pricing-pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 5px;
}

.pricing-pagination-btn {
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    background-color: white;
    color: #495057;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    min-width: 40px;
    text-align: center;
}

.pricing-pagination-btn:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
    color: #495057;
}

.pricing-pagination-btn.active {
    background-color: #1976d2;
    border-color: #1976d2;
    color: white;
}

.pricing-pagination-btn.active:hover {
    background-color: #1565c0;
    border-color: #1565c0;
}

.pricing-pagination-btn:disabled {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    color: #6c757d;
    cursor: not-allowed;
}

.pricing-pagination-btn:disabled:hover {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    color: #6c757d;
}

.pricing-pagination-info {
    margin-left: 20px;
    color: #6c757d;
    font-size: 14px;
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    .pricing-stats-container {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .pricing-stats-row {
        display: flex;
        gap: 15px;
    }

    .pricing-stats-row .pricing-stats-box {
        flex: 1;
        padding: 20px;
    }

    .pricing-stats-box-count {
        font-size: 28px;
    }

    .pricing-search-group {
        min-width: 100%;
    }

    .pricing-search-btn {
        width: 100%;
        margin-top: 10px;
    }

    .pricing-table-section {
        padding: 15px;
    }

    .pricing-data-table {
        font-size: 13px;
    }

    .pricing-data-table th,
    .pricing-data-table td {
        padding: 8px;
        white-space: nowrap; /* 텍스트 줄바꿈 방지로 스크롤 유도 */
    }

    .pricing-table-container {
        border-radius: 8px;
        /* 모바일에서 스크롤 표시 개선 */
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    /* 모바일 스크롤바 스타일 (Webkit 기반 브라우저) */
    .pricing-table-container::-webkit-scrollbar {
        height: 6px;
    }

    .pricing-table-container::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 3px;
    }

    .pricing-table-container::-webkit-scrollbar-thumb {
        background: #1976d2;
        border-radius: 3px;
    }

    .pricing-table-container::-webkit-scrollbar-thumb:hover {
        background: #1565c0;
    }

    .pricing-pagination-container {
        flex-wrap: wrap;
        gap: 3px;
    }

    .pricing-pagination-btn {
        padding: 6px 10px;
        font-size: 13px;
        min-width: 35px;
    }

    .pricing-pagination-info {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
        text-align: center;
    }
}

/* 사용자 관리 페이지 전용 스타일 */
.agency-list-body {
    background-color: #f5f5f5;
    min-height: 100vh;
}

/* 상단 네비게이션 - 사용자 관리 페이지용 */
.agency-list-top-nav {
    background: linear-gradient(135deg, #0d47a1 0%, #1976d2 100%);
    padding: 15px 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.agency-list-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.agency-list-nav-logo {
    color: white;
    font-size: 20px;
    font-weight: 600;
}

.agency-list-nav-right {
    display: flex;
    align-items: center;
}

.agency-list-logout-link {
    color: white;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
    font-size: 13px;
}

.agency-list-logout-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.agency-list-logout-link-mobile {
    display: none;
    color: white;
    text-decoration: none;
    padding: 12px 16px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 10px;
}

.agency-list-nav-menu {
    display: flex;
    gap: 10px;
}

.agency-list-nav-menu a {
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.agency-list-nav-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.agency-list-nav-menu a.active {
    background-color: rgba(255, 255, 255, 0.2);
    font-weight: 500;
}

.agency-list-nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background-color: white;
    border-radius: 2px;
}

.agency-list-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

.agency-list-menu-toggle:hover {
    opacity: 0.8;
}

/* 메인 컨텐츠 - 사용자 관리 페이지용 */
.agency-list-main-content {
    max-width: 1200px;
    margin: 80px auto 0;
    padding: 20px;
}

/* 현황 섹션 */
.agency-list-status-section {
    margin-bottom: 30px;
}

.agency-list-section-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.agency-list-status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.agency-list-status-box {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 25px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.agency-list-status-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.agency-list-status-box-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.agency-list-status-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 15px;
}

.agency-list-status-icon.users {
    background-color: #e3f2fd;
    color: #1976d2;
}

.agency-list-status-icon.roles {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.agency-list-status-icon.account {
    background-color: #fff3e0;
    color: #f57c00;
}

.agency-list-status-box-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.agency-list-total-count {
    font-size: 28px;
    font-weight: 700;
    color: #1976d2;
    margin-bottom: 15px;
}

/* Progress Bar */
.agency-list-progress-info {
    margin-bottom: 10px;
}

.agency-list-progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.agency-list-progress-bar {
    width: 100%;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.agency-list-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4caf50, #2e7d32);
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* 상세 정보 */
.agency-list-detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.agency-list-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.agency-list-detail-item:last-child {
    border-bottom: none;
}

.agency-list-detail-label {
    font-size: 14px;
    color: #666;
}

.agency-list-detail-value {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.agency-list-role-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.agency-list-role-admin {
    background-color: #ffebee;
    color: #c62828;
}

.agency-list-role-staff {
    background-color: #e3f2fd;
    color: #1565c0;
}

.agency-list-role-agency {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.agency-list-status-active {
    color: #2e7d32;
    font-weight: 600;
}

.agency-list-status-inactive {
    color: #d32f2f;
    font-weight: 600;
}

/* 검색 섹션 */
.agency-list-search-section {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 25px;
    margin-bottom: 20px;
}

.agency-list-search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: end;
}

.agency-list-search-group {
    flex: 1;
    min-width: 200px;
}

.agency-list-search-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.agency-list-search-input:focus {
    outline: none;
    border-color: #1976d2;
    box-shadow: 0 0 0 2px rgba(25, 118, 210, 0.1);
}

.agency-list-search-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background-color: white;
    transition: border-color 0.3s ease;
}

.agency-list-search-select:focus {
    outline: none;
    border-color: #1976d2;
    box-shadow: 0 0 0 2px rgba(25, 118, 210, 0.1);
}

.agency-list-search-btn {
    padding: 10px 20px;
    background-color: #1976d2;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    min-width: 80px;
    font-weight: 500;
}

.agency-list-search-btn:hover {
    background-color: #1565c0;
}

/* 테이블 섹션 */
.agency-list-table-section {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 25px;
    margin-top: 20px;
}

/* 테이블 헤더 */
.agency-list-table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.agency-list-table-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.agency-list-add-user-btn {
    padding: 10px 20px;
    background-color: #2e7d32;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: 500;
}

.agency-list-add-user-btn:hover {
    background-color: #1b5e20;
}

.agency-list-table-container {
    overflow-x: auto;
    border-radius: 8px;
    /* 스크롤 개선 */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

/* PC용 스크롤바 스타일 */
.agency-list-table-container::-webkit-scrollbar {
    height: 8px;
}

.agency-list-table-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.agency-list-table-container::-webkit-scrollbar-thumb {
    background: #1976d2;
    border-radius: 4px;
}

.agency-list-table-container::-webkit-scrollbar-thumb:hover {
    background: #1565c0;
}

.agency-list-data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 800px; /* 최소 너비 설정으로 모바일에서 스크롤 유도 */
}

.agency-list-data-table th {
    background-color: #f8f9fa;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #dee2e6;
    white-space: nowrap;
}

.agency-list-data-table td {
    padding: 12px;
    border-bottom: 1px solid #dee2e6;
    color: #666;
    vertical-align: middle;
}

.agency-list-data-table tr:last-child td {
    border-bottom: none;
}

.agency-list-data-table tr:hover {
    background-color: #f8f9fa;
}

/* 클릭 가능한 행 스타일 */
.agency-list-data-table tbody tr {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.agency-list-data-table tbody tr:hover {
    background-color: #e3f2fd;
}

/* 비활성 사용자 행 스타일 */
.agency-list-data-table tr.inactive-user {
    background-color: #f8f9fa;
    opacity: 0.7;
}

.agency-list-data-table tr.inactive-user:hover {
    background-color: #e9ecef;
    opacity: 0.8;
}

/* 사용자명 강조 */
.agency-list-user-name {
    font-weight: 600;
    color: #333;
}

/* 연락처 정보 */
.agency-list-contact-info {
    line-height: 1.4;
}

.agency-list-contact-phone {
    display: block;
    color: #333;
}

.agency-list-contact-email {
    display: block;
    color: #666;
    font-size: 13px;
}

/* 뱃지 스타일 */
.agency-list-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

/* 역할 뱃지 (배경색 없음) */
.agency-list-badge-role {
    border: 1px solid #dee2e6;
    background-color: transparent;
    color: #495057;
}

/* 역할별 색상 구분 - 부드러운 톤 */
.agency-list-badge-role.admin {
    background-color: #fef2f2; /* 연한 빨강 배경 */
    border-color: #fecaca;
    color: #dc2626; /* 부드러운 빨강 */
}

.agency-list-badge-role.staff {
    background-color: #eff6ff; /* 연한 파랑 배경 */
    border-color: #bfdbfe;
    color: #2563eb; /* 부드러운 파랑 */
}

.agency-list-badge-role.agency {
    background-color: #f0fdf4; /* 연한 초록 배경 */
    border-color: #bbf7d0;
    color: #16a34a; /* 부드러운 초록 */
}

/* 상태 뱃지 (배경색 있음) */
.agency-list-badge-status-active {
    background-color: #d4edda;
    color: #155724;
}

.agency-list-badge-status-inactive {
    background-color: #e9ecef; /* 조금 더 진한 그레이 배경 */
    color: #495057; /* 더 진한 그레이 텍스트 */
}

/* 작업 아이콘 */
.agency-list-action-icon {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 18px;
}

.agency-list-action-icon.active {
    color: #2e7d32;
}

.agency-list-action-icon.active:hover {
    background-color: #e8f5e9;
}

.agency-list-action-icon.inactive {
    color: #d32f2f;
}

.agency-list-action-icon.inactive:hover {
    background-color: #ffebee;
}

/* 페이지네이션 */
.agency-list-pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 5px;
}

.agency-list-pagination-btn {
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    background-color: white;
    color: #495057;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    min-width: 40px;
    text-align: center;
}

.agency-list-pagination-btn:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
    color: #495057;
}

.agency-list-pagination-btn.active {
    background-color: #1976d2;
    border-color: #1976d2;
    color: white;
}

.agency-list-pagination-btn.active:hover {
    background-color: #1565c0;
    border-color: #1565c0;
}

.agency-list-pagination-btn:disabled {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    color: #6c757d;
    cursor: not-allowed;
}

.agency-list-pagination-btn:disabled:hover {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    color: #6c757d;
}

.agency-list-pagination-info {
    margin-left: 20px;
    color: #6c757d;
    font-size: 14px;
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    .agency-list-menu-toggle {
        display: block;
        margin-left: auto;
    }

    .agency-list-nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #0d47a1 0%, #1976d2 100%);
        flex-direction: column;
        padding: 15px;
        gap: 5px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    .agency-list-nav-menu.active {
        display: flex;
    }

    .agency-list-nav-menu a {
        padding: 10px 16px;
        display: block;
        text-align: center;
    }

    .agency-list-nav-container {
        padding: 0 10px;
    }

    .agency-list-nav-logo {
        font-size: 18px;
    }

    .agency-list-nav-right {
        display: none;
    }

    .agency-list-logout-link-mobile {
        display: block;
    }

    .agency-list-nav-menu a.active::after {
        display: none;
    }
    
    .agency-list-nav-menu a.active {
        background-color: rgba(255, 255, 255, 0.2);
        font-weight: 500;
        border-left: 3px solid white;
    }

    .agency-list-main-content {
        margin-top: 120px;
        padding: 1rem;
    }

    .agency-list-status-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .agency-list-status-box {
        padding: 20px;
    }

    .agency-list-total-count {
        font-size: 24px;
    }

    .agency-list-status-icon {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .agency-list-search-group {
        min-width: 100%;
    }

    .agency-list-search-btn {
        width: 100%;
        margin-top: 10px;
    }

    .agency-list-table-section {
        padding: 15px;
    }

    .agency-list-data-table {
        font-size: 13px;
    }

    .agency-list-data-table th,
    .agency-list-data-table td {
        padding: 8px;
        white-space: nowrap; /* 텍스트 줄바꿈 방지로 스크롤 유도 */
    }

    .agency-list-table-container {
        border-radius: 8px;
        /* 모바일에서 스크롤 표시 개선 */
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    /* 모바일 스크롤바 스타일 (Webkit 기반 브라우저) */
    .agency-list-table-container::-webkit-scrollbar {
        height: 6px;
    }

    .agency-list-table-container::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 3px;
    }

    .agency-list-table-container::-webkit-scrollbar-thumb {
        background: #1976d2;
        border-radius: 3px;
    }

    .agency-list-table-container::-webkit-scrollbar-thumb:hover {
        background: #1565c0;
    }

    .agency-list-pagination-container {
        flex-wrap: wrap;
        gap: 3px;
    }

    .agency-list-pagination-btn {
        padding: 6px 10px;
        font-size: 13px;
        min-width: 35px;
    }

    .agency-list-pagination-info {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
        text-align: center;
    }
}

/* 보고서 페이지 전용 스타일 */

.report-body {
    background-color: #f5f5f5;
    min-height: 100vh;
}

/* 상단 네비게이션 */
.report-top-nav {
    background: linear-gradient(135deg, #0d47a1 0%, #1976d2 100%);
    padding: 15px 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.report-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.report-nav-logo {
    color: white;
    font-size: 20px;
    font-weight: 600;
}

.report-nav-right {
    display: flex;
    align-items: center;
}

.report-logout-link {
    color: white;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
    font-size: 13px;
}

.report-logout-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.report-logout-link-mobile {
    display: none;
    color: white;
    text-decoration: none;
    padding: 12px 16px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 10px;
}

.report-nav-menu {
    display: flex;
    gap: 10px;
}

.report-nav-menu a {
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.report-nav-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.report-nav-menu a.active {
    background-color: rgba(255, 255, 255, 0.2);
    font-weight: 500;
}

.report-nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background-color: white;
    border-radius: 2px;
}

.report-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

.report-menu-toggle:hover {
    opacity: 0.8;
}

/* 메인 컨텐츠 */
.report-main-content {
    max-width: 1200px;
    margin: 80px auto 0;
    padding: 20px;
}

/* 현황 섹션 */
.report-status-section {
    margin-bottom: 30px;
}

.report-status-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

/* 좁은 PC 화면 (태블릿~중간 PC) */
@media (max-width: 1199px) and (min-width: 769px) {
    .report-status-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.report-status-box {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.report-status-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1976d2 0%, #42a5f5 100%);
}

.report-status-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.report-status-box-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.report-status-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 15px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.report-status-icon.tasks {
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
}

.report-status-icon.completed {
    background: linear-gradient(135deg, #fff3e0 0%, #ffcc02 100%);
}

.report-status-icon.agencies {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd9 100%);
}

.report-status-icon.payment {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
}

.report-status-box-title {
    font-size: 16px;
    font-weight: 600;
    color: #424242;
    margin: 0;
}

.report-main-stat {
    font-size: 32px;
    font-weight: 700;
    color: #1976d2;
    margin: 8px 0;
    line-height: 1.2;
}

.report-stat-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

.report-progress-info {
    margin-top: 12px;
}

.report-progress-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.report-progress-bar {
    background-color: #e0e0e0;
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
}

.report-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4caf50 0%, #66bb6a 100%);
    transition: width 0.6s ease;
    border-radius: 3px;
}

.report-progress-fill.warning {
    background: linear-gradient(90deg, #ff9800 0%, #ffb74d 100%);
}

.report-progress-fill.danger {
    background: linear-gradient(90deg, #f44336 0%, #ef5350 100%);
}

/* 검색 섹션 */
.report-search-section {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 25px;
    margin-bottom: 30px;
}

.report-search-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.report-search-row {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.report-search-group {
    flex: 1;
    min-width: 200px;
}

.report-search-group.small {
    flex: 0 0 auto;
    min-width: 120px;
}

.report-search-input, .report-search-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.report-search-input:focus, .report-search-select:focus {
    outline: none;
    border-color: #1976d2;
    box-shadow: 0 0 0 2px rgba(25, 118, 210, 0.1);
}

.report-date-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.report-date-btn {
    padding: 8px 12px;
    border: 1px solid #ddd;
    background-color: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.report-date-btn:hover {
    background-color: #f5f5f5;
    border-color: #1976d2;
}

.report-date-btn.active {
    background-color: #1976d2;
    color: white;
    border-color: #1976d2;
}

.report-date-input {
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    width: 130px;
}

.report-date-input:focus {
    outline: none;
    border-color: #1976d2;
}

.report-search-btn {
    background-color: #1976d2;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    min-width: 80px;
}

.report-search-btn:hover {
    background-color: #1565c0;
}

.report-download-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.report-download-btn {
    padding: 10px 16px;
    border: 1px solid #ddd;
    background-color: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.report-download-btn.excel {
    color: #2e7d32;
    border-color: #2e7d32;
}

.report-download-btn.excel:hover {
    background-color: #e8f5e9;
}

.report-download-btn.pdf {
    color: #d32f2f;
    border-color: #d32f2f;
}

.report-download-btn.pdf:hover {
    background-color: #ffebee;
}

/* 차트 섹션 */
.report-chart-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.report-chart-box {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 25px;
    border: 1px solid #e9ecef;
}

.report-chart-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

/* 막대 그래프 (세로형) */
.report-bar-chart-wrapper {
    position: relative;
    padding: 20px 50px 50px 60px;
    background-color: #fdfdfd;
    border-radius: 8px;
}

.report-chart-grid {
    position: absolute;
    top: 20px;
    left: 60px;
    right: 50px;
    bottom: 50px;
}

.report-grid-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #e0e0e0;
}

.report-y-axis {
    position: absolute;
    left: 10px;
    top: 20px;
    bottom: 50px;
    width: 50px;
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
}

.report-y-label {
    font-size: 11px;
    color: #666;
    text-align: right;
    line-height: 1;
    transform: translateY(50%);
}

.report-x-axis {
    position: absolute;
    bottom: 10px;
    left: 60px;
    right: 50px;
    height: 40px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.report-x-label {
    font-size: 13px;
    color: #666;
    font-weight: 500;
    text-align: center;
}

.report-bar-chart {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 240px;
    z-index: 10;
}

.report-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    max-width: 60px;
}

.report-bar-container {
    width: 40px;
    height: 240px;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.report-bar-fill {
    width: 100%;
    border-radius: 4px 4px 0 0;
    transition: height 0.8s ease;
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background: linear-gradient(180deg, #42a5f5 0%, #2196f3 100%);
}

.report-bar-value {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    color: #333;
    font-size: 11px;
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 2px 5px;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
}

/* 원형 그래프 */
.report-pie-chart-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.report-pie-chart {
    position: relative;
    width: 200px;
    height: 200px;
}

.report-pie-legend {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.report-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.report-legend-color {
    width: 16px;
    height: 16px;
    border-radius: 3px;
}

.report-legend-color.type-a {
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
}

.report-legend-color.type-b {
    background: linear-gradient(135deg, #2196f3 0%, #42a5f5 100%);
}

.report-legend-color.type-c {
    background: linear-gradient(135deg, #ff9800 0%, #ffb74d 100%);
}

.report-legend-text {
    font-size: 14px;
    color: #666;
}

.report-legend-value {
    font-weight: 600;
    color: #333;
    margin-left: auto;
}

/* 꺾은 선 그래프 */
.report-line-chart-wrapper {
    position: relative;
    padding: 20px 50px 50px 60px;
    background-color: #fdfdfd;
    border-radius: 8px;
    height: 350px;
}

.report-line-chart-grid {
    position: absolute;
    top: 20px;
    left: 60px;
    right: 50px;
    bottom: 50px;
}

.report-line-chart-grid .report-grid-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #e0e0e0;
}

.report-line-y-axis {
    position: absolute;
    left: 10px;
    top: 20px;
    bottom: 50px;
    width: 50px;
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
}

.report-line-y-label {
    font-size: 11px;
    color: #666;
    text-align: right;
    line-height: 1;
    transform: translateY(50%);
}

.report-line-x-axis {
    position: absolute;
    bottom: 10px;
    left: 60px;
    right: 50px;
    height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.report-line-x-label {
    font-size: 13px;
    color: #666;
    font-weight: 500;
    text-align: center;
}

.report-line-chart {
    position: relative;
    height: 280px;
    z-index: 10;
}

.report-line-chart svg {
    width: 100%;
    height: 100%;
}

.report-line-path {
    fill: none;
    stroke: #2196f3;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.report-line-point {
    fill: #2196f3;
    stroke: white;
    stroke-width: 2;
    r: 5;
}

.report-line-point:hover {
    fill: #1976d2;
    r: 7;
    cursor: pointer;
}

.report-point-value {
    font-size: 11px;
    font-weight: 600;
    fill: #333;
    text-anchor: middle;
    dominant-baseline: central;
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    .report-menu-toggle {
        display: block;
        margin-left: auto;
    }

    .report-nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #0d47a1 0%, #1976d2 100%);
        flex-direction: column;
        padding: 15px;
        gap: 5px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    .report-nav-menu.active {
        display: flex;
    }

    .report-nav-menu a {
        padding: 10px 16px;
        display: block;
        text-align: center;
    }

    .report-nav-container {
        padding: 0 10px;
    }

    .report-nav-logo {
        font-size: 18px;
    }

    .report-nav-right {
        display: none;
    }

    .report-logout-link-mobile {
        display: block;
    }

    .report-nav-menu a.active::after {
        display: none;
    }
    
    .report-nav-menu a.active {
        background-color: rgba(255, 255, 255, 0.2);
        font-weight: 500;
        border-left: 3px solid white;
    }

    .report-main-content {
        margin-top: 120px;
        padding: 1rem;
    }

    .report-status-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .report-status-box {
        padding: 20px;
    }

    .report-status-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
        margin-right: 12px;
    }

    .report-status-box-title {
        font-size: 15px;
    }

    .report-main-stat {
        font-size: 28px;
    }

    .report-stat-subtitle {
        font-size: 13px;
    }

    .report-search-section {
        padding: 20px;
    }

    .report-search-row {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .report-search-group {
        min-width: auto;
    }

    .report-date-buttons {
        flex-wrap: wrap;
        gap: 6px;
    }

    .report-date-btn {
        flex: 1;
        min-width: 60px;
        text-align: center;
        padding: 8px 6px;
        font-size: 12px;
    }

    .report-date-input {
        width: 100%;
    }

    .report-search-btn {
        width: 100%;
        margin-top: 10px;
    }

    .report-download-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .report-download-btn {
        width: 100%;
        justify-content: center;
    }

    .report-chart-section {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .report-chart-box {
        padding: 20px;
    }

    .report-chart-title {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .report-bar-chart-wrapper {
        padding: 15px 30px 40px 40px;
    }

    .report-chart-grid {
        top: 15px;
        left: 40px;
        right: 30px;
        bottom: 40px;
    }

    .report-y-axis {
        left: 5px;
        top: 15px;
        bottom: 40px;
        width: 35px;
    }

    .report-y-label {
        font-size: 10px;
    }

    .report-x-axis {
        bottom: 5px;
        left: 40px;
        right: 30px;
        height: 35px;
    }

    .report-x-label {
        font-size: 11px;
    }

    .report-bar-chart {
        height: 180px;
    }

    .report-bar-item {
        max-width: 45px;
    }

    .report-bar-container {
        width: 30px;
        height: 180px;
    }

    .report-bar-value {
        font-size: 10px;
        top: -18px;
        padding: 1px 3px;
    }

    .report-pie-chart-container {
        flex-direction: column;
        gap: 20px;
    }

    .report-pie-chart {
        width: 160px;
        height: 160px;
    }

    .report-legend-text {
        font-size: 13px;
    }

    .report-line-chart-wrapper {
        padding: 15px 30px 40px 40px;
        height: 280px;
    }

    .report-line-chart-grid {
        top: 15px;
        left: 40px;
        right: 30px;
        bottom: 40px;
    }

    .report-line-y-axis {
        left: 5px;
        top: 15px;
        bottom: 40px;
        width: 35px;
    }

    .report-line-y-label {
        font-size: 10px;
    }

    .report-line-x-axis {
        bottom: 5px;
        left: 40px;
        right: 30px;
        height: 35px;
    }

    .report-line-x-label {
        font-size: 11px;
    }

    .report-line-chart {
        height: 225px;
    }

    .report-point-value {
        font-size: 10px;
    }
}

/* 수정 아이콘 스타일 */
.agency-list-edit-link {
    display: inline-block;
    padding: 8px;
    color: #6c757d; /* 편안한 회색 */
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.agency-list-edit-link:hover {
    background-color: #f8f9fa;
    color: #495057; /* 호버 시 조금 더 진한 회색 */
    transform: scale(1.1);
}

.agency-list-edit-icon {
    font-size: 16px;
}

/* set_page_navi 함수에서 생성되는 페이지네이션 스타일 */
.pager_container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.pager {
    display: flex;
    align-items: center;
    gap: 5px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pager li a {
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    background-color: white;
    color: #495057;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 14px;
    min-width: 40px;
    text-align: center;
    display: block;
}

.pager li a:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
    color: #495057;
}

.pager li.active a {
    background-color: #1976d2;
    border-color: #1976d2;
    color: white;
}

.pager li.active a:hover {
    background-color: #1565c0;
    border-color: #1565c0;
}

/* 사용자 추가/수정 페이지 스타일 */
.agency-write-header-section {
    background: white;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.agency-write-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.agency-write-title {
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.agency-write-back-btn {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.agency-write-back-btn:hover {
    background-color: #5a6268;
}

.agency-write-form-section {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
}

.agency-write-form-box {
    padding: 30px;
    border-bottom: 1px solid #e9ecef;
}

.agency-write-form-box:last-child {
    border-bottom: none;
}

.agency-write-form-title {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 25px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #1976d2;
}

.agency-write-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.agency-write-input-group {
    display: flex;
    flex-direction: column;
}

.agency-write-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
    font-size: 14px;
}

.agency-write-required {
    color: #dc3545;
    font-weight: bold;
}

.agency-write-optional {
    color: #6c757d;
    font-size: 12px;
    font-weight: normal;
}

.agency-write-input,
.agency-write-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
    background-color: white;
}

.agency-write-input:focus,
.agency-write-select:focus {
    outline: none;
    border-color: #1976d2;
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
}

.agency-write-validation {
    margin-top: 8px;
    font-size: 12px;
}

.validation-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
}

.validation-item {
    font-size: 12px;
}

.validation-item.valid {
    color: #28a745;
}

.validation-item.invalid {
    color: #dc3545;
}

.validation-success {
    color: #28a745;
}

.validation-error {
    color: #dc3545;
}

.agency-write-button-section {
    padding: 30px;
    background-color: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.agency-write-button-center {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex: 1;
}

.agency-write-cancel-btn,
.agency-write-submit-btn,
.agency-write-delete-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.agency-write-cancel-btn {
    background-color: #6c757d;
    color: white;
}

.agency-write-cancel-btn:hover {
    background-color: #5a6268;
}

.agency-write-submit-btn {
    background-color: #1976d2;
    color: white;
}

.agency-write-submit-btn:hover {
    background-color: #1565c0;
}

.agency-write-delete-btn {
    background-color: #dc3545;
    color: white;
}

.agency-write-delete-btn:hover {
    background-color: #c82333;
}

@media (max-width: 768px) {
    .agency-write-header-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .agency-write-form-grid {
        grid-template-columns: 1fr;
    }
    
    .agency-write-button-section {
        flex-direction: column;
    }
    
    .agency-write-button-center {
        width: 100%;
    }
    
    .agency-write-delete-btn {
        width: 100%;
        margin-top: 10px;
    }
    
    .validation-grid {
        grid-template-columns: 1fr;
    }
}

/* === 관리자 작업 목록 상세 스타일 === */

/* 작업 상태별 배지 스타일 - 네 개 상태 정리 */
.adm-task-list-status-badge.status-start {
    background-color: #e3f2fd;
    color: #1976d2;
    border: 1px solid #bbdefb;
}

.adm-task-list-status-badge.status-progress {
    background-color: #fff3e0;
    color: #f57c00;
    border: 1px solid #ffcc02;
}

.adm-task-list-status-badge.status-complete {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.adm-task-list-status-badge.status-pending {
    background-color: #fce4ec;
    color: #c2185b;
    border: 1px solid #f8bbd9;
}

/* 결과 보고 현황 색상 점 스타일 */
.adm-task-list-report-label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.adm-task-list-report-color {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

.adm-task-list-report-color.server {
    background-color: #f44336;
}

.adm-task-list-report-color.network {
    background-color: #ff9800;
}

.adm-task-list-report-color.security {
    background-color: #2196f3;
}

.adm-task-list-report-color.system {
    background-color: #4caf50;
}

.adm-task-list-report-color.etc {
    background-color: #9c27b0;
}

/* 클릭 가능한 테이블 행 스타일 */
.adm-task-list-clickable-row {
    cursor: pointer;
    transition: all 0.2s ease;
}

.adm-task-list-clickable-row:hover {
    background-color: #f0f7ff !important;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.15);
    transform: translateY(-1px);
}

.adm-task-list-clickable-row:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(25, 118, 210, 0.2);
}

/* 파트너 대리점명 스타일 */
.adm-task-list-partner-name {
    font-size: 12px;
    color: #999;
    opacity: 0.9;
    margin-bottom: 1px;
}

/* 테이블 행 호버 시 텍스트 색상 조정 */
.adm-task-list-clickable-row:hover td {
    color: #1976d2;
}

/* 상태 배지와 결과 배지는 호버 시에도 원래 색상 유지 */
.adm-task-list-clickable-row:hover .adm-task-list-status-badge,
.adm-task-list-clickable-row:hover .adm-task-list-result-badge {
    color: inherit;
}

/* 관리자 작업 상세 페이지 스타일 */
.adm-task-detail-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.adm-task-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #1976d2;
}

.adm-task-detail-title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.adm-task-detail-back-btn {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.adm-task-detail-back-btn:hover {
    background-color: #5a6268;
}

.adm-task-detail-section {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 25px;
    margin-bottom: 25px;
}

.adm-task-detail-section-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.adm-task-detail-section-title i {
    color: #1976d2;
}

.adm-task-detail-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.adm-task-detail-info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.adm-task-detail-info-label {
    font-size: 14px;
    font-weight: 600;
    color: #666;
}

.adm-task-detail-info-value {
    font-size: 16px;
    color: #333;
    padding: 8px 12px;
    background-color: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.adm-task-detail-status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    max-width: 100px;
}

.adm-task-detail-status-badge.status-start {
    background-color: #e3f2fd;
    color: #1976d2;
    border: 1px solid #bbdefb;
}

.adm-task-detail-status-badge.status-progress {
    background-color: #fff3e0;
    color: #f57c00;
    border: 1px solid #ffcc02;
}

.adm-task-detail-status-badge.status-complete {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.adm-task-detail-status-badge.status-pending {
    background-color: #fce4ec;
    color: #c2185b;
    border: 1px solid #f8bbd9;
}

.adm-task-detail-textarea-container {
    margin-bottom: 20px;
}

.adm-task-detail-textarea-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    margin-bottom: 8px;
}

.adm-task-detail-textarea {
    width: 100%;
    min-height: 120px;
    padding: 15px;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
    background-color: #f8f9fa;
    resize: vertical;
    box-sizing: border-box;
}

.adm-task-detail-file-section {
    margin-top: 20px;
}

.adm-task-detail-file-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.adm-task-detail-image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.adm-task-detail-image-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    cursor: pointer;
}

.adm-task-detail-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.adm-task-detail-image-item:hover img {
    transform: scale(1.05);
}

.adm-task-detail-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.adm-task-detail-image-item:hover .adm-task-detail-image-overlay {
    opacity: 1;
}

.adm-task-detail-actions {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.adm-task-detail-action-btn {
    flex: 1;
    max-width: 200px;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.adm-task-detail-action-btn.secondary {
    background-color: #6c757d;
    color: white;
}

.adm-task-detail-action-btn.secondary:hover {
    background-color: #5a6268;
}

.adm-task-detail-action-btn.primary {
    background-color: #1976d2;
    color: white;
}

.adm-task-detail-action-btn.primary:hover {
    background-color: #1565c0;
}

@media (max-width: 768px) {
    .adm-task-detail-container {
        padding: 15px;
    }
    
    .adm-task-detail-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .adm-task-detail-info-grid {
        grid-template-columns: 1fr;
    }
    
    .adm-task-detail-actions {
        flex-direction: column;
    }
    
    .adm-task-detail-action-btn {
        max-width: none;
    }
}

/* 관리자 작업 수정 페이지 스타일 */
.adm-task-edit-form-section {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.adm-task-edit-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dee2e6;
}

.adm-task-edit-section-title i {
    color: #1976d2;
}

/* 작업자 선택 레이어 스타일 */
.worker-layer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.worker-layer-overlay.show {
    display: flex;
    opacity: 1;
}

.worker-layer-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.worker-layer-header {
    background: #f8f9fa;
    padding: 20px;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.worker-layer-header h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.worker-layer-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.worker-layer-close:hover {
    background-color: #f1f3f4;
    color: #495057;
}

.worker-layer-search {
    padding: 20px;
    border-bottom: 1px solid #dee2e6;
}

.worker-layer-search input {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.worker-layer-search input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
}

.worker-layer-list {
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
}

.worker-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    margin-bottom: 8px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
}

.worker-item:hover {
    background-color: #f8f9fa;
    border-color: #007bff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.worker-item:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.worker-info {
    flex: 1;
}

.worker-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.worker-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.worker-id {
    font-size: 12px;
    color: #6c757d;
    background-color: #e9ecef;
    padding: 2px 8px;
    border-radius: 12px;
}

.worker-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #495057;
    font-size: 14px;
}

.worker-contact i {
    color: #007bff;
    width: 16px;
}

.worker-select-icon {
    color: #6c757d;
    font-size: 14px;
    margin-left: 16px;
}

.worker-item:hover .worker-select-icon {
    color: #007bff;
}

.worker-empty {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
    font-size: 14px;
}

/* 검색 관련 스타일 */
.worker-item[style*="display: none"] {
    display: none !important;
}

.worker-item.search-hidden {
    display: none !important;
}

.search-no-result {
    padding: 40px 20px;
    text-align: center;
    color: #6c757d;
}

.search-no-result-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.search-no-result-content i {
    font-size: 32px;
    color: #dee2e6;
}

.search-no-result-content p {
    margin: 0;
    font-size: 14px;
    color: #495057;
}

.search-no-result-content small {
    color: #6c757d;
    font-size: 12px;
}

/* Agency list partner name style */
.agency-list-partner-name {
    font-size: 12px;
    color: #999;
    opacity: 0.9;
    margin-bottom: 1px;
}

/* Task history search button style */
.task-history-search-button {
    background-color: #0d47a1;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 10px;
    min-width: 80px;
    height: 40px;
}

.task-history-search-button:hover {
    background-color: #1565c0;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(13, 71, 161, 0.3);
}

.task-history-search-button:active {
    background-color: #0d47a1;
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(13, 71, 161, 0.3);
}

.task-history-search-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.2);
}
