/* ==========================================================================
   VidooHub Video Actions
   ========================================================================== */

.vh-video-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;

	width: 100%;
	margin: 16px 0 0;
	padding: 0;
}


/* ==========================================================================
   Action Button
   ========================================================================== */

.vh-video-action {
	position: relative;

	display: inline-flex;
	align-items: center;
	justify-content: center;

	min-height: 42px;

	padding: 0 14px;

	background: #111820;
	border: 1px solid #222d37;
	border-radius: 8px;

	color: #b8c1ca;

	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;

	cursor: pointer;

	white-space: nowrap;

	transition:
		background-color .2s ease,
		border-color .2s ease,
		color .2s ease,
		transform .15s ease,
		box-shadow .2s ease;

	-webkit-tap-highlight-color: transparent;
}


/* ==========================================================================
   Button Hover
   ========================================================================== */

.vh-video-action:hover {
	background: #181f27;
	border-color: #303b46;
	color: #f1f4f6;

	transform: translateY(-1px);
}


/* ==========================================================================
   Button Active
   ========================================================================== */

.vh-video-action.is-active {
	background: rgba(255, 23, 96, .10);
	border-color: rgba(255, 23, 96, .45);
	color: #ff1760;
}


/* ==========================================================================
   Icons
   ========================================================================== */

.vh-video-action-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	margin-right: 7px;

	font-size: 16px;
	line-height: 1;

	transition:
		transform .2s ease,
		color .2s ease;
}


/* ==========================================================================
   Active Icon
   ========================================================================== */

.vh-video-action.is-active
.vh-video-action-icon {
	transform: scale(1.05);
}


/* ==========================================================================
   Labels
   ========================================================================== */

.vh-video-action-label {
	display: inline-flex;
	align-items: center;
}


/* ==========================================================================
   Count
   ========================================================================== */

.vh-video-action-count {
	display: inline-flex;
	align-items: center;

	margin-left: 6px;

	color: #7f8a95;

	font-size: 12px;
	font-weight: 500;

	transition: color .2s ease;
}

.vh-video-action.is-active
.vh-video-action-count {
	color: #ff6b98;
}


/* ==========================================================================
   Share
   ========================================================================== */

.vh-video-action[data-video-action="share"] {
	margin-left: auto;
}


/* ==========================================================================
   Save
   ========================================================================== */

.vh-video-action[data-video-action="save"]
.vh-video-action-icon {
	font-size: 15px;
}


/* ==========================================================================
   Favorite
   ========================================================================== */

.vh-video-action[data-video-action="favorite"]
.vh-video-action-icon {
	font-size: 19px;
}


/* ==========================================================================
   Favorite Active
   ========================================================================== */

.vh-video-action[data-video-action="favorite"].is-active
.vh-video-action-icon {
	color: #ff1760;
}


/* ==========================================================================
   Loading
   ========================================================================== */

.vh-video-action.is-loading {
	opacity: .6;

	cursor: wait;

	pointer-events: none;
}


/* ==========================================================================
   Keyboard Focus
   ========================================================================== */

.vh-video-action:focus-visible {
	outline: none;

	border-color: #ff1760;

	box-shadow:
		0 0 0 2px rgba(255, 23, 96, .18);
}


/* ==========================================================================
   Click Effect
   ========================================================================== */

.vh-video-action:active {
	transform: scale(.97);
}


/* ==========================================================================
   TABLET
   ========================================================================== */

@media (min-width: 768px) and (max-width: 991px) {

	.vh-video-actions {
		gap: 7px;

		margin-top: 14px;
	}

	.vh-video-action {
		min-height: 41px;

		padding: 0 12px;

		font-size: 13px;
	}

}


/* ==========================================================================
   MOBILE
   ========================================================================== */

@media (max-width: 767px) {

	.vh-video-actions {
		display: flex;
		flex-wrap: nowrap;

		gap: 7px;

		margin-top: 13px;

		overflow-x: auto;
		overflow-y: hidden;

		padding: 2px 1px 5px;

		scrollbar-width: none;

		-webkit-overflow-scrolling: touch;
	}

	.vh-video-actions::-webkit-scrollbar {
		display: none;
	}


	.vh-video-action {
		flex: 0 0 auto;

		min-height: 40px;

		padding: 0 12px;

		border-radius: 8px;

		font-size: 12px;
	}


	.vh-video-action-icon {
		margin-right: 6px;

		font-size: 15px;
	}


	.vh-video-action-count {
		font-size: 11px;
	}


	/*
	|--------------------------------------------------------------------------
	| Share stays normal on mobile
	|--------------------------------------------------------------------------
	*/

	.vh-video-action[data-video-action="share"] {
		margin-left: 0;
	}

}


/* ==========================================================================
   SMALL MOBILE
   ========================================================================== */

@media (max-width: 480px) {

	.vh-video-actions {
		gap: 6px;

		margin-top: 11px;

		padding-bottom: 4px;
	}


	.vh-video-action {
		min-height: 38px;

		padding: 0 10px;

		border-radius: 7px;

		font-size: 12px;
	}


	.vh-video-action-icon {
		margin-right: 5px;

		font-size: 14px;
	}


	.vh-video-action[data-video-action="favorite"]
	.vh-video-action-icon {
		font-size: 18px;
	}

}


/* ==========================================================================
   Reduced Motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

	.vh-video-action,
	.vh-video-action-icon {
		transition: none;
	}

}