/************************* GLOBALS *******************/

.appear-mobile {
    display: none;
}

:root {
    --color-primary: #0D0D0D;
    /* deep black */
    --color-accent: #8F00FF;
    /* mysterious purple */
    --color-chat-bg: #1A1A1A;
    /* dark grey/black for background */
    --color-bubble: #262626;
    /* slightly lighter for bubbles */
    --color-highlight: #00FFD1;
    /* neon cyan for contrast */
    --color-border-primary: #333333;
    /* subtle border */
    /* Optional extras */
    --color-text-title: #ffffff;
    /* light grey for general text */
    --color-text: #E0E0E0;
    /* light grey for general text */
    --color-muted: #888888;
    /* muted for placeholders */
    --color-hover: #1F1F1F;
    --hover-background: rgba(255, 255, 255, 0.083);
    /* hover bg color */

    --navbar-height: 50px;
}


* {
    user-select: none;
}

::selection {
    background: var(--color-highlight);
    /* or any color like #00FFD1 */
    color: #000;
    /* text color while selected */
}

/* Let's get this party started */
::-webkit-scrollbar {
    background: var(--color-primary);
    width: 6px;
}

/* Track */
::-webkit-scrollbar-track {
    -webkit-box-shadow: unset;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: var(--color-highlight);
    -webkit-box-shadow: unset;
}

    ::-webkit-scrollbar-thumb:window-inactive {
        background: var(--color-highlight);
    }

/************************* END GLOBALS *******************/

/************************* LAYOUT *******************/

.layout {
    display: flex;
    height: calc(100% - var(--navbar-height) - 1px);
}

.sidebar {
    height: 100%;
    background: var(--color-primary);
    border-right: var(--color-border-primary) 1px solid;
    min-width: 220px;
    max-width: 220px;
    transition: all 250ms;
}

body {
    margin: 0;
    background: var(--color-chat-bg);
    height: 100vh;
}

main {
    height: 100%;
    overflow: auto;
    width: 100%;
    word-break: break-word;
}

    main .page-content {
        max-width: 640px;
        width: 100%;
    }

        main .page-content.center {
            max-width: 640px;
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
        }

    main .page-content-wrapper {
        padding: 60px 20px 60px 20px;
        display: flex;
        justify-content: space-between;
    }

a {
    all: unset;
    color: var(--color-text);
    cursor: pointer;
    transition: all 250ms;
}

    a:hover {
        color: var(--color-text-title);
    }

aside {
    display: flex;
    flex-direction: column;
}

    aside nav a {
        padding: 10px 20px 10px 20px;
        text-align: left;
        display: flex;
        flex-direction: column;
        transition: all 250ms;
    }

        aside nav a:hover {
            background: var(--hover-background);
        }

.sidebar nav a.active {
    font-weight: bold;
    color: var(--color-highlight);
}

.submenu {
    display: none;
    margin-left: 1rem;
    border-left: 2px solid gray;
}

    .submenu.active {
        display: block;
    }

        .submenu.toggled {
            display: block;
            animation: submenu-animation 250ms forwards ease-in-out;
        }

    .submenu.active.toggled {
        animation: unset;
    }

.filler {
    flex: 1;
}

.premium-nav {
    background: var(--color-highlight);
    color: var(--color-text-title);
    color: black;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
    transition: all 250ms;
    letter-spacing: 3px;
}

    .premium-nav:hover {
        background: var(--color-accent);
        color: var(--color-text-title);
    }

.center-text {
    text-align: center;
}

.center-text-column {
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align: center;
    gap: 10px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    background: var(--color-primary);
    border-bottom: 1px solid var(--color-border-primary);
    height: var(--navbar-height);
    padding: 0 20px 0 20px;
    align-items: center;
    position: relative;
}

.mobile-navigation-toggle {
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
}

    .mobile-navigation-toggle:hover {
        background: var(--hover-background);
    }

.page-overlay {
    height: 100vh;
    width: calc(100vw - 80px);
    top: 0;
    left: 0;
    backdrop-filter: blur(3px) brightness(0.3);
    position: fixed;
    z-index: 90000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
}

