h1 {
	color: rgba(255, 255, 255, 1);
}

.video-stats-overlay {
	display: flex;
	flex-direction: column;
	row-gap:15px;
	width: 100%;
	height: 100%;
	padding: 20px 20px 20px 20px;
	position: relative;
}

.video-card-container {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 30px;
	height: calc(100% - 50px);
}

.d-flex {
	display: flex;
}

.flex-column {
	flex-direction: column;
}

.align-items-center {
	align-items: center;
}

.text-align-center{
	text-align: center;
}

.justify-content-center {
	justify-content: center;
}

.h-100 {
	height: 100%;
}

.w-100 {
	width: 100%;
}

.stat-container {
	background-color: rgba(16, 16, 16, 0.6);
	border: 1px solid rgba(83, 83, 83, 1);
	border-radius: 9px !important;
	padding: 15px;
	height: 100%;
	overflow: hidden;
	/* flex: 1; */
}

.stat-header {
	display: flex;
	width: 100%;
	justify-content: center;
}

.stat-header p {
	color: rgba(255, 255, 255, 1);
	font-weight: 700;
	font-size: 24px;
	margin: 0px;
}

.close-stats-container {
	width: 24px;
	height: 24px;
	background-color: rgba(83, 83, 83, 1);
	border-radius: 3px !important;
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	top: 10px;
	right: 10px;
	cursor: pointer;
	transition: background-color 0.3s;
	z-index: 1;
}

.video-analytics-stats {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.video-analytics-stats>.stat-div {
	flex: 1;
	border-bottom: 1px solid rgba(83, 83, 83, 1);
}

.video-analytics-stats>.stat-div:last-child {
	border-bottom: none;
}

.stat-container.video {
	width: 45% !important;
	flex-direction: column;
	padding-left: 0px;
	padding-right: 0px;
	flex: 1;
}

.stat-container.engagement, .stat-container.viewers {
	flex: 1;
}

.stat-container.viewers {
	display: flex;
    flex-direction: column;
    padding: 15px;
    row-gap: 20px;
}


.stat-div {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0px 20px;
}

.stat-category-title {
	font-weight: 700;
	font-size: 15px;
	color: rgba(255, 255, 255, 1);
	margin: 0px;
}

.stat-category-value {
	color: rgba(156, 156, 156, 1);
	font-weight: 400;
	font-size: 15px;
	margin: 0px;
}

.engagement-chart-placeholder {
	height: 250px;
	background-color: rgba(255, 255, 255, 0.05);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #999;
	font-style: italic;
	font-size: 14px;
	margin-top: 10px;
}

.arrow-container {
	width: 32px;
	height: 32px;
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	top: 44%;
	cursor: pointer;
	z-index: 1;
	transition: background-color 300ms ease-out;
	background-color: transparent;
	
}

.arrow-container:hover,
.arrow-container:focus,
.arrow-container:focus-within{
	background-color: rgba(140, 140, 140, 1);
	border-radius: 4px !important;
}

.arrow-container.next{
	right: 5px;	
}

.arrow-container.previous{
	left: 5px;
}

.video-stats-overlay-footer {
	color: rgba(255, 255, 255, 1);
	font-weight: 500;
	font-size: 15px;
	display: flex;
	width: 100%;
	justify-content: center;
}

.video-stats-overlay-footer > div
{
	cursor: pointer;
	text-decoration: underline;
}





.custom-table-container {
    max-width: 100%;
    flex: 1;
    overflow-x: auto;
}

@media only screen and (max-width: 1100px) {
    .custom-table-container {
        overflow: auto;
    }
}

@media only screen and (min-width: 1100px) {
    .video-stats-overlay {
        padding: 40px;
    }
    .close-stats-container{
        top: 30px;
    	right: 30px;
    }
}


@media only screen and (max-width: 428px) {
    .small-screen-container .stat-category-value {
        display: none;
    }
}



/* SCROLLABLE TBODY */
.custom-table tbody {
    display: block;
    flex: 1;
    overflow-y: auto;
}

/* SYNC HEAD AND BODY COLUMNS */
.custom-table thead,
.custom-table tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}


.custom-table {
    border-collapse: unset !important;
    width: 100%;
 	table-layout: fixed;
    border: 1px solid rgba(83, 83, 83, 1);
    border-radius: 11px 11px 0px 0px !important;
    display: flex;
    flex-direction: column;
}

