/* Estilos globales del sistema */

.btn,
button.btn,
a.btn,
input[type="button"].btn,
input[type="submit"].btn {
	border-radius: 0.65rem;
}

.btn-sm,
.btn-group-sm > .btn {
	border-radius: 0.55rem;
}

.btn-lg,
.btn-group-lg > .btn {
	border-radius: 0.8rem;
}

.video-lock-indicator {
	color: #c7ede8;
	border-radius: 50%;
	width: 70px;
	position: absolute;
	z-index: 9;
}

.video-lock-indicator h2 {
	padding: 15px 20px;
}

.video-card-figure {
	border-radius: 14px;
	position: relative;
	overflow: hidden;
	background: #0b1220;
	margin-bottom: 12px;
	box-shadow: 0 12px 28px rgba(16, 24, 40, 0.22);
}

.video-card-image {
	width: 100%;
	height: 250px;
	object-fit: cover;
	transition: transform 0.35s ease, filter 0.35s ease;
}

.video-card-image--locked {
	filter: blur(3px) brightness(0.55);
	transform: scale(1.04);
}

.video-card-overlay {
	position: absolute;
	inset: 0;
	padding: 14px;
	z-index: 2;
}

.video-card-overlay--hover {
	background: linear-gradient(180deg, rgba(9, 13, 24, 0.05) 35%, rgba(5, 10, 19, 0.88) 100%);
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.video-card-figure:hover .video-card-overlay--hover {
	opacity: 1;
	transform: translateY(0);
}

.video-card-figure:hover .video-card-image {
	transform: scale(1.06);
	filter: brightness(0.76);
}

.video-open-link {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.video-play-button {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -62%);
	width: 82px;
	height: 82px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2.35rem;
	color: #ffffff;
	/*background: radial-gradient(circle at 30% 30%, #ff897f 0%, #ff5243 45%, #d63429 100%);*/
	background: linear-gradient(135deg, #8b5cf6, #d85ae8);
	/*background:transparent;*/
	box-shadow: 0 12px 32px rgba(255, 70, 58, 0.48), 0 0 0 8px rgba(255, 255, 255, 0.12);
	z-index: 2;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.video-play-button i {
	margin-left: 4px;
}

.video-card-figure:hover .video-play-button {
	transform: translate(-50%, -62%) scale(1.06);
	box-shadow: 0 18px 40px rgba(255, 70, 58, 0.55), 0 0 0 10px rgba(255, 255, 255, 0.15);
}

.video-overlay-content {
	position: relative;
	z-index: 2;
	width: 100%;
	padding: 88px 10px 6px;
}

.video-overlay-title {
	margin: 0 0 8px;
	font-size: 1.15rem;
	line-height: 1.35;
	font-weight: 700;
	color: #ffffff;
	text-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

.video-overlay-description {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.5;
	color: rgba(241, 247, 255, 0.9);
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.video-card-overlay--locked {
	background: linear-gradient(180deg, rgba(8, 12, 24, 0.35) 0%, rgba(8, 12, 24, 0.88) 100%);
}

.video-locked-content {
	text-align: center;
	max-width: 280px;
	padding: 8px;
}

.video-locked-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px;
	border-radius: 999px;
	font-size: 0.84rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #f4f7ff;
	background: rgba(38, 50, 70, 0.75);
	border: 1px solid rgba(196, 210, 231, 0.38);
}

.video-locked-title {
	margin: 12px 0 8px;
	font-size: 1.2rem;
	font-weight: 700;
	color: #ffffff;
}

.video-locked-text {
	margin: 0 0 14px;
	font-size: 0.9rem;
	line-height: 1.45;
	color: rgba(228, 237, 251, 0.95);
}

.video-unlock-btn {
	padding: 10px 16px;
	font-size: 0.86rem;
	font-weight: 700;
	border-radius: 10px;
	box-shadow: 0 8px 20px rgba(255, 70, 58, 0.35);
}

.tm-search-form-live {
	width: min(92vw, 760px);
	background: rgba(255, 255, 255, 0.95);
	border-radius: 14px;
	padding: 6px;
	box-shadow: 0 12px 26px rgba(17, 24, 39, 0.18);
}

.tm-search-form-live .tm-search-input {
	width: 100%;
	flex: 1;
	border-radius: 10px;
}

.gallery-empty-state {
	border: 1px dashed #cad2de;
	border-radius: 12px;
	padding: 32px 14px;
	margin-top: -40px;
	margin-bottom: 50px;
	text-align: center;
	background: #f8fbff;
	color: #4f5f73;
}

.gallery-empty-state i {
	display: block;
	font-size: 2rem;
	margin-bottom: 10px;
}

.gallery-empty-state p {
	margin: 0;
	color: inherit;
}

.video-detail-player-card {
	border-radius: 14px;
	padding: 16px;
	box-shadow: 0 14px 30px rgba(17, 24, 39, 0.12);
}

.video-detail-player {
	width: 100%;
	max-height: 520px;
	background: #05080f;
	border-radius: 12px;
	outline: none;
}

.video-detail-header {
	padding-top: 14px;
	align-items: center;
}

.video-detail-title {
	margin: 0;
	font-size: 1.5rem;
	line-height: 1.35;
}

.video-detail-like-wrap {
	align-items: flex-start;
}

@media (min-width: 992px) {
	.video-detail-like-wrap {
		margin-top: 0;
	}

	.video-detail-like-wrap .video-like-btn {
		margin-top: 0;
	}
}

@media (max-width: 991px) {
	.video-detail-like-wrap {
		margin-top: 10px;
		justify-content: flex-start !important;
	}

	.video-detail-like-wrap .video-like-btn {
		margin-top: 0;
	}
}

.video-detail-meta {
	padding-top: 6px;
	border-top: 1px solid #dbe2ea;
}

.tm-paging-col {
	justify-content: center !important;
	gap: 12px;
	flex-wrap: wrap;
}

.tm-paging-col .tm-paging {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0 4px;
}

.tm-paging-col .tm-paging-link {
	width: 44px;
	height: 44px;
	margin: 0;
	font-size: 0.98rem;
	border-radius: 8px;
}

.tm-paging-col .tm-btn-prev,
.tm-paging-col .tm-btn-next {
	padding: 9px 18px 10px;
	font-size: 0.96rem;
	line-height: 1.2;
	min-width: 130px;
	text-align: center;
	margin-bottom: 0 !important;
	border-radius: 10px;
}

@media (max-width: 575px) {
	.tm-paging-col .tm-btn-prev,
	.tm-paging-col .tm-btn-next {
		min-width: 110px;
		padding: 8px 14px 9px;
		font-size: 0.9rem;
	}

	.tm-paging-col .tm-paging-link {
		width: 40px;
		height: 40px;
		font-size: 0.9rem;
	}
}

.video-like-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 14px;
	border: 1px solid #d9e1eb;
	background: #ffffff;
	border-radius: 999px;
	box-shadow: 0 8px 20px rgba(17, 24, 39, 0.08);
	transition: all 0.2s ease;
}

.video-like-btn:hover {
	transform: translateY(-1px);
	border-color: #c8d3e2;
	box-shadow: 0 10px 24px rgba(17, 24, 39, 0.12);
}

.video-like-icon-wrap {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(180deg, #fff7f8 0%, #ffeef0 100%);
	border: 1px solid #ffd9df;
}

.video-like-icon {
	font-size: 1.15rem;
	color: #eb435d;
	line-height: 1;
}

.video-like-text-wrap {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	line-height: 1.1;
	
}

.video-like-count {
	font-size: 1rem;
	font-weight: 700;
	color: #9dadc4 !important;
}

.video-like-label {
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 600;
	color: #9dadc4 !important;
}

.video-like-btn.is-liked {
	border-color: #ffc3ce;
	background: linear-gradient(180deg, #fff5f7 0%, #ffecef 100%);
	box-shadow: 0 10px 24px rgba(235, 67, 93, 0.2);
}

.video-like-btn.is-liked .video-like-icon-wrap {
	background: linear-gradient(180deg, #ff5f7c 0%, #e23c5c 100%);
	border-color: #e23c5c;
}

.video-like-btn.is-liked .video-like-icon,
.video-like-btn.is-liked .video-like-count,
.video-like-btn.is-liked .video-like-label {
	color: #ffffff;
}

.app-user-pill-wrap {
	margin-left: 8px;
}

.app-user-pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 6px 10px !important;
	border: 1px solid #d9e2ee;
	border-radius: 999px;
	background: #f8fbff;
}

.app-user-dropdown-toggle {
	border: 1px solid #d9e2ee;
	padding-right: 12px !important;
}

.app-user-dropdown-toggle::after {
	margin-left: 8px;
}

.app-user-avatar {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	object-fit: cover;
	border: 1px solid #cbd6e3;
	background: #ffffff;
}

.app-user-name {
	font-size: 0.9rem;
	font-weight: 600;
	color: #243447;
	max-width: 130px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.app-user-dropdown-menu {
	min-width: 260px;
	border-radius: 12px;
	border: 1px solid #d9e2ee;
	padding: 8px;
}

.app-user-dropdown-header {
	border-radius: 8px;
	background: #f8fbff;
}

.app-user-avatar-sm {
	width: 32px;
	height: 32px;
}

.app-user-dropdown-name {
	font-weight: 700;
	font-size: 0.92rem;
	color: #243447;
}

.app-user-dropdown-email {
	color: #6b7d92;
	font-size: 0.76rem;
}

.app-user-menu-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-right: 12px;
	white-space: normal;
}

.app-user-menu-icon {
	font-size: 1rem;
	min-width: 18px;
	text-align: center;
}

.app-user-menu-item span {
	flex: 1;
	min-width: 0;
	white-space: normal;
	overflow-wrap: anywhere;
	word-break: normal;
}

.app-user-menu-item--settings .app-user-menu-icon {
	color: #5a72ef;
}

.app-user-menu-item--theme .app-user-menu-icon {
	color: #f4a524;
}

.app-user-menu-item--logout .app-user-menu-icon {
	color: #e2516e;
}

@media (max-width: 991px) {
	.app-navbar {
		position: fixed;
		z-index: 1030;
	}

	.app-navbar .container-fluid {
		position: relative;
	}

	.app-navbar .navbar-collapse {
		position: absolute;
		top: calc(100% - 1px);
		right: 12px;
		left: 12px;
		width: auto;
		max-height: calc(100vh - 90px);
		overflow-y: auto;
		padding: 14px 12px;
		border: 1px solid #d9e2ee;
		border-radius: 12px;
		box-shadow: 0 14px 30px rgba(17, 24, 39, 0.2);
	}

	.app-navbar .navbar-nav {
		gap: 4px;
	}

	.app-navbar .nav-item {
		margin-right: 0;
		width: 100%;
	}

	.app-navbar .nav-link {
		display: block;
		width: 100%;
		font-size: 1.08rem;
		line-height: 1.4;
		padding-top: 8px;
		padding-bottom: 8px;
		white-space: normal;
	}

	.app-user-pill-wrap {
		display: block !important;
		margin-left: 0;
		align-items: stretch !important;
	}

	.app-user-pill,
	.app-user-dropdown-toggle {
		display: flex;
		width: 100%;
		justify-content: flex-start;
		gap: 10px;
		min-height: 48px;
		padding: 8px 12px !important;
	}

	.app-user-dropdown-toggle::after {
		margin-left: auto;
	}

	.app-user-name {
		max-width: calc(100% - 72px);
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.app-user-dropdown-menu {
		position: static;
		inset: auto;
		transform: none;
		min-width: 100%;
		width: 100%;
		margin-top: 10px;
	}

	.app-user-dropdown-menu .dropdown-item {
		white-space: normal;
		overflow-wrap: anywhere;
	}
}

@media (max-width: 575px) {
	.app-navbar .navbar-brand img {
		width: 145px !important;
	}

	.app-navbar .navbar-collapse {
		right: 8px;
		left: 8px;
		padding: 12px 10px;
		max-height: calc(100vh - 82px);
	}

	.app-navbar .nav-link {
		font-size: 1rem;
	}
}

.profile-settings-card {
	border: 1px solid #e4ebf3;
	border-radius: 14px;
	box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
}

.profile-avatar-preview-wrap {
	gap: 14px;
}

.profile-avatar-preview {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid #d5dfeb;
	background: #f8fbff;
}
