/* =================================
------------------------------------
	Vinvictus Theme v2.0.0
	Dungeons & Raids Page Styles
	Author: Fotek Design
	Website: https://fotekdesign.com/
 ------------------------------------
 ====================================*/

/* Dungeons & Raids Search Section */
.vinvictus-dr-search-section {
	padding: 20px 0;
}

.vinvictus-dr-search-container {
	background: var(--bg-darker);
	border: 1px solid var(--border);
	padding: 15px;
}

.vinvictus-dr-search-container label {
	color: var(--bs-light, #f8f9fa);
	font-weight: 500;
	margin-bottom: 8px;
}

#vinvictus-dr-global-search {
	border: 1px solid var(--border);
	background: var(--bs-dark, #212529);
	color: var(--bs-light, #f8f9fa);
	padding: 8px 12px;
	transition: border-color 0.2s ease;
}

#vinvictus-dr-global-search:focus {
	border-color: var(--border-light);
	background: var(--bs-dark, #212529);
	color: var(--bs-light, #f8f9fa);
}

#vinvictus-dr-global-search::placeholder {
	color: var(--bs-gray-400, #ced4da);
}

/* Cancel search symbol */
#vinvictus-dr-global-search::-webkit-search-cancel-button {
	-webkit-appearance: none;
	appearance: none;
	height: 16px;
	width: 16px;
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666666'%3E%3Cpath d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E");
	background-size: 16px 16px;
	background-repeat: no-repeat;
	background-position: center;
	cursor: pointer;
	opacity: 0.8;
	transition: opacity 0.2s ease;
}

#vinvictus-dr-global-search::-webkit-search-cancel-button:hover {
	opacity: 1;
}

/* Dungeons & Raids Table Styles */
.vinvictus-dr-table-wrapper {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: none;
}

.vinvictus-dr-table {
	margin-bottom: 0;
	min-width: 100%;
	white-space: nowrap;
}

.vinvictus-dr-table th {
	cursor: pointer;
	user-select: none;
	position: relative;
	transition: background-color 0.2s ease;
	white-space: nowrap;
}

.vinvictus-dr-table th:hover {
	background-color: rgba(13, 110, 253, 0.1);
}

.vinvictus-dr-table th.vinvictus-dr-sort-asc::after {
	content: " ▲";
	color: var(--bs-primary, #0d6efd);
	font-size: 0.8em;
}

.vinvictus-dr-table th.vinvictus-dr-sort-desc::after {
	content: " ▼";
	color: var(--bs-primary, #0d6efd);
	font-size: 0.8em;
}

/* Responsive Design */
@media (max-width: 768px) {
	.vinvictus-dr-table {
		font-size: 0.875rem;
	}

	.vinvictus-dr-table th,
	.vinvictus-dr-table td {
		padding: 0.5rem 0.25rem;
	}

	.vinvictus-dr-search-container {
		padding: 10px;
	}
}

@media (max-width: 576px) {
	.vinvictus-dr-table {
		font-size: 0.8rem;
	}

	.vinvictus-dr-table th,
	.vinvictus-dr-table td {
		padding: 0.4rem 0.2rem;
	}
}
