/* General Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #666666;
    font-size: 14px;
    line-height: 1.8;
    /* overflow: hidden; /* Apply this specifically for demo page if needed via JS or a body class */
}

/* Header (for index.html) */
.header {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.full_bg {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-background { /* General style for all video backgrounds */
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 9/16 * 100vw for 16:9 aspect ratio */
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    z-index: -1;
    border: none;
}

/* Handle tall viewports (aspect ratio < 16:9) */
@media (max-aspect-ratio: 16/9) {
    .video-background {
        width: 177.78vh; /* 16/9 * 100vh */
        height: 100vh;
    }
}

/* Popinbot Styles (for index.html and demo.html tooltips) */
.popinbot {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%) translateX(100%) scale(0.8);
    width: 40%;
    min-width: 320px;
    /* max-height: 28.125vw;  Half of 56.25vw (height of video) */
    max-height: 50%;
    padding: 20px;
    border-radius: 15px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    overflow: hidden; /* Hide overflowing content */
}

/* Tooltip Variants */
.popinbot.warning {
    background: #ffe6e6;
    box-shadow: 0 15px 0 #8B0000;
}

.popinbot.positive {
    background: #e6ffe6;
    box-shadow: 0 15px 0 #2e7d32;
}

.popinbot.informative {
    background: #e6f0ff;
    box-shadow: 0 15px 0 #1565c0;
}

.popinbot-image {
    flex: 0 0 100px;
    margin-right: 15px;
}

.popinbot-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
}

.popinbot-right {
    flex: 1;
    display: flex;
    flex-direction: column; /* Stack content and buttons vertically */
}

.popinbot-content {
    flex: 0 0 auto;
}

.popinbot-content h3 {
    font-size: 16px;
    line-height: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    white-space: pre-wrap;
}

.popinbot-content h3 span {
    display: inline-block;
    animation: wave 1.5s infinite;
    animation-delay: calc(0.05s * var(--i));
}

.popinbot-content h3 span.space {
    width: 0.25em;
    animation: none;
    background: none;
    -webkit-text-fill-color: inherit;
}

/* Wave animation for letter size */
@keyframes wave {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
}

