﻿/* ----- LOG-IN ----- */

.c-login__container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    user-select: none;
}

.c-login {
    flex: 0 0 40%;
    min-width: 25rem;
    max-width: 35rem;
    user-select: none;
}

.c-login__content {
    border-radius: 0.5rem;
    padding: 3rem;
    background-color: #fff;
    box-shadow: 0px 10px 34px -15px rgba(0, 0, 0, 0.24);
}

.c-login__icon {
    user-select: none;
    width: 80px;
    height: 80px;
    margin: 0 auto;
    margin-bottom: 10px;
}

    .c-login__icon i {
        font-size: 3rem;
        background: #1089ff;
        color: white;
        border-radius: 50%;
        padding: 1rem;
    }

.c-login__header {
    user-select: none;
    font-size: 2rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* ----- APP ----- */

.app-shell {
    --_action-bar-height: 3rem;
    height: 100svh;
    font-size: 0.875rem;
    /*background-image: url(../img/47558.jpg);*/
    /*background-color: skyblue;*/
    background-image: linear-gradient(135deg, rgb(47,128,237), rgb(178,255,218));
    background-size: cover;
    background-position: center;
}

.app-shell--glass {
    background-position: center;
    backdrop-filter: blur(1rem);
    height: 100svh;
}

.app-host {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem;
    height: calc(100% - var(--_action-bar-height, 0px));
}

main {
    display: flex;
    flex-direction: column;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    overflow-y: hidden;
    height: 100%;
}

.main-shell {
    width: calc(100% - 1rem);
    height: 100%;
    overflow: hidden auto;
    border-radius: 0.5rem;
    margin: 0.5rem;
    padding: 1rem;
    border: 1px solid var(--gg-grey500);
    border-radius: 0.275rem;
    -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background-color: var(--gg-white-70);
}

/* ----- TOP BAR ----- */

.c-action-bar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: var(--_action-bar-height);
    width: 100%;
    padding-inline: 0.5rem;
}

    .c-action-bar.c-command-bar {
        display: flex;
        margin: 0.5rem 0.5rem 0 0.5rem;
        width: calc(100% - 1.25rem);
        background-color: var(--gg-white-70);
        border-bottom: 1px solid #edebe9;
        border-radius: 0.275rem;
        -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    }

.c-app-bar {
    background-color: var(--gg-grey1000);
}

    .c-app-bar .c-app__logo,
    .c-app-bar .c-user {
        color: var(--gg-grey100);
    }

.c-app-bar__left {
    flex: 1;
}

.c-app-bar__right {
    display: flex;
    gap: 1em;
    align-items: center;
}

/* ----- SIDE BAR ----- */

.c-sidebar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    overflow-x: hidden;
    height: calc(100% - 1rem);
    width: 200px;
    margin-block: 0.5rem;
    border: 1px solid var(--gg-grey300);
    border-radius: 0.275rem;
    -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background-color: var(--gg-white-70);
}

.c-sidebar-header {
    /*    height: var(--_action-bar-height);*/
    padding: 0.5rem 1rem;
    border-bottom: 1px solid var(--gg-grey500);
}

.c-sidebar-main, .c-sidebar-students, .c-sidebar-tasks {
    padding: 1rem;
    border-bottom: 1px solid var(--gg-grey500);
}

.c-sidebar-tasks__header {
    padding-bottom: 0.5rem;
    font-size: 0.75rem;
}

    .c-sidebar-tasks__header span {
        text-transform: uppercase;
    }

/* -- side nav buttons -- */

.nav-item {
    display: flex;
    align-items: center;
    //font-size: 0.875rem;
    height: 2rem;
    padding-block: 1rem;
}

.nav-link {
    background: none;
    border: none;
    border-radius: .375rem;
    height: 2rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
    width: 100%;
    text-decoration: none;
}

    .nav-link.active:not(.nav-home) {
        background-color: var(--gg-neonBlue200);
        color: var(--gg-neonBlue700);
        font-weight: 500;
    }

    .nav-link i {
        padding-inline: 0.8675rem;
    }

    .nav-link.active i:before {
        color: var(--gg-neonBlue700);
    }

    .nav-link:hover {
        background-color: var(--gg-grey300);
    }

