.file-picker {
    border: 4px dashed #ddd;
    margin: auto;
    cursor: pointer;
    background-image: url(/images/uploadlight.png);
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}
.hidden {
    display: none;
}

.card-image-overlay {
    transition: .5s ease;
    position: absolute;
    top: 10px;
    left: 10px;
    width: calc(100% - 20px);
    text-align:right;
}

@media only screen and (max-width: 1024px) {
    .card-image-overlay {
        opacity: 1;
    }
}

.gallery_container .grid-item:hover .card-image-overlay{
    opacity: 1;
}

.grid-item
{
    min-height:310px;
}

.gallery_container .on-air i.fa-signal-stream {
    display: block;
    background-color: #fff;
    padding: 5px;
    border-radius: 20px;
}

.gallery_container i.fa-signal-stream {
    position: absolute;
    top: 8px;
    left: 8px;
    color: red;
    font-size: 20px;
    display: none;
}

.gallery_container i.fa-dollar-sign {
    background-color: #fff;
    padding: 5px;
    border-radius: 30px;
    position: absolute;
    top: 8px;
    left: 25px;
    color: red;
    font-size: 20px;
}

.gallery_container .disabled img {
    opacity: 0.15;
}
.gallery_container .disabled .dropdown {
    opacity: 1;
    z-index:9999;
}

.channel-avatar img {
    max-width: 150px;
    border-radius: 75px;
    border: 5px solid #0d6efd;
}

.channel-avatar a:hover img {
    border: 1px solid #0d6efd;
    content: url("/images/play.jpg");
}

/*Custom dropdown*/

.custom-dropdown
{
    max-width:550px;
}

/* Limit tall dropdowns and enable vertical scroll */
.dropdown-menu.custom-dropdown {
    max-height: 550px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.custom-dropdown .btn:active, .custom-dropdown .btn:focus {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    outline: none;
}

.custom-dropdown .btn.btn-custom {
    border: 1px solid #efefef;
}

.custom-dropdown .dropdown-link {
    color: #888;
    display: inline-block;
    padding-right: 40px;
    position: relative;
}

.custom-dropdown .dropdown-link:after {
    content: "\e313";
    position: absolute;
    right: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    background: #efefef;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    border-radius: 50%;
    font-family: 'icomoon';
}

.custom-dropdown .dropdown-item {
    font-size: 14px;
    color: #888;
    border-bottom: 1px solid #efefef;
    padding-top: 10px;
    padding-left: 35px;
    padding-bottom: 10px;
    position: relative;
    text-overflow: ellipsis;
    width: fit-content;
    white-space: nowrap;
    overflow: hidden;
    width:100%;
}

.custom-dropdown .dropdown-item strong {
    display: block;
    font-weight: bold;
    color: #000;
    text-overflow: ellipsis;
    width: fit-content;
    max-width: 300px;
    overflow: hidden;
}

.custom-dropdown.narrow{
    max-width:280px;
}

.dropdown a.btn {
    text-overflow: ellipsis;
    width: fit-content;
    max-width: 300px;
    overflow: hidden;
}

.custom-dropdown .dropdown-item span {
    font-size: 13px;
    color: #999;

}

.custom-dropdown .dropdown-item.active span, .custom-dropdown .dropdown-item.active strong {
    color: #fff;
}

.custom-dropdown .dropdown-item:before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    top: 50%;
    left: 10px;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    background: #efefef;
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
}

.custom-dropdown .dropdown-item:hover {
color: #000;
}

.custom-dropdown .dropdown-item:hover:before {
    top: 50%;
    background: #007bff;
}

.custom-dropdown .dropdown-menu {
    border: 1px solid transparent;
    -webkit-box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.2);
    margin-top: 0px !important;
    padding-top: 0;
    padding-bottom: 0;
    left: 0 !important;
    -webkit-transition: .3s margin-top ease, .3s opacity ease, .3s visibility ease;
    -o-transition: .3s margin-top ease, .3s opacity ease, .3s visibility ease;
    transition: .3s margin-top ease, .3s opacity ease, .3s visibility ease;
}

    .custom-dropdown .dropdown-menu.active {
        opacity: 1;
        visibility: visible;
        margin-top: 20px !important;
    }
/*Custom dropdown end*/