/* Gradient animation synchronized with wave */
.popinbot.warning .popinbot-content h3 span:not(.space) {
    background: linear-gradient(90deg, #8B0000, #c62828, #8B0000);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: wave 1.5s infinite, gradientShift 1.5s infinite;
    animation-delay: calc(0.05s * var(--i));
}

.popinbot.positive .popinbot-content h3 span:not(.space) {
    background: linear-gradient(90deg, #2e7d32, #4caf50, #2e7d32);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: wave 1.5s infinite, gradientShift 1.5s infinite;
    animation-delay: calc(0.05s * var(--i));
}

.popinbot.informative .popinbot-content h3 span:not(.space) {
    background: linear-gradient(90deg, #1565c0, #42a5f5, #1565c0);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: wave 1.5s infinite, gradientShift 1.5s infinite;
    animation-delay: calc(0.05s * var(--i));
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.popinbot-content p {
    font-size: 14px;
    margin-bottom: 15px;
}

/* Color-specific text styles for p */
.popinbot.warning .popinbot-content p {
    color: #8B0000;
}

.popinbot.positive .popinbot-content p {
    color: #2e7d32;
}

.popinbot.informative .popinbot-content p {
    color: #1565c0;
}

.popinbot-buttons {
    display: flex;
    gap: 10px;
    flex-direction: row; /* Buttons side by side */
    width: 100%; /* Full width of right side */
    justify-content: space-between; /* Space buttons evenly */
    margin-top: 10px; /* Space between content and buttons */
}

.btn-cancel, .btn-confirm {
    flex: 1;
    font-size: 14px;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease-in;
}

/* Button styles for each tooltip type */
.popinbot.warning .btn-cancel {
    background: #ffccbc;
    color: #8B0000;
}

.popinbot.warning .btn-cancel:hover {
    background: #ffab91;
    color: #8B0000;
}

.popinbot.warning .btn-confirm {
    background: #d32f2f;
    color: #fff;
}

.popinbot.warning .btn-confirm:hover {
    background: #b71c1c;
    color: #fff;
}

.popinbot.positive .btn-cancel {
    background: #c8e6c9;
    color: #2e7d32;
}

.popinbot.positive .btn-cancel:hover {
    background: #a5d6a7;
    color: #2e7d32;
}

.popinbot.positive .btn-confirm {
    background: #388e3c;
    color: #fff;
}

.popinbot.positive .btn-confirm:hover {
    background: #2e7d32;
    color: #fff;
}

.popinbot.informative .btn-cancel {
    background: #bbdefb;
    color: #1565c0;
}

.popinbot.informative .btn-cancel:hover {
    background: #90caf9;
    color: #1565c0;
}

.popinbot.informative .btn-confirm {
    background: #1976d2;
    color: #fff;
}

.popinbot.informative .btn-confirm:hover {
    background: #1565c0;
    color: #fff;
}

/* Animation Keyframes for Tooltip */
@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateY(-50%) translateX(100%) scale(0.8);
        visibility: hidden;
    }
    60% {
        opacity: 1;
        transform: translateY(-50%) translateX(0) scale(1.2);
        visibility: visible;
    }
    100% {
        opacity: 1;
        transform: translateY(-50%) translateX(0) scale(1);
        visibility: visible;
    }
}

@keyframes slideOut {
    0% {
        opacity: 1;
        transform: translateY(-50%) translateX(0) scale(1);
        visibility: visible;
    }
    100% {
        opacity: 0;
        transform: translateY(-50%) translateX(100%) scale(0.8);
        visibility: hidden;
    }
}

/* Animation Classes */
.popinbot.animate-in {
    animation: slideIn 0.6s ease-out forwards;
}

.popinbot.animate-out {
    animation: slideOut 0.6s ease-in forwards;
}

/* About Section (for index.html) */
.about {
    background: #fff;
    padding: 80px 50px;
    margin: 0 70px;
    margin-top: -130px;
    border-radius: 60px;
    box-shadow: 3px 0 62px rgba(13, 3, 3, 0.18);
    position: relative;
}

.container { /* General container for index.html, demo.html uses container-fluid */
    max-width: 1380px;
}

.titlepage h2 {
    font-size: 45px;
    color: #353d47;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 18px;
}

.titlepage h2::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 93px;
    height: 11px;
    background: #ed1c24;
    border-radius: 20px;
}

.titlepage p {
    font-size: 17px;
    line-height: 30px;
    color: #111111;
    padding: 35px 0 50px 0;
}

.read_more {
    display: inline-block;
    font-size: 17px;
    background-color: #05254d;
    color: #fff;
    max-width: 275px;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    height: 75px;
    line-height: 75px;
    transition: all 0.5s ease-in;
    text-decoration: none;
}

.read_more:hover {
    background: #ed1c24;
    color: #fff;
}

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

/* Platforms Section (for index.html) */
.platforms {
    background: #f8f8f8;
    padding: 50px 20px;
    text-align: center;
}

.platforms-title {
    font-size: 30px;
    color: #353d47;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.platforms-logos {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.platform-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.platform-logo:hover {
    filter: grayscale(0%);
}

/* Updates Section (for index.html) */
.updates {
    background: url('../images/update.png') no-repeat center center fixed;
    background-size: cover;
    padding: 50px 20px;
    text-align: center;
    position: relative;
}

.updates::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 1;
}

.updates .container {
    position: relative;
    z-index: 2;
}

.updates-title {
    font-size: 30px;
    color: #353d47;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.updates-text {
    font-size: 16px;
    color: #111111;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.updates-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.updates-form .form-control {
    font-size: 14px;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #666;
    background: rgba(255, 255, 255, 0.9);
    flex: 1;
}

.updates-form .btn-updates {
    font-size: 14px;
    padding: 12px 20px;
    background-color: #05254d;
    color: #fff;
    border: none;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    transition: all 0.3s ease-in;
}

.updates-form .btn-updates:hover {
    background-color: #ed1c24;
}

/* Footer (for index.html) */
.footer {
    background: #111111;
    padding-top: 80px;
    padding-bottom: 20px;
    color: #fff;
    font-size: 17px;
}