/* -- LANDING PAGE -- */

.c-hero-grid {
    display: -ms-grid;
    display: grid;
    height: 100vh;
    grid-template: 52px 1fr / auto;
}

.c-hero-header {
    grid-area: 1 / 1 / 2 / -1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.c-hero-nav > ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .c-hero-nav > ul > li {
        display: inline-block;
    }

.c-hero-header .c-hero-nav {
    display: flex;
    gap: 1rem;
    margin-right: 20px;
    align-items: baseline;
}

.c-hero-header ul {
    display: flex;
    gap: 1rem;
}

.logo {
    background-color: dodgerblue;
    margin-inline: 2rem;
    padding: 0.5rem;
    font-weight: 700;
    border-radius: 0.5rem;
    filter: brightness(1.2);
}

video {
    grid-area: 1 / 1 / -1 / -1;
    z-index: -1;
    filter: brightness(.2);
    opacity: .9;
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.c-hero-main {
    grid-area: 2 / 1 / 3 / -1;
    padding: 0 10% 200px;
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
    align-self: center;
    height: fit-content;
}


    .c-hero-main h1,
    .c-hero-main p,
    .c-hero-nav a,
    .c-hero-nav h4 {
        color: var(--gg-white-80);
        text-shadow: 3px 3px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    }

.c-hero-nav a {
    text-decoration: none;
}

    .c-hero-nav a:hover {
        color: dodgerblue;
    }

.c-hero-main h1 {
    font-size: 4em;
}

.c-hero-main p {
    font-size: 2em;
}

/* -- COLOR PICKER DEMO-- */
h2 {
    margin-bottom: 2rem;
}

.c-color-picker--border {
    background-color: #fff;
    border-radius: 0.375rem;
    border: 1px solid rgba(34, 34, 34, 0.25);
    box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.25);
}

.c-color-picker--square.c-color-picker--border {
    border-radius: unset;
}

.popup-picker__wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 20rem;
}

