/** Final table and form compatibility for profile/admin/moderation/plugin pages. */
body.vice-inner-shell #main_content_section :is(
	.table-responsive, .generic_list_wrapper, .admin_table, .mod_table,
	.profile_table, .dataTable_wrapper, .settings, .form_settings
) {
	max-width: 100%;
	color: var(--vls-text, #e6edf5) !important;
	background: var(--vls-surface, #111821) !important;
	border-color: var(--vls-border, rgba(255, 255, 255, 0.11)) !important;
}

body.vice-inner-shell #main_content_section :is(
	.table-responsive, .generic_list_wrapper, .dataTable_wrapper
) {
	overflow-x: auto;
	border: 1px solid var(--vls-border, rgba(255, 255, 255, 0.11));
	border-radius: 10px;
}

body.vice-inner-shell #main_content_section :is(
	table, .table, .table_grid, .table_list, .admin_table, .mod_table, .profile_table, .dataTable
) {
	width: 100%;
	color: var(--vls-text, #e6edf5) !important;
	background: transparent !important;
	border-color: var(--vls-border, rgba(255, 255, 255, 0.11)) !important;
}

body.vice-inner-shell #main_content_section :is(
	table, .table, .table_grid, .table_list, .admin_table, .mod_table, .profile_table, .dataTable
) :is(thead, tbody, tfoot, tr) {
	color: inherit !important;
	background: transparent !important;
	border-color: var(--vls-border, rgba(255, 255, 255, 0.11)) !important;
}

body.vice-inner-shell #main_content_section :is(
	table, .table, .table_grid, .table_list, .admin_table, .mod_table, .profile_table, .dataTable
) th {
	color: #edf5fc !important;
	background: rgba(45, 129, 213, 0.2) !important;
	border-color: var(--vls-border, rgba(255, 255, 255, 0.11)) !important;
}

body.vice-inner-shell #main_content_section :is(
	table, .table, .table_grid, .table_list, .admin_table, .mod_table, .profile_table, .dataTable
) td {
	color: var(--vls-text, #e6edf5) !important;
	background: rgba(17, 24, 33, 0.82) !important;
	border-color: var(--vls-border, rgba(255, 255, 255, 0.11)) !important;
}

body.vice-inner-shell #main_content_section :is(
	table, .table, .table_grid, .table_list, .admin_table, .mod_table, .profile_table, .dataTable
) tbody tr:nth-child(even) td {
	background: rgba(23, 33, 44, 0.9) !important;
}

body.vice-inner-shell #main_content_section :is(
	table, .table, .table_grid, .table_list, .admin_table, .mod_table, .profile_table, .dataTable
) tbody tr:hover td {
	background: rgba(38, 67, 94, 0.72) !important;
}

body.vice-inner-shell #main_content_section :is(
	input[type='text'], input[type='password'], input[type='email'], input[type='number'],
	input[type='search'], input[type='url'], input[type='tel'], input[type='date'],
	input[type='time'], input[type='datetime-local'], select, textarea,
	.input_text, .input_password
) {
	box-sizing: border-box;
	max-width: 100%;
	color: var(--vls-text, #e6edf5) !important;
	background: var(--vls-surface-3, #0d141d) !important;
	border: 1px solid rgba(255, 255, 255, 0.14) !important;
	box-shadow: none !important;
}

body.vice-inner-shell #main_content_section :is(input, select, textarea):focus {
	outline: none !important;
	border-color: rgba(70, 151, 223, 0.86) !important;
	box-shadow: 0 0 0 3px rgba(45, 129, 213, 0.14) !important;
}

body.vice-inner-shell #main_content_section :is(input, select, textarea):disabled,
body.vice-inner-shell #main_content_section :is(input, select, textarea)[readonly] {
	color: #8e9baa !important;
	background: #121922 !important;
	opacity: 1;
}

body.vice-inner-shell #main_content_section :is(input, textarea)::placeholder {
	color: #718093 !important;
	opacity: 1;
}

body.vice-inner-shell #main_content_section select option,
body.vice-inner-shell #main_content_section select optgroup {
	color: var(--vls-text, #e6edf5) !important;
	background: #111821 !important;
}

body.vice-inner-shell #main_content_section input[type='file']::file-selector-button {
	color: #e8f1f9;
	background: #1a2734;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 7px;
}

body.vice-inner-shell #main_content_section fieldset {
	color: var(--vls-text, #e6edf5);
	background: rgba(17, 24, 33, 0.72) !important;
	border-color: var(--vls-border, rgba(255, 255, 255, 0.11)) !important;
}

body.vice-inner-shell #main_content_section legend,
body.vice-inner-shell #main_content_section label {
	color: #dce7f2;
}

@media (max-width: 768px) {
	body.vice-inner-shell #main_content_section :is(
		.table-responsive, .generic_list_wrapper, .dataTable_wrapper
	) :is(table, .table, .table_grid, .table_list) {
		min-width: 620px;
	}

	body.vice-inner-shell #main_content_section :is(.table-responsive, .generic_list_wrapper, .dataTable_wrapper) {
		-webkit-overflow-scrolling: touch;
	}
}

