
html  {
  font-family: "Noto Sans KR", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  line-height:1.15;
  -webkit-text-size-adjust:100%;
  -webkit-tap-highlight-color:rgba(0,0,0,0);

}

body {
	margin:0px;
	font-weight:400;
	line-height:1.5;
}

.card-header {
	background:#dee8f2;
	padding:5px 0 5px 20px;
}
.card-header h4 {font-weight:500 !important;}

.card-body  {
	 font-family: 'Nanum Barun Gothic', sans-serif;
	font-size : 13px;
	font-weight: 400;
}



.sub-menu {
    background:rgb(237, 244, 255);
    font-size : 0.9rem;
    font-weight: 400;
    line-height: 1.5;
}

tbody, td, tfoot, th, thead, tr {
    text-align: center;
}

.hide {
	display:none;
}

.show {
	display:block;
}

.font_rem0-8 {
  font-size: 0.8rem;
}
.font_rem1 {
  font-size: 0.9rem;
}
.font_rem1-5 {
  font-size: 1.5rem;
}
.font_rem2 {
  font-size: 2rem;
}

.ar {
  text-align:right!important;
}

.al {
  text-align:left!important;
}

.ac {
  text-align:center!important;
}

.color-active{
	color: #2ab57d!important;
}

.color-inactive{
	color: #fd625e!important;
}

.irq::before {
    content: "\f069";
    font-family: "Font Awesome 5 Free";
    font-size: 9px;
    font-weight: 600;
    color:#f76c76;
    margin-right:5px;
}

.bold {
	font-weight: 600;
}

.w20 {width:20px;}
.w50 {width:50px;}
.w80 {width:80px;}
.w100 {width:100px;}
.w120 {width:120px;}
.w150 {width:150px;}
.w180 {width:180px;}
.w200 {width:200px;}
.w220 {width:220px;}
.w250 {width:250px;}
.w280 {width:280px;}
.w300 {width:300px;}
.w500 {width:500px;}
.w800 {width:800px;}
.w1000 {width:1000px;}

.red_row {
    background:#e89da3;
}

.dataTables_filter {
	text-align:left!important;
}

table.dataTable > tbody > tr.selected > * {
    box-shadow: inset 0 0 0 9999px #ccc;
    color: rgb(255, 255, 255);
}


div.dt-button-collection .dt-button:not(.dt-btn-split-drop) {
    min-width: fit-content;
}

div.dt-button-collection div.dropdown-menu {
    min-width: fit-content;
}

.btn_sel {
	width:120px;
}
.btn_sel:after {
	padding-left: 10px;
	content: "▼";
}

.table>:not(caption)>*>* {
    padding: 0.5rem 0.5rem;
}


table.dataTable thead > tr > th.sorting:before, table.dataTable thead > tr > th.sorting_asc:before, table.dataTable thead > tr > th.sorting_desc:before, table.dataTable thead > tr > th.sorting_asc_disabled:before, table.dataTable thead > tr > th.sorting_desc_disabled:before, table.dataTable thead > tr > td.sorting:before, table.dataTable thead > tr > td.sorting_asc:before, table.dataTable thead > tr > td.sorting_desc:before, table.dataTable thead > tr > td.sorting_asc_disabled:before, table.dataTable thead > tr > td.sorting_desc_disabled:before {
    bottom: 42%;
    font-size:0.9rem;
    content: "↑";
    color:#fff;
}


table.dataTable thead > tr > th.sorting:after, table.dataTable thead > tr > th.sorting_asc:after, table.dataTable thead > tr > th.sorting_desc:after, table.dataTable thead > tr > th.sorting_asc_disabled:after, table.dataTable thead > tr > th.sorting_desc_disabled:after, table.dataTable thead > tr > td.sorting:after, table.dataTable thead > tr > td.sorting_asc:after, table.dataTable thead > tr > td.sorting_desc:after, table.dataTable thead > tr > td.sorting_asc_disabled:after, table.dataTable thead > tr > td.sorting_desc_disabled:after {
    top: 42%;
    font-size:0.9rem;
    content: "↓";
    color:#fff;
}