.custom-table th,
.custom-table td {
    padding: 12px;
    text-align: left;
    font-size: 15px !important;
    line-height: 17.9px !important;
    border: 1px solid rgba(224, 224, 224, 1);
    white-space: nowrap;
    cursor: default;
}

.custom-table th span{
	max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
}

.custom-table th {
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 1) !important;
    background-color: rgba(45, 45, 45, 1);
    font-size: 15px;
    border: none;
}

.custom-table tbody tr {
    height: 60px;
    border: 1px solid rgba(83, 83, 83, 1) !important;
    background-color: rgba(16, 16, 16, 1);
}

.custom-table thead tr {
    height: 62px;
    border: none;
}

.custom-table tbody td {
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 1) !important;
    border: none;
    border-top: 1px solid rgba(83, 83, 83, 1);
    background-color: transparent !important;
    display: table-cell !important;
    width: auto !important;
}

.custom-table th,
.custom-table tbody td {
    vertical-align: middle !important;
}

.custom-table tbody tr:hover,
.custom-table tbody tr:focus,
.custom-table tbody tr:focus-within {
    background-color: rgba(45, 45, 45, 1);
}

.custom-table th:first-child {
    border-radius: 11px 0px 0px 0px !important;
}
.custom-table th:last-child {
    border-radius: 0px 11px 0px 0px !important;
}

.custom-table tbody tr td:first-child,
.custom-table thead tr th:first-child {
    padding-left: 15px;
}

.custom-table tbody tr td:first-child {
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Optional - Skeleton styles (if they are part of this component) */
.custom-table-skeleton-row {
    display: flex;
}

.custom-table-skeleton-cell {
    flex: 1;
    padding: 12px;
}




#video-stats-overlay *::-webkit-scrollbar {
    width: 10px;
}

#video-stats-overlay *::-webkit-scrollbar-track {
    background: transparent;
}

#video-stats-overlay *::-webkit-scrollbar-thumb {
    background-color: rgba(140, 140, 140, 1);
    border-radius: 5px;
    transition: background-color 0.2s ease;
}

#video-stats-overlay *::-webkit-scrollbar-thumb:hover {
    background-color: rgba(128, 128, 128, 1);
}

#video-stats-overlay *::-webkit-scrollbar-thumb:active {
    background-color: rgba(105, 105, 105, 1);
}

.user-engagement-chart-container{
	width: 100%;
	height: 100%;
	padding: 0px;
	border-radius: 10px !important;
	position: absolute;
	top:0;
	bottom: 0;
	left: 0;
	right: 0;
}

.empty-chart-container{
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	top: 0px;
	bottom: 0px;
	left: 0px;
	right: 0px;
}
.empty-chart-text{
	font-size: 26px;
	font-weight: 500;
	color: rgba(255, 255, 255, 1);
}

.no-result-container, .no-result-container > div{
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	gap: 10px;
}

.no-result-container .h1, .no-result-container .label{
	margin: 0px;
}

.gap-2{
	gap: 7px;
}

[role="button"] {
	cursor: pointer;
}

.skeleton-loader {
  background-color: #2a2a2a;
  border-radius: 4px;
  margin-bottom: 8px;
  position: relative;
  overflow: hidden;
}

.skeleton-loader::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150px;
  height: 100%;
  width: 150px;
  background: linear-gradient(to right, transparent 0%, #444 50%, transparent 100%);
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    left: -150px;
  }
  100% {
    left: 100%;
  }
}

.ls-analytics-left-container {
	width: 49%;
	gap: 30px;
	display: flex;
	height: 100%;
	flex-direction: column;
}

@media screen and (min-width: 992px) {
  .stat-container.video {
    flex: 1;
    width: 100% !important;
  }
}

.view-full-analytics-button{
	background-color: rgba(11, 111, 133, 1);
	border-radius: 4px !important;
	color: rgba(255, 255, 255, 1);
	height: 39px;
	max-width: 180px;
}
.view-full-analytics-button:hover,
.view-full-analytics-button:focus,
.view-full-analytics-button:focus-within{
	color: rgba(255, 255, 255, 1);
	background-color: rgba(0, 99, 121, 1);
}

#video-stats-overlay .user-avatar{
	border-radius: 50% !important;
}