/* Online Indicator */
.online-indicator {
    width: 10px;
    height: 10px;
    background-color: #4CAF50; /* Material Design green */
    border-radius: 50%;
    display: inline-block;
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.6;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.scroll-container {
    white-space: nowrap;
    position: relative;
    flex-wrap: nowrap;
    overflow-x: auto;

    /* row flex */
    display: flex;
}

/* lets customize the horizontal scrollbar */
.scroll-container::-webkit-scrollbar {
    height: 6px;
    background-color: #f5f5f5;
}

.scroll-container::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 10px;
}

.scroll-container::-webkit-scrollbar-track {
    background-color: #f5f5f5;
}

.scroll-container::-webkit-scrollbar-thumb:hover {
    background-color: #aaa;
}

/* Model Card */
.model-card {
    cursor: pointer;
    display: none;
}

.model-card .thumb {
    object-fit: cover;
    border-radius: 10px;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    transition: filter 0.5s ease-in-out !important;
}


.model-card .intro-video {
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.model-card .intro-video.active {
    display: block;
    opacity: 1;
}

.model-card video {
    object-fit: cover;
    border-radius: 10px;
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease-in-out;
}

.model-card .loading-spinner {
    display: none;
    z-index: 10;
}

.model-card .loading-spinner.visible {
    display: block;
}

.model-card .footer {
    background: rgba(0, 0, 0, 0.7);
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    font-size: 0.8em;
    padding: 2px 0;
}

.model-card .footer.private {
    background: rgba(194, 24, 91, 0.7) !important;
}

.scroll-container .model-card {
    flex: 0 0 210px !important;
    max-width: 240px !important;
    padding: 5px !important;
}

.video-loaded .blurred-thumbnail {
    filter: blur(0);
}

/* Tooltip */
.tooltip-inner {
    font-size: 0.8em;
}

/* Live Card */
.live-card {
    position: relative;
    color: #fff !important;
    overflow: hidden;
    width: 100%;
    border-radius: 10px;
}

.live-card.shadow {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.live-card .live-card-input {
    font-size: 12px;
    padding: 9px;
    background: rgba(0, 0, 0, 0.5) !important;
    color: #fff;
    border: 0;
    border-radius: 10px;
    padding-left: 20px;
}

/* placeholder */
.live-card .live-card-input::placeholder {
    color: #fff;
}


.live-card .visible {
    display: block !important;
    opacity: 1 !important;
}

.live-card video {
    object-fit: cover !important;
    border-radius: 10px;
    display: none;
    transition: opacity 0.3s ease-in-out !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5) !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    border: 0;
}

.live-card .thumb {
    object-fit: cover;
    border-radius: 10px;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    transition: filter 0.5s ease-in-out !important;
    display: none;
}

.live-card video.bordered {
    border: 2px solid #FF5722 !important;
}

.live-card .ad-overlay,
.live-card .center-notification {
    width: 100% !important;
    height: 100% !important;
    position: absolute !important;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 11;
    color: #fff;
    border-radius: 10px;
}

.live-card .ad-overlay .content {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.live-card .ad-overlay {
    display: none;
}

.live-card .center-notification {
    background: #111 !important;
}

.live-card.loading-bg {
    background-color: #111111 !important;
}

.live-card .loading-spinner {
    display: none;

}

.live-card .loading-spinner.visible {
    display: flex;
}

.live-card .loading-spinner.hidden {
    display: none;
}

.live-card a.stretched-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    text-decoration: none;
    background: transparent;
}


.live-card .footer {
    position: absolute;
    bottom: 12px;
    width: 100%;
    padding: 0 10px;
    z-index: 10;
}

.live-card .footer.upper {
    bottom: 43px;
}

.live-card .footer-input:focus {
    outline: none;
    box-shadow: none;
}


.live-card .footer .content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.live-card .header {
    position: absolute;
    top: 10px;
    width: 100%;
    padding: 0 10px;
    z-index: 10;
}

.live-card .header .content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.live-card .modelNameRight {
    position: absolute;
    top: 7px;
    right: 1px;
}

.live-card .modelNameLeft {
    position: absolute;
    top: 6px;
    left: 6px;
}

.live-card .modelName {
    background: rgba(0, 0, 0, 0.6);
    padding: 5px 5px;
    border-radius: 5px;
    font-size: 0.8em;
    font-weight: 600;
    padding-left: 12px;
    padding-right: 12px;
}

.live-card .modelNameLeft .modelName {
    padding: 8px;
    background: rgba(0, 0, 0, 0.7);
    font-size: 0.8em;
    padding-bottom: 4px;
    padding-top: 4px;
}


.live-card .btn {
    border-radius: 5px;
    padding: 7px 7px;
    font-size: 0.9em;
    cursor: pointer;
    font-weight: 600;
    padding-left: 10px !important;
    padding-right: 10px !important;
}

.live-card .volumeBtn {
    background: rgba(0, 0, 0, 0.7) !important;
    cursor: pointer;
    border: none !important;
}

.live-card .fs-btn {
    background: rgba(0, 0, 0, 0.7) !important;
    cursor: pointer;
    border: none !important;
}

.live-card .top-right-notification {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.7);
    padding: 5px 10px;
    border-radius: 5px;
    color: #fff !important;
}

