/* 여기에 작업 또는 수정할 당신의 css style을 설정하세요. (customizations) */

/* Colors 정의
미입력			red {color:#e53935 !important}
대기			light-gray {color:#b5b5b5 !important}
출력			black {color:#000 !important}
본인취소		yellow {color:#fdd835 !important}
부재중			purple {color:#8e24aa !important}
가승인			pink {color:#d81b60 !important}
서류준비중		amber {color:#ffb300 !important}
진행중			green {color:#43a047 !important}
승인			indigo {color:#3949ab !important}
보증/소개		orange {color:#fb8c00 !important}
외부			deep-orange {color:#f4511e !important}
가승인			light-green {color:#7cb342 !important}
진행불가		gray {color:#757575 !important}
관리			blue {color:#1e88e5 !important}
AS요청			crimson {color:#ab0000 !important}
AS확인중		deep-purple {color:#5e35b1 !important}
AS불가			brown {color:#6d4c41 !important}
AS확정			lime {color:#c0ca33 !important}


			navy {color:#3f4678 !important}
			light-blue {color:#039be5 !important}
			cyan {color:#00acc1 !important}
			teal {color:#00897b !important}
			white {color:#fff !important}

*/

@media (min-width: 1600px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 1600px;
  }
}
@media (min-width: 1900px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 1900px;
  }
}
@media (max-width:1200px) {
    .basic-body-main.left-main, .basic-body-main.right-main {width:100%}
}
@media (max-width:991px) {
    .basic-body {padding-top:75px}
}

/* 모달 크기 큰것 추가*/
	@media (min-width: 1300px) {
	  .modal-xxl {
		max-width: 1300px;
	  }
	}

	@media (max-width: 1599.98px) {
	  .modal-xxl {
		max-width: 90%; /* 작은 화면에서는 꽉 차게 */
		margin: 0 auto;   /* 좌우 여백 약간 */
	  }
	}

/*좌측 사이드바*/
	.side-pc-nav {width:80px;background-color: transparent;}
	.side-pc-nav .sp-nav-box.sp-bg-red {width: 100%;}
	.side-pc-nav-in .doing-list{text-align:center;width:100%;margin-top:8px;}
	.btn-e span.badge {right: -10px;padding: 2px 6px;}
	.side-pc-nav-in .ps__rail-y,.side-pc-nav-in  .ps__rail-x {
	  display: none !important;
	}

/*제목줄*/
	.page-title-wrap {height: 35px;margin-bottom:20px}
	.page-title-wrap h2 {padding: 7px 0;}
	.page-title-wrap .sub-breadcrumb-wrap {top: 8px;}


