:root {
    --primary-color-light: #345080;
    --primary-color: #2b446e;
    --primary-color-dark: #203455;

    --chat-bg-color: #f2f2f2;
    --chat-bg-color-alt: #d9d9d9;
    --chat-text-color: #000;

    --primary-font-color: white;
    --background-color: #f3f4f7;
    --background-color-dark: #e7e7e7;
    --font-color: #1a1f23;
    --secondary-font-color: #958888;
    --font-color-neg: #e6e6ed;
    --line-color: #bdc3d4;
    --border-radius: 8px;
    --box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    --text-shadow: 2px 2px 16px #000000;
    --input-height: 32px;
    --small-margin: 8px;
    --medium-margin: 16px;
    --big-margin: 32px;
    --kb-category-width: 250px;
    --kb-item-color: white;

    --blue: #566cce;
    --purple: #481f79;
    --pink: #b857ae;
    --green: #879f53;
    --red: #c65c5c;
    --orange: #c68f5c;
    --yellow: #c9bb59;
    --yellow-dark: #b1a44a;
    --lime: #9f9949;
    --turqoise: #729f9d;
    --gray: #bdbdbd;
    --gray2: #bdbdbd10;

    --fire-red: #f02828;
    --light-blue: #79a9f1;

    --darker-gray: #ada9a9;

    --rb0: rgba(255, 0, 0, 1) 0%;
    --rb10: rgba(255, 154, 0, 1) 10%;
    --rb20: rgba(208, 222, 33, 1) 20%;
    --rb30: rgba(79, 220, 74, 1) 30%;
    --rb40: rgba(63, 218, 216, 1) 40%;
    --rb50: rgba(47, 201, 226, 1) 50%;
    --rb60: rgba(28, 127, 238, 1) 60%;
    --rb70: rgba(95, 21, 242, 1) 70%;
    --rb80: rgba(186, 12, 248, 1) 80%;
    --rb90: rgba(251, 7, 217, 1) 90%;
    --rb100: rgba(255, 0, 0, 1) 100%;

    --flash-color: #c68f5c;
}

* {
    font-family: "Segoe UI Emoji";
    font-size: 16px;
    caret-color: var(--red);
}

*::-webkit-scrollbar {
    width: 12px;
}

*::-webkit-scrollbar-thumb {
    border-radius: 5px;
    box-shadow: inset var(--box-shadow);
    background-color: rgba(89, 135, 204, 0.2);
}

@keyframes flash {
    50% {
        background-color: var(--flash-color);
    }
}

@keyframes shake {
    0% {
        transform: translate(1px, 1px) rotate(0deg);
    }
    10% {
        transform: translate(-1px, -2px) rotate(-1deg);
    }
    20% {
        transform: translate(-3px, 0px) rotate(1deg);
    }
    30% {
        transform: translate(3px, 2px) rotate(0deg);
    }
    40% {
        transform: translate(1px, -1px) rotate(1deg);
    }
    50% {
        transform: translate(-1px, 2px) rotate(-1deg);
    }
    60% {
        transform: translate(-3px, 1px) rotate(0deg);
    }
    70% {
        transform: translate(3px, 1px) rotate(-1deg);
    }
    80% {
        transform: translate(-1px, -1px) rotate(1deg);
    }
    90% {
        transform: translate(1px, 2px) rotate(0deg);
    }
    100% {
        transform: translate(1px, -2px) rotate(-1deg);
    }
}

#notification_container {
    display: flex;
    flex-direction: column-reverse;
    position: absolute;
    z-index: 1000;
    width: 70%;
    left: 50%;
    transform: translateX(-50%);
    bottom: 65px;
    color: var(--primary-font-color);
}

.notification_wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 4px;
    padding: 8px;
    background-color: var(--primary-color);
    border-radius: var(--border-radius);
    color: var(--font-color-neg);
    box-shadow: var(--box-shadow);
    -webkit-animation: var(--fadein);
    -moz-animation: var(--fadein);
    -ms-animation: var(--fadein);
    -o-animation: var(--fadein);
    animation: var(--fadein);
}

.notification_bar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    word-break: break-all;
}

.notification_title {
    font-weight: bold;
    margin-bottom: 8px;
}

.notification_close {
    position: absolute;
    padding-left: 8px;
    padding-right: 8px;
    display: flex;
    cursor: pointer;
    user-select: none;
    right: 8px;
    top: 0px;
    font-size: 24px;
}

.special {
    background: linear-gradient(var(--rb0), var(--rb10), var(--rb20), var(--rb30), var(--rb40), var(--rb50), var(--rb60), var(--rb70), var(--rb80), var(--rb90), var(--rb100));
    background-size: 100% 1000%;
    background-position: 0 200%;
    animation: rb 40s linear infinite;
    text-shadow: var(--text-shadow);
}

@keyframes rb {
    to {
        background-position: 0 -1000%;
    }
}

input {
    padding: 8px;
    border-radius: var(--border-radius);
    outline: none;
    border: none;
}

select {
    padding: 8px;
    border-radius: var(--border-radius);
    outline: none;
    border: none;
    appearance: none;
    background-color: var(--line-color);
    color: white;
}

/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
    opacity: 1 !important;
    font-weight: normal !important;
}

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: var(--primary-color-dark);
    color: var(--font-color-neg);
    text-align: center;
    padding: 5px 0;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);

    /* Position the tooltip text */
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    padding: 4px;

    /* Fade in tooltip */
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--primary-color-dark) transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}