.zara-video-admin__field--upload { display: none; }

.zara-video-page {
	max-width: 100%;
}

/* Biblioteca */
.zara-video-library { margin-top: 1rem; }

.zara-video-search {
	display: flex;
	gap: 0.5rem;
	margin-bottom: 1.25rem;
	max-width: 560px;
}

.zara-video-search input {
	flex: 1;
	padding: 0.65rem 0.9rem;
	border-radius: 999px;
	border: 1px solid rgba(201, 162, 39, 0.35);
	background: rgba(0, 0, 0, 0.25);
	color: inherit;
}

.zara-video-search button {
	padding: 0.65rem 1.1rem;
	border-radius: 999px;
	border: 0;
	background: #f6b30d;
	color: #1a1a1a;
	font-weight: 600;
	cursor: pointer;
}

.zara-video-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
}

.zara-video-filters__link {
	padding: 0.4rem 0.85rem;
	border-radius: 8px;
	text-decoration: none;
	color: inherit;
	border: 1px solid rgba(201, 162, 39, 0.25);
	font-size: 0.9rem;
}

.zara-video-filters__link.is-active,
.zara-video-filters__link:hover {
	background: #f6b30d;
	color: #1a1a1a;
	border-color: #f6b30d;
}

.zara-video-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1.25rem;
}

.zara-video-section__title {
	font-size: 1.2rem;
	margin: 0 0 1rem;
	padding-bottom: 0.45rem;
	border-bottom: 2px solid rgba(246, 179, 13, 0.35);
}

.zara-video-featured-section {
	margin-bottom: 2rem;
}

.zara-video-featured-row {
	display: flex;
	flex-wrap: nowrap;
	gap: 1.25rem;
	overflow-x: auto;
	padding-bottom: 0.35rem;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
}

.zara-video-featured-row > .zara-video-card {
	flex: 0 0 calc(25% - 0.94rem);
	min-width: 260px;
	max-width: 320px;
	scroll-snap-align: start;
}

@media (max-width: 768px) {
	.zara-video-featured-row > .zara-video-card {
		flex: 0 0 min(78vw, 300px);
		min-width: 0;
		max-width: none;
	}
}

/* Cards */
.zara-video-card__link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.zara-video-card__thumb {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: #111;
}

.zara-video-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.zara-video-card__duration {
	position: absolute;
	right: 8px;
	bottom: 8px;
	background: rgba(0, 0, 0, 0.8);
	color: #fff;
	font-size: 0.75rem;
	padding: 0.15rem 0.4rem;
	border-radius: 4px;
}

.zara-video-card__badge {
	position: absolute;
	left: 8px;
	top: 8px;
	background: #f6b30d;
	color: #1a1a1a;
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 0.2rem 0.5rem;
	border-radius: 4px;
	z-index: 1;
}

.zara-video-card--featured .zara-video-card__thumb {
	box-shadow: 0 0 0 2px rgba(246, 179, 13, 0.55);
}

.zara-video-card__title {
	font-size: 1rem;
	margin: 0.65rem 0 0.25rem;
	line-height: 1.35;
}

.zara-video-card__meta {
	margin: 0;
	font-size: 0.85rem;
	opacity: 0.75;
}

/* Watch page – YouTube layout */
.zara-video-watch__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 1.5rem;
	align-items: start;
}

.zara-video-player {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #000;
	border-radius: 12px;
	overflow: hidden;
}

.zara-video-player iframe,
.zara-video-player video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.zara-video-watch__title {
	font-size: clamp(1.2rem, 2vw, 1.5rem);
	margin: 1rem 0 0.75rem;
	line-height: 1.3;
}

.zara-video-watch__bar {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
	align-items: center;
	padding-bottom: 1rem;
	border-bottom: 1px solid rgba(201, 162, 39, 0.2);
}

.zara-video-watch__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	font-size: 0.9rem;
	opacity: 0.8;
}

.zara-video-watch__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
}

.zara-video-rating {
	display: inline-flex;
	align-items: center;
	background: rgba(255, 255, 255, 0.06);
	border-radius: 999px;
	overflow: hidden;
	border: 1px solid rgba(201, 162, 39, 0.2);
}

.zara-video-rating__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.45rem 0.75rem;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
	font-size: 0.85rem;
}

.zara-video-rating__btn.is-active {
	background: rgba(246, 179, 13, 0.2);
	color: #f6b30d;
}

.zara-video-rating__btn--dislike {
	border-left: 1px solid rgba(201, 162, 39, 0.2);
}