.live-card .top-right-notification a {
    color: #fff;
    text-decoration: none;
}

.live-card .livestream-chat {
    position: absolute;
    bottom: 60px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 5px;
    height: auto;
    width: 240px;
    z-index: 1000;
}

.live-card .livestream-chat .chat-container {
    position: relative;
    height: 100%;
}

.live-card .livestream-chat .message-box {
    display: flex;
    font-size: 12px;
    flex-direction: column-reverse;
    height: 150px;
    overflow: auto;
    padding: 12px;
    padding-bottom: 1px;
    border-top-right-radius: 5px;
}

.live-card .livestream-chat .form-control {
    font-size: 12px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.3) !important;
    color: white;
    border: 0;
}

.live-card .livestream-chat .form-control::placeholder {
    color: #fff;
}

/* remove outline */
.live-card .livestream-chat .form-control:focus {
    outline: none;
    box-shadow: none;
}

.live-card .livestream-chat .message-box::-webkit-scrollbar {
    width: 5px;
}

.live-card .livestream-chat .message-box::-webkit-scrollbar-thumb {
    background-color: #444;
    border-radius: 2px;
}

.live-card .livestream-chat .message-box::-webkit-scrollbar-track {
    background-color: #222;
    border-radius: 2px;
}

.progress-2 {
    width:170px;
    height:12px;
    border-radius: 20px;
    background: linear-gradient(orange 0 0) 0/0% no-repeat  lightblue;
    animation:p2 2s infinite steps(12);
}
@keyframes p2 {
    100% {background-size:110%}
}

.progress-3 {
    width: 100%;
    height: 5px;
    border-radius: 0px;
    top: 0px;
    position: absolute;
    background: rgba(0, 0, 0, 0.5); /* Dark background with opacity */
    overflow: hidden; /* Ensures no excess bars show */
}