.table.dataTable>thead .sorting::after, .table.dataTable>thead .sorting_asc::after, .table.dataTable>thead .sorting_asc_disabled::after, .table.dataTable>thead .sorting_desc::after, .table.dataTable>thead .sorting_desc_disabled::after, table.dataTable>thead .sorting::after, table.dataTable>thead .sorting_asc::after, table.dataTable>thead .sorting_asc_disabled::after, table.dataTable>thead .sorting_desc::after, table.dataTable>thead .sorting_desc_disabled::after {
    right: 1em;
    left: auto;
}

.table.dataTable>thead .sorting::after, .table.dataTable>thead .sorting_asc::after, .table.dataTable>thead .sorting_asc_disabled::after, .table.dataTable>thead .sorting_desc::after, .table.dataTable>thead .sorting_desc_disabled::after, table.dataTable>thead .sorting::after, table.dataTable>thead .sorting_asc::after, table.dataTable>thead .sorting_asc_disabled::after, table.dataTable>thead .sorting_desc::after, table.dataTable>thead .sorting_desc_disabled::after {
    right: 0.5em;
    left: auto;
}

div.dataTables_wrapper div.dataTables_filter input {
    height: 32px;
}

.form-select {
    font-size:0.9rem;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-thumb {
  background-color: #2f3542;
  border-radius: 10px;
}
::-webkit-scrollbar-track {
  background-color: grey;
  border-radius: 10px;
  box-shadow: inset 0px 0px 5px white;
}

@media (max-width: 576px){
	.mh-sm-50 {
		max-height: 50%;
	}
}



.row_bg_red {
	background-color:#feafad!important;
	color:#222;
}

.ml-10 {
	margin-left:10px;
}

.ml-5 {
	margin-left:5px;
}


.mt-10 {
	margin-top: 10px;
}

.mt-20 {
	margin-top: 20px;
}
.mt-30 {
	margin-top: 30px;
}
.mt-40 {
	margin-top: 40px;
}
.mt-50 {
	margin-top: 50px;
}


.mr-10 {
	margin-right:10px;
}

.d-chart-title {
	padding:10px;
	font-size:20px;
	font-weight:600;
	color:#d3ed00!important;
}

.d-chart-groupName {
	padding:10px;
	font-weight:400;
	color:#d5a9d3!important;
	font-size:16px;
}

.d-chart-count {
	color:#ffffff!important;
	font-size:16px;
	text-align:center;
}

@media all and (min-width:400px) and (max-width:1024px) {

  .quickMenu button{
      font-size:11px;
      margin-right:3px;
  }

}

.pdf-header {
    margin:0 auto;
    text-align:center;
    margin-top:0px;
}
.pdf-title {
    text-align:center;
    font-size:28px;
    font-weight: 600;
}
.pdf-outdt1 {
    margin-top:40px;
    text-align:right;
    font-size:22px;
    font-weight: 600;
}
.pdf-outdt2 {
    margin-top:40px;
    text-align:right;
    font-size:16px;
    font-weight: 600;
    padding-top:5px;
}

.pdf-table {
	display: table;
	width:100%;
    border:1px solid #71BCE4;
    border-collapse: collapse;
}

.pdf-table th {
    border:1px solid #71BCE4;
    border-spacing:1px;
    text-align:center;
    font-size:10px;
    font-weight:800;
    background: #C7E4F4;
    padding:4px;
}

.pdf-table td {
    border:1px solid #71BCE4;
    text-align:center;
    font-size:9px;
    background: #fff;
    padding:4px;
    word-break : normal;
}

.pdf-bottom {
	text-align:center;
	width:100%;
}

.pdf-bottom p {
	text-align:center;
	font-size:18px;
	font-weight: 600;
}


.calc-pdf-table {
    display: table;
    width:100%;
    border:1px solid #71BCE4;
    border-collapse: collapse;
}

.calc-pdf-table th {
    border:1px solid #71BCE4;
    border-spacing:1px;
    text-align:center;
    font-size:16px;
    font-weight:800;
    background: #C7E4F4;
    padding:4px;
}

.calc-pdf-table td {
    border:1px solid #71BCE4;
    text-align:center;
    font-size:14px;
    background: #fff;
    padding:10px;
    word-break : normal;
}



.dom_search {
	height:36px;
}

.readonly {
	background-color: #e9ecef;
	cursor: not-allowed;
}

body.admin-pastel {
	background: #eef2fb;
	color: #101428;
	font-family: "Noto Sans KR", "Inter", "Segoe UI", sans-serif;
}

body.admin-pastel #layout-wrapper {
	background: #eef2fb;
}