.popup-picker__content {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.colorpicker__selector {
    display: flex;
    gap: 3rem;
}

.colorpicker__properties {
    padding: 1.5rem;
}

.colorpicker__selector .options {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    margin-bottom: 1.5rem;
}

.colorpicker__selector h3 {
    border-bottom: 0.125rem solid;
}

.input-field--reverse {
    display: flex;
    flex-direction: column-reverse;
}

.input-field--split {
    display: flex;
    align-items: center;
    margin: 0.5rem 0;
}

    .input-field--split div {
        flex-basis: 50%;
        /*        height: 100%;*/
    }

.seperator {
    border-bottom: 2px solid #B7B7B7;
    width: 100%;
    margin: 4em auto;
}

.custom-header {
    background-color: rgba(3, 170, 201, 0.1);
    display: flex;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 6px 6px 0 0;
    align-items: center;
}

.custom-header__text {
    margin: auto 0;
    font-weight: 500;
}

.input-field input,
.input-field select {
    background-color: white;
    border: 1px solid rgb(133, 133, 133);
    border-radius: 4px;
    display: inline-block;
    font: inherit;
    line-height: 1.5rem;
}

.input-field button {
    padding: 0.3rem;
    width: 100%;
}

input[type="color"] {
    border: 1px solid var(--gg-grey500);
    border-radius: var(--gg-border-radius, 0.25rem);
    background-color: var(--gg-grey300);
}

.input-field--split div p {
    margin: auto;
    text-align: center;
    text-transform: uppercase;
}

.input-field input {
    padding: 0.5em;
}

.input-field select {
    width: 100%;
    padding: 0.5em 3.5em 0.5em 1em;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, gray 50%), linear-gradient(135deg, gray 50%, transparent 50%), linear-gradient(to right, #ccc, #ccc);
    background-position: calc(100% - 20px) calc(1em + 2px), calc(100% - 15px) calc(1em + 2px), calc(100% - 2.5em) 0.5em;
    background-size: 5px 5px, 5px 5px, 1px 1.5em;
    background-repeat: no-repeat;
    cursor: pointer;
}

    .input-field select:focus {
        background-image: linear-gradient(45deg, green 50%, transparent 50%), linear-gradient(135deg, transparent 50%, green 50%), linear-gradient(to right, #ccc, #ccc);
        background-position: calc(100% - 15px) 1em, calc(100% - 20px) 1em, calc(100% - 2.5em) 0.5em;
        background-size: 5px 5px, 5px 5px, 1px 1.5em;
        background-repeat: no-repeat;
        outline: 0;
    }

    .input-field select:focus-visible {
        outline: #0060DF auto 1px;
    }

.c-tabs {
    isolation: isolate;
    min-width: 32rem;
}

.c-tabs__header {
    background-color: transparent;
}

    .c-tabs__header .c-tabs__button {
        border: solid 1px #fff;
        border-top-width: 0;
        border-bottom-width: 0.25rem;
        background-color: #fff;
    }

        .c-tabs__header .c-tabs__button span {
            color: #3a2156;
        }

        .c-tabs__header .c-tabs__button.c-tabs__button--active span {
            color: var(--_tabs-highlight,#0075ff);
        }

.c-tabs__button {
    margin-top: 0;
    padding-top: 0.5rem;
    height: fit-content;
}

    .c-tabs__button:not(.c-tabs__button--disabled):is(.c-tabs__button--active, :hover) {
        padding-top: 0.5rem;
    }

.c-tabs__title {
    line-height: 1;
}

.c-tabs__button:not(.c-tabs__button--disabled):is(.c-tabs__button--active, :hover) {
    border-bottom-color: #dee2e6;
}

.c-tabs__button:not(.c-tabs__button--disabled):is(.c-tabs__button--active) {
    margin-bottom: 0;
    border-bottom-color: var(--_tabs-highlight,#0075ff);
}

.c-tabs__panel {
    display: grid;
    max-width: 32.5rem;
    overflow: hidden;
    border: solid 1px #dee2ee;
    font-size: 80%;
    padding: 0;
}

    .c-tabs__panel > div {
        grid-row: 1/1;
        grid-column: 1/1;
        overflow: auto;
        padding: 2rem;
    }

.copy-code {
    grid-row: 1/1;
    grid-column: 1/1;
    width: min-content;
    height: min-content;
    align-self: start;
    justify-self: end;
    margin: 1.5em;
    padding: 0.25rem 1rem;
    border: none;
    border-radius: 0.25rem;
    background-color: #dee2ee;
    cursor: pointer;
    text-transform: uppercase;
}

    .copy-code:hover {
        background: #0b5ed7;
        color: #fff;
    }

    .copy-code:active {
        background: #66A8F4;
    }

/* -------------------------------------- */

.o-section__buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: auto;
    margin: 1.25em auto 0;
    padding: 2em;
    gap: 0.5em;
}

.c-tabs--custom,
.c-tabs--custom-inner,
.c-tabs--custom-code,
.c-tabs--custom-samples {
    min-width: 100%;
    margin: 0 auto 2em auto;
    max-width: 72vw;
}

    .c-tabs--custom > .c-tabs__panel,
    .c-tabs--custom-code > .c-tabs__panel,
    .c-tabs--custom-samples > .c-tabs__panel {
        display: flex;
    }

    .c-tabs--custom > .c-tabs__panel {
        /*align-items: center;*/
        overflow-y: auto;
        min-height: 20em;
        max-height: 20em;
    }

    .c-tabs--custom-code > .c-tabs__panel {
        /*align-items: center;*/
        overflow-y: auto;
        min-height: 36em;
    }

    .c-tabs--custom-samples .c-tabs__panel {
        max-width: unset;
    }

.c-tabs__button {
    padding: 0.375rem 1rem;
}

.c-tabs--custom .c-tabs__panel pre {
    max-height: 30em;
    font-size: 0.9rem;
}

.c-tabs--custom div.code-toolbar > .toolbar {
    right: 2em;
}

.c-tabs--custom-samples .o-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    width: fit-content;
    height: fit-content;
    margin: 0 auto;
}

/*@media (min-width: 641px) {
    .c-tabs--custom {
    max-width: calc(100vw - 250px - 2 * 32px);
    }
}*/

/* ---------------------------------------- */

code {
    font-size: .875em;
    color: #d63384;
    word-wrap: break-word;
}

.c-console {
    height: 200px;
    width: 100%;
    margin-bottom: 5em;
}

.c-console__header {
    padding: 0.5em 1em;
    font-weight: 700;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.c-console__header,
.c-console__item {
    display: grid;
    grid-template-columns: repeat(3, 8em) 1fr;
    justify-content: start;
    align-content: start;
    height: fit-content;
}

/* ---------------------------------------- */

.cdialog--danger .c-dialog__title {
    color: #fff;
    font-weight: 500;
}

.cdialog--custom-question {
    border: 4px solid var(--accent-background);
    width: 35em;
}

    .cdialog--custom-question .c-dialog__footer {
        justify-content: center;
    }

.cdialog--custom-error {
    border: 4px solid var(--accent-background);
    width: 32em;
}

.cdialog--custom-file {
    width: 30em;
    --accent-background: #d9edf7;
    border: 4px solid var(--accent-background);
}

    .cdialog--custom-file .c-dialog__content {
        align-items: start;
        padding: 2em 0 1em 0;
    }

    .cdialog--custom-file .c-dialog__icon {
        fill: #ff0000;
        margin-top: 0.25em;
    }

    .cdialog--custom-file .c-dialog__body {
        margin: 0 0 1em 1em;
        color: #66afe9;
    }

.c-overlay--custom {
    background: rgba(143,27,15,0.8);
}
.o-dialog__ebet .c-dialog__title {
    font-size: 1.4em;
    color: #fff;
}

.o-dialog__ebet .form-check-label {
    color: #fff;
}

.cdialog--custom {
    background: #e74c3c;
    --accent-background: rgba(0,0,0,0.1);
    color: #fff;
    font-weight: 100;
}

    .cdialog--custom .c-dialog__header {
        background: rgba(0,0,0,0.1);
        justify-content: center;
        padding: 1em;
    }

    .cdialog--custom .c-dialog__body {
        max-width: 34em;
        padding: 2em 3em 1em;
    }

    .cdialog--custom .c-dialog__title {
        font-size: 2rem;
        color: #fff;
    }

    .cdialog--custom p,
    .cdialog--custom li,
    .cdialog--custom li span {
        color: #fff;
    }

    .cdialog--custom .c-dialog_button--custom {
        display: block;
        margin: 0 auto 1.5em;
        padding: 0.6em 1.2em;
        background: #c0392b;
        color: #fff;
        font-size: 0.8em;
        letter-spacing: 1px;
        text-transform: uppercase;
        cursor: pointer;
        border: none;
        border-radius: 2px;
    }

        .cdialog--custom .c-dialog_button--custom:hover {
            background: #A5281B;
        }

@media (max-width: 640px) {
    .cdialog--custom,
    .cdialog--custom-question,
    .cdialog--custom-error,
    .cdialog--custom-file {
        width: 100%;
    }
}

.c-dialog-design-surface {
    position: relative;
    background-color: aliceblue;
    min-width: 100%;
    height: 519px;
    margin: 2em 0;
    overflow: clip;
}

    .c-dialog-design-surface .c-overlay {
        position: relative;
    }

    .c-dialog-design-surface .c-dialog__host {
        position: absolute;
    }

/* ---------------------------------------- */

.o-information-icon {
    display: contents;
    --clr-foreground: hsl(0 0% 0%);
    --clr-background: hsl(0 0% 100%);
    cursor: help;
}

    .o-information-icon::after {
        content: attr(aria-label);
        position: absolute;
        display: block;
        pointer-events: none;
        color: var(--clr-background);
        background: var(--clr-foreground);
        width: fit-content;
        max-width: 14em;
        font-size: 1rem;
        margin: 0 auto;
        padding: 0.25em 0.5em;
        border-radius: 0.25em;
        opacity: 0;
        transform: scale(0);
        transform-origin: top;
        transition: transform 0ms linear 100ms, opacity 100ms linear;
    }

    .o-information-icon:hover::after,
    .o-information-icon:focus-visible::after {
        opacity: 0.7;
        transform: scale(1) translate(-25%, -140%);
    }

.o-information-icon--bottom:hover::after,
.o-information-icon--bottom:focus-visible::after {
    transform: scale(1) translate(-25%, 0%);
}

.o-information-icon svg {
    vertical-align: text-top;
}

.o-form__builder-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1em;
    width: 100%;
    height: fit-content;
}

.c-animation.test__container {
    padding: 1em;
    border: 2px solid #d1d1d1;
    border-radius: 0.35em;
    overflow: hidden;
    will-change: opacity, transform, transition, transform-origin, transform-style;
}

.c-form__animation {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5em;
    height: fit-content;
    margin-bottom: 3em;
}

    .c-form__animation .input-field {
        display: grid;
    }

.test__marker {
    margin: 1em 0;
    padding: 0;
}

section {
    padding: 1em 2em;
    margin: 1em 0;
    background-color: #F3F5F6;
}

/* ---------------------------------------- */

.glassmorphism {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin: 0;
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradient 10s ease infinite;
}

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

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.glassmorphism .box {
    position: relative;
    margin-left: -12.5rem;
    width: 35em;
    height: 32em;
}

.glassmorphism .square {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    animation: square 10s linear infinite;
    animation-delay: calc(-1s * var(--i));
}

@keyframes square {
    0%, 100% {
        transform: translateY(-20px);
    }

    50% {
        transform: translateY(20px);
    }
}

.glassmorphism .square:nth-child(1) {
    width: 100px;
    height: 100px;
    top: -15px;
    right: -45px;
    z-index: 2000;
}

.glassmorphism .square:nth-child(2) {
    width: 125px;
    height: 125px;
    top: 105px;
    left: -100px;
    z-index: 3000;
}

.glassmorphism .square:nth-child(3) {
    width: 60px;
    height: 60px;
    bottom: 85px;
    right: -20px;
    z-index: 3000;
}

.glassmorphism .square:nth-child(4) {
    width: 50px;
    height: 50px;
    bottom: 35px;
    left: -95px;
    z-index: 2000;
}

.glassmorphism .square:nth-child(5) {
    width: 50px;
    height: 50px;
    top: -15px;
    left: -25px;
}

.glassmorphism .square:nth-child(6) {
    width: 85px;
    height: 85px;
    top: 165px;
    right: -155px;
    z-index: 2;
}

.c-overlay__glass {
    backdrop-filter: blur(5px);
    background-color: rgba(0, 0, 0, 0.3);
}

.c-dialog__glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    box-shadow: 0 25px 45px rgb(0 0 0 / 20%);
    padding: 5px;
}

    .c-dialog__glass .c-dialog {
        color: #fff;
        border-radius: 5px;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.1) 2%);
    }

    .c-dialog__glass .c-dialog__title {
        font-size: 2rem;
        font-weight: bolder;
        color: #fff;
    }

