/*night-btn*/
.dayNight{
    padding: 0px;
    width: 42px;
    height: 42px;
	box-shadow: rgb(0 0 0 / 15%) 1.95px 1.95px 2.6px;
    border-radius: 21px;
	border: none;
}
.dayNight.night{
	background: #2c2d30;
	color: #d9d9d9;
}

.dayNight:hover{
background:#323237 ;
color: #fff;
}

.dayNight:hover i{
	color:yellow;
}
/*night-btn end*/

.blue{
	color: #00f !important;
}
.night .blue{
    color: #2dbdff !important;
}

.red{
	color: red !important;
}
.night .red{
	color: #ff4848 !important;
}

.color-1{
	background-color: #dcf8fe;
}
.color-2{
	background-color: #ffe6e2;
}
.color-3{
	background-color: #fffbe4;
}
.color-4{
	background-color: #e9e1f6;
}

.night .color-1{
    background-color: #215965;
}
.night .color-2{
    background-color: #3f1812;
}
.night .color-3{
    background-color: #534a15;
}

.night .color-4{
    background-color: #220b46;
}

.night .btn-secondary {
    background-color: #212121;
    color: #d0d0d0;
}

.name-color{
	color: #333;
}
.night .name-color{
	color: #fff;
}
.night a:hover{
	color: #d9d9d9;
}

body.night, .night .page-container .page-content-wrapper, .night .modal .modal-body, .night .modal .modal-header
{
	color: #d9d9d9;
	background:#1e1f21;
}

.night .header, .night .container-fluid, .night .jumbotron, .night .toast-header, .night .toast-body{
	background:#1e1f21;
	border-color: #3a3b3d;
}

.night .row-xs-heightm , .night .card, .night .social-card.share .card-header, .night .card.card-transparent .card-body, .night .nav-tabs,
.night .kt-portlet .kt-portlet__head, .night .kt-portlet, .night .kt-portlet .kt-portlet__body, .night .dataTables_wrapper{
    background: #2c2d30;
	border-radius: 0;
	border-color: #3a3b3d;
}
.night .kt-portlet .kt-portlet__head{
	border-bottom: 1px solid #3a3b3d;
}

.night .social-card.share .card-header:hover{
	background:#1e1f21;
}

.night .table.table-striped tbody tr:nth-child(2n + 1) td {
    background: #2c2d30 !important;
	border:1px solid #3a3b3d;
    color: #fff;
}


.night h1,.night h2,.night h3,.night h4,.night h5,.night h6,.night strong {
    color: #fff;
}

.night label,
.night .jstree-default .jstree-anchor,
.night .form-group label:not(.error),
.night .card-title,
.night span.username,
.night .kt-infobox .kt-infobox__title,
.night .modal-header .close 
{
    color: #fff;
}

.night .bg-white,
.night .nav-tabs > li > a,
.night .kt-section .kt-section__info {
	color: #d9d9d9;
}

.night .kt-portlet {
    -webkit-box-shadow: 0px 0px 13px 0px rgb(255 255 255 / 5%);
    box-shadow: 0px 0px 13px 0px rgb(255 255 255 / 5%);
}


.night #user-info-tabs li.nav-item a.active {
    color: #f66666;
    font-weight: bold;
	background: #2c2d30;
}

.night .text-primary {
    color: #9985f2 !important;
}

.night .table thead tr th {
    padding: 12px 5px;
    background-color: #323232;
    border:1px solid #3a3b3d;
	color: #d9d9d9;
}

.night .page-container .page-content-wrapper .content{
	background: #1e1f21;
}


.night .td_partner {
    background-color: #57575780 !important
}

.night .td_deposit {
	background-color: #313a50 !important;
}

.night .td_withdraw {
    background-color: #614046 !important;
}

.night .td_mine {
    background-color: #3e3946 !important;
}

.night .td_user {
    background-color: #384d4b !important;
}


body.night table{
	border-color: #3a3b3d;
}

.night .table.table-striped tbody tr td {
    background: #1e1f21 !important;
	border-color: #3a3b3d;
	color: #d9d9d9;
}


.night .table.table-striped tbody tr.losing-tr.agency td {
    background-color: #618686 !important;
}

.night .table.table-striped tbody tr.losing-tr.master td {
    background-color: #91789f !important;
}

.night .form-control {
    border-color: #757575;
    background: #4f4f4f;
    color: #fff;
	border-color: #3a3b3d;
	
}

.night .form-control option {
	color: #333;
}

.night #reply {
	color: #222;
}

