/**
 * Archivos /movies y /series — barra de filtros React Node.
 */

.pelisen-archive-catalog {
	padding-top: 1.2rem;
}

.pelisen-archive-toolbar {
	margin: 0 0 1rem;
	padding: 0.15rem 0 0.6rem;
}

.pelisen-archive-toolbar__head {
	display: block;
	margin-bottom: 0.65rem;
}

.pelisen-archive-toolbar__title-wrap {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
}

.pelisen-archive-toolbar__title-icon {
	width: 26px;
	height: 26px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 7px;
	color: #22d3ee;
	background: rgba(8, 12, 18, 0.9);
	border: 1px solid rgba(45, 212, 191, 0.35);
	box-shadow: 0 0 14px rgba(34, 211, 238, 0.14);
}

.pelisen-archive-toolbar__title-icon svg {
	width: 14px;
	height: 14px;
}

.pelisen-archive-toolbar__title {
	margin: 0 0 0.1rem;
	font-size: 2rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	color: #f8fafc;
	line-height: 1;
}

.pelisen-archive-toolbar__count {
	margin: 0;
	font-size: 0.67rem;
	font-weight: 600;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: #64748b;
}

.pelisen-archive-toolbar__row {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 0.5rem 0.75rem;
	padding-top: 0.55rem;
	border-top: 1px solid rgba(45, 212, 191, 0.15);
	overflow-x: auto;
	scrollbar-width: thin;
}

.pelisen-archive-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.38rem;
	padding: 0.3rem;
	border-radius: 10px;
	border: 1px solid rgba(45, 212, 191, 0.16);
	background: rgba(10, 14, 22, 0.78);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.pelisen-archive-tab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 30px;
	padding: 0 0.75rem;
	border-radius: 7px;
	border: 1px solid transparent;
	background: transparent;
	color: #cbd5e1;
	font-size: 0.67rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-decoration: none !important;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.pelisen-archive-tab:hover {
	color: #99f6e4;
	border-color: rgba(45, 212, 191, 0.24);
	background: rgba(15, 23, 42, 0.52);
}

.pelisen-archive-tab.is-active {
	color: #22d3ee;
	border-color: rgba(45, 212, 191, 0.28);
	background: linear-gradient(180deg, rgba(13, 148, 190, 0.32) 0%, rgba(8, 47, 73, 0.62) 100%);
	box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.08) inset;
}

.pelisen-archive-filters {
	display: flex;
	flex-wrap: nowrap;
	gap: 0.45rem;
	margin-left: auto;
}

.pelisen-archive-filters select {
	height: 32px;
	padding: 0 1.5rem 0 0.7rem;
	border-radius: 7px;
	border: 1px solid rgba(45, 212, 191, 0.28);
	background-color: rgba(8, 12, 18, 0.86);
	color: #cbd5e1;
	font-size: 0.69rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	outline: none;
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: 10px 10px;
	background-position: right 0.46rem center;
	transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
	width: auto !important;
	min-width: 140px;
	max-width: 170px;
	flex: 0 0 auto;
}

.pelisen-archive-filters select:hover,
.pelisen-archive-filters select:focus {
	border-color: rgba(94, 234, 212, 0.58);
	color: #e2e8f0;
	background-color: rgba(15, 23, 42, 0.95);
}

.pelisen-archive-quality {
	display: inline-flex;
	flex-wrap: nowrap;
	gap: 0.35rem;
	padding: 0.3rem;
	border-radius: 10px;
	border: 1px solid rgba(45, 212, 191, 0.16);
	background: rgba(10, 14, 22, 0.78);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.pelisen-archive-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 30px;
	padding: 0 0.75rem;
	border-radius: 7px;
	border: 1px solid transparent;
	background: transparent;
	color: #cbd5e1;
	font-size: 0.67rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-decoration: none !important;
	white-space: nowrap;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.pelisen-archive-chip:hover {
	color: #99f6e4;
	border-color: rgba(45, 212, 191, 0.24);
	background: rgba(15, 23, 42, 0.52);
}

.pelisen-archive-chip.is-active {
	color: #22d3ee;
	border-color: rgba(45, 212, 191, 0.28);
	background: linear-gradient(180deg, rgba(13, 148, 190, 0.32) 0%, rgba(8, 47, 73, 0.62) 100%);
	box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.08) inset;
}

@media (max-width: 991px) {
	.pelisen-archive-toolbar__title {
		font-size: 1.6rem;
	}

	.pelisen-archive-toolbar__row {
		flex-wrap: wrap;
	}

	.pelisen-archive-filters {
		margin-left: 0;
		width: 100%;
	}

	.pelisen-archive-filters select {
		max-width: none;
		min-width: 0;
		flex: 1 1 auto;
	}
}