/* datatables 다크모드*/

	/* 테이블 헤더 */
	body.dark-mode .dataTables_wrapper table.dataTable thead { background-color: #2a2a2a; color: #ddd;}

	/* 테이블 행 
	body.dark-mode .dataTables_wrapper table.dataTable tbody tr {background-color: #1e1e1e;border-bottom: 1px solid #ddd;}
	*/
	body.dark-mode .dataTables_wrapper table.dataTable tbody tr:hover {background-color: #fff;color:#000;}

	/* 페이지네이션 버튼 */
	body.dark-mode .dataTables_wrapper .dataTables_paginate .paginate_button {background: #2a2a2a;border: 1px solid #444;color: #ccc !important;}

/* form */
	.eyoom-form .title-prepend {margin-bottom: 0px;}
	.eyoom-form .title-prepend span{/**/border-color: #a4a4a4;background-color: #bababa;color: #000000;position: absolute;top: 1px;width: 100px;height: 36px;font-size: 1rem;line-height: 37px;text-align: center;left: 1px;padding-left: 2px;padding-right: 1px;border-right-width: 1px;border-right-style: solid; 
	}
	.modal-write .eyoom-form .title-prepend span{
	position: absolute;
	background: #f8f9fa;
    vertical-align: middle;
    font-weight: 600;
    width: 130px;
    white-space: nowrap;
	padding: 0 5px;
	}   
	.eyoom-form .title-prepend input{padding-left:110px;}
	.eyoom-form {font-size: 1rem;color: #000000;}
	.eyoom-form .input input, .eyoom-form .select select, .eyoom-form .textarea textarea {color: #000000;}

/*  datatables  */
	/*
		table.dataTable tbody th, table.dataTable tbody td {padding: 4px 4px !important;
		}
	*/
	/* 페이징을 가운데로 강제 정렬 */
	.dataTables_wrapper .bottom .center {text-align: center;flex-grow: 1;}
	.dataTables_wrapper .bottom .left,.dataTables_wrapper .bottom .right {flex: 1;}
	/* 바닥 영역 커스텀 정렬 */
	.dataTables_wrapper .bottom-custom {display: flex;justify-content: space-between;align-items: center;margin-top: 1rem;}
	/* 각 영역의 너비 비율 */
	.dataTables_wrapper .bottom-custom .left {width: 20%;text-align: left;}
	.dataTables_wrapper .bottom-custom .center {width: 60%;text-align: center;}
	.dataTables_wrapper .bottom-custom .center .dataTables_paginate {width:100%;text-align: center;}
	.dataTables_wrapper .bottom-custom .center .dataTables_paginate span .ellipsis {display: inline-block;}
	.dataTables_wrapper .bottom-custom .right {width: 20%;text-align: right;}

	@media screen and (max-width: 990px) {
	  .dataTables_wrapper .d-inline-block{
		width: 49% !important;
		
	  }
	  .dataTables_wrapper .top.d-flex{
		/**/display:block !important;
	  }
	  .dataTables_wrapper .d-inline-block .select, .dataTables_wrapper .d-inline-block .input{
		width: 100% !important;
		
	  }
	  .dataTables_wrapper .left{
		display:none;
	  }
	  .dataTables_wrapper .right{
		display: inline-block !important;width: 100% !important;text-align:left;
	  }
	  .dataTables_wrapper .right .dataTables_filter{
		float: left;width:49%;margin-top:10px
	  }
	}

	/* DataTables 펼침 행 전체 스타일 */
	table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:before {
		margin-top: 5px;
	}

	/* 펼쳐진 상세 행(table.dataTable > tbody > tr.child) 안의 내부 테이블 조정 */
	table.dataTable tbody tr.child ul.dtr-details {
		display: table;
		width: 100%;
	}

	/* 각 상세 항목 라인 정렬 */
	table.dataTable tbody tr.child ul.dtr-details li {
		display: table-row;
		text-align: left; /* 좌측 정렬 */
	}

	/* 라벨(제목) 스타일: 일정한 폭 확보 */
	table.dataTable tbody tr.child ul.dtr-details li > span.dtr-title {
		display: table-cell;
		font-weight: bold;
		min-width: 100px;     /* 제목 칸 최소 폭 */
		padding-right: 10px;
		white-space: nowrap;
	}

	/* 내용 스타일 */
	table.dataTable tbody tr.child ul.dtr-details li > span.dtr-data {
		display: table-cell;
	}

/* datepicker */
	/* 날짜 선택 팝업 전체 */
	.daterangepicker {font-size: 16px; /* 기본은 약 12~13px이므로 16px 정도로 키워줌 */
	}
	/* 날짜 셀 (크기 확대) */
	.daterangepicker td, .daterangepicker th {padding: 12px 10px;}
	/* 월/년 표기 글자 키움 */
	.daterangepicker .calendar-table th.month {font-size: 18px;}
	/* 상단 버튼 줄 */
	.daterangepicker .drp-buttons {font-size: 16px;padding: 10px;}
	.daterangepicker .calendar-table td, .daterangepicker .calendar-table th {font-size: 14px !important;}
	
	/*년 월 위치바꿈*/
	.daterangepicker select.monthselect {
		order: 2;
	}
	.daterangepicker select.yearselect {
		order: 1;
	}
	.daterangepicker .calendar .calendar-table select {
		display: inline-block;
	}
	.daterangepicker .calendar .calendar-table th {
		display: flex;
		gap: 6px;
		justify-content: center;
	}

/* form-group */	
	.form-group	.nav-pills .nav-link.active, .nav-pills .show>.nav-link {background-color: #3949ab;}

	input:disabled,
	select:disabled,
	textarea:disabled {
		background-color: #e9ecef !important;
		opacity: 0.7;
		cursor: not-allowed;
	}	
	
/* modal write */
	.modal-write .input, .modal-write .textarea{font-size: .9rem;margin-bottom:0px;}
	.modal-write .title-prepend span{font-size: .8rem;line-height: 30px;width: 80px;}
	.modal-write .input input {font-size: .8rem;height: 38px;padding: 6px 12px}
	/*.modal-write .input.title-prepend input, .modal-write .select.title-prepend select {padding: 6px 12px 6px 88px;}*/
	.modal-write .input.title-prepend input, .modal-write .select.title-prepend select {padding: 6px 12px 6px 140px;}
	.modal-write .select select {font-size: .8rem;height: 38px;}
	.modal-write .select i {width: 25px;height: 25px;}
	.modal-write .select i:before {top: 8px;}
	.modal-write .select i:after {top: 15px;}
	.modal-write .textarea textarea {font-size: .9rem;}
	.modal-write .nav-link {font-size: .8rem;padding: 6px 12px;}
	.modal-write .memo_history{font-size: .7rem;}
	
	
	
/* 다음 주소 api */
	.daum_zip_iframe{display:none;border:1px solid;width:100%;height:300px;margin:5px 0;position:relative}
	
/*content page*/
	.img-content img{border: solid 3px #999;}

/*토글 추가*/
	.eyoom-form .toggle.black-toggle input:checked+i:before{background:#333333}

/* perfect-link */
	.perfect-link{cursor:pointer;}

/*elect2 multiple*/
	.select2-search__field::placeholder {
		font-size:0.9rem;
	  color: #000000 !important; /* 원하는 색상 */
	}
	
	
/* 날짜 선택 팝업 전체 */
.daterangepicker {
	font-size: 16px !important; /* 기본은 약 12~13px이므로 16px 정도로 키워줌 */
}

/* 날짜 셀 (크기 확대) */
.daterangepicker td, 
.daterangepicker th {
	padding: 12px 10px;
}

/* 월/년 표기 글자 키움 */
.daterangepicker .calendar-table th.month {
	font-size: 18px;
}

/* 상단 버튼 줄 */
.daterangepicker .drp-buttons {
	font-size: 16px !important;
	padding: 10px;
}


/* 실시간 대출신청 버튼*/
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}

.blinking {
    animation: blink 2s infinite;
}

/* ============================================================
   사이드바 레이아웃 전환 - custom.css 하단에 추가하세요
   파일 경로: /theme/eb4_comm_003/custom/css/custom.css
   ============================================================ */

/* ----- 전체 레이아웃: 사이드바(fixed) + 본문+footer 세로 배치 ----- */

.wrapper {
    display: flex !important;
    flex-direction: column !important;
    min-height: 100vh;
}
.wrapper .basic-body {
    flex: 1;
}

/* side.html.php의 <aside>가 레이아웃 공간을 점유하지 않도록 숨김 */
.basic-body-side {
    display: none !important;
}
.basic-body-main.left-main,
.basic-body-main.right-main {
    width: 100% !important;
}

/* ----- 기존 상단 헤더 숨기기 (nav-wrap = 가로 메뉴 영역) ----- */
.nav-wrap {
    display: none !important;
}

/* 상단 top-header (로고/로그아웃) 도 사이드바로 이동하므로 숨김 */
.header-wrap {
    display: none !important;
}

/* ----- 사이드바 스타일 ----- */
#custom-sidebar {
    width: 220px;
    min-width: 220px;
    min-height: 100vh;
    background: linear-gradient(180deg, #1a237e 0%, #283593 40%, #1565c0 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 1000;
    overflow-y: auto;
    box-shadow: 3px 0 15px rgba(0,0,0,0.25);
}

/* 사이드바 로고 영역 */
#custom-sidebar .sidebar-logo {
    padding: 20px 18px 15px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    text-align: center;
}
#custom-sidebar .sidebar-logo img {
    max-width: 140px;
    filter: brightness(0) invert(1);
}
#custom-sidebar .sidebar-logo .site-title {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-top: 8px;
    letter-spacing: 0.5px;
}

/* 로그인 사용자 정보 */
#custom-sidebar .sidebar-user {
    padding: 12px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    gap: 8px;
}
#custom-sidebar .sidebar-user i {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
}

/* 상위 메뉴 공통 */
#custom-sidebar .sidebar-menu {
    list-style: none;
    margin: 0;
    padding: 0 10px;
}
#custom-sidebar .sidebar-menu.sidebar-menu-top {
    margin: 2px 0;
    padding: 0 10px;
}

