.login_area{
	float:left;
	width:560px;
	margin:calc(50vh - 200px) 0 0 calc(50% - 280px);
	background:#fff;
}

.login_logo{
	float:left;
	width:90%;
	text-align:center;
	margin:35px 0 0 5%;
	padding-bottom:40px;
	text-align:center;
	border-bottom:1px solid #ccc;
}

.login_bigo{
	float:left;
	width:90%;
	margin:30px 0 0 5%;
	text-align:center;
	font-size:14px;
	color:#808080;
}

.login_bigo span{
	color:#000;
	font-weight:500;
}

.login_list{
	float:left;
	width:90%;
	margin:20px 0 0 5%;
}

.login_list li{
	float:left;
	width:100%;
	margin-bottom:10px;
}

.login_list li input[type=text], .login_list li input[type=password]{
	width:calc(90% - 2px);
	height:60px;
	padding:0 5%;
	font-size:18px;
	border:1px solid #dcdcdc;
	border-radius:4px;
	-webkit-border-radius:4px;
	-moz-border-radius:4px;
}

.login_list li input[type=text]::placeholder, .login_list li input[type=password]{
	color:#9e9e9e;
}

.login_btn{
	float:left;
	width:90%;
	margin:15px 5% 30px 5%;
}

.login_btn button{
	width:100%;
	height:62px;
	background:#252728;
	border-radius:4px;
	-webkit-border-radius:4px;
	-moz-border-radius:4px;
	color:#fff;
	font-size:18px;
}

.logo_area{
	float:left;
	width:100%;
	height:120px;
	border-bottom:1px solid #dcdcdc;
	display: flex;
    justify-content: center; /* 수평 중앙 정렬 */
    align-items: center;     /* 수직 중앙 정렬 */
}

.gnb{
	float:left;
	width:188px;
	margin:30px 0 0 11px;
}

/* 공통 스타일: 위치와 반복 여부를 한 번만 정의 */
.gnb li {
	height:40px;
	text-indent:80px;
	display: flex;
    align-items: center;     /* 수직 중앙 정렬 */
	border-radius:4px;
    background-repeat: no-repeat;
    background-position: left 44px center;
    transition: all 0.3s ease; /* 부드러운 전환 효과 */
	cursor:pointer;
	background-color:#fff;
}

/* 각 메뉴별 아이콘 정의 */
.gnb li:nth-child(1) { background-image: url("/images/icon_customer.png"); }
.gnb li:nth-child(2) { background-image: url("/images/icon_company.png"); }
.gnb li:nth-child(3) { background-image: url("/images/icon_dealer.png"); }
.gnb li:nth-child(4) { background-image: url("/images/icon_paper.png"); }
.gnb li:nth-child(5) { background-image: url("/images/icon_brand.png"); }
.gnb li:nth-child(6) { background-image: url("/images/icon_car.png"); }
.gnb li:nth-child(7) { background-image: url("/images/icon_paper.png"); }
.gnb li:nth-child(8) { background-image: url("/images/icon_car.png"); }

/* 마우스 올렸을 때 또는 .over 클래스 적용 시 */
.gnb li:hover, .gnb li.active {
    background-color: #252728;
	color:#fff;
}

.gnb li:nth-child(1):hover, .gnb li.active:nth-child(1) { background-image: url("/images/icon_customer_on.png"); }
.gnb li:nth-child(2):hover, .gnb li.active:nth-child(2) { background-image: url("/images/icon_company_on.png"); }
.gnb li:nth-child(3):hover, .gnb li.active:nth-child(3) { background-image: url("/images/icon_dealer_on.png"); }
.gnb li:nth-child(4):hover, .gnb li.active:nth-child(4) { background-image: url("/images/icon_paper_on.png"); }
.gnb li:nth-child(5):hover, .gnb li.active:nth-child(5) { background-image: url("/images/icon_brand_on.png"); }
.gnb li:nth-child(6):hover, .gnb li.active:nth-child(6) { background-image: url("/images/icon_car_on.png"); }
.gnb li:nth-child(7):hover, .gnb li.active:nth-child(7) { background-image: url("/images/icon_paper_on.png"); }
.gnb li:nth-child(8):hover, .gnb li.active:nth-child(8) { background-image: url("/images/icon_car_on.png"); }

