body {
    overscroll-behavior: none;
}
.ytvpagination, .rtm-pagination {
	display: flex;
    align-items: center;
    justify-content: space-between;
	margin: 20px 0 30px;
	.pagination-numbers, .rtm-paginate {
		display: flex;
    	align-items: center;
    	justify-content: space-between;
		.ytv-pagination-link, .rtmedia-page-link, span.current {
			margin: 0 3px;
			color: #29292d;
			text-decoration: none;
			min-width: 2.25rem;
			height: 34px;
			padding: .25rem .75rem;
			display: inline-block;
			background-color: rgb(43 57 144 / 4%);
			border-radius: 5px;
			text-align: center;
			&.active, &:hover {
				background-color: #f7941e;
				color: #fff;
			}
		}
		span.current {
			background-color: #f7941e;
			color: #fff;
			background-image: none !important;
			box-shadow: none !important;
		}
	}
	.pagination-input-form {
		display: flex;
		input {
			width: 60px;
    		padding: 5px 10px;
			height: 34px;
			&::-webkit-inner-spin-button, &::-webkit-outer-spin-button { 
				-webkit-appearance: none;
				-moz-appearance: none;
				appearance: none;
			}
		}
		.pagination-submit {
			border-radius: 5px;
			background-image: none;
			padding: 5px 10px;
			min-height: auto;
            height: 34px;
			margin-left: 3px;
			&:hover {
				background-color: #f7941e;
				box-shadow: none;
				color: #fff;
			}
		}
	}
}
.video-listing {
	margin-top: 20px;
	min-height: 60vh;
}
.youtube-manager-loader {
	align-items: center;
	justify-content: center;
	min-height: 20vh;
	display: none;
	.lds-dual-ring {
		display: inline-block;
		width: 80px;
		height: 80px;
	}
	.lds-dual-ring:after {
		content: " ";
		display: block;
		width: 64px;
		height: 64px;
		margin: 8px;
		border-radius: 50%;
		border: 6.4px solid #000;
		border-color: #000 transparent #000 transparent;
		animation: lds-dual-ring 1.2s linear infinite;
	}
	@keyframes lds-dual-ring {
		0% {
			transform: rotate(0deg);
		}
		100% {
			transform: rotate(360deg);
		}
	}
	&.active {
		display: flex;
	}
}
.youtube-manager-loader.active + .youtube-manager-tabs {
	display: none;
}
.youtube-manager-tabs {
    width: 100%;
    margin: 0 auto;
	.tabs {
		list-style: none;
		padding: 0;
		display: flex;
		border-bottom: 1px solid #ccc;
		li {
			border-bottom: 2px solid transparent;
			&.active {
				border-color: #f7941e;
			}
			a {				
				display: block;
				color: #000;
				padding: 10px 20px;
				text-decoration: none;
				transition: background-color 0.3s;				
			}
			&.active a {
				color: #f7941e;
			}
		}
	}
	.tab-content {
		display: none;
		&.active {
			display: block;
		}
	}
	.g {
		margin-bottom: 16px;
	}
}


.youtube-video {
    margin-bottom: 20px;
    padding: 20px;
    margin: 5px 5px 16px;
    background: #f7f7fb;
    border-radius: 5px;
    box-shadow: 0px 0px 4px rgb(0 0 0 / 40%);
    border: none !important;
    transition: transform 0.2s; /* Smooth hover effect */
}
.youtube-video-title {
    color: #000;
    line-height: 1.3;
    margin-bottom: 5px;
    font-size: 130%;
}
.youtube-video-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #2b3990;
    border-radius: 5px;
    padding: 30px;
    margin-top: 20px;
}

.youtube-video-form input[type="text"] {
    margin-right: 10px;
    padding: 10px; /* Add padding for better usability */
    border-radius: 4px;
    border: 1px solid #ccc; /* Add border for inputs */
    width: 100%;
}

.youtube-video-form button[type="submit"],
.youtube-video-form button[type="submit"]:hover {
    background-color: #f7941e;
    color: #fff;
    border-radius: 5px;
    padding: 10px 15px; /* Consistent button padding */
    border: none; /* Remove default border */
    transition: background-color 0.3s; /* Smooth transition */
}
.youtube-video iframe {
    width: 100%;
	height: calc(30vw - 110px);
	margin-top: 0 !important;
	position: static;
}

.like-button, .like-comment {
    cursor: pointer;
    display: inline-block;
    margin-top: 10px;
    margin-right: 47px;
    position: relative;
    span {
        position: absolute;
        pointer-events: none;
    }
    i {
        transition: all 0.5s;
        margin-right: 5px;
    }
    &:hover .fa-regular {
        color:red;
    }
    .fa-solid {
        display: none;
    }
    &.liked {
        .fa-regular {
            display: none;
        }
        .fa-solid {
            display: inline;
            animation:like 0.5s 1;
            color:red;
        }
    }
}
.like-comment {
    margin-top: 0;
    margin-right: 30px;
}