/*Gallery container*/
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .gallery_container {
        width: 500px;
        grid-template-columns: repeat(1, 1fr);
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    .gallery_container {
        width: 510px;
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    .gallery_container {
        width: 690px;
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    .gallery_container {
        width: 930px;
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    .gallery_container {
        width: 1110px;
        grid-template-columns: repeat(4, 1fr);
    }
}

.gallery_container {
    margin: auto;
    display: grid;
    gap: 10px;
    width: 100%;
    -webkit-line-clamp: 4;
}

.card-middle-overlay {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    text-align: center;
    top: calc(50% - 130px);
    left: calc(50% - 45px);
}

.gallery_container .card:hover img {
    opacity: 0.5;
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.gallery_container .card:hover .card-body {
    background-color: #ddd;
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.gallery_container .card-text {
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    overflow: hidden;
    text-align: left;
}

.gallery_container .card-title {
    overflow: hidden;
    max-width: 100%;
    text-overflow: ellipsis;
    width: fit-content;
    white-space: nowrap;
}

.gallery_container .card:hover, .video-card.selected {
    filter: drop-shadow(0px 1px 6px #000000);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.editable-input, .editable-textarea {
    padding: 3px;
    min-height: 20px;
}

.editable-input:hover, .editable-textarea:hover {
    border: 1px dashed #333;
    padding: 2px;
    border-radius: 3px;
}

.card-image-overlay .handle {
    position: absolute;
    left: 10px;
    top: 20px;
    font-size: 30px;
    color: #000;
    cursor: move;
}

.live-video-card {
    border: 2px solid red;
}

.live-video-card:hover .card-image-overlay .handle {
    display: none;
}

.live-video-card .card-image-overlay .handle {
    display: none;
}

.gallery_container .card:hover .card-image-overlay, .gallery_container .card:hover .card-middle-overlay, .video-card.selected .card-image-overlay {
    opacity: 1;
}
/*Gallery container*/

.offcanvas
{
    top:118px !important;
}
/*Schedule holder*/

.empty-schedule-box {
    color: #999;
    position: relative;
    height: 200px; /* Set height for vertical centering */
    text-align:center;
}

.schedule-wrapper {
    border: 1px solid #999;
    background-color: #eee;
    min-height: 300px;
}

.has-schedule {
    position: relative;
}

.has-schedule:before {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: red;
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -5px;
}

.schedule-box {
    border: 2px dashed #999;
    min-height: 80px;
    margin-top: 5px;
    overflow: hidden;
}

.schedule-box.over {
    border: 2px solid #000;
}

.schedule-box-controls {
    font-size: 13px;
    height: 30px;
    background-color: #666;
    padding-top: 4px;
    color: #fff;
}

.schedule-box .video-card .card-text {
    display: none;
}

.video-card.gu-mirror .card-body {
    display: none;
}

.video-card.gu-mirror, .video-card.gu-transit {
    max-height: 200px;
    overflow: hidden;
    z-index:999999;
}

.schedule-video-card .schedule-video-img img {
    max-width: 60px;
}

.schedule-video-card {
    position: relative;
    background-color: #fff;
    padding: 5px 10px;
    border-bottom: 1px solid #ddd;
    transition: background-color 0.3s;
}

    .schedule-video-card.active {
        border: 2px solid #593cb7;
    }

    .schedule-video-card:hover {
        background-color: #eee;
    }

    .schedule-video-card div {
        display: table-cell;
    }

.schedule-video-card .schedule-video-name {
    overflow: hidden;
    max-width: 200px;
    min-width: 200px;
    text-overflow: ellipsis;
    width: fit-content;
    white-space: nowrap;
    padding-left: 5px;
    font-size: 12px;
    vertical-align:top;
}

.schedule-box .schedule-box-controls a {
    cursor: pointer;
    margin-left:10px;
}

.schedule-box .schedule-box-controls a.left-aligned {
    position: absolute;
    left: 30px;
    cursor: pointer;
    display: inline;
    width: 25px;
    color: #fff;
}

.schedule-box:hover .schedule-box-controls a {
    display: inline;
    color: #fff;
}

.sliding-menu a {
    cursor: pointer;
    position: relative;
    right: 0px;
    font-size: 20px;
}

.sliding-menu {
    position: absolute;
    top: 0;
    right: -50px; /* Initially hidden */
    width: 50px;
    height: 100%;
    background-color: red; /* Teal */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 14px;
    transition: right 0.1s ease;
    padding-top: 8px;
}

.schedule-video-card:hover .sliding-menu {
    right: 0; /* Slide into view */
}


/*Schedule holder End*/


/*Player wrapper End*/
.player-wrapper .custom-volume-control i {
    position: absolute;
    top: 40vh;
    display: none;
    font-size: 25px;
    cursor: pointer;
}

@media only screen and (max-width: 600px) {
    .player-wrapper .custom-volume-control i {
        display: block;
    }

    .player-wrapper .custom-volume-control i.fa-volume-high {
        display: none;
    }

    .player-wrapper {
        height: 22vh !important;
    }

    .player-wrapper h4 {
        font-size: 1.275rem;
        margin-left:0.5rem;
        margin-right:0.5rem;
    }

    .player-wrapper h6 {
        font-size: 0.8rem;
    }

    .player-channel-info-wrapper
    {
        margin-top:50px;
    }
}

.player-wrapper:hover .custom-volume-control i {
    display: block;
}

.account-logo {
    position: absolute;
    top: 00px;
    z-index: 10; /* Ensure logo appears above other content */
}

.account-logo.top-right {
    right: 10px;
    top: 10px;
    left: auto;
}

.account-logo.top-left {
    left: 20px;
    right: auto;
}

.account-logo img {
    max-width: 100px;
    display: block; /* Remove inline spacing */
}

/* Mobile view - make logo 50% smaller */
@media only screen and (max-width: 768px) {
    .account-logo img {
        max-width: 50px;
    }
    
    .account-logo.top-right {
        right: 10px;
    }
    
    .account-logo.top-left {
        left: 10px;
    }
}

.player-wrapper-parent {
}

.player-wrapper p, .player-wrapper h {
    padding: 10px;
    margin: 5px;
}

/* Smooth expand/shrink between player/info columns */
#playerCol,
#channelInfoCol {
    transition: all .3s ease;
}

.info-hidden #channelInfoCol {
    max-width: 0 !important;
    flex: 0 0 0 !important;
    opacity: 0;
    padding-left: 0;
    padding-right: 0;
}

.info-hidden #playerCol {
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

/* Make channel info column match player column height without JS */
.player-wrapper-parent .row {
    align-items: stretch; /* Ensure columns are equal height */
}

.player-wrapper-parent .col-md-3 {
    display: flex; /* Allow child to fill height */
}

#channelInfo {
    height: 100%;
    overflow: auto;
    flex: 1 1 auto; /* Fill the column height */
}

.player-wrapper {
    background-color: #000;
    color: #fff;
    __min-height: 320px;
    height: calc(100vh - 190px);
    display: flex; /* Activate flexbox */
    align-items: center; /* Vertically center the items */
    flex-direction: column; /* Stack items vertically */
    justify-content: center; /* Center items vertically in the container */
    border-radius: 20px;
    overflow: hidden;
    border:5px solid #666;
    position: relative; /* Positioning context for absolutely positioned elements */
}
/*Player wrapper End*/

/*Watch table*/
.watchTable {
    font-size: 16px;
    border-collapse: collapse;
    display: block;
}

.watchTable__wrapper {
    width: 100%;
}

.watchTable__box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
    color: rgba(0, 0, 0, 0.7);
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 100%;
}

.watchTable__box h6 {
    color: inherit;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.watchTable__box img {
    max-width: 50px;
    border-radius: 25px;
}

.watchTable__title {
    color: #000;
    font-size: inherit;
    border-right: 2px solid #e9e9e9;
    font-weight: 400;
    text-align: left;
    padding: 6px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    max-width: 100%;
}

.watchTable__row {
    border-bottom: 2px solid ##e9e9e9;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    min-width: 100%;
    z-index: 0;
}

.watchTable__row:after {
    content: "";
    width: 100%;
    height: 100%;
    background: #e2e4ed;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-transition: all 0.2s ease-in-out 0s;
    transition: all 0.2s ease-in-out 0s;
    -moz-transition: all 0.2s ease-in-out 0s;
    z-index: -1;
    pointer-events: none;
}

.watchTable__row:hover:after, .watchTable__row.hover:after {
    opacity: 1;
}

.watchTable__column {
    padding: 0.5em 1em;
    color: rgba(0, 0, 0, 0.7);
    border-right: 2px solid #e9e9e9;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 4em;
    -webkit-transition: all 0.2s ease-in-out 0s;
    transition: all 0.2s ease-in-out 0s;
    -moz-transition: all 0.2s ease-in-out 0s;
}

.watchTable__column .text {
    font-size: 14px;
    position: sticky;
    left: 0.5em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.watchTable__column span {
    font-size: 12px;
    position: absolute;
    bottom: 10px;
}

.watchTable__head .watchTable__column.current {
    color: #202226;
    font-weight: 500;
    background-color: #022447;
    height: 4.5em;
    background-image: linear-gradient( 45deg, hsl(210deg 95% 14%) 0%, hsl(211deg 76% 18%) 9%, hsl(212deg 64% 22%) 22%, hsl(213deg 57% 26%) 36%, hsl(213deg 52% 30%) 49%, hsl(213deg 48% 34%) 60%, hsl(213deg 45% 38%) 69%, hsl(212deg 43% 42%) 77%, hsl(212deg 41% 46%) 83%, hsl(212deg 40% 49%) 88%, hsl(211deg 44% 53%) 92%, hsl(211deg 50% 58%) 95%, hsl(211deg 58% 62%) 98%, hsl(210deg 68% 66%) 100% );
}

.watchTable__column.current {
    color: #202226;
    font-weight: 500;
    background-color: #022447 !important;
}

.watchTable__column.current a {
    color: #fff;
}

.watchTable__column a {
    color: #ddd;
}

.watchTable__content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.watchTable__content-head {
    max-width: 240px;
}

.watchTable__content-head .watchTable__title {
    width: 100%;
}

.watchTable__content-head .watchTable__timeline {
    width: 100%;
}

.watchTable__content-body {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    overflow-x: scroll;
    z-index: 0;
}

.watchTable__timeline {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    border-bottom: 2px solid ##e9e9e9;
}

.watchTable__timeline-pivot {
    position: absolute;
    top: 0;
    left: calc(100% - 6px);
    width: 2px;
    height: 100%;
    background: #82a105;
    z-index: 1;
}

.watchTable__head {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 2px;
    background: ##e2e4ed;
}

.watchTable__head .watchTable__column {
    max-width: 100%;
    background: ##e2e4ed;
    margin-bottom: 6px;
}

.watchTable__head .watchTable__column.hover {
    background: ##202226;
}

.watchTable__head .watchTable__column.hover h6 {
    color: ##e2e4ed;
}

.watchTable__head .watchTable__column.hover .button--ico .ico path {
    -webkit-transition: all 0.2s ease-in-out 0s;
    transition: all 0.2s ease-in-out 0s;
    -moz-transition: all 0.2s ease-in-out 0s;
}

.watchTable__head .watchTable__column.hover .button--ico .ico path._stroke {
    fill: transparent;
    stroke: ##e2e4ed;
}

.watchTable__head .watchTable__column.hover .button--ico .ico path._fill {
    stroke: transparent;
    fill: ##e2e4ed;
}

.watchTable__head .watchTable__column.hover .button--ico:hover .ico path._stroke {
    fill: transparent;
    stroke: ##2db9e7;
}

.watchTable__head .watchTable__column.hover .button--ico:hover .ico path._fill {
    stroke: transparent;
    fill: ##2db9e7;
}

.watchTable__body {
    min-width: 100%;
    background-color: #204060;
    padding: 5px 0px 0px 5px;
}

.watchTable__body .watchTable__column {
    cursor: pointer;
    border: 1px solid #061422;
    margin: 3px;
    border-radius: 5px;
    color: #fff;
    background-color: #275b8e;
}

.watchTable__body .watchTable__column:hover {
    color: ##202226;
}

.watchTable .tooltip {
    bottom: calc(100% + 24px);
}

.watchTable__column {
}

/*End watch table*/


.card-button {
    cursor: pointer;
}

.card-button:hover {
    background-color: #999;
    color: #fff;
}

.card-button.selected {
    background-color: #0d6efd;
    color: white;
    border-color: #0d6efd;
}

.card-button.selected:hover {
    background-color: #0b5ed7;
    border-color: #0b5ed7;
}

.form-left .form-label {
    text-align: left;
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.inline-button {
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
}

.inline-button-big {
    position: absolute;
    right: 18px;
    top: 53px;
    cursor: pointer;
}

.floating-button {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #007BFF;
    color: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    font-size: 24px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.floating-button-up {
    bottom: 200px;
}

/* Stagger positions to avoid overlap */
#btnChannelGuide.floating-button { bottom: 100px; }
#btnChannelInfoFloating.floating-button { bottom: 165px; }
#btnLiveBroadcast.floating-button-up { bottom: 230px; }

.floating-button-top { top: 200px; }

.menu {
    z-index: 999;
    position: fixed;
    bottom: -300px;
    left: 0;
    width: 100%;
    max-height: 50vh; /* Maximum 50% of viewport height */
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: bottom 0.3s ease-in-out;
    overflow-y: auto; /* Enable vertical scrolling when content exceeds max-height */
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent; /* Firefox */
}

/* Webkit scrollbar styling for better appearance */
.menu::-webkit-scrollbar {
    width: 8px;
}

.menu::-webkit-scrollbar-track {
    background: transparent;
}

.menu::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.menu::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.menu.show {
    bottom: 0; /* Fully visible */
}

.menu-item {
    padding: 10px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
}

.menu-item:first-child {
    border-top: none;
}

.menu-item:hover {
    background: #0056b3;
    cursor: pointer;
}
/* End Guide toggle*/

.channel-info-wrapper img {
    max-width: 75px;
    border-radius: 50px;
}

.channel-info-wrapper .channel-title {
    font-size: 25px;
    margin-left: 30px;
}

.fixh-40 {
    max-height: 40px;
}

.drop-shadow {
    filter: drop-shadow(0px 0px 7px #ddd);
}

input[type=color]{
    max-width:75px;
    height:50px;
}

.toast
{
    z-index:99999;
}

.icon-sm {
    max-width: 50px;
    border-radius: 25px;
    float: left;
    margin-right: 20px;
}

.list-group-item div {
    text-align: left;
    width: 100%;
}

.player-channel-info-wrapper {
    display: flex;
    align-items: flex-start;
    flex-wrap: nowrap;
    background:#fff;
    padding:15px;
    border-radius:15px;
    border:1px solid #ddd;
}

.player-channel-info-wrapper img {
    width: 65px;
    height: 65px;
    border-radius: 32px;
    margin-right: 20px;
    border: 2px solid #fff;
    flex-shrink: 0;
}
.channel-text-wrapper {
    display: flex;
    flex: 1;
    width: 100%;
}
.channel-info-left,
.channel-info-right {
    flex: 1;
    min-width: 0;
}
.channel-info-left h4,
.channel-info-left small {
    overflow: hidden;
    text-overflow: ellipsis;
}

.channel-info-left
{
    text-align:left;
}
.channel-info-right {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: flex-start;
    text-align:right
}
.channel-info-right p {
    margin: 0;
    white-space: normal;
    word-wrap: break-word;
}
.pulse {
    width: 30px;
    height: 30px;
    background-color: red;
    border-radius: 50%;
    animation: animate 3s linear infinite;
    flex-shrink: 0;
    margin-left: 8px; /* optional spacing between text and pulse */
}

.pulse i {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    color: #fff;
    height: 100%;
}

@keyframes animate {
    0% {
        box-shadow: 0 0 0 0 rgb(255, 109, 74, 0.7), 0 0 0 0 rgb(255, 109, 74, 0.7)
    }

    40% {
        box-shadow: 0 0 0 50px rgb(255, 109, 74, 0), 0 0 0 0 rgb(255, 109, 74, 0.7)
    }

    80% {
        box-shadow: 0 0 0 50px rgb(255, 109, 74, 0), 0 0 0 30px rgb(255, 109, 74, 0)
    }

    100% {
        box-shadow: 0 0 0 0 rgb(255, 109, 74, 0), 0 0 0 30px rgb(255, 109, 74, 0)
    }
}

.powered-by {
    padding: 5px 5px 5px 15px;
    background-color: #593cb7;
    color: #fff;
}

.powered-by img {
    max-height: 35px;
    margin-left: 20px;
}

/* Header fixed to the top of the modal */
.modal-header--sticky {
    position: sticky;
    top: 0;
    background-color: inherit; /* [1] */
    z-index: 1055; /* [2] */
}

/* Header fixed to the top of the modal */

.card-hover-2:hover .card-hover-2-header p
{
    overflow:hidden;
    max-height:190px;
}

.language-selector
{
    color:#999 !important;
    max-width:170px;
}

.is-fixed .language-selector {
    color: #000 !important;
}

.collab-channel-wrapper {
    /* Add any styles for collaboration channel wrapper if needed */
}

/* Credit Balance Dropdown Item Styling */
.credit-balance-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin: 10px 0px 2px 0px;
    padding: 12px 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    transition: all 0.3s ease;
}

.credit-balance-item:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transform: translateY(-1px);
}

.credit-balance-item::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 9px;
    z-index: -1;
    opacity: 0.3;
}

.credit-balance-item .fa-coins {
    color: #ffc107;
    font-size: 1.1em;
}

.credit-balance-item .credit-amount {
    font-weight: 700;
    color: #0d6efd;
    font-size: 1.1em;
}

.credit-balance-item .btn {
    font-size: 0.85em;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
}

/* Separator line after credit balance item */
.credit-balance-item + .dropdown-item {
    border-top: 2px solid #e9ecef;
    margin-top: 8px;
    padding-top: 12px;
}

/* Monetize Settings Tab Styling */
#monetizeTabs {
    border-bottom: 2px solid #dee2e6;
    margin-bottom: 20px;
}

#monetizeTabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    color: #6c757d;
    font-weight: 500;
    padding: 12px 20px;
    margin-right: 5px;
    border-radius: 0;
    transition: all 0.3s ease;
}

#monetizeTabs .nav-link:hover {
    color: #495057;
    background-color: #f8f9fa;
    border-bottom-color: #adb5bd;
}

#monetizeTabs .nav-link.active {
    color: #0d6efd;
    background-color: #fff;
    border-bottom-color: #0d6efd;
    font-weight: 600;
}