.admin_title_area{
	float:left;
	width:100%;
	height:120px;
	background:#fff;
	border-bottom:1px solid #dcdcdc;
	display: flex;
    align-items: center;     /* 수직 중앙 정렬 */
	font-size:18px;
	font-weight:700;
	text-indent:20px;
}

.content_area{
	float:left;
	width:1630px;
	margin:25px 20px 0;
}

.admin_count_list {
    display: flex;       /* 가로 배치 */
    gap: 16px;           /* li 사이 간격 */
    list-style: none;
    padding: 0;
    margin: 0;
}

.admin_count_list li {
    flex: 1;             /* 동일한 너비 점유 */
    display: flex;       /* 내부 정렬을 위해 flex 사용 */
    align-items: center; /* 수직 중앙 정렬 */
    justify-content: center; /* 수평 중앙 정렬 (내부 요소들을 가운데로) */
    padding: 20px 30px;
    background: #fff;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
}

.admin_count_list li .icon {
    width: 80px;         /* 아이콘 영역 적정 크기 조절 */
    display: flex;
    justify-content: center;
}

.admin_count_list li dl {
    margin: 0 0 0 20px;
    text-align: left;    /* 텍스트는 왼쪽 정렬이 가독성에 좋습니다 */
}

.admin_count_list li dl dt {
    font-size: 18px;
    color: #9e9e9e;
}

.admin_count_list li dl dd {
    margin: 10px 0 0 0;
    font-size: 36px;
    font-weight: 700;
}

.jijum_result_graph_area{
	float:left;
	width:948px;
	height:326px;
	margin-top:20px;
	padding:30px 30px;
	background:#fff;
	border:1px solid #dcdcdc;
	border-radius:4px;
}

.jijum_result_graph_title{
	float:left;
	width:100%;
	font-size:18px;
	font-weight:700;
}

.jijum_result_graph_stitle{
	float:left;
	width:100%;
	margin-top:10px;
	font-size:14px;
	color:#9e9e9e;
}

.graph_canvas_area{
	float:left;
	width:740px;
	margin-top:30px;
}

.graph_canvas_left_num{
	float:left;
	width:50px;
}

.graph_canvas_left_num li{
	float:left;
	width:100%;
	height:50px;
	text-align:center;
	font-size:14px;
}

.graph_canvas_box{
	float:left;
	width:calc(100% - 50px);
	overflow-x:auto;
	background:url("/images/graph_bg_line.png") repeat-x left top 8px;
	cursor: grab; /* 드래그 가능한 상태임을 표시 */
    user-select: none; /* 드래그 시 텍스트 선택 방지 */
    white-space: nowrap;
	

	/* 스크롤바 숨기기 */
    -ms-overflow-style: none;      /* IE, Edge */
    scrollbar-width: none;         /* Firefox */
}

.graph_canvas_box::-webkit-scrollbar {
    display: none;                 /* Chrome, Safari, Opera */
}

.graph_canvas_box:active{
	cursor:grabbing;
}

.graph_canvas_list{
	float:left;
	margin-top:8px;
}

.graph_canvas_list li{
	float:left;
	width:100px;
}

.graph_canvas_list li dl, .graph_canvas_list li dl dt, .graph_canvas_list li dl dd{
	float:left;
	width:100%;
}

.graph_canvas_list li dl dd{
	position:relative;
	height:200px;
}

.graph_canvas_list li dl dd .graph_canvas_fill{
	position:absolute;
	bottom:0;
	width:40%;
	left:30%;
	background:#f27f26;
}

.graph_canvas_list li dl dt{
	margin-top:15px;
	font-size:14px;
	text-align:center;
}

