#fs-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 25px 30px;
	padding: 10px;
	width: 100%;
	justify-content: center;
}

#fs-wrap>div {
	width: calc(55% - 100px);
}

#fs-wrap>div:last-child {
	width: 70%
}

table.ni-fs-table {
	box-shadow: rgb(106 106 106 / 25%) 5px 10px 15px;
}

table.ni-fs-table th {
	color: #fff;
	background-color: #5AA469;
	padding: 5px 15px;
	border-bottom: 0 !important;
	border-right: 1px solid #5AA469;
	text-align: center;
}

table.ni-fs-table td {
	padding: 5px 15px;
	border-bottom: 0 !important;
}

table.ni-fs-table tr:nth-child(even) td {
	background-color: #D4E7C550;
}

table.ni-fs-table tr.nav-red td {
	background-color: #d93737;
	color: #fff;
}

table.ni-fs-table tr.nav-green td {
	background-color: #3ea13e;
	color: #fff;
}

table.ni-fs-table tr.ni-mf-total-row td {
	font-weight: 500;
	background-color: #EDF3E7;
	border-top: 1px solid #C6DFC0 !important;
}

table.ni-fs-table tr.ni-mf-sub-row td:first-child {
	padding-left: 32px;
	font-size: 13px;
	color: #4A5568;
}

table.ni-fs-table tr.ni-mf-sub-row td {
	font-size: 13px;
}

table.ni-fs-table tr:first-child th:first-child {
	border-top-left-radius: 5px;
}

table.ni-fs-table tr:first-child th:last-child {
	border-top-right-radius: 5px;
}

/*admin panel*/
body.toplevel_page_ni-floor-sheet table.ni-fs-table {
	width: 100%;
}

body.toplevel_page_ni-floor-sheet p {
	margin-top: 10px;
	margin-bottom: 0;
}


.ni-mf-date-filter {
	width: 100%;
	max-width: 900px;
	box-sizing: border-box;
	margin: 0 auto 20px;
	padding: 15px 20px;
	background-color: #fff;
	border-radius: 6px;
	box-shadow: rgb(106 106 106 / 25%) 5px 10px 15px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.ni-mf-date-filter-form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 15px;
	width: 100%;
}

.ni-mf-date-filter-field {
	display: flex;
	align-items: center;
	gap: 8px;
}

.ni-mf-date-filter-field label {
	font-weight: 600;
	white-space: nowrap;
}

.ni-mf-date-filter-form input.ni-mf-date-input {
	box-sizing: border-box;
	padding: 7px 10px;
	border: 1px solid #5AA469;
	border-radius: 4px;
	font-size: 14px;
}

.ni-mf-date-filter-actions {
	display: flex;
	gap: 10px;
}

.ni-mf-date-filter-form button {
	background-color: #5AA469;
	color: #fff;
	border: 0;
	border-radius: 4px;
	padding: 7px 18px;
	font-size: 14px;
	cursor: pointer;
	white-space: nowrap;
}

.ni-mf-date-filter-form button.ni-mf-date-reset {
	background-color: #999;
}

.ni-mf-date-filter-form button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.ni-mf-date-message {
	width: 100%;
	text-align: center;
	color: #B3363D;
	margin: 0;
	font-size: 14px;
}

@media screen and (max-width: 800px) {
	#fs-wrap {

		>div,
		>div:last-child {
			width: 95%;
		}
	}

	.ni-mf-date-filter {
		padding: 15px;
	}

	.ni-mf-date-filter-form {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	.ni-mf-date-filter-field {
		flex-direction: column;
		align-items: stretch;
		gap: 6px;
	}

	.ni-mf-date-filter-field label {
		text-align: left;
	}

	.ni-mf-date-filter-form input.ni-mf-date-input {
		width: 100%;
		padding: 10px;
		font-size: 16px;
	}

	.ni-mf-date-filter-actions {
		width: 100%;
	}

	.ni-mf-date-filter-actions button {
		flex: 1;
		padding: 10px;
	}

	table.ni-fs-table {
		width: 100%;
	}
}

@media screen and (max-width: 480px) {
	table.ni-fs-table th,
	table.ni-fs-table td {
		padding: 6px 8px;
		font-size: 13px;
	}
}

.ni-mf-history-wrap {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto 25px;
	background-color: #fff;
	border-radius: 6px;
	box-shadow: rgb(106 106 106 / 25%) 5px 10px 15px;
	padding: 20px;
	box-sizing: border-box;
}

.ni-mf-history-chart-el {
	width: 100%;
	height: 490px;
}