body.admin-pastel .main-content {
	background: #eef2fb;
}

body.admin-pastel .page-content {
	background: #eef2fb;
	padding-top: 98px;
}

body.admin-pastel #page-topbar,
body.admin-pastel .navbar-header {
	background: #ffffff;
	border-bottom: 0;
	box-shadow: none;
}

body.admin-pastel #page-topbar {
	border-top: 2px solid #2f68ff;
}

body.admin-pastel .navbar-brand-box {
	background: #ffffff;
	border-right: 0;
	box-shadow: none;
}

body.admin-pastel .logo-txt {
	color: #202235;
	display: inline-block;
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1;
	margin-left: 6px;
	white-space: nowrap;
}

body.admin-pastel .header-item {
	color: #415a77;
}

body.admin-pastel #vertical-menu-btn {
	color: #415a77;
	font-size: 1.35rem;
}

body.admin-pastel #page-header-user-dropdown {
	align-items: center;
	background: #ffffff !important;
	border: 0 !important;
	border-radius: 12px;
	color: #415a77;
	display: inline-flex;
	font-size: 1.05rem;
	font-weight: 600;
	gap: 6px;
	text-decoration: none;
	box-shadow: none;
}

body.admin-pastel #page-header-user-dropdown:hover,
body.admin-pastel #page-header-user-dropdown:focus {
	background: #ffffff !important;
	color: #2580ff;
}

body.admin-pastel #page-header-user-dropdown .admin-user-bullet {
	color: #2580ff;
	font-size: 0.95rem;
}

body.admin-pastel #page-header-user-dropdown .admin-user-arrow {
	color: #8a95aa;
	font-size: 1rem;
	margin-left: 4px;
}

body.admin-pastel .admin-user-menu:hover .admin-user-dropdown {
	display: block;
	margin-top: 0;
}

body.admin-pastel .admin-user-dropdown {
	border: 1px solid #edf0f6;
	border-radius: 8px;
	box-shadow: 0 12px 28px rgba(29, 42, 82, 0.1);
	min-width: 130px;
	padding: 6px;
}

body.admin-pastel .admin-user-dropdown .dropdown-item {
	border-radius: 6px;
	color: #53627f;
	font-weight: 500;
	padding: 8px 12px;
}

body.admin-pastel .admin-user-dropdown .dropdown-item:hover {
	background: #eef5ff;
	color: #2580ff;
}

body.admin-pastel .vertical-menu {
	background: #ffffff;
	border-right: 0;
	box-shadow: 14px 0 28px rgba(24, 35, 74, 0.04);
}

body.admin-pastel #sidebar-menu {
	background: #ffffff;
	padding: 8px 0 24px;
}

body.admin-pastel #sidebar-menu .menu-title {
	color: #a6aec0;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0;
	margin: 18px 20px 12px;
	padding: 0;
	text-transform: uppercase;
}

body.admin-pastel #sidebar-menu ul li {
	position: relative;
}

body.admin-pastel #sidebar-menu ul li a {
	align-items: center;
	color: #53627f;
	display: flex;
	font-size: 1rem;
	font-weight: 500;
	gap: 14px;
	line-height: 1.2;
	margin: 2px 0;
	min-height: 46px;
	padding: 0 20px;
	transition: color 0.18s ease, background-color 0.18s ease;
}