.graph_list_area{
	float:right;
	width:161px;
	height:250px;
	margin-top:30px;
	background:#f5f5f5;
	border-radius:4px;
	box-sizing:border-box;
	padding:12px 14px;       /* 박스 내부 여백 */
	overflow-y:auto;          /* 마우스 휠로 세로 스크롤 */
	overflow-x:hidden;
	-webkit-overflow-scrolling:touch;
}

/* 얇은 스크롤바 */
.graph_list_area::-webkit-scrollbar{ width:6px; }
.graph_list_area::-webkit-scrollbar-thumb{ background:#cfcfcf; border-radius:3px; }
.graph_list_area::-webkit-scrollbar-track{ background:transparent; }

/* 지점별 데이터 리스트 */
.graph_list{
	width:100%;
}

.graph_list li{
	width:100%;
	box-sizing:border-box;
	padding:11px 0;
	border-bottom:1px solid #e6e6e6;
}

.graph_list li:last-child{
	border-bottom:0;
}

.graph_list li .g_top{
	display:flex;
	justify-content:space-between;
	align-items:center;
}

.graph_list li .g_name{
	font-size:14px;
	font-weight:600;
	color:#333;
	overflow:hidden;
	text-overflow:ellipsis;
	white-space:nowrap;
}

.graph_list li .g_cnt{
	flex-shrink:0;
	margin-left:8px;
	font-size:13px;
	font-weight:500;
	color:#555;
}

.graph_list li .g_rate{
	display:block;
	margin-top:4px;
	font-size:12px;
	color:#9e9e9e;
}

.graph_list li.empty{
	padding:20px 14px;
	font-size:13px;
	color:#9e9e9e;
	text-align:center;
}

.region_graph_area{
	float:right;
	width:calc(100% - 1090px);
	height:326px;
	padding:30px 30px;
	margin-top:20px;
	background:#fff;
	border:1px solid #dcdcdc;
	border-radius:4px;
}

.dashboard-chart-box{
	display: flex;           /* 중요: 자식 요소들을 가로로 나열 */
    align-items: center;     /* 세로 방향 정렬 (차트와 리스트의 높이 중심 맞춤) */
    width: 100%;
    gap: 20px;               /* 차트와 범례 사이의 간격 */
    padding: 0;
    box-sizing: border-box;
}

/* 차트 영역 */
#myPieChart {
    flex-shrink: 0; /* 차트가 찌그러지지 않게 고정 */
}

/* 범례 영역 (우측) - 항목이 많으면 세로 스크롤 */
.legend-area {
    flex: 1;
    min-width: 0;
    max-height: 250px;
    overflow-y: auto;        /* 마우스 휠 세로 스크롤 */
    overflow-x: hidden;
    padding-right: 4px;
    -webkit-overflow-scrolling: touch;
}

