.loader {
	border: 4px solid #f3f3f3;
	border-top: 4px solid #3498db;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	animation: spin 1s linear infinite;
	margin: 10px auto;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

.navbar .nav-link { color: #f8f9fa !important; transition: color 0.3s ease; }
.navbar .nav-link:hover { color: #ffc107 !important; }

.header-nav.navbar-light {
	background: #fff;
	box-shadow: rgba(0, 0, 0, 0.1) 1px 0px 7px 0px;
}

.navbar-brand {
	display: flex;
	justify-content: center;
	align-items: center;
}

.navbar-light .navbar-brand {
	color: #fff;
}

.navbar-brand strong {
	font-size: 24px;
	font-weight: 600;
}

.navbar-brand .img {
	width: 40px;
	height: 40px;
	margin-right: 10px;
}

.header-nav.navbar-light .img {
	background: url("../images/logo-sm.webp") no-repeat;
	background-size: 100%;
}

.video-preview-card {
	background: #fff;
	border-radius: 8px;
	padding: 20px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.video-preview-card-title {
	font-size: 1rem;
	font-weight: 600;
}

.video-preview-card-sub {
	font-size: 0.9rem;
	color: #6c757d;
}

.video-preview-card-table td,
        .video-preview-card-table th {
	vertical-align: middle;
	text-align: center;
}

.video-preview-wrapper {
	display: inline-block;
	width: 100%;
}

.video-preview-duration-badge {
	position: absolute;
	bottom: 6px;
	right: 8px;
	background: rgba(0, 0, 0, 0.75);
	color: #fff;
	padding: 3px 7px;
	font-size: 0.8rem;
	border-radius: 3px;
	line-height: 1;
}

.video-card {
	font-size: 13px;
}

.thumb-wrapper {
	position: relative;
	overflow: hidden;
	border-radius: 4px;
}

.thumb-wrapper img {
	width: 100%;
	display: block;
}

		/* badges */
.hd-badge {
	position: absolute;
	top: 6px;
	right: 6px;
	background: rgba(0,0,0,.8);
	font-size: 11px;
}

.time-badge {
	position: absolute;
	bottom: 6px;
	right: 6px;
	background: rgba(0,0,0,.8);
	font-size: 11px;
}

.like-badge {
	position: absolute;
	bottom: 6px;
	left: 6px;
	background: #28a745;
	font-size: 11px;
}

.video-card-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.video-card-link:hover {
	color: inherit;
}

.video-card-link:hover img {
	transform: scale(1.03);
}

.thumb-wrapper img {
	transition: transform 0.2s ease;
}

.download-btn-large {
	padding: 14px;
	font-size: 1.1rem;
	border-radius: 6px;
}

footer {
	padding: 40px 0;
	text-align: center;
	color: #6c757d;
}

.faq-title {
	font-size: 1.8rem;
	font-weight: 600;
	margin-bottom: 25px;
}

.faq-accordion .accordion-item {
	border: none;
	margin-bottom: 12px;
	border-radius: 8px;
	overflow: hidden;
	background: #f8f9fc;
}

.faq-accordion .accordion-button {
	background: #f8f9fc;
	color: #000;
	box-shadow: none !important;
	padding: 18px 22px;
	font-size: 1rem;
	font-weight: 500;
}

.faq-accordion .accordion-button:not(.collapsed) {
	background: #f8f9fc;
}

.faq-accordion .accordion-body {
	background: #fff;
	padding: 20px 25px;
	font-size: 0.95rem;
}

.b-hero {
	background: #0d6efd;
	padding: 75px 0;
	color: #fff;
	text-align: center;
}

.b-hero-title {
	font-size: 2rem;
	font-weight: 600;
	margin-bottom: 28px;
}

.b-hero-input-wrapper {
	max-width: 830px;
	margin: 0 auto;
}

.b-hero-input-wrapper .form-control {
	height: 52px;
	border-radius: 6px 0 0 6px;
	border-right: none;
	font-size: 1rem;
}

.b-hero-input-wrapper .btn-paste {
	border-radius: 0;
	background: #e9ecef;
	border: 1px solid #ced4da;
	height: 52px;
	font-weight: 500;
}

.b-hero-input-wrapper .btn-download {
	height: 52px;
	border-radius: 0 6px 6px 0;
	background: #16c746;
	color: #fff;
	border: none;
	font-weight: 600;
	font-size: 1.05rem;
}

.b-hero small a {
	color: #fff;
	text-decoration: underline;
}

@media (max-width: 576px) {
	.b-hero-input-wrapper .btn-download {
		width: 100%;
		margin-top: 10px;
		border-radius: 6px !important;
	}

	.b-hero-title {
		font-size: 24px !important;
	}

	.b-hero-input-wrapper .form-control {
		border-radius: 6px 0 0 6px;
	}

	.b-hero-input-wrapper .btn-paste {
		border-radius: 0 6px 6px 0;
	}
}

.footer_bottom {
	background: #1a1a20;
	padding: 25px 0;
	box-shadow: 0 0 4px 1px #474747;
	font-size: 14px;
	line-height: 20px;
	color: #cbcbcc;
}

.footer-dark {
	background: #1a1a20;
	padding: 25px 0;
	box-shadow: 0 0 4px 1px #474747;
	font-size: 14px;
	line-height: 20px;
	color: #cbcbcc;
}

.preview-wrapper {
	display: inline-block;
	width: 100%;
}

.video-duration-badge {
	position: absolute;
	bottom: 6px;
	right: 8px;
	background: rgba(0, 0, 0, 0.75);
	color: #fff;
	padding: 3px 7px;
	font-size: 0.8rem;
	border-radius: 3px;
	line-height: 1;
}

.img-loader {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #e9ecef;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.9rem;
	color: #777;
	border-radius: 6px;
}

.preview-img {
	display: none;
}