body.admin-pastel #sidebar-menu ul li a i {
	color: #a5aebe;
	font-size: 1.15rem;
	margin-right: 0;
	min-width: 24px;
	text-align: center;
	transition: color 0.18s ease;
}

body.admin-pastel #sidebar-menu ul li a:hover,
body.admin-pastel #sidebar-menu ul li.mm-active > a,
body.admin-pastel #sidebar-menu ul li a.active {
	background: transparent !important;
	color: #2580ff;
	font-weight: 500;
}

body.admin-pastel #sidebar-menu ul li.mm-active > a::before,
body.admin-pastel #sidebar-menu ul li a.active::before {
	background: #2580ff;
	bottom: 0;
	content: "";
	left: 0;
	position: absolute;
	top: 0;
	width: 3px;
}

body.admin-pastel #sidebar-menu ul li a:hover i,
body.admin-pastel #sidebar-menu ul li.mm-active > a i,
body.admin-pastel #sidebar-menu ul li a.active i {
	color: #2580ff;
}

body.admin-pastel #sidebar-menu .has-arrow::after {
	border-color: #53627f;
	right: 22px;
}

body.admin-pastel #sidebar-menu .mm-active > .has-arrow::after,
body.admin-pastel #sidebar-menu .has-arrow:hover::after {
	border-color: #2580ff;
}

body.admin-pastel .sub-menu {
	background: #ffffff;
	padding: 2px 0 10px;
}

body.admin-pastel .sub-menu li a {
	color: #5f6f8d !important;
	font-size: 0.95rem !important;
	font-weight: 500 !important;
	min-height: 34px !important;
	padding-left: 58px !important;
	position: relative;
}

body.admin-pastel .sub-menu li a .icon-Commit {
	align-items: center;
	color: #cbd2df;
	display: inline-flex;
	height: 12px;
	justify-content: center;
	left: 34px;
	min-width: 12px;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 12px;
}

body.admin-pastel .sub-menu li a .icon-Commit .path1,
body.admin-pastel .sub-menu li a .icon-Commit .path2 {
	border-radius: 50%;
	display: block;
	position: absolute;
}

body.admin-pastel .sub-menu li a .icon-Commit .path1 {
	border: 1px solid currentColor;
	height: 8px;
	width: 8px;
}

body.admin-pastel .sub-menu li a .icon-Commit .path2 {
	background: currentColor;
	height: 3px;
	width: 3px;
}

body.admin-pastel .sub-menu li a:hover,
body.admin-pastel .sub-menu li.mm-active > a,
body.admin-pastel .sub-menu li a.active {
	background: transparent !important;
	color: #2580ff !important;
	font-weight: 500 !important;
}

body.admin-pastel .sub-menu li a:hover .icon-Commit,
body.admin-pastel .sub-menu li.mm-active > a .icon-Commit,
body.admin-pastel .sub-menu li a.active .icon-Commit {
	color: #2580ff;
}

body.admin-pastel .page-title-box {
	margin-bottom: 26px;
}

body.admin-pastel .page-title-box h4,
body.admin-pastel .page-title-box .font-size-18 {
	color: #11142d;
	font-size: 1.35rem !important;
	font-weight: 700;
}

body.admin-pastel .card {
	background: #ffffff;
	border: 0;
	border-radius: 12px;
	box-shadow: 0 14px 28px rgba(29, 42, 82, 0.06);
	overflow: hidden;
}

body.admin-pastel .card-header {
	background: #ffffff;
	border-bottom: 1px solid #edf0f6;
	color: #11142d;
	padding: 20px 24px;
}

body.admin-pastel .card-header h4,
body.admin-pastel .card-title {
	color: #11142d;
	font-size: 1.2rem;
	font-weight: 700 !important;
}

