body {
    padding: 0;
    margin: 0;
    background-color: rgba(234, 246, 245, 0.3);
}

div[data-bg-authentication-color='uninitialised'] {
    background-color: rgba(234, 246, 245, 0.3);
}


div[data-bg-authentication-color='unauthenticated']{
    background-color: #004677;
}


/*
.dark div[data-bg-authentication-color='uninitialised'] {
    background-color: rgba(21, 9, 10, 0.3);
}

.dark div[data-bg-authentication-color='authenticated']{
    background-color: rgba(21, 9, 10, 0.3);
}

.dark div[data-bg-authentication-color='unauthenticated']{
    background-color: #ffb988;
}

.dark div[data-bg-authentication-color='authenticated']{
    background-color: rgba(21, 9, 10, 0.3);
}
*/



.dark body{
    background-color: #191919;
}


.root-loading {
    height: 100vh;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 400;
    line-height: 24px;
    font-size: 18px;
    font-family: "Figtree", sans-serif;
    color: #004677;
    animation-name: root-fadeIn;
    animation-duration: 0.25s;
    animation-fill-mode: forwards;
    opacity: 0;
    animation-delay: 0.5s;
}

.root-loading-spinner {
    width: 32px;
    height: 32px;
    animation-name: root-loading-spin;
    animation-direction: normal;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    margin-right: 10px;
}


@keyframes root-loading-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes root-fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/* Suedo/easy Dark mode with color inversion */
.dark-mode {
    filter: invert(1) hue-rotate(180deg);
    background-color: #121212;
  }

/* Prevent double-inversion of images and media */
.dark-mode img,
.dark-mode video,
.dark-mode .preserve-colors {
filter: invert(1) hue-rotate(180deg); /* This counter-inverts these elements */
}
