

*{margin: 0; padding: 0;
  font-family: 'Pretendard', sans-serif;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  }
  
  

a {text-decoration: none; outline: none; color: #fff;}
a:hover, a:active {text-decoration: none;  color: #fff;}
button{
background: inherit ; border:none; box-shadow:none; border-radius:0; padding:0; overflow:visible; cursor:pointer}

.dx-texteditor-input-container input{
	font-family: 'Pretendard', sans-serif !important;
}

body {
  display: flex;
}

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden; /* 전체 페이지 스크롤 막기 */
}

td{

}

/*.dx-datagrid .dx-column-indicators .dx-header-filter.dx-header-filter{
	color: #fff !important;
}
*/
.logo{
	/*background: #fff;*/
	
}

/* 기본 톤 */
:root { --accent:#2563eb; }

/* 상위 메뉴 활성(은은한 톤업 + 왼쪽 2px 인디케이터) */
.sidebar .menu-item.active > .menu-btn .menu-main i{
  color: #2563eb;
  font-weight: 600;
  position: relative;
}
/*.sidebar .menu-item.active > .menu-btn::before{
  content:"";
  position:absolute; left:0; top:8px; bottom:8px;
  width:2px; background: #2563eb; border-radius:2px;
}


*/


.title-ai {
  display: inline-block;
  background: linear-gradient(90deg, #2563eb, #5b7bff);
  color: #fff;
  font-size: 1rem !important;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
  margin-right: 6px;
}



.menu-btn.active, .sidebar .submenu a.active {
  background: #2563eb;
  font-weight: 600;
  color: #fdfdfd;

}




/* 서브메뉴 기본 */
.sidebar .submenu a{
  display:flex; align-items:center;
  gap:10px; 
  color:#e6e6e6;
}



	#logo{
	width: 92px;
	}

.main-content{
	height: 100vh;
    background: #f4f6f9;
    padding: 20px 32px;
}

.demoContainer {
    height: 100vh;
    /* background: #f7f7f9; */
/*    background: #f4f6f9;*/
   /* padding: 20px 32px;*/
}


/*.sidebar {
  width: 210px;
  background-color: #2d3436;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  overflow-y: auto;
  transition: width 0.3s;
  z-index: 1000;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.sidebar.collapsed {
  width: 60px;
}

.sidebar .toggle-btn {
  padding: 15px;
  text-align: right;
  cursor: pointer;
  background-color: #222;
  display: flex;
      align-items: center;
      justify-content: center;
}

.sidebar ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.sidebar ul img#logo {
  display: block;
  margin: 20px auto;
  width: 85%;
  height: auto;
}

.sidebar ul li {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  color: #ecf0f1;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s;
}

.sidebar ul li:hover {
  background-color: #636e72;
}

.sidebar ul li img {
  width: 20px;
  margin-right: 20px;
  filter: brightness(0) invert(1); 
}

.sidebar ul li .label {
  white-space: nowrap;
  transition: opacity 0.3s, margin-left 0.3s;
}


.sidebar ul li:hover {
  transform: translateX(2px);
}

.sidebar ul li.active {
  border-left: 2px solid #3b82f6;
  background-color: #636e72;
  color: #fff;
  font-weight: 600;
  transform: translateX(0px) !important;
}*/



:root{
      --sidebar-w: 260px;
      --sidebar-w-collapsed: 80px;
      --bg-0:#1f1f1f;
      --bg-1:#2a2a2a;
      --text:#e7e7e7;
      --muted:#bdbdbd;
      --accent:#ed3723; /* 브랜드 포인트 */
      --badge-green:#22c55e;
      --badge-red:#ef4444;
      --shadow:0 8px 28px rgba(0,0,0,.18);
      --radius:16px;
      --speed:.25s;
    }
    *{box-sizing:border-box}
    html,body{height:100%}
    body{
      min-height:100vh;
    }

    /* 상단 헤더(햄버거 포함) */
    .topbar{
      position:fixed;
      left:0; right:0; top:0;
      height:56px;
      display:flex; align-items:center;
      padding:0 16px;
      background:#ffffffcc;
      backdrop-filter:saturate(180%) blur(8px);
      color:#111;
      z-index:50;
      gap:12px;
      box-shadow:0 1px 0 rgba(0,0,0,.05);
    }
    .btn-hamburger{
      border:0; background:#fff;
      width:40px; height:40px; border-radius:10px;
      display:grid; place-items:center;
      cursor:pointer; box-shadow:var(--shadow);
    }
    .btn-hamburger i{font-size:18px; color:#333}

    .brand-inline{
      display:flex; align-items:center; gap:10px; font-weight:700;
    }
    .brand-inline i{color:var(--accent)}

    /* 레이아웃 */
    .layout{
      display:flex; width:100%;
      padding-top:56px; /* topbar 높이만큼 */
    }

    /* 사이드바 */
    .sidebar{
      position:fixed; top:56px; left:0; bottom:0;
      width:var(--sidebar-w);
      background:linear-gradient(180deg, #222, #333);
      color:#fff; padding:16px 0;
      display:flex; flex-direction:column;
      transition:width var(--speed) ease, transform var(--speed) ease;
      box-shadow:var(--shadow);
      z-index:60;
    }
    .sidebar.collapsed{ width:var(--sidebar-w-collapsed); }
    .sidebar.hidden-mobile{ transform:translateX(-100%); } /* 모바일 기본 숨김 */

    .logo{
      display:flex; align-items:center; gap:10px;
      padding:0 16px 10px 16px; margin-bottom:8px;
    }
    .logo i{ font-size:26px; color:var(--accent) }
    .logo span{ font-weight:700; font-size:16px }

    .menu{
      list-style:none; margin:0; flex:1; overflow:auto;
      scrollbar-width:thin;
    }
    .menu::-webkit-scrollbar{ width:8px }
    .menu::-webkit-scrollbar-thumb{ background:#00000033; border-radius:8px }

    .menu-item{
      color:#ddd; font-size:15px;
    }
    .menu-btn{
      width:100%; border:0; background:transparent; color:inherit;
      display:flex; align-items:center; justify-content:space-between;
      gap:10px; cursor:pointer;
      padding:14px 16px; transition:background var(--speed), color var(--speed);
    }
    .menu-main{
      display:flex; align-items:center; gap:12px; min-width:0;
    }
    .menu-main i{ width:18px; text-align:center; font-size:16px }
    .menu-text{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

    /*.menu-item.active > .menu-btn,
    .menu-btn:hover{
      background:rgba(255,255,255,.10); color:#fff;
    }*/

    .badge{
      font-size:11px; padding:2px 6px; border-radius:999px;
      text-transform:uppercase; margin-left:6px;
    }
    .badge.red{ background:var(--badge-red); color:#fff }
    .badge.green{ background:var(--badge-green); color:#fff }

    /* 서브메뉴 */
    .submenu{
      max-height:0; overflow:hidden; transition:max-height var(--speed) ease;
      background:rgba(255,255,255,.05);
    }
    .submenu.open{ max-height:500px } /* 충분히 큰 값으로 트릭 */
    .submenu a{
      display:flex; align-items:center; gap:10px;
      padding:10px 16px 10px 44px; /* 아이콘 여백 고려 */
      text-decoration:none; color:#cfcfcf; font-size:14px;
      transition:background var(--speed), color var(--speed);
    }
    .submenu a:hover{ background:rgba(255,255,255,.07); color:#fff }
    .submenu a.active{ color:#fff; font-weight:600 }

    /* 오른쪽 컨텐츠 */
    .content{
      margin-left:var(--sidebar-w);
      transition:margin-left var(--speed);
      width:100%;
    }
    .sidebar.collapsed ~ .content{ margin-left:var(--sidebar-w-collapsed); }

    /* 아이콘 전용 모드(접힘)에서 텍스트 숨기기 */
    .sidebar.collapsed .menu-text,
    .sidebar.collapsed .badge,
    .sidebar.collapsed .logo span,
    .sidebar.collapsed .submenu{ display:none !important; }
    .sidebar.collapsed .menu-btn{ justify-content:center; }
    .sidebar.collapsed .submenu.open{ max-height:0 !important; }

    /* 모바일 */
    @media (max-width: 1024px){
      .sidebar{ transform:translateX(-100%); }
      .sidebar.show{ transform:translateX(0); }
      .overlay{
        position:fixed; inset:56px 0 0 0; background:rgba(0,0,0,.45);
        opacity:0; visibility:hidden; transition:opacity var(--speed);
        z-index:55;
      }
      .overlay.show{ opacity:1; visibility:visible; }
    }

	.menu-title{
		font-size: 0.85rem;
		padding: 12px 16px;
	}
	
	.menu-title span{
	    opacity: 0.5;
	    display: block;
		font-weight: 400;
	}
	
	



#main-content {
  margin-left: 210px; 
  height: 100vh;
  /*overflow-y: auto;  */
  width: calc(100% - 210px);
  transition: 0.3s ease;
}



#mainBox{
	width: calc(100% - 210px);
}

.title{
	font-size: 1.5rem;
    font-weight: 600;
	color: #222;
}

.title2 {
    font-size: 1.5rem;
    font-weight: 600;
}
.content{
	/*padding: 20px;*/
	
}

.contentWrap{

}




#floatRight{
	display: flex;
	/*border: 1px solid #e7ebee;;
    background: #f8f8f8;
    padding: 15px;
	border-radius: 10px;*/
	/*justify-content: center;*/
	background: #fff;
    /*border-radius: 10px;*/
	padding: 15px 20px;
    margin-bottom: 15px;
	box-shadow: 2px 0 4px rgba(0, 0, 0, .08);
	border: 2px solid #7373d9;
	flex-direction: column;
	justify-content: left;
	border-radius: 12px;
}

.flexW{
	display: flex;
	align-items: center;
}

#floatRight>div:first-child{
	border-bottom: 1px solid #ddd;
	padding-bottom: 15px;
}
#floatRight>div:last-child{
	justify-content: space-between;
	padding-top: 15px;
}

#floatRight span{
	font-size: 14px;
	width: 66px;
	font-weight: 500;
}
#endDate, #selectBtn, #resetBtn{
	
}

#resetBtn, #selectBtn{
/*	
	
	background: #2563eb;
	color: #fff;
	border-radius: 6px;
	font-weight: 500;*/
}

#startDate {
	
}

#telNumber{
	
}
.searchWrap{
	/*padding-bottom: 22px;
	    border-bottom: 1px solid #eaeaea;*/
}