/* 상위 메뉴 링크 (단독 + 토글 버튼 공통) */
#custom-sidebar .sidebar-menu-top > li > a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-size: 13.5px;
    font-weight: 600;
    color: rgba(255,255,255,0.92);
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.18s, color 0.18s;
    background: rgba(255,255,255,0.06);
    border-left: 3px solid rgba(255,255,255,0.3);
}
#custom-sidebar .sidebar-menu-top > li > a span {
    flex: 1;
}
#custom-sidebar .sidebar-menu-top > li > a .arrow {
    font-size: 11px;
    opacity: 0.6;
    transition: transform 0.25s;
    width: auto;
}
#custom-sidebar .sidebar-menu-top > li > a.open .arrow {
    transform: rotate(180deg);
}
#custom-sidebar .sidebar-menu-top > li > a:hover,
#custom-sidebar .sidebar-menu-top > li > a.active {
    background: rgba(255,255,255,0.18);
    border-left-color: #fff;
    color: #fff;
}
#custom-sidebar .sidebar-menu-top > li > a > i:first-child {
    width: 18px;
    text-align: center;
    font-size: 14px;
}

/* 하위 메뉴 */
#custom-sidebar .sidebar-submenu {
    list-style: none;
    margin: 4px 0 4px 0;
    padding: 0 0 0 10px;
}
#custom-sidebar .sidebar-submenu li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    font-size: 12.5px;
    font-weight: 400;
    color: rgba(255,255,255,0.68);
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    margin-bottom: 1px;
    border-left: 2px solid rgba(255,255,255,0.15);
}
#custom-sidebar .sidebar-submenu li a:hover,
#custom-sidebar .sidebar-submenu li a.active {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-left-color: rgba(255,255,255,0.6);
}
#custom-sidebar .sidebar-submenu li a i {
    width: 15px;
    text-align: center;
    font-size: 11px;
    opacity: 0.7;
}