.footer-section h3 {
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
    padding-bottom: 20px;
}

.footer-section p {
    color: #fff;
    margin-bottom: 15px;
}

.menu_footer li a {
    color: #979793;
    font-size: 17px;
    line-height: 18px;
    padding-bottom: 10px;
    display: block;
    text-decoration: none;
}

.menu_footer li a:hover {
    color: #e92f0b;
}

.top_infomation li {
    display: block;
    color: #fff;
    margin-bottom: 10px;
}

.top_infomation li i {
    margin-right: 5px;
    color: #fff;
    transition: all 0.5s ease-in;
}

.top_infomation li a {
    color: #fff;
    text-decoration: none;
}

.top_infomation li a:hover {
    color: #e92f0b;
}

.copyright {
    margin-top: 60px;
    border-top: 1px solid #d1d1d1;
    padding-top: 20px;
    text-align: center;
}

.copyright p {
    color: #d1d1d1;
    font-size: 17px;
}

.copyright a {
    color: #d1d1d1;
    text-decoration: none;
}

.copyright a:hover {
    color: #ed1c24;
}

/* Demo Section (for demo.html) */
.demo { /* This is the main section wrapper for demo.html */
    background: #fff;
    display: flex; /* It is a flex container */
    flex-direction: column; /* Its children stack vertically */
    height: 100vh; /* It takes the full viewport height */
    overflow: hidden; /* Prevents its own content from causing page scroll on large screens */
}

/* The .container-fluid inside .demo is handled by Bootstrap and inline styles in HTML */
/* (.h-100, .d-flex, .flex-column) */

.demo-title {
    font-size: 45px;
    color: #353d47;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 20px;
    position: relative;
    flex-shrink: 0; /* Prevent title from shrinking */
}

.demo-title::before {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 93px;
    height: 11px;
    background: #ed1c24;
    border-radius: 20px;
}

/* .demo-content is the Bootstrap .row */
/* It gets flex-grow: 1 and min-height: 0 via inline style in demo.html */
/* Bootstrap's .row is already display: flex; flex-wrap: wrap; */
.demo-content {
    padding: 0 20px 20px 20px; /* Padding for the content area below title */
}


/* Video Column in Demo - this is the .col-lg-9 */
.demo-video {
    /* Bootstrap col-lg-9 / col-md-12 define width */
    display: flex; /* Make it a flex container for its children */
    flex-direction: column; /* Children stack vertically */
    padding-right: 7.5px; /* Half of Bootstrap's default gutter if using .row > .col */
                           /* Or remove if Bootstrap's default spacing is fine */
    position: relative; /* For .video-fallback positioning */
}

/* Chat Column in Demo - this is the .col-lg-3 */
.demo-chat {
    /* Bootstrap col-lg-3 / col-md-12 define width */
    display: flex; /* Make it a flex container for its children */
    flex-direction: column; /* Children stack vertically */
    padding-left: 7.5px; /* Half of Bootstrap's default gutter */
}

.video-wrapper {
    position: relative; /* For iframe positioning if JS uses absolute */
    width: 100%; /* Takes full width of its parent column (.demo-video) */
    flex-grow: 1; /* Crucial: Takes available vertical space in .demo-video column */
    background-color: #000; /* For letterboxing effect */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Clip the iframe if it's too large before JS resizes */
}

/* Specific iframe style for demo page video, JS will adjust width/height */
.demo .video-wrapper .video-background {
    position: relative; /* JS might change this, but flex parent will center */
    transform: none; /* Override general .video-background transform */
    z-index: 1;      /* Ensure video is above demo page background */
    display: block; /* Removes extra space below iframe */
    /* max-width & max-height set by JS or can be 100% here and let JS override */
}

.video-fallback { /* Positioned relative to .demo-video */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%; /* Constrain width a bit */
    z-index: 2; /* Above video wrapper if video fails */
}

.chat-area {
    width: 100%; /* Takes full width of its parent column (.demo-chat) */
    display: flex;
    flex-direction: column;
    gap: 15px; /* Space between chat elements */
    flex-grow: 1; /* Crucial: Takes available vertical space in .demo-chat column */
    min-height: 0; /* Allow chat messages to shrink and scroll if needed */
}