.progress-3::before {
    content: '';
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(to bottom, #ffd65e 0%,#febf04 100%);
    animation: p3 2s infinite steps(12);
}

@keyframes p3 {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

.progress-4 {
    width: 150px;
    height: 10px;
    border-radius: 8px;
    top: 0px;
    background: rgba(255, 255, 255, 0.2); /* Dark background with opacity */
    overflow: hidden; /* Ensures no excess bars show */
}

.progress-4::before {
    content: '';
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(to bottom, #ffd65e 0%,#febf04 100%);
    animation: p4 2s infinite steps(12);
}

@keyframes p4 {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}


/* Visibility Helper */
.visible {
    opacity: 1 !important;
    display: block !important;
}

.btn-warning {
    background: linear-gradient(109.6deg, rgb(255, 207, 84) 11.2%, rgb(255, 158, 27) 91.1%) !important;
    border: none !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.btn-warning:hover {
    background: radial-gradient(circle at 10% 20%, rgb(251, 221, 19) 0.1%, rgb(255, 153, 1) 90%);
}

.btn-danger {
    background: linear-gradient(108.4deg, rgb(253, 44, 56) 3.3%, rgb(176, 2, 12) 98.4%);
    padding: 8px 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border: none !important;
}

.btn-danger:hover {
    background: radial-gradient(circle at 10% 20%, rgb(221, 49, 49) 0%, rgb(119, 0, 0) 90%);
}

.fs-14 {
    font-size: 14px;
}


.models-card {
    min-height: 200px;
    position: relative;
}

.models-card .loading {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.sm-listing-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.sm-listing-pagination .page-item {
    cursor: pointer;
    margin: 0 5px;
    border-radius: 5px;
    border: 0;
}

.sm-listing-pagination .page-item .page-link {
    color: #333;
    font-size: 0.9em;
    background: #f1f1f1;
    border: 0;
    border-radius: 5px;
}

.sm-listing-pagination .page-item .page-link:hover {
    background: #007bff;
    color: #fff;
}

.sm-listing-pagination .page-item.disabled .page-link {
    background: #f1f1f1;
    color: #333;
}

.sm-listing-pagination .page-item.active .page-link {
    background: #007bff;
    color: #fff;
}

.sm-listing-pagination .page-item.active {
    background: #007bff !important;
    color: #fff;
}

/* super card */
/* Live Card */
.super-card {
    position: relative;
    color: #fff !important;
    overflow: hidden;
    width: 100%;
    border-radius: 10px;
}

.super-card .header {
    background: linear-gradient(to bottom, #45484d 0%, #000000 100%);
    color: #f1f1f1;
    padding: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.super-card .c-footer {
    background: linear-gradient(109.6deg, rgba(0, 0, 0, 0.93) 11.2%, rgb(63, 61, 61) 78.9%);
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    font-size: 0.8em;
}

.super-card .video-container {
    position: relative;
    width: 100%;
    height: calc(100% - 80px);
    overflow: hidden;
}

.super-card button {
    background: transparent;
    border: 0;
    border-radius: 6px;
}

.super-card .stretched-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    text-decoration: none;
    background: transparent;
}

.super-card .video-container video {
    object-fit: cover !important;
    display: none;
    transition: opacity 0.3s ease-in-out !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5) !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    height: 100%;
    border: 0;
}

.super-card .form-control {
    background: linear-gradient(179.5deg, rgb(255, 230, 69) 3.3%, rgb(255, 157, 73) 96%);
    color: #333;
    border: 0;
    border-radius: 0 !important;
    padding: 10px;
    padding-top: 7px;
    padding-left: 30px !important;
    font-size: 1em;
}

.super-card .form-control:focus {
    outline: none;
    box-shadow: none;
}

.super-card .form-control::placeholder {
    color: #333;
}


.super-card .video-container .thumb {
    object-fit: cover !important;
    display: none;
    transition: opacity 0.3s ease-in-out !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5) !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    height: 100%;
    border: 0;
    display: none;
}

.super-card .visible {
    display: block !important;
    opacity: 1 !important;
}

.super-card.loading-bg {
    background-color: #111111 !important;
}

.super-card .loading-spinner.hidden {
    display: none;
}

.super-card .ad-overlay,
.super-card .center-notification {
    width: 100% !important;
    height: 100% !important;
    position: absolute !important;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 11;
    color: #fff;
    border-radius: 0 !important;
}

.super-card .ad-overlay .content {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

}

.super-card .ad-overlay {
    display: none;
}

.super-card .center-notification {
    background: #111 !important;
}


.super-yellow-text {
    color: #FFC107;
}


.super-card .transition-overlay {
    position: relative;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.1) !important; /* Add a translucent black base */
    font-size: 1em !important;
    color: white;
    opacity: 1;
    margin: 0 !important; /* Ensure no margin is interfering */
    padding: 0 !important; /* Ensure no padding is interfering */
    text-align: center; /* Center text horizontally */
    line-height: 1; /* Prevent line-height issues */
}

.super-card .transition-overlay .overlay-content {
    position: absolute !important;
    text-align: center; /* Center text and countdown horizontally */
    width: 100% !important;
    top: 50% !important;
    transform: translateY(-50%); /* Center text and countdown vertically */
}

.super-card .transition-overlay .switching-text {
    font-size: 0.9em; /* Adjust text size */
    margin: 0; /* Remove margin */
    padding: 0;
    display: block; /* Ensure it behaves as a block element */
}

.super-card .transition-overlay .countdown {
    font-size: 3.8em; /* Larger font size for the countdown */
    margin-top: 10px; /* Add some spacing below the text */
    padding: 0;
    color: #FFA000 !important; /* Material orange */
    display: block; /* Ensure it behaves as a block element */
}

.online-text {
    font-size: 15px;
    font-weight: bold;
    color: #FFEB3B; /* Material green */
    position: relative;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
        text-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
        text-shadow: 0 0 20px rgba(76, 175, 80, 0.8);
    }
    100% {
        transform: scale(1);
        opacity: 1;
        text-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
    }
}

.switch-overlay-view {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    font-size: 44px;
    text-align: center;
    display: flex; /* Use flexbox to center content */
    justify-content: center; /* Horizontally center */
    align-items: center; /* Vertically center */
    color: #fff;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%; /* Make it a perfect circle */
    width: 80px; /* Set a specific width */
    height: 80px; /* Set the same height to make it a circle */
    padding: 10px; /* Add padding if needed */
    font-weight: bold; /* Optional, make the number bold */
}

/* Optional: You can style the inner div as needed */
.switch-overlay {
    font-size: inherit; /* Inherit font size from the parent */
}