.legend-area::-webkit-scrollbar { width: 6px; }
.legend-area::-webkit-scrollbar-thumb { background: #cfcfcf; border-radius: 3px; }
.legend-area::-webkit-scrollbar-track { background: transparent; }

.legend-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2열 배치 */
    gap: 15px 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.legend-grid li {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

/* 컬러 도트 스타일 */
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 10px;
    flex-shrink: 0;
}


.main_rate_active{
	float:left;
	width:calc(100% - 42px);
	padding:30px 20px;
	margin-top:20px;
	background:#fff;
	border:1px solid #dcdcdc;
	border-radius:4px;
}

.main_rate_active_list{
	float:left;
	width:100%;
	margin-top:20px;
}

.main_rate_active_list li{
	float:left;
	width:100%;
}

.main_rate_active_list li dl{
	float:left;
	width:100%;
}

.main_rate_active_list li dl dt, .main_rate_active_list li dl dd{
	float:left;
	padding:12px 0;
	font-size:14px;
}

.main_rate_active_list li dl dd{
	width:70px;
	color:#9e9e9e;
}

.main_rate_active_list li dl dt{
	width:calc(100% - 70px);
	border-bottom:1px solid #dcdcdc;
	text-indent:5px;
}

.admin_content_area{
	float:left;
	width:1588px;
	min-height:600px;
	margin:25px 0 0 20px;
	padding:30px 20px;
	background:#fff;
	border:1px solid #dcdcdc;
	border-radius:4px;
}

.admin_content_search_area{
	float:left;
	display: flex;
    justify-content: center; /* 가로 가운데 */
    align-items: center;     /* 세로 가운데 */
	font-size:14px;
}

.admin_content_search_area .input{
	display:inline-block;
	margin-left:20px;
}

.admin_content_search_area .input input{
	width:350px;
	height:38px;
	text-indent:10px;
	font-size:14px;
}

.admin_content_search_area .input input::placeholder{
	color:#9e9e9e;
}

.admin_content_search_area .btn{
	display:inline-block;
	margin-left:3px;
}

.admin_content_search_area .btn button{
	width:95px;
	height:40px;
	background:#252728;
	color:#fff;
	font-size:14px;
	border-radius:4px;
}

.admin_content_sort_list{
	float:right;
}

.admin_content_sort_list li{
	float:left;
	margin-left:5px;
}

.admin_content_sort_list li select{
	width:150px;
	height:42px;
	font-size:14px;
}


.layer_add_company_area{
	float:left;
	margin:150px 0 0 calc(50% - 250px);
	width:438px;
	padding:30px 15px;
	background:#fff;
	border:1px solid #eeeefa;
	border-radius:10px;
}

.layer_title{
	float:left;
	width:100%;
	padding-bottom:25px;
	border-bottom:1px solid #dcdcdc;
	font-size:22px;
	font-weight:700;
	text-align:center;
}

.add_company_list{
	float:left;
	width:100%;
	margin-top:15px;
}

.add_company_list li{
	float:left;
	width:100%;
	padding:5px 0;
}

.add_company_list li dl{
	float:left;
	width:100%;
}

.add_company_list li dl dt, .add_company_list li dl dd{
	float:left;
	height:40px;
	font-size:14px;
}

.add_company_list li dl dt{
	width:80px;
	display:flex;
	align-items: center;     /* 수직 중앙 정렬 */
}

.add_company_list li dl dd{
	float:right;
	width:calc(100% - 80px);
}

.add_company_list .papers {
	position:relative;
    height: 150px;         /* 세로 스크롤이 생기기 위한 높이 지정 필수 */
    overflow-y: auto;      /* 세로 스크롤 허용 */
    overflow-x: hidden;    /* 가로 스크롤 차단 */
    cursor: grab;
    
    /* 스크롤바 숨기기 */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.add_company_list .papers::-webkit-scrollbar {
    display: none;
}

.add_company_list .papers:active {
    cursor: grabbing;
}

.add_company_list li dl dd.papers input{
	display:block;
	margin-bottom:10px;
}

.add_company_list li dl dd input[type=text], .add_company_list li dl dd input[type=password]{
	width:calc(100% - 2px);
	height:38px;
	text-indent:10px;
}

.add_company_list li dl dd input[type=text]::placeholder{
	color:#9e9e9e;
}

.add_company_list li dl dd select{
	width:100%;
	height:40px;
}

.layer_btn_area{
	float:left;
	width:100%;
	margin-top:20px;
	text-align:center;
}

/* 1. 스위치 전체 컨테이너 */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 30px;
}

/* 2. 실제 checkbox 숨기기 */
.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

/* 3. 배경 디자인 */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc; /* 꺼졌을 때 배경색 */
  transition: .4s;
  border-radius: 34px;
}

/* 4. 움직이는 동그라미 */
.slider:before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

/* 5. 체크되었을 때(ON) 상태 */
input:checked + .slider {
  background-color: #333; /* 켜졌을 때 배경색 */
}

input:checked + .slider:before {
  transform: translateX(20px); /* 동그라미 이동 */
}

.layer_del_dealer_area{
	float:left;
	width:360px;
	margin:200px 0 0 calc(50% - 198px);
	padding:30px 20px;
	border:1px solid #dcdcdc;
	background:#fff;
	border-radius:10px;
}

.del_dealer_text{
	float:left;
	width:100%;
	margin:30px 0 20px;
	font-size:22px;
	font-weight:700;
	text-align:center;
}