.chat-messages {
    background: #f8f8f8;
    border-radius: 10px;
    padding: 15px;
    overflow-y: auto; /* Enable scrolling for messages */
    border: 1px solid #ccc;
    scroll-behavior: smooth;
    flex-grow: 1; /* Crucial: messages area takes available vertical space */
    height: 1px;
    min-height: 50px; /* Minimum height before it starts shrinking further */
}

.chat-messages p {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

.chat-messages p .username {
    font-weight: bold;
    margin-right: 5px;
}

.chat-form {
    display: flex;
    flex-shrink: 0; /* Prevent from shrinking */
}

.chat-form .chat-input {
    font-size: 14px;
    padding: 10px;
    border-radius: 5px 0 0 5px;
    border: 1px solid #666;
    background: #fff;
    flex: 1;
}

.chat-form .btn-chat-send {
    font-size: 14px;
    padding: 10px 15px;
    background-color: #05254d;
    color: #fff;
    border: none;
    border-radius: 0 5px 5px 0;
    text-transform: uppercase;
    font-weight: bold;
    transition: all 0.3s ease-in;
}

.chat-form .btn-chat-send:hover {
    background-color: #ed1c24;
}

.chat-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0; /* Prevent from shrinking */
}

.btn-chat {
    flex: 1;
    font-size: 14px;
    padding: 10px;
    border: none;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    transition: all 0.3s ease-in;
}

.btn-positive {
    background: #388e3c;
    color: #fff;
}

.btn-positive:hover {
    background: #2e7d32;
}

.btn-negative {
    background: #d32f2f;
    color: #fff;
}

.btn-negative:hover {
    background: #b71c1c;
}

.btn-question {
    background: #1976d2;
    color: #fff;
}

.btn-question:hover {
    background: #1565c0;
}

.debug-area {
    background: #1e1e1e;
    border-radius: 10px;
    padding: 15px;
    border: 1px solid #444;
    flex-shrink: 0; /* Prevent from shrinking */
}

.debug-title {
    font-size: 16px;
    color: #ed1c24;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.debug-messages {
    background: #2d2d2d;
    border-radius: 5px;
    padding: 10px;
    height: 100px;
    overflow-y: auto;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #d4d4d4;
    scroll-behavior: smooth;
}

.debug-messages p {
    margin: 0 0 5px 0;
    line-height: 1.4;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) { /* Screens smaller than Bootstrap's 'lg' breakpoint */
    .demo {
         /* Allow .demo to scroll if content overflows 100vh */
        /* height: auto; Do not set to auto here, let the inner content scroll if needed */
        /* min-height: 100vh; /* Ensures it tries to fill viewport at least */
    }
    .demo .container-fluid {
        /* On smaller screens, the container might need to allow scrolling */
        /* overflow-y: auto; /* If children cause overflow */
        /* height: auto; /* If stacking makes it taller than 100vh */
    }
    .demo-content {
        /* Bootstrap's .row will stack .col-md-12 children automatically */
        /* If stacking makes .demo-content taller than its allocated space, allow it to scroll */
        overflow-y: auto;
        padding-left: 10px; /* Adjust overall padding for stacked layout */
        padding-right: 10px;
    }

    .demo-video {
        height: 56.25vw; /* Aspect ratio height for video when stacked */
        /* Or a fixed viewport height like: height: 40vh; */
        min-height: 200px; /* Minimum sensible height */
        margin-bottom: 15px; /* Space below video when stacked */
        padding-right: 0; /* No side padding when full width */
    }

    .demo-chat {
        padding-left: 0; /* No side padding when full width */
        /* max-height: 60vh; /* Optional: constrain chat area height if it becomes too tall */
        /* flex-grow: 1; /* Ensure it can take space if .demo-content becomes scrollable */
    }
}