/*
#selectBtn{
    border-radius: 6px;
    border: none;
    font-size: 14px;
    cursor: pointer;
	background: #7373d9;
    color: white;

}*/

.btn-upload {
background: #2d3436;
    color: white;
    border-radius: 4px;
    border: none;
    transition: background-color 0.2s ease, transform 0.1s ease;
    cursor: pointer;
}

/*#resetBtn{
	padding: 8px 20px;
	border-radius: 6px;
	border: none;
	font-size: 14px;
	cursor: pointer;
	border: 1px solid #7373d9;
	    color: #7373d9;
		background: #ebebeb;
}

#selectBtn span, #resetBtn span{
	font-weight: 400 !important;
	color: #fff;
	
}*/
#resetBtn span{

}
.informer{
	font-size: 14px;
}

.subTitle{
	display: block;
    margin-top: 25px;
    margin-bottom: 8px;
    font-weight: 400;
    font-size: 15px;
}

.dx-header-filter {
/*  opacity: 0;
  transition: opacity 0.2s ease-in-out;*/
}

/* 마우스를 헤더에 올리면 보이게 */
/*.dx-datagrid .dx-header-row td:hover .dx-header-filter {
  opacity: 1;
}
*/
.dx-dropdowneditor-icon{
	color: #929292 !important;
}