.error-overlay {
    background: rgba(172, 2, 2, 0.23);
}

.content-overlay {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.alignment-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.navigation-name-display {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.small-img {
    max-width: 100%;
    width: 25px;
    height: 25px;
}

.big-img {
    max-width: 100%;
    width: 150px;
    height: 150px;
}

.big-logo {
    max-width: 100%;
    width: 150px;
    height: 150px;
    border-radius: 500px;
    overflow: hidden;
}

.incognito-menu {
    position: absolute;
    z-index: -1;
    opacity: 0;
    background: var(--color-primary);
    border-left: var(--color-border-primary) 1px solid;
    border-bottom: var(--color-border-primary) 1px solid;
    min-width: 220px;
    max-width: 220px;
    transition: all 250ms;
    transform: scale(0);
    top: var(--navbar-height);
    right: 0px;
    display: flex;
    flex-direction: column;
}

    .incognito-menu div a {
        padding: 10px 20px 10px 20px;
        text-align: left;
        display: flex;
        gap: 10px;
        transition: all 250ms;
    }

        .incognito-menu div a:hover {
            background: var(--hover-background);
        }

    .incognito-menu.open {
        z-index: 1001;
        opacity: 1;
        transform: scale(1);
    }

.incognito-menu-toggle {
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5); /* semi-transparent dark */
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: not-allowed;
    flex-direction: column;
    gap: 30px;
}

.display-flex-row-center-formated {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.display-flex-row-apart-formated {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/************************* END LAYOUT *******************/
/************************* TEXTS *******************/
body {
    font-family: "Special Gothic", sans-serif;
    font-weight: 300;
    font-size: clamp(1rem, 1.2vw + 0.5rem, 1.2rem);
    line-height: 1.7;
    letter-spacing: 0.01em;
    color: var(--color-text);
    /* Slight spacing improves legibility */
}

h1,
h2,
h3,
h4,
p,
ul,
.metric-text {
    padding-bottom: 30px;
}

h1{
    color: var(--color-text-title);
    font-weight: 600;
    font-size: clamp(2rem, 4vw + 1rem, 3rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    /* Slightly tighter for big headers */
    margin: 1.5rem 0 1rem;
}

h2 {
    color: var(--color-text-title);
    font-weight: 600;
    font-size: clamp(1.5rem, 3vw + 0.8rem, 2.2rem);
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin: 1.25rem 0 1rem;
}

.h2 {
    color: unset !important;
    font-weight: 600 !important;
    font-size: clamp(1.5rem, 3vw + 0.8rem, 2.2rem) !important;
    line-height: 1.3 !important;
    letter-spacing: -0.01em !important;
    margin: 1.25rem 0 1rem !important;
}

h3 {
    font-weight: 600;
    font-size: clamp(1.2rem, 2vw + 0.6rem, 1.6rem);
    line-height: 1.4;
    letter-spacing: -0.005em;
    margin: 1rem 0 0.75rem;
}

.h3 {
    font-weight: 600 !important;
    font-size: clamp(1.2rem, 2vw + 0.6rem, 1.6rem) !important;
    line-height: 1.4 !important;
    letter-spacing: -0.005em !important;
    margin: 1rem 0 0.75rem !important;
    color: unset !important;
}

h4 {
    font-weight: 600;
    font-size: clamp(1rem, 1.5vw + 0.4rem, 1.3rem);
    line-height: 1.4;
    letter-spacing: 0;
    margin: 0.75rem 0 0.5rem;
}

.h4 {
    font-weight: 600 !important;
    font-size: clamp(1rem, 1.5vw + 0.4rem, 1.3rem) !important;
    line-height: 1.4 !important;
    letter-spacing: 0 !important;
    margin: 0.75rem 0 0.5rem !important;
    color: unset !important;
}

.metric-text {
    font-size: clamp(3rem, 4vw + 1rem, 4rem);
    color: var(--color-text-title);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 1.5rem 0 1rem;
}

    .metric-text.small {
        font-size: 0.700rem;
        line-height: 1.4;
        letter-spacing: 0.015em;
    }

p {
    font-size: clamp(0.95rem, 1vw + 0.3rem, 1.1rem);
    line-height: 1.7;
    letter-spacing: 0.01em;
    margin-bottom: 1rem;
}

small {
    font-size: 0.875rem;
    line-height: 1.4;
    letter-spacing: 0.015em;
}

tiny {
    font-size: 0.675rem;
    line-height: 1.2;
    letter-spacing: 0.010em;
}

supertiny {
    font-size: 0.5rem;
    line-height: 1.2;
    letter-spacing: 0.010em;
}

ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: clamp(0.95rem, 1vw + 0.3rem, 1.1rem);
    line-height: 1.7;
    max-width: 60ch;
    list-style-type: disc;
}

li {
    margin-bottom: 0.75rem;
    /* vertical spacing between items */
    line-height: 1.6;
    letter-spacing: 0.2px;
}

.highlight {
    color: var(--color-highlight);
}

.highlight-2 {
    color: var(--color-text-title);
    font-weight: 500;
    font-style: italic;
}

.accent {
    color: var(--color-accent);
}

.loading-overlay-title {
    text-align: center;
    color: var(--color-text-title);
    font-weight: 600;
    font-size: clamp(1.5rem, 3vw + 0.8rem, 2.2rem);
    line-height: 1.3;
}

.three-dots {
    position: relative;
    height: 80px;
    margin: -40px 0 10px 0;
}

    .three-dots:before {
        content: "";
        color: var(--color-text-title);
        font-weight: 600;
        font-size: clamp(3rem, 3vw + 0.8rem, 5rem);
        top: 0;
        animation: three-dots-animation infinite 2s;
    }

.title-color-text {
    color: var(--color-text-title)
}

@keyframes three-dots-animation {
    0% {
        content: ""
    }

    25% {
        content: "."
    }

    50% {
        content: ".."
    }

    75% {
        content: "..."
    }
}

.loading-overlay-description {
    font-size: 0.875rem;
    line-height: 1.4;
    letter-spacing: 0.015em;
}



.no-spaces {
    margin: 0 !important;
    padding: 0 !important;
}

/************************* END TEXTS *******************/

/************************* BUTTONS *******************/

.primary-button {
    display: inline-block;
    padding: 25px;
    text-transform: uppercase;
    background: var(--color-accent);
    border-radius: 50px;
    color: var(--color-text-title);
    font-weight: 600;
    font-size: clamp(1rem, 3vw + 0.1rem, 1.5rem);
    cursor: pointer;
    transition: all 250ms;
    letter-spacing: 3px;
}

    .primary-button.small {
        padding: 25px;
        font-size: clamp(0.8rem, 1vw + 0.1rem, 1.1rem);
    }

    .primary-button.tiny {
        padding: 5px 10px 5px 10px;
        font-size: clamp(0.6rem, 1vw + 0.1rem, 0.9rem);
    }

    .primary-button:hover {
        background: var(--color-highlight);
        color: var(--color-hover);
    }

.secondary-button {
    display: inline-block;
    outline: none;
    cursor: pointer;
    font-weight: 600;
    border-radius: 3px;
    padding: 12px 24px;
    border: 0;
    color: #3a4149;
    background: #e7ebee;
    line-height: 1.15;
    font-size: 16px;
}

    .secondary-button:hover {
        transition: all .1s ease;
        box-shadow: 0 0 0 0 #fff, 0 0 0 3px #1de9b6;
    }

/************************* END BUTTONS *******************/

.page-top {
    background: var(--color-primary);
    border-bottom: var(--color-border-primary) solid 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

    .page-top.screen-height {
        min-height: calc(100vh - var(--navbar-height) - 1px);
    }

    .page-top .content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        max-width: 640px;
        width: 100%;
    }

    .page-top .center {
        align-items: center;
        text-align: center;
    }

    .page-top h1 {
        font-size: clamp(3rem, 4vw + 1rem, 4rem);
    }

    .page-top .full-width {
        max-width: unset;
    }

    .page-top.center {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .page-top .gap{
        gap: 20px;
    }

.select-theme-container {
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap to the next line */
    justify-content: center; /* Center the items horizontally */
    gap: 10px; /* Add space between the items */
    margin: 10px 0 10px 0;
}

    .select-theme-container.column{
        flex-direction: column;
        align-items: flex-start;
    }

    .select-theme {
        all: unset;
        display: inline-block;
        border-radius: 50px;
        padding: 1px 5px 1px 5px;
        cursor: pointer;
        transition: all 250ms;
        filter: brightness(1);
        background: transparent;
        mix-blend-mode: difference;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        font-size: 0.875rem;
        line-height: 1.4;
        letter-spacing: 0.015em;
    }

    .select-theme:hover {
        background: var(--color-accent) !important;
        border-color: white !important;
        color: white !important;
    }

.chat-button {
    all: unset;
    display: inline-block;
    border-radius: 50px;
    padding: 1px 5px 1px 5px;
    cursor: pointer;
    transition: all 250ms;
    filter: brightness(1);
    background: transparent;
    mix-blend-mode: difference;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.875rem;
    line-height: 1.4;
    letter-spacing: 0.015em;
    color: var(--text-color);
    border: 1px solid gray;
    word-break: keep-all;
}

    .chat-button.selected {
        background: var(--color-accent) !important;
        border-color: white !important;
        color: white !important;
    }

    .chat-button:hover {
        background: var(--color-accent) !important;
        border-color: white !important;
        color: white !important;
    }

    .chat-button:disabled {
        color: #4f4f4f;
        border: 1px solid #4f4f4f;
        cursor: not-allowed;
    }

        .chat-button:disabled:hover {
            background: transparent !important;
            color: #4f4f4f !important;
            border: 1px solid #4f4f4f !important;
            cursor: not-allowed;
        }


.option-button {
    all: unset;
    display: inline-block;
    border-radius: 50px;
    padding: 1px 5px 1px 5px;
    cursor: pointer;
    transition: all 250ms;
    filter: brightness(1);
    background: transparent;
    mix-blend-mode: difference;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.875rem;
    line-height: 1.4;
    letter-spacing: 0.015em;
    color: var(--color-highlight);
    border: 1px solid var(--color-highlight);
    word-break: keep-all;
}

    .option-button.selected {
        background: var(--color-accent) !important;
        border-color: white !important;
        color: white !important;
    }

    .option-button:hover {
        background: var(--color-accent) !important;
        border-color: white !important;
        color: white !important;
    }

    .option-button:disabled {
        color: #4f4f4f;
        border: 1px solid #4f4f4f;
        cursor: not-allowed;
    }

        .option-button:disabled:hover {
            background: transparent !important;
            color: #4f4f4f !important;
            border: 1px solid #4f4f4f !important;
            cursor: not-allowed;
        }

.flag {
    max-width: 100%;
    width: 15px;
    height: 15px;
    border-radius: 200px;
    object-fit: cover;
    overflow: hidden;
}

    .flag.carousel {
        margin-right: 5px;
        width: 10px;
        height: 10px;
    }

.carousel-region-name{
    display:flex;
    align-items:center;
    justify-content: center;
}

.carousel-display-flex{
    display: flex;
    gap: 5px;
}

.chat-info-content-wrapper {
    padding: 20px 20px 20px 20px;
}

.chat-info-content h3 {
    padding: unset;
    margin: unset;
}

.chat-info-content {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    max-width: 640px;
    margin: auto;
}

.region-display-with-switch {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.messages-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: var(--color-primary);
    border-radius: 25px;
    padding: 20px;
}

.messages-container {
    min-height: calc(100vh - 225px - var(--navbar-height));
    max-height: calc(100vh - 225px - var(--navbar-height));
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.message-controls {
    min-height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 10;
}

.message-controls-required-incognito {
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    position: absolute;
    left: -20px;
    border-radius: 20px;
    z-index: 100;
    top: -20px;
    gap: 10px;
}

.transparent-input {
    all: unset;
    width: calc(100% - 10px);
    font-size: 0.875rem;
    line-height: 2;
    letter-spacing: 0.015em;
}

.primary-input {
    all: unset;
    width: 100%;
    font-size: 0.875rem;
    line-height: 2;
    letter-spacing: 0.015em;
    background: var(--color-primary);
    padding: 10px;
    border: 1px solid var(--color-border-primary)
}

.emoji-title{
    text-align: center;
}

.emoji {
    background: transparent;
    transition: all 250ms;
    border: none;
}

    .emoji:hover {
        background: var(--hover-background);
        color: var(--color-text-title);
    }

    .emoji-picker {
        display: none;
        position: absolute;
        background: var(--color-primary);
        border: 1px solid gray;
        padding: 10px;
        border-radius: 8px;
        bottom: 30px;
        z-index: 100;
    }

    .emoji-picker .emoji-picker-container {
        max-height: calc(100vh - 220px);
        overflow-y: auto;
    }

#usersPicker .users-picker-container {
    max-height: calc(100vh - 220px);
    overflow-y: auto;
}

.message-controls-options {
    position: relative;
    display: flex;
    justify-content: space-between;
}

.avatar {
    max-width: 25px;
    min-width: 25px;
    width: 25px;
    height: 25px;
    border-radius: 200px;
    object-fit: cover;
    overflow: hidden;
    border: 1px solid gray;
}

.spacer {
    flex-grow: 1; /* pushes the .inner to bottom */
}

.message-content {
    padding: 10px 0;
    display: flex;
    gap: 15px;
    width: 100%;
}

.fade-in {
    animation: fade-in-animation 250ms ease-out;
}

.refresh-counter-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.split-screen {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 30px 0 30px 0;
}

.split-screen-element {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 500px;
    width: 100%;
    margin: auto;
    height: 100%;
}

.split-screen-element-input-container {
    display: flex;
    flex-direction: column;
    padding: 10px;
    background: var(--color-primary);
}

.green-dot {
    background: green;
    width: 10px;
    height: 10px;
    border-radius: 50%
}

.users-picker {
    display: none;
    position: absolute;
    background: var(--color-primary);
    border: 1px solid gray;
    padding: 20px;
    border-radius: 8px;
    top: 30px;
    width: 100%;
    z-index: 100;
    max-height: 80vh;
    overflow-y: auto;
}

    .users-picker ul {
        list-style: none;
        padding-left: 0;
        margin: 0;
        padding: 0;
    }

        .users-picker ul li {
            position: relative;
            padding-left: 1.2em;
            margin-bottom: 0.4em;
        }

            .users-picker ul li::before {
                content: "";
                position: absolute;
                left: 0;
                top: 0.5em;
                width: 0.6em;
                height: 0.6em;
                background-color: green;
                border-radius: 50%;
            }

.chat-message-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-right: 20px;
    flex-wrap: wrap;
}

.chat-message-text {
    display: block;
    width: calc(100% - 10px);
}

.metrics-display-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 60px;
}

    .metrics-display-grid .basic-metric {
        display: flex;
        flex-direction: column;
        width: 100%;
        justify-content: center;
        align-items: center;
        gap: 30px;
        text-align: center;
    }

        .metrics-display-grid .basic-metric.full-width {
            grid-column: span 2;
        }

.metrics-display-grid .list-metric {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 30px;
}

    .metrics-display-grid .metric-list-items {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

.primary-background {
    background-color: var(--color-primary);
}
.border-bottom-primary {
    border-bottom: 1px solid var(--color-border-primary);
}

.search-alphabet {
    position: sticky;
    top: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(40px, 1fr));
    z-index: 1;
}

    .search-alphabet div{
        padding: 10px;
        cursor: pointer;
        transition: all 250ms;
        text-align: center;
    }

        .search-alphabet div:hover{
            background: var(--color-highlight);
            color: black;
        }

.alphabet-letter-wrapper {
    width: 60px;
    margin: 15px 0 15px 0;
    padding: 20px;
    text-align: center;
    background-color: var(--color-primary);
    border: 1px solid var(--color-border-primary);
}

.alphabet-key {
    position: sticky;
    top: 200px;
}

.alphabet-key-content-wrapper {
    display: flex;
    /*flex-wrap: wrap;*/
    gap: 20px;
}

.alphabet-content-wrapper{
    display:flex;
    flex-direction:column;
    gap: 40px;
}

.ActiveUserCount {
    color: var(--color-highlight);
    background: var(--color-primary);
    border-radius: 90px;
    width: auto;
    padding: 0 5px 0 5px;
    display: flex;
    height: 100%;
    margin-top: -10px;
    margin-right: -10px;
    align-items: center;
    justify-content: center;
    border: 1px solid;
    border-color: inherit;
    word-break: keep-all;
    transition: all 250ms;
}

    .ActiveUserCount:hover {
        color: white;
    }

/* Wrapper and track */
.slider-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    touch-action: pan-y;
}

.slider-track {
    display: flex;
    animation: scroll-desktop 40s linear infinite;
    will-change: transform;
    width: fit-content;
}

/* Slider items */
.slider-item {
    display: flex;
    flex-direction: column;
    min-width: 200px;
    max-width: 200px;
    padding: 1rem;
    color: white;
    flex-shrink: 0;
    text-align: center;
    font-size: 1rem;
    white-space: nowrap;
    align-items: flex-start;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

    .slider-item:hover {
        background: var(--hover-background);
    }

.message-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    text-align:left;
}

.tippy-box {
    white-space: normal; /* allow wrapping */
    word-break: break-word; /* break long words */
    overflow-wrap: break-word;
    border: 1px solid var(--color-border-primary);
    background: var(--color-primary);
}

.mini-view, .mini-metric {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 3px;
}

.mini-metric {
    border: 1px solid var(--color-border-primary);
    height: 40px;
    width: 80px !important;
    word-break: keep-all;
    white-space: nowrap;
}

    .mini-metric.row {
        height: 20px;
        width: 100% !important;
    }

    .mini-metric-split {
        display: flex;
        gap: 3px;
    }

    .mini-metric-split .mini-metric{
        width: 50%;
    }

.navigation-elipse {
    width: 100%;
    display: inline-block;
    vertical-align: middle;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}

.mini-metric-elipse {
    display: inline-block;
    vertical-align: middle;
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    font-size: 0.700rem;
    line-height: 1.4;
    letter-spacing: 0.015em;
    font-weight: 600;
}
    /************************* MEDIA *******************/
    @media screen and (max-width: 768px) {
        .sidebar {
        width: 0px;
        position: absolute;
        z-index: 1000;
        z-index: -1;
        opacity: 0;
        height: calc(100% - var(--navbar-height) - 1px);
    }

        .sidebar.open {
            min-width: 90%;
            max-width: 90%;
            z-index: 1000;
            opacity: 1;
        }

    .mobile-navigation-toggle {
        display: flex;
    }

    .disappear-mobile {
        display: none;
    }

    .appear-mobile {
        display: block;
    }


    .split-screen {
        grid-template-columns: 1fr;
    }

    .metrics-display-grid {
        grid-template-columns: 1fr;
    }

        .metrics-display-grid .basic-metric.full-width {
            grid-column: span 1;
        }
}


/* Hover to pause on devices with mouse */
@media (hover: hover) {
    .slider-wrapper:hover .slider-track {
        animation-play-state: paused;
    }
}

/* Mobile: slower and responsive sizing */
@media (max-width: 600px) {
    .slider-track {
        animation: scroll-mobile 60s linear infinite;
    }

    @keyframes scroll-mobile {
        0% {
            transform: translate3d(0, 0, 0);
        }

        100% {
            transform: translate3d(-50%, 0, 0);
        }
    }

    .slider-item {
        min-width: 150px;
        font-size: 0.9rem;
    }
}

/* Accessibility: stop animation if user prefers reduced motion */
@@media (prefers-reduced-motion: reduce) {
    .slider-track {
        animation: none !important;
    }
}


/************************* END MEDIA *******************/






/************************* ANIMATIONS *******************/

@keyframes submenu-animation {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.infinite-spin {
    animation: infinite-spin-animation 1s infinite;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes infinite-spin-animation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes message-content-animation {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fade-in-animation {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/* Desktop animation */
@keyframes scroll-desktop {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}


/************************* END ANIMATIONS *******************/