body.admin-pastel .card-body {
	background: #ffffff;
	color: #53627f;
	font-size: 0.95rem;
	padding: 24px;
}

body.admin-pastel .form-label {
	color: #3b4760;
	font-weight: 600;
}

body.admin-pastel .form-control,
body.admin-pastel .form-select,
body.admin-pastel textarea.form-control,
body.admin-pastel .select2-container--default .select2-selection--single,
body.admin-pastel div.dataTables_wrapper div.dataTables_filter input,
body.admin-pastel div.dataTables_wrapper div.dataTables_length select {
	background-color: #ffffff;
	border: 1px solid #d9deea;
	border-radius: 5px;
	color: #53627f;
	min-height: 38px;
}

body.admin-pastel .form-control:focus,
body.admin-pastel .form-select:focus,
body.admin-pastel div.dataTables_wrapper div.dataTables_filter input:focus {
	border-color: #2580ff;
	box-shadow: 0 0 0 0.15rem rgba(37, 128, 255, 0.14);
}

body.admin-pastel .table-responsive {
	border-radius: 8px;
}

body.admin-pastel .table {
	background: #ffffff;
	border-color: #edf0f6;
	color: #7d849f;
	font-size: 0.95rem;
	margin-bottom: 0;
}

body.admin-pastel .table > :not(caption) > * > * {
	border-color: #edf0f6;
	padding: 0.72rem 0.85rem;
	vertical-align: middle;
}

body.admin-pastel .table > thead,
body.admin-pastel table.dataTable > thead {
	background: #ffffff;
	color: #415a77;
}

body.admin-pastel .table > :not(:last-child) > :last-child > *,
body.admin-pastel table.dataTable > thead > tr > th,
body.admin-pastel table.dataTable > thead > tr > td {
	border-bottom-color: #d7dce6;
}

body.admin-pastel .table > thead th,
body.admin-pastel table.dataTable > thead > tr > th,
body.admin-pastel table.dataTable > thead > tr > td {
	color: #415a77;
	font-weight: 800;
	white-space: nowrap;
}

body.admin-pastel table.dataTable thead > tr > th.sorting:before,
body.admin-pastel table.dataTable thead > tr > th.sorting_asc:before,
body.admin-pastel table.dataTable thead > tr > th.sorting_desc:before,
body.admin-pastel table.dataTable thead > tr > th.sorting_asc_disabled:before,
body.admin-pastel table.dataTable thead > tr > th.sorting_desc_disabled:before,
body.admin-pastel table.dataTable thead > tr > td.sorting:before,
body.admin-pastel table.dataTable thead > tr > td.sorting_asc:before,
body.admin-pastel table.dataTable thead > tr > td.sorting_desc:before,
body.admin-pastel table.dataTable thead > tr > td.sorting_asc_disabled:before,
body.admin-pastel table.dataTable thead > tr > td.sorting_desc_disabled:before,
body.admin-pastel table.dataTable thead > tr > th.sorting:after,
body.admin-pastel table.dataTable thead > tr > th.sorting_asc:after,
body.admin-pastel table.dataTable thead > tr > th.sorting_desc:after,
body.admin-pastel table.dataTable thead > tr > th.sorting_asc_disabled:after,
body.admin-pastel table.dataTable thead > tr > th.sorting_desc_disabled:after,
body.admin-pastel table.dataTable thead > tr > td.sorting:after,
body.admin-pastel table.dataTable thead > tr > td.sorting_asc:after,
body.admin-pastel table.dataTable thead > tr > td.sorting_desc:after,
body.admin-pastel table.dataTable thead > tr > td.sorting_asc_disabled:after,
body.admin-pastel table.dataTable thead > tr > td.sorting_desc_disabled:after {
	color: #d6dce8;
}

body.admin-pastel .table tbody tr:nth-child(odd) > * {
	background-color: #f5f5f6;
}

body.admin-pastel .table tbody tr:nth-child(even) > * {
	background-color: #ffffff;
}