@media (max-width: 767.98px) { /* Screens smaller than Bootstrap's 'md' breakpoint (phones) */
    body {
        overflow-y: auto; /* Allow body to scroll as content will likely exceed viewport height */
    }
    .demo {
        height: auto; /* Allow demo section to grow naturally */
        min-height: 100vh; /* But still try to fill if content is short */
        overflow: visible; /* Let content determine height */
    }
    .demo .container-fluid {
        height: auto; /* Allow container to grow */
    }
    .demo-content {
       /* overflow-y: visible; /* No need for internal scroll if body scrolls */
    }

    .demo-title {
        font-size: 30px;
        margin-bottom: 20px; /* Adjusted margin */
        padding-top: 15px;
    }
    .demo-title::before {
        bottom: -8px;
    }

    .chat-messages {
        height: 150px; /* Fixed height for chat messages on small screens */
        flex-grow: 0;  /* Don't let it grow if height is fixed */
    }

    .debug-messages {
        height: 80px; /* Smaller debug area on mobile */
    }

    .chat-form {
        flex-direction: column; /* Stack input and button */
    }

    .chat-form .chat-input {
        border-radius: 5px;
        margin-bottom: 10px;
    }

    .chat-form .btn-chat-send {
        border-radius: 5px;
        padding: 10px;
    }

    .chat-buttons {
        flex-direction: column; /* Stack chat action buttons */
        gap: 10px;
    }

    .btn-chat {
        width: 100%;
    }

    /* Popinbot adjustments for mobile */
    .popinbot {
        width: 90%;
        min-width: 0;
        max-width: 300px; /* Ensure it's not too wide on small screens */
        right: 10px;
        /* Image on top, content below for very small screens or keep as row */
        /* flex-direction: column; align-items: center; */
    }
    .popinbot-image {
        /* margin-right: 0; margin-bottom: 10px; /* If stacking image above content */
    }
    .popinbot-buttons {
        /* flex-direction: column; /* Stack buttons if needed */
    }
}

/* Hamburger Menu Styles (for demo.html) */
.hamburger-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.menu-toggle {
    display: none;
}

.hamburger-icon {
    font-size: 24px;
    color: #353d47;
    cursor: pointer;
    padding: 10px;
    transition: color 0.3s ease;
}

.hamburger-icon:hover {
    color: #ed1c24;
}

.menu {
    position: absolute;
    top: 50px;
    right: 0;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.menu ul {
    list-style: none;
    padding: 10px 20px;
    display: flex; /* Use flexbox for horizontal layout */
    flex-direction: column; /* Stack items vertically */
}

.menu ul li {
    padding: 5px 0;
    white-space: nowrap; /* Prevent text wrapping */
}

.menu ul li a {
    text-decoration: none;
    color: #05254d; /* Stronger color */
    display: block;
    padding: 10px 15px; /* Increased padding for button-like appearance */
    font-size: 18px; /* Bigger text */
    font-weight: bold; /* Bold text */
    transition: color 0.3s ease, background-color 0.3s ease; /* Smooth transitions */
    border-radius: 5px; /* Add some rounding */
}

.menu ul li a:hover {
    color: #fff;
    background-color: #ed1c24; /* Highlight on hover */
}

/* Show menu when checkbox is checked */
.menu-toggle:checked + .hamburger-icon + .menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Adjust demo content to avoid overlap */
.demo-content {
    padding-top: 60px; /* Make space for the hamburger menu */
}

/* Dashboard Section Styles (for dashboard.html) */
.dashboard {
    background: #fff;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.dashboard-title {
    font-size: 45px;
    color: #353d47;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 20px;
    position: relative;
    flex-shrink: 0;
}

.dashboard-title::before {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 93px;
    height: 11px;
    background: #ed1c24;
    border-radius: 20px;
}

.dashboard-content {
    display: flex;
    flex-grow: 1;
    overflow: auto;
    padding: 20px;
}

.video-chart-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 50%; /* Or adjust as needed */
    margin: 0 auto; /* Center horizontally */
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#myChart {
    width: 80%; /* Match video width */
    height: auto; /* Let it determine height */
    margin: 20px auto 0; /* Center, space below video */
    max-height: 300px; /* Or a suitable max height */
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .dashboard-title {
        font-size: 30px;
    }

    .video-wrapper {
        width: 100%; /* Full width on mobile */
    }

    #myChart {
        width: 100%; /* Full width on mobile */
    }
}