/* 퀵 버튼 */
#custom-sidebar .sidebar-quick-btns {
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
#custom-sidebar .sidebar-quick-btn {
    width: 100%;
    padding: 8px 10px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
    transition: background 0.18s;
    display: flex;
    align-items: center;
    gap: 8px;
}
#custom-sidebar .sidebar-quick-btn:hover {
    background: rgba(255,255,255,0.22);
}

/* 로그아웃 버튼 */
#custom-sidebar .sidebar-logout {
    margin-top: auto;
    padding: 14px 18px;
    border-top: 1px solid rgba(255,255,255,0.15);
}
#custom-sidebar .sidebar-logout a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.75);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.18s;
}
#custom-sidebar .sidebar-logout a:hover {
    color: #fff;
}

/* ----- 본문 영역: 사이드바 너비만큼 왼쪽 여백 ----- */
#container,
.basic-body {
    margin-left: 220px !important;
    width: calc(100% - 220px) !important;
}
.basic-body-main {
    margin-left: 0 !important;
    width: 100% !important;
}

/* 모바일 대응 */
@media (max-width: 991px) {
    #custom-sidebar {
        width: 200px;
        min-width: 200px;
    }
    #container,
    .basic-body {
        margin-left: 200px !important;
        width: calc(100% - 200px) !important;
    }
}
@media (max-width: 767px) {
    #custom-sidebar {
        display: none;
    }
    #container,
    .basic-body {
        margin-left: 0 !important;
        width: 100% !important;
    }
}

/* ===== 대시보드 여백 제거 - 전체 너비 사용 ===== */
.basic-body.page-body .container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.basic-body.page-body .main-wrap {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
}

/* ===== Copyright 오른쪽 상단 숨기기 ===== */
.page-header-wrap .col-5.col-md-4.clearfix {
    visibility: hidden !important;
}

/* ===== Copyright 하단 표시 ===== */
.footer-copyright {
    display: block !important;
    text-align: center !important;
    padding: 20px !important;
    color: #888 !important;
    font-size: 13px !important;
}
/* ----- 사이드바 아이콘 컬러 (아이콘별 고유 색상) ----- */
/* 대분류 메뉴 아이콘 */
#custom-sidebar .sidebar-menu-top > li > a > i.fa-home          { color: #64b5f6; }
#custom-sidebar .sidebar-menu-top > li > a > i.fa-database      { color: #4fc3f7; }
#custom-sidebar .sidebar-menu-top > li > a > i.fa-circle        { color: #81c784; }
#custom-sidebar .sidebar-menu-top > li > a > i.fa-chart-bar     { color: #ffb74d; }
#custom-sidebar .sidebar-menu-top > li > a > i.fa-users         { color: #ce93d8; }
#custom-sidebar .sidebar-menu-top > li > a > i.fa-tags          { color: #f48fb1; }
#custom-sidebar .sidebar-menu-top > li > a > i.fa-cog,
#custom-sidebar .sidebar-menu-top > li > a > i.fa-cogs          { color: #b0bec5; }
#custom-sidebar .sidebar-menu-top > li > a > i.fa-bullhorn      { color: #ff8a65; }

