:root {
    --yellow_color: #ffeb3a;
}

body {
    margin: 0;
    padding: 0;
    font-family: Roboto, sans-serif;
}

.send-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.sidebar {
    z-index: 9999;
    display: flex;
    height: 100vh;
    background-color: #212121;
    width: 275px;
    color: white;
    justify-content: space-between;
    flex-direction: column;
}

.sidebar.hide {
    opacity: 1;
    transform: translateY(0);
    display: none;
}

.sidebar.collapsed {
    width: auto;
}

.sidebar-header {
    display: flex;
    gap: 15px;
    padding: 9px 16px;
    cursor: pointer;
}

.active {
    background-color: #565656;
}

.login-btn-nav {
    background-color: var(--yellow_color);
    color: black;
    border-radius: 2px;
    padding: 5px 10px;
    font-size: 15px;
    font-weight: 600;
    margin: 10px;
}

.login-btn-nav a {
    text-decoration: none;
    color: black;
}

.login-btn-nav a:visited {
    color: black;
}


.profile-image-nav {
    min-width: 50px;
    width: 30px;
    border-radius: 50%;
    display: inline-flex;
}

.profile-image-nav img {
    border-radius: inherit;
    height: 30px;
    width: 30px;
    border: 3px solid #606060;
}

.profile-image {
    height: 40px;
    min-width: 36px;
    width: 40px;
    align-items: center;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    text-align: center;
}

.profile-image img {
    border-radius: inherit;
    height: 35px;
    width: 35px;
    border: 2px solid #01ff00;
}

.profile-info {
    display: flex;
    flex-direction: column;
}

.profile-info p {
    margin: 0;
}

.hide {
    display: none;
}