.button__glass {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(30px);
    color: rgba(255,255,255,0.8);
    padding: .375rem .75rem;
    font-size: 1rem;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.c-dialog__glass dl {
    font-weight: lighter;
    padding-left: 1em;
}

.c-dialog__glass dt {
    font-size: 1.25rem;
    padding-bottom: 0.75em;
    color: #fff;
}

.c-dialog dd {
    font-size: 1.1rem;
    line-height: 1.6;
    padding-left: 1em;
    color: #fff;
}

    .c-dialog dd b {
        color: #fff;
    }

.button__glass:hover {
    background-color: rgba(255,255,255,0.2);
}

.button__glass:focus {
    box-shadow: 0 0 0 0.25rem rgb(255 255 255 / 35%);
    border: 1px solid rgb(255 255 255 / 50%);
}

.button__glass:focus-visible {
    outline: 0;
}

/* -------------------------------------- */

.c-dialog__wrapper .c-dialog__cookie {
    overflow-x: visible;
    width: 20em;
    padding: 0 1em;
}

.c-dialog__cookie .c-dialog__icon {
    position: absolute;
    top: -50px;
    filter: drop-shadow(0px 3px 3px rgba(0, 0, 0, 1));
}

.c-dialog__cookie .c-dialog__body {
    display: flex;
    padding-bottom: 0;
    padding-top: 4em;
}

.c-dialog__cookie .c-dialog__footer {
    padding-bottom: 1em;
    padding-right: 0;
}

/* -- LAYOUT DEMO-- */

.layout-settings {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1em;
    padding-bottom: 2.5em;
    margin-bottom: 2.5em;
    border-bottom: 1px dotted #000;
}

.layout-settings__header {
    flex: 0 0 100%; /* grow / shrink / basis */
}

.layout-settings legend {
    color: #000;
    padding: 3px 6px;
    margin-left: 10px;
    width: auto;
}

.layout-settings fieldset {
    border: 1px solid black;
    border-radius: 4px;
    flex-grow: 1;
    flex-basis: 0;
    min-width: 45%;
    padding-block: 0.5rem;
}

    .layout-settings fieldset > label {
        display: block;
        margin-left: 20px;
        padding-block: 0.5rem;
    }

/* -- Blazing.Colors DEMO-- */

.c-color-swatches__wrapper {
    margin-top: 2em;
}

.c-color-selector {
    display: flex;
    gap: 1em;
    align-items: center;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.c-color-swatches {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 1.5rem;
}

.c-color-swatches--narrow {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0.5rem;
}

.c-color-swatch {
    width: 100%;
}

.c-color-swatch__color {
    height: 4rem;
    border-radius: 0.5rem;
    --tw-ring-shadow: 0 0 #0000;
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.c-color-swatch__title {
    font-weight: 600;
    font-size: 1.125rem;
    line-height: 1.75rem;
    margin: 0;
    margin-bottom: 1rem;
}

.c-color-swatch__body {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-top: 0.75rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

    .c-color-swatch__body > * {
        text-align: center;
    }

.c-color-swatch__weight {
    font-weight: bold;
}

.c-color-swatch__hex-rgb {
    font-weight: bold;
    text-transform: lowercase;
    opacity: 0.7;
}

.c-color-swatch__ratio {
    opacity: 0.5;
}

.c-color-nearest__container {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.5rem;
}

.c-color-nearest__container {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.5rem;
}

/*.c-color-deficiency__container {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0.5rem;
}
*/
/* ------ */

.c-gradients {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    grid-gap: 3em;
    gap: 3em;
}

.c-gradient {
    /* -webkit-box-shadow: 0.25em 0.25em 2em rgba(0, 0, 0, 0.25); */
    box-shadow: 0.25em 0.25em 2em rgba(0, 0, 0, 0.25);
    border-radius: 0.5em;
    margin: 0;
    overflow: hidden;
}

.c-gradient__aspect-ratio {
    overflow: hidden;
    padding-top: 100%;
    position: relative;
}

    .c-gradient__aspect-ratio > * {
        bottom: 0;
        left: 0;
        position: absolute;
        right: 0;
        top: 0;
    }

.c-gradient__caption {
    background-color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 1.5em;
    text-align: center;
    text-transform: uppercase;
}

.c-color__grid {
    width: fit-content;
}

.c-color-swatches__hwb {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 2em;
}

.c-hwb__container {
    display: grid;
    grid-template-columns: repeat(12, 2.5em);
    grid-template-rows: repeat(12, 2.5em);
    gap: 0.125em;
    justify-items: center;
    align-items: center;
}

.c-rgb__cell,
.c-hwb__cell {
    display: block;
}

.c-rgb__cell {
    font-size: 90%;
}

.c-hwb__cell--color,
.c-rgb__cell--color {
    width: 100%;
    height: 100%;
    border-radius: 0.25rem;
    --tw-ring-shadow: 0 0 #0000;
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.c-rgb__container {
    display: grid;
    grid-template-columns: repeat(37, 1.75em);
    grid-template-rows: repeat(22, 1.75em);
    gap: 0.125em;
    justify-items: center;
    align-items: center;
}

/* Toasts */

.section-toast .o-buttons {
    margin-inline: auto;
    width: fit-content;
}

/* CALENDAR DEMO */
.calendar__month {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    min-height: 0;
    padding-right: 1em;
    /*background-color: rgba(255, 165, 0, 0.2);*/
}

.month__scroll {
    overflow-y: auto;
    overflow-x: hidden;
    flex-grow: 1;
    padding-bottom: 0;
    max-height: 100%;
    height: 100%;
}

.month__view {
    height: 100%;
    /*background-color: rgba(255, 0, 255, 0.2);*/
}

.month__header {
    margin-bottom: -25px;
    height: 25px;
    position: sticky;
    top: 0;
    z-index: 30;
    background-color: antiquewhite;
}

.cal-cell {
    float: left;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.month__header .cal-cell.cal-weekend {
    background: #fafbfc;
}

.month__header .cal-cell {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    padding: 5px 0 5px 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    white-space: nowrap;
    text-align: left;
    border-left: 1px solid #e1e1e1;
    color: #292d34;
    background: #fff;
}

.cal__cell-Row {
    display: flex;
    position: relative;
    height: 100%;
}

    .cal__cell-Row.cal__header {
        margin-bottom: -25px;
        height: 25px;
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        z-index: 30;
    }

.cal__header {
    text-align: center;
    font-weight: bolder;
}

.cal-header .cal-cell.cal-weekend {
    background: #f1f1f1;
}

.cal__header .cal-cell {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    padding: 5px 0 5px 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    white-space: nowrap;
    text-align: left;
    border-left: 1px solid #e1e1e1;
    color: #292d34;
    background: #fff;
}

.cal-cell {
    float: left;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.cal-days {
    border-left: 1px solid #e1e1e1;
    border-top: 0;
    border-bottom: 0;
}

.cal-days__row {
    page-break-inside: avoid;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    background-color: rgba(0, 0, 255, 0.1);
}

.cal-days .cal-cell-row {
    border-bottom: 1px solid #e1e1e1;
}

.cal-cell-row {
    display: flex;
    position: relative;
    height: 100%;
}

.cal-day-cell:not(:first-child) {
    border-left: 1px solid #e1e1e1;
}

.cal-day-cell.cal-weekend,
.cal-day-cell.cal-out-month {
    background-color: #f1f1f1;
}

.cal-day-cell {
    min-height: 140px;
    min-width: 14%;
    flex-grow: 1;
    flex-basis: 0;
    margin-right: -1px;
    background: #fff;
}

.cal-cell {
    float: left;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.cal-day {
    position: relative;
    height: 100%;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.cal-day__inner {
    position: absolute;
    width: 100%;
    height: 100%;
    min-height: 140px;
    border: 1px solid transparent;
    pointer-events: none;
}

.cal-day-cell.cal-today .cal-day__inner {
    border-color: #4169E1;
}

.cal-milestones {
    margin-bottom: auto;
}

.cal-cell-bottom {
    height: 23px;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 9px 0 4px;
    margin-top: 5px;
}

.cal-day-number {
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    margin-left: auto;
}

.cal-events {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    padding-top: 4px;
}

.cal-slot {
    padding: 2px 8px 2px 5px;
    position: relative;
}

.cal-event {
    display: block;
    min-height: 20px;
    width: 100%;
    padding: 4px;
    cursor: pointer;
}

    .cal-event:not([draggable="True"]) {
        cursor: default;
    }

.cal-event__content {
    display: flex;
    height: 100%;
    border: solid 1px;
    border-left: 0;
}

.cal-event-stub .cal-event__content {
    border: none;
}

.cal-event-status {
    min-width: 5px;
    margin: -1px 0 -1px -4px;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

.cal-event-container {
    padding: 4px;
    width: auto;
    min-width: 0;
    overflow: hidden;
    flex-grow: 1;
}

.event-text {
    white-space: nowrap;
    overflow: hidden;
    display: flex;
    align-items: center;
    line-height: 1.15;
    margin-top: 2px;
    margin-bottom: 2px;
    position: relative;
    flex-grow: 1;
    min-width: 0;
    font: 12px;
}

.cal-event-stub .event-text {
    visibility: hidden;
}

.test-container {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    min-height: 0;
}

.test-scrollable-container {
    flex-grow: 1;
    padding-bottom: 0;
    max-height: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

.test-header {
    margin-bottom: -25px;
    height: 25px;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 30;
    background-color: antiquewhite;
}

    .test-header span {
        font-weight: bolder;
    }

.cal-days .cal-days__row:first-child {
    margin-top: 25px;
}

.kanban-host {
    padding: 0.5rem;
    width: 100%;
    height: calc(100% - var(--_action-bar-height) - 0.5rem);
}