@-webkit-keyframes like {
    0%   { transform: scale(1); }
    90%   { transform: scale(1.2); }
    100% { transform: scale(1.1); }
}

.delete-video {
    cursor: pointer;
}
.delete-video i {
    color: #c36;
}
.delete-video:hover i {
    color: #c36; /* Darker color on hover */
}

.yv-author-details {
    display: flex;
	align-items: center;
    margin-bottom: 15px;
}
.yv-author-details img {
	width: 25px;
    border-radius: 100%;
}
.yv-author-details-name {
    margin-left: 5px;
}

.video-actions {
    margin-top: 10px;
}

.video-actions button {
    margin-right: 10px;
}

.comments {
    margin-top: 10px;
    border: 1px solid #ccc;
    padding: 10px;
}

.comments input {
    width: calc(100% - 120px);
    margin-right: 10px;
    padding: 10px; /* Add padding for better usability */
}

/* Error message styles */
.error-message {
    color: red;
    font-weight: bold;
    margin-top: 10px;
    padding: 10px;
    background: #ffe6e6; /* Light red background */
    border: 1px solid #ffcccc; /* Light border */
    border-radius: 5px; /* Rounded corners */
}

.comment-button {
    cursor: pointer;
    display: inline-block;
    width: 70px;
}
.comment-button i {
    transition: all 0.5s;
    margin-right: 5px;
}
.comment-button:hover .fa-regular {
    color: #f7941e;
}
.comment-button .fa-solid {
    display: none;
}
.comment-button.activebtn .fa-regular {
    display: none;
}
.comment-button.activebtn .fa-solid {
    display: inline;
    animation:like 0.5s 1;
    color:#f7941e;
}

.comments {
    margin-top: 20px;
    padding: 10px;
    border-top: 1px solid #ccc;
    display: none;
}

.show.comments {
    display: block;
}

.comments h4 {
    font-size: 24px;
    margin: 10px 0 20px;
}

.comments-list {
    margin-bottom: 20px;
    max-height: 50vh;
    overflow: hidden;
    overflow-y: auto;
}
.youtube-video-comment-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}
.comments textarea {
    padding: 10px;
    margin-right: 10px;
	border: 1px solid #000;
}

.comments button {
    padding: 10px 15px;
    background-color: #f7941e;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.comments button:hover {
    background-color: #f79d1e;
}
.comments-single-box {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}
.comments-single-box img{
    width: 45px;
    margin-right: 15px;
    border-radius: 3px;
}
.comments-single-box .username {
    display: inline;
    text-transform: capitalize;
    font-weight: 500;
}
.comments-single-box p {
    margin: 0;
}
.comments-single-box-content span {
    font-size: 85%;
}
.delete-comment {
	cursor: pointer;
	color: #c36;
}

.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 99999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}
.modal-content {
    background-color: #fff;
    padding: 30px;
    width: 100%;
    max-width: 350px;
    text-align: center;
    border-radius: 5px;
}
.modal-button {
    margin: 10px;
    padding: 10px 20px;
    cursor: pointer;
}
/* Success Message Modal */
#success-message-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999;
    width: 100%;
    height: 100vh;
    align-items: center;
    justify-content: center;
}

#success-message-modal .modal-content {
    font-size: 1.2em;
}
#success-message-modal #success-ok-button {
    margin-top: 10px;
    padding: 5px 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
}

#success-message-modal #success-ok-button:hover {
    background-color: #45a049;
}
.load_more_videos {
	pointer-events: none;
	user-select: none;
	display: flex;
    align-items: center;
    justify-content: center;
	.yvloader {
		width: 48px;
		height: 48px;
		border: 5px solid #000;
		border-bottom-color: transparent;
		border-radius: 50%;
		display: inline-block;
		box-sizing: border-box;
		animation: rotation 1s linear infinite;
		margin-left: 10px;
	}
}
@keyframes rotation {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
} 

/* .fluid-width-video-wrapper iframe {
    margin-top: -56.25% !important;
    position: static;
} */

/* Responsive adjustments */
@media (max-width: 575px) {
    .youtube-video-form {
        flex-direction: column; /* Stack items on small screens */
        align-items: stretch; /* Full width */
    }
    
    .youtube-video-form input {
        width: 100%; /* Full width for inputs */
        margin-bottom: 10px; /* Space between input and button */
    }

    .tabs li {
        flex: 1; /* Equal space for tabs on small screens */
        text-align: center; /* Center text in tabs */
    }
	.youtube-video-comment-footer {
		flex-direction: column;
		align-items: flex-start;
	}
	.comments button {
		margin-top: 10px;
	}
	.ytvpagination {
		align-items: flex-start;
		flex-direction: column;
		.pagination-input-form {
			margin-top: 10px;
		}
	}
}