.header {
    z-index: 999;
    position: absolute;
    background-color: #212121;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    gap: 20px;
    width: -webkit-fill-available;
    height: 48px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.header-left {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.header-title {
    font-size: 20px;
    color: #ef4236;
    /* padding: 6px 10px; */
    border-radius: 6px;
}

.header-title:hover {
    background: #ef423627;
}

.header-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-right select,
.header-right span {
    margin-right: 10px;
}

.header-right svg {
    color: var(--yellow_color);
}

.fa-bars {
    color: white;
    padding: 17px;
    font-size: 30px;
}

.minimize-left-sidebar {
    margin: 10px;
    padding: 10px;
    margin-bottom: 10px;
    border: 2px solid rgb(174, 174, 5);
    border-radius: 5px;
    text-align: center;
}

.category-container-section {
    background-color: #ffffff;
    color: white;
    padding-top: 47px;
    display: flex;
    justify-content: center;
}

.category-container-video {
    width: 65%;
    background-color: #212121;
    overflow-y: auto;
    height: 95vh;
}

.category {
    color: white;
    font-size: 13px;
}

.sub-category {
    color: rgb(185, 185, 185);
    font-size: 12px;
}

.heading {
    font-size: 34px;
    font-weight: 50;
}

.section_categories {
    gap: 30px;
    padding: 50px 20px;
    /* text-align: center; */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.section_category {
    background-position: center center;
    background-color: #565656;
    box-shadow: 5px 10px 8px #1b1b1b;
    border-radius: 5px;
}

.section_category .title,
.section_category .sub-title {
    margin: 0;
    padding: 10px;
}

.section_category .title {
    color: var(--yellow_color);
}

.section_category .thumb {
    object-fit: cover;
    border-radius: 5px 5px 0px 0px;
    width: 100%;
}



.section_categories2 {
    background-color: #303030;
    gap: 30px;
    padding: 50px;
    /* text-align: center; */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.section_category2 {
    background-position: center center;
    background-color: #565656;
    box-shadow: 5px 10px 8px #1b1b1b;
    border-radius: 5px;
}

.section_category2 .title,
.section_category2 .sub-title {
    margin: 0;
    padding: 10px;
}

.section_category2 .title {
    color: var(--yellow_color);
}

.section_category2 .thumb {
    object-fit: cover;
    border-radius: 5px 5px 0px 0px;
    width: 100%;
}



.sidebar-container a {
    text-decoration: none;
    color: white;
}


.sidebar-container .sidebar-header:hover {
    background-color: #373737;
}

.language-selector {
    border: none;
    /* padding: 8px 12px; */
    font-size: 16px;
    /* border: 2px solid #ddd; */
    border-radius: 6px;
    background-color: #212121;
    color: var(--yellow_color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-selector:hover {
    border-color: var(--yellow_color);
}

.language-selector:focus {
    outline: none;
    /* border-color: yellow;
    box-shadow: 0 0 5px rgba(255, 255, 0, 0.5); */
}

.profile_section {
    top: 39%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #424242;
    width: 50%;
    height: 250px;
    border-radius: 10px;
    padding: 20px;
    position: absolute;
}

.unsub-btn {
    cursor: pointer;
    padding: 10px 20px;
    border: 1px solid var(--yellow_color);
    color: var(--yellow_color);
    border-radius: 5px;
    position: absolute;
    right: 15px;
}


/* chat-box */

.hidden {
    display: none;
}

.chat-scroll {
    background-image: url("/images/back.jpg");
    height: 100%;
    overflow: auto;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

/* .chat-scroll::before {
    content: " ";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: #000000c9;
    z-index: 0;
} */

.chat-box {
    background-color: black;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0;
    width: 35%;
}

/* .chat_height-95 {
    height: 95vh;
}

.chat_height-30 {
    height: 100%;
} */

.chat_header {
    background-color: #212121;
    padding: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat_header span {
    font-size: 16px;
    /* font-weight: bold; */
}

.chat_header i {
    color: #666;
}

.main-content {
    flex-grow: 1;
}

.footer {
    background-color: #000;
    padding: 16px;
}

.input-container2 {
    display: flex;
    align-items: center;
    border: 1px solid white;
    padding: 8px;
}

.input-container2 input {
    background-color: black;
    color: #666;
    flex-grow: 1;
    border: none;
    outline: none;
}

.input-container2 span {
    color: white;
}

.footer-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
}

.footer-controls i {
    color: white;
    font-size: 1.5rem;
}

.send-button {
    background-color: #555;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    border: none;
    cursor: pointer;
}

.send-button span {
    margin-right: 8px;
}




/* live */

.live-indicator {
    border: 1px solid red;
    padding: 5px;
    margin: 10px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background-color: rgba(255, 0, 0, 0.1);
    /* Light red background */
    animation: blink 1s infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


/* index */

.full-container {
    display: flex;
}

.main-page-container {
    width: 100%;
    height: 100vh;
    overflow-y: auto;
}

.container {
    background-color: #303030;
    color: white;
}

.container-title {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding-top: 60px;
}

.container-video-section {
    display: flex;
    justify-content: center;
    padding: 0px 20px;
    /* height: 430px;
    overflow: hidden; */
}

.container-live-video {
    width: 60%;
}

.section_categories a {
    text-decoration: none;
    color: white;
}

/* category */

.category-container {
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    background-color: #303030
}

.category-liveVideo {
    width: 100%;
}

.category-name {
    text-decoration: none;
    padding: 17px;
    border-right: 5px solid var(--yellow_color);
    margin: 0;
}

.category-liveBtn-section {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.category-liveBtn-description {
    padding: 10px;
}

.category-liveBtn-description span {
    font-size: 15px;
    color: var(--yellow_color);
    border-bottom: 1px solid var(--yellow_color);
    width: fit-content;
    padding: 10px;
}



/* profile */

.profile-container {
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    background-color: #303030;
    position: relative;
}

.profile-sub-container {
    color: white;
}

.profile-heading-section {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding-top: 60px;
}

/* dropdown */

.dropdown-menu {
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    position: absolute;
    width: 253px;
    height: 177px;
    top: 53px;
    right: 22px;
    color: white;
    background-color: #212121;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.19);
}

.dropdown-menu.show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.dropdown-header {
    display: flex;
    align-items: center;
    background-color: #ffeb3a;
    color: black;
    border-radius: 6px 6px 0 0;
    padding: 10px;
}

.profile-image-nav2 img {
    background-color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.user-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 10px;
}

.dropdown-item {
    padding: 20px;
    cursor: pointer;
}

.dropdown-item i {
    color: white;
}

.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}



/* chat-message */

/* Chat message container */
.chat-message {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #0000006e;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    position: relative;
}

.chat-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Avatar styling */
.chat-avatar img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

/* Chat content */
.chat-content {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Header section */
.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Meta section containing time and username */
.chat-meta {
    display: flex;
    gap: 6px;
}

/* Timestamp */
.chat-time {
    color: #9e9e9e;
    font-size: 15px;
}

/* Username */
.chat-username {
    color: #9e9e9e;
    font-size: 15px;
    /* font-weight: bold; */
}

/* Tag aligned to the right */
.chat-tag {
    background-color: #424242;
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
    white-space: nowrap;
}

/* Message text */
.chat-text {
    font-size: 15px;
    margin-top: 4px;
}


/* 404 */

.heading-404 {
    padding: 0;
    color: white;
    font-size: 50px;
    text-align: center;
    margin-top: 30vh;
}

.sub-heading-404 {
    color: white;
    font-size: 20px;
    margin-bottom: 20px;
}

.container-buttons-resubscribe {
    font-size: 20px;
    background-color: var(--yellow_color);
    color: #212121;
    text-align: center;
    border-radius: 5px;
    padding: 9px;
    margin: 20px;
    cursor: pointer;
}

.container-buttons-logout {
    font-size: 20px;
    color: white;
    text-align: center;
    border-radius: 5px;
    padding: 9px;
    margin: 20px;
    cursor: pointer;
    border: 2px solid var(--yellow_color)
}


/* login */

.login_section_container {
    display: flex;
    flex-direction: column;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #212121;
    width: 405px;
    height: 421px;
    border-radius: 10px;
    position: absolute;
}

.login_heading_section {
    background-color: #ffeb3a;
    color: black;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    border-radius: 7px;
    padding: 15px;
    align-items: anchor-center;
}

.login_heading_section img {
    width: 40px;
}

.login_heading_section span {
    font-size: 22px;
    font-weight: 600;
}

.login_input_section {
    padding: 23px
}

/* .login_input {
    background-color: #212121;
    border-radius: 5px;
    margin: 8px;
} */

.login_input label {
    color: var(--yellow_color);
}

.login_input input {
    border: none;
    color: white;
    background-color: #ffffff;
}

.login_btn {
    font-size: 15px;
    background-color: #ffeb3a;
    color: #212121;
    text-align: center;
    border-radius: 5px;
    padding: 9px;
    margin: 20px;
    cursor: pointer;
}

.input-container {
    display: flex;
    align-items: center;
    position: relative;
}

.input-container input,
.input-container select {
    width: 100%;
    padding: 20px;
    font-size: 16px;
    background-color: #222;
    color: #ccc;
    border: 1px solid #fff;
    border-radius: 5px;
    outline: none;
    transition: all 0.3s ease-in-out;
    appearance: none;
}

.input-container label {
    position: absolute;
    top: 40%;
    left: 12px;
    transform: translateY(-60%);
    font-size: 16px;
    color: #aaa;
    transition: all 0.3s ease-in-out;
    pointer-events: none;
    background-color: #222;
    padding: 0 5px;
}

.input-container input:focus+label,
.input-container input:not(:placeholder-shown)+label,
.input-container select:focus+label,
.input-container select:not([value=""])+label {
    top: 5px;
    left: 10px;
    font-size: 12px;
    color: #fff;
}

.input-container select {
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23fff" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5H7z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px;
    padding-right: 30px;
}

.label_headings {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

#input_msisdn:-webkit-autofill {
    transition: background-color 5000s ease-in-out 0s;
    -webkit-text-fill-color: #ffffff;
}



/* break-points */

@media (max-width: 320px) {
    .login_section_container {
        width: 300px;
    }
}

@media (max-width: 375px) {
    .login_section_container {
        width: 330px;
    }
}

@media (max-width: 412px) {
    .login_section_container {
        width: 330px;
    }
}

#my-video .vjs-play-control {
    display: none !important;
}

/* Hide duration (current time and total time) */
#my-video .vjs-time-control {
    display: none !important;
}

/* Hide progress bar */
#my-video .vjs-progress-control {
    display: none !important;
}


.text-ellipse {
    width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-ellipse2 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}