.zara-video-action {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.45rem 0.85rem;
	border-radius: 999px;
	border: 1px solid rgba(201, 162, 39, 0.25);
	background: rgba(255, 255, 255, 0.04);
	color: inherit;
	cursor: pointer;
	font-size: 0.85rem;
}

.zara-video-action:hover {
	border-color: #f6b30d;
}

.zara-video-watch__channel {
	padding: 1rem 0;
}

.zara-video-watch__channel-info strong {
	display: block;
	margin-bottom: 0.25rem;
}

.zara-video-watch__cats a {
	color: #f6b30d;
	text-decoration: none;
	font-size: 0.9rem;
}

.zara-video-watch__desc {
	background: rgba(255, 255, 255, 0.04);
	border-radius: 12px;
	padding: 1rem;
	font-size: 0.95rem;
	line-height: 1.6;
	margin-bottom: 1.5rem;
}

/* Sidebar */
.zara-video-sidebar {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.zara-video-sidebar__item {
	display: grid;
	grid-template-columns: 168px 1fr;
	gap: 0.65rem;
	text-decoration: none;
	color: inherit;
}

.zara-video-sidebar__item img {
	width: 168px;
	height: 94px;
	object-fit: cover;
	border-radius: 8px;
	background: #111;
}

.zara-video-sidebar__item strong {
	display: block;
	font-size: 0.9rem;
	line-height: 1.35;
	margin-bottom: 0.25rem;
}

.zara-video-sidebar__item small {
	display: block;
	font-size: 0.78rem;
	opacity: 0.7;
}

/* Comentários */
.zara-video-comments {
	margin-top: 1.5rem;
}

.zara-video-comments h2 {
	font-size: 1.1rem;
	margin-bottom: 1rem;
}

.zara-video-comment-list {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
}

.zara-video-comment-list .comment {
	display: grid;
	grid-template-columns: 40px 1fr;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.zara-video-comment-list .children {
	list-style: none;
	margin: 0.75rem 0 0 0;
	padding-left: 1rem;
	border-left: 2px solid rgba(201, 162, 39, 0.2);
}

.zara-video-comment-form textarea,
.zara-video-comment-form input[type="text"],
.zara-video-comment-form input[type="email"],
.zara-video-comment-form input[type="url"] {
	width: 100%;
	max-width: 100%;
	padding: 0.65rem 0.75rem;
	border-radius: 8px;
	border: 1px solid rgba(201, 162, 39, 0.25);
	background: rgba(0, 0, 0, 0.2);
	color: inherit;
}

.zara-video-comment-submit {
	margin-top: 0.5rem;
	padding: 0.55rem 1.1rem;
	border: 0;
	border-radius: 999px;
	background: #f6b30d;
	color: #1a1a1a;
	font-weight: 600;
	cursor: pointer;
}

/* Modal */
.zara-video-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: rgba(0, 0, 0, 0.75);
	display: none;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.zara-video-modal.is-open {
	display: flex;
}

.zara-video-modal__dialog {
	width: min(520px, 100%);
	background: #1a1a1a;
	border: 1px solid rgba(201, 162, 39, 0.25);
	border-radius: 12px;
	overflow: hidden;
}

.zara-video-modal__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.85rem 1rem;
	border-bottom: 1px solid rgba(201, 162, 39, 0.15);
}

.zara-video-modal__header h3 {
	margin: 0;
	font-size: 1rem;
}

.zara-video-modal__close {
	border: 0;
	background: transparent;
	color: inherit;
	font-size: 1.5rem;
	cursor: pointer;
	line-height: 1;
}

.zara-video-modal__body {
	padding: 1rem;
}

.zara-video-modal__input,
.zara-video-modal__textarea {
	width: 100%;
	padding: 0.6rem 0.75rem;
	border-radius: 8px;
	border: 1px solid rgba(201, 162, 39, 0.25);
	background: rgba(0, 0, 0, 0.3);
	color: inherit;
	font-family: monospace;
	font-size: 0.85rem;
}

.zara-video-modal__btn {
	display: inline-block;
	padding: 0.5rem 1rem;
	border-radius: 999px;
	border: 0;
	background: #f6b30d;
	color: #1a1a1a;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
}

.zara-video-embed iframe,
.zara-video-embed video {
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 0;
	border-radius: 8px;
}

@media (max-width: 1024px) {
	.zara-video-watch__layout {
		grid-template-columns: 1fr;
	}

	.zara-video-watch__sidebar {
		order: 2;
	}
}

@media (max-width: 640px) {
	.zara-video-sidebar__item {
		grid-template-columns: 120px 1fr;
	}

	.zara-video-sidebar__item img {
		width: 120px;
		height: 68px;
	}
}