#monetizeTabs .nav-link:focus {
    box-shadow: none;
    outline: none;
}

.tab-content {
    padding-top: 10px;
}

.tab-pane {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-multiline {
    white-space: normal;
}

.colors-wrapper label
{
    font-size:13px;
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
}

.colors-wrapper .col-md-6 {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.colors-wrapper input[type="color"] {
    flex-shrink: 0;
}

/* Apps Index Channel Cards */
.channel-card {
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    overflow: hidden;
}

.channel-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1) !important;
    background-color: #f8f9fa !important;
}

.channel-card a:hover {
    text-decoration: none !important;
}

.channel-card .card-body {
    overflow: hidden;
}

.channel-card .text-truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.channel-card .flex-container {
    min-width: 0;
}

.channel-card .channel-icon {
    width: 40px;
    height: 40px;
    object-fit: cover;
    flex-shrink: 0;
}

.channel-card .channel-icon-placeholder {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.channel-card .channel-content {
    min-width: 0;
}

/* Apps Navigation Icons */
.app-nav-icon {
    height: 16px;
}

/* Roku Preview Styles */
.roku-preview-container {
    background-color: #1a1a1a;
    border-radius: 12px;
    padding: 20px;
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.roku-video-area {
    display: flex;
    margin-bottom: 30px;
    gap: 20px;
}

.roku-video-content {
    position: relative;
    width: 75%;
    height: 400px;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.roku-video-logo {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 60px;
    height: 60px;
    object-fit: contain;
    z-index: 2;
}

.roku-video-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #3498db, #2980b9);
    opacity: 0.8;
}

.roku-video-info {
    width: 25%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.roku-current-video,
.roku-next-video {
    background-color: #2c2c2c;
    border-radius: 8px;
    padding: 15px;
}

.roku-video-title {
    color: #ecf0f1;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.roku-video-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.roku-video-thumb {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    background-color: #34495e;
}

.roku-video-details {
    flex: 1;
}

.roku-video-name {
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 5px;
    line-height: 1.3;
}

.roku-video-desc {
    color: #bdc3c7;
    font-size: 11px;
    margin: 0;
    line-height: 1.4;
}

.roku-channel-guide {
    background-color: #2c2c2c;
    border-radius: 8px;
    padding: 20px;
}

.roku-guide-title {
    color: #ecf0f1;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.roku-guide-table {
    display: table;
    width: 100%;
    border-collapse: collapse;
    background-color: #2c2c2c;
    border-radius: 8px;
    overflow: hidden;
}

.roku-guide-header {
    display: table-header-group;
    background-color: #34495e;
}

.roku-guide-header-row {
    display: table-row;
}

.roku-guide-header-cell {
    display: table-cell;
    padding: 12px 8px;
    text-align: center;
    color: #3498db;
    font-weight: 600;
    font-size: 12px;
    border-right: 1px solid #4a5568;
    min-width: 80px;
}

.roku-guide-header-cell:first-child {
    text-align: left;
    min-width: 200px;
    background-color: #2c2c2c;
}

.roku-guide-header-cell:last-child {
    border-right: none;
}

.roku-guide-body {
    display: table-row-group;
}

.roku-guide-row {
    display: table-row;
    background-color: #34495e;
    border-bottom: 1px solid #4a5568;
}

.roku-guide-row:hover {
    background-color: #3d4f66;
}

.roku-guide-row:last-child {
    border-bottom: none;
}

.roku-guide-channel {
    display: table-cell;
    padding: 12px 15px;
    vertical-align: middle;
    border-right: 1px solid #4a5568;
    min-width: 200px;
}

.roku-guide-channel-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.roku-guide-channel-icon {
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 4px;
}

.roku-guide-channel-icon-placeholder {
    width: 30px;
    height: 30px;
    background-color: #7f8c8d;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 14px;
}

.roku-guide-channel-name {
    color: #ffffff;
    font-weight: 500;
    font-size: 14px;
}

.roku-guide-video-cell {
    display: table-cell;
    padding: 8px;
    text-align: center;
    vertical-align: middle;
    border-right: 1px solid #4a5568;
    min-width: 100px;
    max-width: 150px;
}

.roku-guide-video-cell:last-child {
    border-right: none;
}

.roku-guide-video-item {
    background-color: #2c2c2c;
    border-radius: 4px;
    padding: 8px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.roku-guide-video-name {
    color: #ecf0f1;
    font-size: 11px;
    line-height: 1.3;
    word-wrap: break-word;
    text-align: center;
}

.roku-guide-empty {
    text-align: center;
    padding: 40px 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .roku-video-area {
        flex-direction: column;
    }
    
    .roku-video-content {
        width: 100%;
        height: 250px;
    }
    
    .roku-video-info {
        width: 100%;
        flex-direction: row;
    }
    
    .roku-guide-table {
        font-size: 10px;
    }
    
    .roku-guide-header-cell {
        padding: 8px 4px;
        font-size: 10px;
        min-width: 60px;
    }
    
    .roku-guide-header-cell:first-child {
        min-width: 150px;
    }
    
    .roku-guide-channel {
        padding: 8px 10px;
        min-width: 150px;
    }
    
    .roku-guide-channel-content {
        gap: 8px;
    }
    
    .roku-guide-channel-icon {
        width: 24px;
        height: 24px;
    }
    
    .roku-guide-channel-icon-placeholder {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
    
    .roku-guide-channel-name {
        font-size: 12px;
    }
    
    .roku-guide-video-cell {
        padding: 4px;
        min-width: 80px;
        max-width: 120px;
    }
    
    .roku-guide-video-item {
        padding: 6px;
        min-height: 30px;
    }
    
    .roku-guide-video-name {
        font-size: 9px;
    }
}

.video-info {
    position: relative;
    padding:5px 5px 5px 45px;
}

.video-info::before {
    content: "\f04b"; /* Font Awesome play icon unicode */
    font-family: "Font Awesome 5 Free", "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 15px; /* Position icon on the left */
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    color: inherit;
    line-height: 1;
}

/* Confirm Toast Styles */
.confirm-toast {
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 300px;
    max-width: 90%;
    z-index: 99999;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: bottom 0.3s ease-in-out;
    opacity: 0;
}

.confirm-toast.show {
    bottom: 20px;
    opacity: 1;
}

.confirm-toast-body {
    padding: 1rem;
}

.confirm-toast-buttons {
    justify-content: flex-end;
}


.gradient-wavy-background {
    background: linear-gradient(270deg,#e56868,#db830c,#200d8c);
    background-size: 180% 180%;
    animation: gradient-animation 9s ease infinite;
}

@keyframes gradient-animation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Public Page Editable Styles */
.editable-content {
    cursor: pointer;
    outline: none;
    border-bottom: 2px dashed rgba(255, 255, 255, 0.3);
    min-height: 1.5em;
}

.editable-content:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.editable-content:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

.floating-save-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    border-radius: 50px;
    padding: 15px 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
}

.floating-view-guest-button {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
    border-radius: 50px;
    padding: 15px 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
    text-decoration: none;
    color: inherit;
}

.floating-color-picker-wrapper {
    position: fixed;
    top: 130px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.floating-color-picker-button {
    border-radius: 50px;
    padding: 15px;
    width: 50px;
    height: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.color-picker-input {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
    padding: 0;
    overflow: hidden;
    background: none;
}

.color-picker-input::-webkit-color-swatch-wrapper {
    padding: 0;
    border: none;
    border-radius: 50px;
}

.color-picker-input::-webkit-color-swatch {
    border: none;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.color-picker-input::-moz-color-swatch {
    border: none;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.public-page-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    min-width: 300px;
}

/* Splash Image Upload Styles */
.splash-image-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.splash-upload-button {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Channel On Air Icon */
.channel-on-air-icon {
    position: absolute;
    top: 8px;
    left: 8px;
    color: red;
    font-size: 20px;
    z-index: 10;
}

.swiper-slide .channel-on-air-icon {
    position: absolute;
    top: 8px;
    left: 8px;
    color: red;
    font-size: 20px;
    z-index: 10;
}

/* Notification Sliding Windows */
.notification-slide {
    position: fixed;
    width: 100%;
    z-index: 9999;
    max-width: 100%;
    left: 0;
    right: 0;
}

.notification-slide.top {
    top: 0;
}

.notification-slide.bottom {
    bottom: 0;
}

.notification-content {
    position: relative;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin: 0 auto;
    /* max-width will be set dynamically via JavaScript based on Width property */
}

.notification-content {
    border-radius: 8px;
}

.notification-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #666;
    z-index: 10000;
    padding: 5px 10px;
    transition: color 0.2s ease;
}

.notification-close:hover {
    color: #000;
}

.notification-loading {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animation for sliding in/out */
.notification-slide {
    transition: transform 0.3s ease-out;
}

.notification-slide.top {
    transform: translateY(-100%);
}

.notification-slide.bottom {
    transform: translateY(100%);
}

.notification-slide.show {
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .notification-content {
        padding: 10px;
    }
    
    .notification-close {
        top: 5px;
        right: 5px;
        font-size: 18px;
    }
}

/* Release Notes Timeline */
.release-notes-timeline {
    position: relative;
    padding: 40px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #e9ecef, #dee2e6);
    transform: translateX(-50%);
}

.timeline-items {
    position: relative;
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    display: flex;
    align-items: flex-start;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    border: 4px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.timeline-item.released .timeline-marker {
    background-color: #28a745;
}

.timeline-item.pending .timeline-marker {
    background-color: #ffc107;
}

.timeline-content {
    width: calc(50% - 40px);
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
    margin-left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    margin-right: 0;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.timeline-header h3 {
    color: #212529;
    font-size: 1.5rem;
    font-weight: 600;
}

.timeline-description {
    color: #6c757d;
    line-height: 1.6;
}

.timeline-date {
    border-top: 1px solid #e9ecef;
    padding-top: 10px;
}

@media (max-width: 768px) {
    .timeline-line {
        left: 20px;
    }

    .timeline-item {
        flex-direction: row !important;
    }

    .timeline-item:nth-child(even) {
        flex-direction: row !important;
    }

    .timeline-marker {
        left: 20px;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
        margin-right: 0 !important;
    }
}

/* Articles Tree Styles */
.articles-tree {
    max-height: 600px;
    overflow-y: auto;
    padding: 10px;
}

.articles-tree-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.article-item {
    margin: 2px 0;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.article-item:hover {
    background-color: #f8f9fa;
}

.article-item.active {
    background-color: #e7f1ff;
}

.article-node {
    transition: all 0.2s;
}

.article-node:hover {
    background-color: #f0f0f0 !important;
}

.article-item.active > a.article-node {
    background-color: #0d6efd !important;
    color: white !important;
}

/* Ensure children of active items are not styled */
.article-item.active .article-item {
    background-color: transparent;
}

.article-item.active .article-item > a.article-node {
    background-color: transparent !important;
    color: inherit !important;
}

.article-children {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.article-content {
    padding: 20px;
}

.article-body {
    line-height: 1.6;
}

.article-body img {
    max-width: 100%;
    height: auto;
}

.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.article-body p {
    margin-bottom: 1em;
}

.article-body ul,
.article-body ol {
    margin-bottom: 1em;
    padding-left: 2em;
}

.article-body code {
    background-color: #f4f4f4;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
}

.article-body pre {
    background-color: #f4f4f4;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 1em;
}

.article-body blockquote {
    border-left: 4px solid #0d6efd;
    padding-left: 15px;
    margin: 1em 0;
    color: #666;
}

.article-content img {
    filter: drop-shadow(0px 1px 6px #ddd);
    border:1px solid #999;
}

.round-player-container {
    border-radius: 20px;
    border: 4px solid #fff;
    overflow: hidden;
    box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.2);
}