.night .form-control[disabled], .night .form-control[readonly], .night fieldset[disabled] .form-control {
    background: #363636;
    color: #989898;
    border-color: #3a3b3d;
}

#btn-modify-name{
	margin-top: 20px;
}

.btn-danger {
	color: #fff;
}

.night p.value {
    color: #f0f0f0;
}

.night .bg-warning {
	background: #ffb64d60 !important;
	color: #ffffff;
	fill: #ffb64d60
}
.night .bg-success {
	background: #26dad280 !important;
	color: #ffffff;
	fill: #26dad280
}

.night .bg-info {
	background: #62d1f380 !important;
	color: #ffffff;
	fill: #62d1f380
}

/*
.night .table.table-striped tbody tr.bg-yellow td,
.night .table.table-striped tbody tr.bg-yellow:nth-child(2n + 1) td{
	background-color: #b48137  !important;
}*/

.form-group-default, .night .toast{
	background-color: transparent;
}

.user-item.blocked {
	background-color: #f0a0a0 !important;
}
.night .table.table-striped tbody tr.user-item.blocked td{
	background-color: #744646 !important
}

/*index layout*/
@media (min-width: 1824px){
	.menu-pin .container-fluid.container-fixed-lg {
		width: 100%;
	}
}

.row.layout{
	flex-wrap: wrap;
	display: flex;
}

.row.layout>.col-sm-12{
	display: flex;
	justify-content: space-between;
}

.row.layout>.col-sm-12>.row{
	width: 33.33333%;
}

body:not(.night) .table>tbody>tr>td{
	background: #fff !important;
	vertical-align: middle;
}
.table>tbody>tr>td{
	vertical-align: middle;
}

/* ── 다크모드: 테이블 셀 완전 오버라이드 ── */
body.night .table>tbody>tr>td,
body.night .table.table-striped>tbody>tr>td,
body.night .table.table-striped>tbody>tr:nth-child(2n+1)>td,
body.night .table.dataTable>tbody>tr>td,
body.night .table.dataTable.no-footer>tbody>tr>td {
    background: #1e1f21 !important;
    color: #d9d9d9 !important;
    border-color: #3a3b3d !important;
}
body.night .table.table-striped>tbody>tr:nth-child(odd)>td {
    background: #2c2d30 !important;
}
body.night .table>tbody>tr:hover>td {
    background: #3a3b3d !important;
}

/* 테이블 thead */
body.night .table>thead>tr>th,
body.night #LIST thead th,
body.night #LIST0 thead th {
    background: #323232 !important;
    color: #d9d9d9 !important;
    border-color: #3a3b3d !important;
}