body.admin-pastel .table-hover > tbody > tr:hover > *,
body.admin-pastel .table tbody tr:hover > * {
	background-color: #eef5ff;
	color: #415a77;
}

body.admin-pastel .table-bordered > :not(caption) > * > * {
	border-color: #edf0f6;
}

body.admin-pastel .dataTables_wrapper .dataTables_length,
body.admin-pastel .dataTables_wrapper .dataTables_filter,
body.admin-pastel .dataTables_wrapper .dataTables_info,
body.admin-pastel .dataTables_wrapper .dataTables_paginate {
	color: #11142d;
	font-size: 0.95rem;
}

body.admin-pastel .page-link,
body.admin-pastel .dataTables_wrapper .dataTables_paginate .paginate_button {
	background: #ffffff;
	border: 0;
	border-radius: 5px;
	color: #11142d !important;
	margin: 0 4px;
	min-width: 34px;
	text-align: center;
}

body.admin-pastel .page-item.active .page-link,
body.admin-pastel .dataTables_wrapper .dataTables_paginate .paginate_button.current {
	background: #ffffff !important;
	border: 1px solid #cfd5e3 !important;
	color: #11142d !important;
}

body.admin-pastel .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
	background: #eef5ff !important;
	border: 0 !important;
	color: #2580ff !important;
}

body.admin-pastel a {
	color: #2580ff;
	font-weight: 600;
}

body.admin-pastel a:hover {
	color: #0d63d8;
}

body.admin-pastel .btn {
	border-radius: 6px;
	font-weight: 700;
}

body.admin-pastel .btn-primary {
	background-color: #2580ff;
	border-color: #2580ff;
	color: #ffffff;
}

body.admin-pastel .btn-primary:hover,
body.admin-pastel .btn-primary:focus {
	background-color: #0d63d8;
	border-color: #0d63d8;
}

body.admin-pastel .admin-create-btn {
	min-width: 112px;
}

body.admin-pastel .admin-dt-search {
	display: flex;
	gap: 8px;
	align-items: center;
	margin-bottom: 12px;
}

body.admin-pastel .admin-dt-search .form-select {
	width: 220px;
}

body.admin-pastel .admin-dt-search .form-control {
	width: 220px;
}

body.admin-pastel .admin-dt-search .btn {
	min-width: 82px;
}

body.admin-pastel .admin-product-thumb {
	width: 54px;
	height: 54px;
	object-fit: cover;
	border-radius: 6px;
	border: 1px solid #edf0f6;
	background: #f7f9fc;
}

body.admin-pastel .admin-product-form-thumb {
	width: 110px;
	height: 110px;
	object-fit: cover;
	border-radius: 8px;
	border: 1px solid #edf0f6;
	background: #f7f9fc;
}

body.admin-pastel .admin-order-list-table thead th,
body.admin-pastel .admin-order-list-table thead td {
	text-align: center !important;
}

body.admin-pastel .admin-order-list-table .admin-order-product-col,
body.admin-pastel .admin-order-list-table .admin-order-product-name {
	min-width: 420px;
	width: 420px;
}

body.admin-pastel .admin-order-list-table .admin-order-product-name {
	text-align: left;
	white-space: normal;
	word-break: keep-all;
}

body.admin-pastel .admin-aptproduct-list-table .admin-aptproduct-product-col,
body.admin-pastel .admin-aptproduct-list-table .admin-aptproduct-product-name {
	min-width: 420px;
	width: 420px;
}

body.admin-pastel .admin-aptproduct-list-table .admin-aptproduct-product-name {
	text-align: left;
	white-space: normal;
	word-break: keep-all;
}

body.admin-pastel .admin-product-image-card {
	position: relative;
	overflow: hidden;
}

body.admin-pastel .admin-product-image-delete {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 30px;
	height: 30px;
	border: 0;
	border-radius: 50%;
	background: rgba(15, 23, 42, 0.78);
	color: #fff;
	font-size: 20px;
	line-height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.15s ease, background-color 0.15s ease;
	z-index: 2;
}