.dx-button{
	/*padding: 8px 15px !important;*/
}

.dx-placeholder{
	font-size: 0.9rem !important;
}


/* 전체 필터 바 */
/*.filter-bar {
  background-color: #ffffff;
  padding: 20px 24px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 20px;
}

.filter-group {
	display: flex;
	    flex-wrap: wrap;
	    align-items: center;
	    gap: 12px;
	    flex-direction: row;
}

.filter-group span {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-right: 4px;
  min-width: 40px;
}


#startDate,
#endDate {
  width: 160px;
  min-height: 34px;
}


#selectOption {
  width: 120px;
  min-height: 34px;
}

#searchText {
  width: 200px;
  min-height: 34px;
}
*/
/* 짝수행 배경 */
.dx-data-row:nth-child(even) {
}

/* 홀수행 배경 */
.dx-data-row:nth-child(odd) {
}

/* 빈 데이터 메시지 */
.dx-empty-header {
  text-align: center;
  font-size: 16px;
  color: #aaa;
  padding: 40px 0;
}

/* 행 hover 효과 */
.dx-data-row:hover {
  background-color: #f1f1f1;
}

/* 테이블 그림자와 둥근 모서리 */
.dx-datagrid {
}

/* 선택 행 강조 */
.dx-selection {
  background-color: #e0e7ff !important;
}