/* 서브메뉴 아이콘 */
#custom-sidebar .sidebar-submenu li a i.fa-database             { color: #4fc3f7; }
#custom-sidebar .sidebar-submenu li a i.fa-phone                { color: #80cbc4; }
#custom-sidebar .sidebar-submenu li a i.fa-book                 { color: #a5d6a7; }
#custom-sidebar .sidebar-submenu li a i.fa-file-alt             { color: #ef9a9a; }
#custom-sidebar .sidebar-submenu li a i.fa-chart-line           { color: #ffe082; }
#custom-sidebar .sidebar-submenu li a i.fa-chart-bar            { color: #ffb74d; }
#custom-sidebar .sidebar-submenu li a i.fa-sign-in-alt          { color: #80deea; }
#custom-sidebar .sidebar-submenu li a i.fa-building             { color: #90caf9; }
#custom-sidebar .sidebar-submenu li a i.fa-user-tie             { color: #b39ddb; }
#custom-sidebar .sidebar-submenu li a i.fa-user-slash           { color: #ef9a9a; }
#custom-sidebar .sidebar-submenu li a i.fa-cog                  { color: #b0bec5; }
#custom-sidebar .sidebar-submenu li a i.fa-circle               { color: #e0e0e0; }
#custom-sidebar .sidebar-submenu li a i.fa-won-sign             { color: #ffe082; }
#custom-sidebar .sidebar-submenu li a i.fa-random               { color: #80deea; }

/* 호버/활성 상태에서도 아이콘 색상 유지 */
#custom-sidebar .sidebar-submenu li a:hover i,
#custom-sidebar .sidebar-submenu li a.active i {
    opacity: 1;
}

/* 관리자메뉴 서브메뉴 아이콘 색상 */
#custom-sidebar .sidebar-submenu li a i.fa-university       { color: #80cbc4; }  /* 금융사관리 - 청록 */
#custom-sidebar .sidebar-submenu li a i.fa-broadcast-tower  { color: #ffcc80; }  /* 매체사관리 - 주황노랑 */
#custom-sidebar .sidebar-submenu li a i.fa-tasks            { color: #a5d6a7; }  /* 처리상태관리 - 연초록 */
#custom-sidebar .sidebar-submenu li a i.fa-network-wired    { color: #90caf9; }  /* 아이피관리 - 연파랑 */
#custom-sidebar .sidebar-submenu li a i.fa-ban              { color: #ef9a9a; }  /* 사이트차단 - 연빨강 */
#custom-sidebar .sidebar-submenu li a i.fa-print            { color: #b0bec5; }  /* 가상프린터 - 회색 */

/* 추가 아이콘 색상 */
/* 대분류 */
#custom-sidebar .sidebar-menu-top > li > a > i.fa-user-friends  { color: #4fc3f7; }  /* 고객관리 - 하늘색 */
#custom-sidebar .sidebar-menu-top > li > a > i.fa-book-open     { color: #81c784; }  /* 일지/마감 - 초록 */
#custom-sidebar .sidebar-menu-top > li > a > i.fa-calendar-check { color: #80deea; } /* 달력일정 - 청록 */
#custom-sidebar .sidebar-menu-top > li > a > i.fa-edit          { color: #ce93d8; }  /* 메모장 - 보라 */

/* 서브메뉴 */
#custom-sidebar .sidebar-submenu li a i.fa-random               { color: #80deea; }  /* 신청목록 - 청록 */
#custom-sidebar .sidebar-submenu li a i.fa-pen-alt              { color: #a5d6a7; }  /* 일지관리 - 연초록 */
#custom-sidebar .sidebar-submenu li a i.fa-lock                 { color: #ef9a9a; }  /* 마감관리 - 연빨강 */
#custom-sidebar .sidebar-submenu li a i.fa-check-square         { color: #ef9a9a; }  /* 마감관리 - 연빨강 */
#custom-sidebar .sidebar-submenu li a i.fa-book-open            { color: #a5d6a7; }  /* 일지관리 - 연초록 */
#custom-sidebar .sidebar-submenu li a i.fa-clipboard            { color: #80deea; }  /* 클립보드 - 청록 */
#custom-sidebar .sidebar-submenu li a i.fa-flag-checkered       { color: #ef9a9a; }  /* 마감 - 연빨강 */
#custom-sidebar .sidebar-submenu li a i.fa-calendar-check       { color: #80deea; }  /* 달력체크 - 청록 */
#custom-sidebar .sidebar-submenu li a i.fa-edit                 { color: #ce93d8; }  /* 메모장 - 보라 */
#custom-sidebar .sidebar-submenu li a i.fa-user-friends         { color: #4fc3f7; }  /* 고객관리 - 하늘색 */

/* 메인 아이콘 색상 변경 - 초록 계열 */
#custom-sidebar .sidebar-menu-top > li > a > i.fa-home { color: #69f0ae; }