.ni-mf-history-table-wrap {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto 25px;
	overflow-x: auto;
	background-color: #fff;
	border-radius: 6px;
	box-shadow: rgb(106 106 106 / 25%) 5px 10px 15px;
}

table.ni-mf-history-table {
	border-collapse: collapse;
	width: 100%;
	min-width: 1000px;
	font-size: 13px;
}

table.ni-mf-history-table caption {
	caption-side: top;
	text-align: left;
	font-weight: 600;
	font-size: 15px;
	padding: 12px 15px;
	color: #1d1d1d;
}

table.ni-mf-history-table th {
	background-color: #EDEDED;
	color: #333;
	padding: 8px 10px;
	border: 1px solid #DADADA;
	text-align: center;
	font-weight: 600;
}

table.ni-mf-history-table td {
	padding: 6px 10px;
	border: 1px solid #EAEAEA;
	text-align: right;
	white-space: nowrap !important;
	word-break: keep-all !important;
	overflow-wrap: normal !important;
}

table.ni-mf-history-table td:first-child {
	text-align: left;
	font-weight: 600;
	min-width: 90px;
}

table.ni-mf-history-table tbody tr:nth-child(even) {
	background-color: #F7FAF5;
}

.ni-mf-history-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 6px !important;
	padding: 15px;
}

.ni-mf-history-pagination button {
	display: inline-block !important;
	width: auto !important;
	max-width: none !important;
	height: auto !important;
	margin: 0 !important;
	border: 1px solid #DADADA !important;
	background-color: #fff !important;
	background-image: none !important;
	color: #333 !important;
	border-radius: 4px !important;
	padding: 5px 12px !important;
	font-size: 13px !important;
	line-height: normal !important;
	cursor: pointer;
	min-width: 32px;
	text-transform: none !important;
	box-shadow: none !important;
}

.ni-mf-history-pagination button:hover:not(:disabled) {
	background-color: #F2F5FA !important;
	color: #000000 !important;
}

.ni-mf-history-pagination button.is-active {
	background-color: #5AA469 !important;
	border-color: #5AA469 !important;
	color: #fff !important;
}

.ni-mf-history-pagination button:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.ni-mf-history-empty {
	max-width: 1200px;
	margin: 0 auto 25px;
	padding: 15px 20px;
	background-color: #fff;
	border-radius: 6px;
	box-shadow: rgb(106 106 106 / 25%) 5px 10px 15px;
	text-align: center;
	color: #555;
}

@media screen and (max-width: 800px) {
	.ni-mf-history-wrap,
	.ni-mf-history-table-wrap,
	.ni-mf-history-empty {
		width: 95%;
	}
}

.ni-mf-history-filter {
	width: 100%;
	max-width: 1200px;
	box-sizing: border-box;
	margin: 0 auto 20px;
	padding: 15px 20px;
	background-color: #fff;
	border-radius: 6px;
	box-shadow: rgb(106 106 106 / 25%) 5px 10px 15px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.ni-mf-history-filter-form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 15px;
	width: 100%;
}

.ni-mf-history-filter-field {
	display: flex;
	align-items: center;
	gap: 8px;
}

.ni-mf-history-filter-field label {
	font-weight: 600;
	white-space: nowrap;
}

.ni-mf-history-filter-form input[type="date"] {
	box-sizing: border-box;
	padding: 7px 10px;
	border: 1px solid #5AA469;
	border-radius: 4px;
	font-size: 14px;
}

.ni-mf-history-filter-actions {
	display: flex;
	gap: 10px;
}

.ni-mf-history-filter-form button {
	background-color: #5AA469;
	color: #fff;
	border: 0;
	border-radius: 4px;
	padding: 7px 18px;
	font-size: 14px;
	cursor: pointer;
	white-space: nowrap;
}

.ni-mf-history-filter-form button.ni-mf-history-reset {
	background-color: #999;
}

.ni-mf-history-filter-form button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.ni-mf-history-message {
	width: 100%;
	text-align: center;
	color: #B3363D;
	margin: 0;
	font-size: 14px;
}

@media screen and (max-width: 800px) {
	.ni-mf-history-filter {
		padding: 15px;
	}

	.ni-mf-history-filter-form {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	.ni-mf-history-filter-field {
		flex-direction: column;
		align-items: stretch;
		gap: 6px;
	}

	.ni-mf-history-filter-actions {
		width: 100%;
	}

	.ni-mf-history-filter-actions button {
		flex: 1;
		padding: 10px;
	}
}
