.box.type-pvp .box-head {
	text-transform: uppercase;
}

.box.type-pvp .box-head .fac {
	margin-right: 0.45rem;
}

.horizon-pvp {
	color: #ddd;
}

.horizon-pvp-toolbar,
.horizon-pvp-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1rem;
}

.horizon-pvp-realms,
.horizon-pvp-filter-group {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
}

.horizon-pvp-realm-button,
.horizon-pvp-filter {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	min-height: 36px;
	padding: 0 15px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.045);
	color: #d7d7d7;
	font-size: 0.92rem;
	line-height: 36px;
	text-transform: uppercase;
	text-shadow: 0 1px 2px #000;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.horizon-pvp-filter img {
	width: 18px;
	height: 18px;
	object-fit: contain;
}

.horizon-pvp-realm-button:hover,
.horizon-pvp-filter:hover,
.horizon-pvp-realm-button.is-active,
.horizon-pvp-filter.is-active {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.26);
	background: rgba(255, 255, 255, 0.1);
}

.horizon-pvp-filter.fact-both.is-active {
	background-color: #8a6b18;
}

.horizon-pvp-filter.fact-alliance.is-active {
	background-color: #1976d2;
}

.horizon-pvp-filter.fact-horde.is-active {
	background-color: #f44336;
}

.horizon-pvp-filter.interval-all.is-active {
	background-color: #4caf50;
}

.horizon-pvp-filter.interval-week.is-active {
	background-color: #9c27b0;
}

.horizon-pvp-panel {
	display: none;
}

.horizon-pvp-panel.is-active {
	display: block;
}

.horizon-pvp-table-wrap {
	width: 100%;
	overflow-x: auto;
}

.horizon-pvp-table {
	--table-head-color: #fff;
	--table-body-color: #d7d7d7;
	--table-head-font-size: 0.82rem;
	--table-body-font-size: 0.95rem;
	--table-padding-x: 0.75rem;
	--table-padding-y: 0.55rem;
	border-color: rgba(255, 255, 255, 0.16);
	background: rgba(0, 0, 0, 0.22);
}

.horizon-pvp-table.dataTable {
	margin-top: 0.65rem !important;
	margin-bottom: 0.65rem !important;
}

.horizon-pvp-table thead th {
	white-space: nowrap;
	border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.horizon-pvp-table tbody tr {
	cursor: pointer;
}

.horizon-pvp-table tbody tr:nth-child(odd) {
	background-color: #271a13 !important;
}

.horizon-pvp-table tbody tr:nth-child(even) {
	background-color: rgba(0, 0, 0, 0.18) !important;
}

.horizon-pvp-table tbody tr:hover {
	background-color: rgba(255, 255, 255, 0.05) !important;
}

.horizon-pvp-namecell,
.horizon-pvp-iconpair {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	white-space: nowrap;
}

.horizon-pvp-rank,
.horizon-pvp-iconpair img,
.horizon-pvp-faction {
	border-radius: 3px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
}

.pvp-name {
	padding-left: 0.1rem;
	font-weight: 700;
}

.pvp-name-Alliance {
	color: #03a9f4;
}

.pvp-name-Horde {
	color: #f44336;
}

.pvp-kill-hk {
	color: #1eff00;
}

.pvp-honor {
	color: #71d5ff;
}

.pvp-today-hk {
	color: #97d84c;
}

.pvp-yesterday-hk {
	color: #a3f7bf;
}

.pvp-ladder-logged-a {
	background: rgb(33 150 243 / 20%) !important;
}

.pvp-ladder-logged-a:hover {
	background: rgb(33 150 243 / 30%) !important;
}

.pvp-ladder-logged-h {
	background: rgb(244 67 54 / 20%) !important;
}

.pvp-ladder-logged-h:hover {
	background: rgb(244 67 54 / 30%) !important;
}

.box.type-pvp .dataTables_wrapper .dataTables_length {
	display: none !important;
	float: left;
	margin: 0.25rem 0 0.75rem;
	color: #ccc;
}

.box.type-pvp .dataTables_wrapper .dataTables_filter {
	float: right;
	margin: 0.25rem 0 0.75rem;
	color: #ccc;
}

.box.type-pvp .dataTables_wrapper .dataTables_filter input,
.box.type-pvp .dataTables_wrapper .dataTables_length select {
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(0, 0, 0, 0.28);
	color: #fff;
}

.box.type-pvp .dataTables_wrapper .dataTables_info,
.box.type-pvp .dataTables_wrapper .dataTables_paginate {
	color: #bbb;
}

.box.type-pvp .dataTables_wrapper .dataTables_paginate .paginate_button {
	border-color: rgba(255, 255, 255, 0.12) !important;
	background: rgba(0, 0, 0, 0.2) !important;
	color: #ddd !important;
}

.box.type-pvp .dataTables_wrapper .dataTables_paginate .paginate_button.current,
.box.type-pvp .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
	background: rgba(0, 174, 255, 0.18) !important;
	color: #fff !important;
}

.box.type-pvp div.dataTables_processing {
	position: fixed;
	top: 50%;
	left: 50%;
	z-index: 100;
	padding: 0.65rem 1rem;
	border: 1px solid rgba(255, 255, 255, 0.16);
	background: rgba(0, 0, 0, 0.75);
	color: #fff;
	transform: translate(-50%, -50%);
}

@media (max-width: 767px) {
	.horizon-pvp-toolbar,
	.horizon-pvp-filters {
		align-items: stretch;
	}

	.horizon-pvp-realms,
	.horizon-pvp-filter-group {
		width: 100%;
	}

	.horizon-pvp-realm-button,
	.horizon-pvp-filter {
		flex: 1 1 auto;
	}

	.box.type-pvp .dataTables_wrapper .dataTables_length,
	.box.type-pvp .dataTables_wrapper .dataTables_filter {
		float: none;
		text-align: left;
	}
}