.dx-datagrid-content .dx-datagrid-table .dx-row>td, .dx-datagrid-content .dx-datagrid-table .dx-row>tr>td {
	vertical-align: middle !important;
}

.dx-datagrid-header-panel .dx-toolbar {

}

.dx-datagrid-rowsview .dx-row > td:first-child {
  text-align: right;
  color: #999;
  font-weight: 500;
}

.dx-datagrid .dx-row>td {
    /* padding: 7px; */
    padding: 4px;
}

.dx-header-row{
	font-size: 0.8rem;
}

.tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  color: white;
}

.io-tag {

}

.tag-icon {
  font-size: 12px;
  line-height: 1;
}

.tag-received {
}



.fa-mobile-alt, .dx-icon-file {

}


.tag {
  padding: 4px 8px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
  color: white;
}
.tag.purple {
  background-color: #7e57c2;
}
.tag.gray {
  background-color: #90a4ae;
}

.badge-status {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 12px;
  border: 1px solid;
  background-color: white;
}

.badge-status-success  { color: #4caf50; border-color: #4caf50; }
.badge-status-danger   { color: #f44336; border-color: #f44336; }
.badge-status-muted    { color: #9e9e9e; border-color: #9e9e9e; }
.badge-status-primary  { color: #2196f3; border-color: #2196f3; }
.badge-status-purple   { color: #7e57c2; border-color: #7e57c2; }
.badge-status-warning  { color: #ff9800; border-color: #ff9800; }
.badge-status-info     { color: #00acc1; border-color: #00acc1; }

/*페이지네이션*/


.dx-page-indexes{
	display: flex !important;
	align-items: center  !important;;
}


/* 번호 버튼들 */
.dx-page {
  background-color: white;
  color: #333;
  border: 1px solid #ccc;
  margin: 0 4px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dx-page:hover {
  background-color: #e1e7f5;
  color: #1d3ecb;
  border-color: #1d3ecb;
}

/* 현재 선택된 페이지 */
.dx-page.dx-selection {
  background-color: #2d3436 !important;
  color: white !important;
  font-weight: bold !important;
  border-color: #2d3436 !important;
}

/* 이전/다음 버튼 */
.dx-navigate-button {
  background-color: white;
  color: #777;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 8px 10px;
  margin: 0 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dx-navigate-button:hover {
  background-color: #e1e7f5;
  color: #1d3ecb;
  border-color: #1d3ecb;
}

/* 비활성화된 이전/다음 버튼 */
.dx-navigate-button.dx-state-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}


.dx-datagrid-headers .dx-header-row > td {
  font-weight: 500;
  border-bottom: 1px solid #ddd;
}


/*엑셀버튼*/


.dx-button.dx-excel-btn {
  background-color: #fff;
  border: 1px solid #e5e7eb; /* neutral-200 */
  color: #374151; /* text-gray-700 */
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  padding: 0 !important;
  font-size: 0.8rem;
}

.dx-button.dx-excel-btn:hover {
  background-color: #f9fafb; /* hover gray */
  border-color: #d1d5db;
}

.dx-button.dx-excel-btn i {
  color: #22c55e; /* green-500 only icon */
  font-size: 17px;
}



/*조건초기화 버튼*/
.link-btn {
  background: none;
  border: none;
  padding: 0;
  margin-left: 6px;
  font-size: 13px;
  color: #6b7280;         /* gray-500 */
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;               /* 아이콘과 텍스트 간격 */
  text-decoration: none;
}

.link-btn i {
  font-size: 12px;
}

.link-btn:hover {
  color: #2563eb;         /* brand color */
  text-decoration: underline;
}

.link-btn:active {
  color: #1d4ed8;         /* brand color darker */
}


.totalCnt {
    color: #2563eb;
	font-weight: 600;
}