body.admin-pastel .admin-product-image-card:hover .admin-product-image-delete {
	opacity: 1;
}

body.admin-pastel .admin-product-image-delete:hover {
	background: #dc3545;
}

body.admin-pastel .product-action-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 110px;
	height: 42px;
	font-weight: 600;
}

body.admin-pastel a.btn-success.product-action-btn {
	color: #ffffff;
}

body.admin-pastel .note-editor .note-dropdown-menu,
body.admin-pastel .note-editor .note-color-palette {
	z-index: 1065;
}

body.admin-pastel .btn-secondary,
body.admin-pastel .btn-light {
	background-color: #edf1f8;
	border-color: #edf1f8;
	color: #415a77;
}

body.admin-pastel .btn-danger {
	background-color: #ff6b8a;
	border-color: #ff6b8a;
	color: #ffffff;
}

body.admin-pastel .modal-content,
body.admin-pastel .dropdown-menu {
	background: #ffffff;
	border: 0;
	border-radius: 18px;
	box-shadow: 0 20px 42px rgba(29, 42, 82, 0.12);
	color: #53627f;
	overflow: hidden;
}

body.admin-pastel .modal-header,
body.admin-pastel .modal-footer {
	background: #ffffff;
	border-color: #edf0f6;
}

body.admin-pastel .footer {
	background: #eef2fb;
	border-top: 0;
	color: #7d849f;
}

.modal-board-wide {
	max-width: min(770px, calc(100vw - 48px));
}

.board-modal .modal-header {
	padding: 1rem 1.25rem;
}

.board-modal .modal-body {
	padding: 1.25rem;
}

.board-modal .modal-footer {
	gap: 0.5rem;
	padding: 1rem 1.25rem;
}

.board-modal .modal-footer .btn {
	min-width: 100px;
	height: 38px;
	font-size: 0.95rem;
	font-weight: 600;
}

@media (max-width: 576px) {
  .modal-dialog {
    width: 100% !important;
    margin: 0 auto !important;
  }

  .modal-content {
    border-radius: 0;
  }

  .board-modal .modal-footer .btn {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 768px) {
  #modalDiv {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100vw - 20px);
    max-width: 100%;
    margin: 0 !important;
    border-radius: 8px;
    box-sizing: border-box;
    overflow-y: auto;
    max-height: 85vh;
  }
}

.admin-dashboard .dashboard-card {
  border: 0;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.admin-dashboard .dashboard-card .card-body {
  min-height: 100%;
  padding: 22px;
}

.admin-dashboard .dashboard-card-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.admin-dashboard .dashboard-card-title h5 {
  margin: 0;
  color: #111827;
  font-size: 17px;
  font-weight: 700;
}

.admin-dashboard .dashboard-card-title span {
  flex: 0 0 auto;
  color: #6b7280;
  font-size: 12px;
  font-weight: 500;
}

.admin-dashboard .dashboard-chart {
  min-height: 320px;
}

.admin-dashboard .dashboard-rank-row {
  margin-top: 16px;
}

.admin-dashboard .dashboard-rank-card {
  height: calc(100% - 24px);
}

.admin-dashboard .dashboard-rank-table {
  margin-bottom: 0;
  table-layout: fixed;
}

.admin-dashboard .dashboard-rank-table th {
  border-bottom-color: #e5e7eb;
  color: #667085;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.admin-dashboard .dashboard-rank-table td {
  border-bottom-color: #f1f3f5;
  color: #111827;
  font-size: 13px;
  vertical-align: middle;
}

.admin-dashboard .dashboard-rank-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #eef4ff;
  color: #356ad8;
  font-weight: 700;
}

.admin-dashboard .dashboard-rank-title {
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-dashboard .dashboard-rank-price {
  color: #111827;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.admin-dashboard .dashboard-empty {
  height: 160px;
  color: #98a2b3 !important;
  text-align: center;
}