/* td 색상 클래스 다크 */
body.night th.td_partner, body.night td.td_partner { background: #57575780 !important; color: #d9d9d9 !important; }
body.night th.td_deposit, body.night td.td_deposit { background: #313a50 !important; color: #d9d9d9 !important; }
body.night th.td_withdraw, body.night td.td_withdraw { background: #614046 !important; color: #d9d9d9 !important; }
body.night th.td_mine, body.night td.td_mine { background: #3e3946 !important; color: #d9d9d9 !important; }
body.night th.td_user, body.night td.td_user { background: #384d4b !important; color: #d9d9d9 !important; }

/* 합계 행 */
body.night .sum-row td,
body.night tr td[style*="background:#ffc107"],
body.night tr td[style*="background: #ffc107"],
body.night tr td[style*="ffc107"],
body.night tr[style*="ffc107"] td,
body.night .table.table-striped tbody tr td[style*="ffc107"],
body.night .table.table-striped tbody tr:nth-child(2n+1) td[style*="ffc107"] {
    background: #b8860b !important;
    color: #fff !important;
}

/* 카드/패널 */
body.night .bg-white,
body.night .card-body,
body.night .card-header,
body.night .no-border {
    background: #2c2d30 !important;
    color: #d9d9d9 !important;
    border-color: #3a3b3d !important;
}

/* bd-callout */
body.night .bd-callout {
    background: #2c2d30 !important;
    border-color: #3a3b3d !important;
}
body.night .bd-callout h5 { color: #999 !important; }
body.night .bd-callout .value { color: #f0f0f0 !important; }

/* 폼 */
body.night .form-group-default {
    background: #2c2d30 !important;
    border-color: #3a3b3d !important;
}
body.night .form-group-default label { color: #ccc !important; }

/* 드롭다운 */
body.night .dropdown-menu {
    background: #2c2d30 !important;
    border-color: #3a3b3d !important;
}
body.night .dropdown-item { color: #d9d9d9 !important; }
body.night .dropdown-item:hover { background: #3a3b3d !important; }

/* 모달 */
body.night .modal-content,
body.night .modal-footer {
    background: #2c2d30 !important;
    color: #d9d9d9 !important;
    border-color: #3a3b3d !important;
}

/* 버튼 */
body.night .btn-outline-secondary {
    color: #d9d9d9 !important;
    border-color: #555 !important;
}
body.night .btn-outline-secondary:hover { background: #3a3b3d !important; }

/* 링크 */
body.night a { color: #7fb3f0; }
body.night a:hover { color: #a0c8ff; }
body.night .text-muted { color: #707090 !important; }

/* 인라인 배경색 오버라이드 */
body.night [style*="background:#e9ecef"],
body.night [style*="background: #e9ecef"] {
    background: #323232 !important;
}
body.night [style*="background:#fff"],
body.night [style*="background: #fff"],
body.night [style*="background:#ffffff"] {
    background: #1e1f21 !important;
}
body.night [style*="background:#f5f5f5"],
body.night [style*="background:#f9f9f9"] {
    background: #2c2d30 !important;
}
body.night [style*="color:#333"],
body.night [style*="color: #333"] {
    color: #d9d9d9 !important;
}

/* alert */
body.night .alert-info {
    background: #1a2a4c !important;
    border-color: #2a4a6c !important;
    color: #d9d9d9 !important;
}

/* 스크롤바 */
body.night ::-webkit-scrollbar { width: 8px; height: 8px; }
body.night ::-webkit-scrollbar-track { background: #1e1f21; }
body.night ::-webkit-scrollbar-thumb { background: #555; border-radius: 4px; }

/* 대시보드 카드 */
body.night .dash-quick-card { background: #2c2d30 !important; }
body.night .dash-quick-card.c-blue { border-color: #6571ff !important; }
body.night .dash-quick-card.c-red { border-color: #e74c3c !important; }
body.night .dash-quick-card.c-green { border-color: #27ae60 !important; }
body.night .dash-quick-card.c-info { border-color: #17a2b8 !important; }
body.night .dq-label { color: #999 !important; }
body.night .dq-val { color: #fff !important; }
body.night .dq-sub { color: #777 !important; }

/* 대시보드 머니입출금 개요 */
body.night .card-description { background: #2c2d30 !important; color: #d9d9d9 !important; }
body.night .social-card { background: #2c2d30 !important; border-color: #3a3b3d !important; }
body.night .social-card .card-header { background: #2c2d30 !important; }
body.night .dash-card-header { background: #2c2d30 !important; }

/* 대시보드 모바일 카드 */
body.night .mtc-section-title { color: #d9d9d9 !important; }
body.night .mtc-item { background: #2c2d30 !important; border-color: #3a3b3d !important; }
body.night .mtc-item-label { color: #999 !important; }
body.night .mtc-item-val { color: #fff !important; }

/* 모바일 카드 */
body.night .user-mobile-cards > div {
    background: #2c2d30 !important;
    border-color: #3a3b3d !important;
}

/* 탭 */
body.night .nav-tabs { border-color: #3a3b3d !important; }
body.night .nav-tabs .nav-link { color: #999 !important; }

/* 토스트 */
body.night .toast { background: #2c2d30 !important; border-color: #3a3b3d !important; }
body.night .toast-header { background: #323232 !important; color: #d9d9d9 !important; border-color: #3a3b3d !important; }
body.night .toast-body { color: #d9d9d9 !important; }

/* 스위치 */
body.night .switch-slider { background: #555 !important; }

/* 검색영역/페이지 제목 */
body.night .page-title-bar { background: #323232 !important; }
body.night .page-content-card { background: #2c2d30 !important; }

@media (max-width: 509px){
	.row.layout>.col-sm-12>.row{
		width: 100%;
	}

	.row.layout>.col-sm-12 {
		flex-wrap: wrap;
		justify-content: center;
	}
}


/*css change 20220316*/
.social-card.share .card-header h5{
	margin-top: 0;
	margin-right: 5px;
}

.money-box .btn-wrap{
	padding-left: 1rem !important;
	margin-top: 2px;
	padding-bottom: 1rem;
}

.row.layout .card .card-header {
	padding: 10px 20px 7px 20px;
	max-height: 48px;
}

.form-group-default .form-control {
    height: 37px;
    padding-left: 10px;
}

.modal-header .close {
    font-size: 25px;
}