﻿/* ----- 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-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 {
    --_default-cell-color: white;
    --_soldout-cell-color: #F58585; /* Light red color */
    --_highest-value-color: #2CB0EC; /* Light green color */
    --_middle-value-color: #7CCEF3; /* Light orange color */
    --_lowest-value-color: #B4E3F8; /* Light yellow color */

    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;
    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);
}

/* -- FORM -- */

/* -- COMPSET PAGE -- */

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

/* LIGHTHOUSE */

.compset-graph {
    display: flex;
    gap: 0.5rem;
}

.c-listbox__item {
    white-space: nowrap;
}

.list-item__tempate {
    display: flex;
    justify-content: space-between;
    gap: 0.25rem;
}

.list-item__label {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin: 0;
}

.color-box {
    flex-shrink: 0;
}

.custom-checkbox {
    appearance: none;
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid #ccc;
    border-radius: 0.25rem;
    background-color: transparent;
    cursor: pointer;
    position: relative;
    --_box-color: #007bff; /* Change this color to your desired checkbox color */
}

    .custom-checkbox:checked {
        background-color: var(--_box-color);
        border-color: var(--_box-color);
    }

.custom-checkbox:checked::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0.35rem;
    width: 0.5rem;
    height: 1rem;
    border: solid white;
    border-width: 0 0.2rem 0.2rem 0;
    transform: rotate(45deg);
}

.grid-container {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    position: relative; /* Ensure the parent container is positioned */
    padding-top: 1rem;
}

.grid-header, .grid-row {
    display: flex;
}

    .grid-header .sticky,
    .grid-header .grid-cell {
        background-color: darkblue;
        color: var(--_default-cell-color);
    }

.grid-header .name-column {
    text-align: left;
}

.grid-cell {
    padding: 0.5rem;
    border: 1px solid #ccc;
    min-width: 100px;
    text-align: center;
    background: var(--_default-cell-color);
}

.grid-cell.soldout {
    background: var(--_soldout-cell-color); /* Use the CSS variable for sold-out state */
}
.grid-cell.highest {
    background: var(--_highest-value-color); /* Use the CSS variable for highest value */
}

.grid-cell.middle {
    background: var(--_middle-value-color); /* Use the CSS variable for middle value */
}

.grid-cell.lowest {
    background: var(--_lowest-value-color); /* Use the CSS variable for lowest value */
}

/* Additional dual-color combinations */
.soldout.highest.dual-color {
    background: linear-gradient(to bottom right, var(--_soldout-cell-color) 50%, var(--_highest-value-color) 50%);
}

.soldout.middle.dual-color {
    background: linear-gradient(to bottom right, var(--_soldout-cell-color) 50%, var(--_middle-value-color) 50%);
}

.soldout.lowest.dual-color {
    background: linear-gradient(to bottom right, var(--_soldout-cell-color) 50%, var(--_lowest-value-color) 50%);
}

.bold {
    font-weight: bold;
}

.sticky {
    position: sticky;
    left: 0;
    text-align: left;
    background: var(--_default-cell-color); /* Ensure the sticky column has a background color */
    z-index: 10; /* Increase z-index to ensure it stays on top */
    box-shadow: 2px 0 5px -2px rgba(0, 0, 0, 0.2); /* Optional: Add a shadow for better visibility */
}

.name-column {
    min-width: 16rem;
}

.stars-column {
    min-width: 4rem;
    text-align: center;
}

.grid-row-gap {
    height: 0.25rem; /* Adjust the height as needed */
}

.metrics .name-column {
    border-right: none;
}
.metrics .stars-column {
    border-left: none;
}

/* ----- Day View ----- */

.day-view-header__container {
    margin: 0 auto;
}

.day-view-header__left-group {
    display: flex;
    align-items: center;
}

.day-view-header__nav {
    display: grid;
    grid-template-columns: auto repeat(2, 2fr);
    gap: 3rem;
}

.day-view-header__select {
    background-color: white;
    border: 1px solid rgb(133, 133, 133);
    border-radius: 0.25rem;
    display: inline-block;
    font: inherit;
    line-height: 1.5rem;
    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% - 15px) calc(1em + 2px), calc(100% - 10px) calc(1em + 2px), calc(100% - 2.5em) 0.5em;
    background-size: 5px 5px, 5px 5px, 1px 1.5em;
    background-repeat: no-repeat;
    cursor: pointer;
}

.day-view-header__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% - 10px) 1em, calc(100% - 15px) 1em, calc(100% - 2.5em) 0.5em;
    background-size: 5px 5px, 5px 5px, 1px 1.5em;
    background-repeat: no-repeat;
    outline: 0;
}

.day-view-header__select:focus-visible {
        outline: #0060DF auto 1px;
}

.day-view-header__date {
    font-size: 1.25rem;
    font-weight: bold;
    padding-inline: 0.5rem;
}

.day-view-header__name {
    font-style: italic;
    color: #7F7F7F;
    margin-block: 0;
}

.day-view-header__last-update {
    font-style: italic;
    color: #7F7F7F;
    margin-block: 0;
}

.tables-container {
    display: grid;
    grid-template-columns: repeat(2, auto) 1fr;
    gap: 2rem;
}

.separator {
    background-color: #D9D9D9;
    width: 1px;
}

.table {
    display: grid;
    gap: 0.25rem;
    align-self: start;
}

.table-1 {
    grid-template-columns: 1fr 4.5rem fit-content(100%) 4.5rem;
    align-items: start;
}

.table-1 .cell:nth-child(2n+2),
.table-1 .cell:nth-child(4n+4) {
    text-align: right;
}

.table-2 {
    grid-template-columns: repeat(2, 5rem) 1fr;
    align-self: start;
    overflow-y: auto;
    height: 100%;
    /*max-width: 85ch;*/
}

.table-2 .header {
    font-weight: bold;
}

.table-2 .row:nth-child(even) .cell {
    background-color: rgba(0,0,0,.05);
}

.table-2 .cell:nth-child(1),
.table-2 .cell:nth-child(2) {
    text-align: center;
}

.separator-row {
    border-bottom: 1px solid #D9D9D9;
    grid-column: span 4;
}

.cell {
    line-height: 1.5;
    /*border: 1px solid lightgray;*/
}

.cell--explain {
    display: flex;
}

    .cell--explain button {
        background-color: #fff;
        border-radius: 50%;
        padding: 13px;
        width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        color: #1c4585;
        cursor: pointer;
        box-shadow: 0 0 4px #1c4585;
        transition: .3s;
        z-index: 10;
    }

.explain-btn__icon {
    position: absolute;
}

svg {
    overflow: hidden;
    vertical-align: middle;
}

.bold-row .cell {
    font-weight: bold;
}

.row {
    display: contents;
}

.table-2 .cell {
    padding-block: 0.5rem;
}

.metrics__container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    padding-block: 2rem;
}

.base-tile {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 0.25rem;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 0 6px #bccef87f;
}

.base-tile__title {
    font-weight: 700;
    margin-right: auto;
    font-size: 1.25rem;
}

.base-tile__value {
    font-size: 2rem;
    line-height: 2.5rem;
    font-weight: 600;
    color: #194899;
}

.c-dialog {
    border-radius: 0.5rem;
}

.c-dialog__header {
    border-radius: 0.5rem 0.5rem 0 0;
}

.c-dialog_footer {
    border-radius: 0 0 0.5rem 0.5rem;
}

/* ----- Month View ----- */

.month-view-wrapper {
    --bg-red-400: #f87171;
    --bg-orange-400: #fb923c;
    --bg-yellow-400: #facc15;
    --bg-lime-400: #a3e635;
    --bg-green-400: #4ade80;
    --bg-cyan-400: #22d3ee;
    --bg-sky-400: #38bdf8;
    --bg-blue-400: #60a5fa;
    --bg-blue-600: #2563eb;
    --bg-green-100: #d1fae5;
    --bg-red-100: #fee2e2;
    --text-green-600: #059669;
    --text-red-600: #dc2626;
    height: 100%;
    padding: 2rem;
    border-radius: 0.25rem;
    background-color: #fff;
}

.switch {
    display: inline-block;
    height: 34px;
    position: relative;
    width: 136px; /*60px;*/
}

    .switch input {
        height: 0;
        opacity: 0;
        width: 0;
    }

.slider {
    align-items: center;
    background-color: #ccc;
    border-radius: 0.5rem;
    bottom: 0;
    box-sizing: border-box;
    cursor: pointer;
    display: flex;
    gap: 0.5rem;
    justify-content: space-evenly;
    left: 0;
    padding: 0 0.25rem;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
    z-index: 0;
}

    .slider:before {
        background-color: white;
        border-radius: 0.25rem;
        bottom: 0.25rem;
        content: "";
        height: 26px;
        left: 0.25rem;
        position: absolute;
        transition: .4s ease-in-out;
        width: 60px; /*26px;*/
        z-index: -1;
    }

input:checked + .slider {
    background-color: #2196F3;
}

    input:checked + .slider:before {
        transform: translateX(66px); /*(26px);*/
    }

.label-left, .label-right {
    color: white;
    font-size: 14px;
    font-weight: bold;
    z-index: 1;
    text-align: center;
    width: 56px;
}

input:checked + .slider .label-right {
    color: black;
}

input:not(:checked) + .slider .label-left {
    color: black;
}

.month-view {
    display: grid;
    gap: 0.25rem;
    grid-template-columns: auto repeat(7, 1fr);
    padding-block: 2rem 0;
}

.month-header {
    display: contents;
}

    .month-header .day-header {
        display: flex;
    }

    .month-header div {
        margin-block-end: 1rem;
    }

.week-number-header {
    grid-column: span 1;
    font-weight: bold;
}

.day-header {
    align-items: center;
    display: grid;
    font-weight: bold;
    grid-template-columns: auto 1fr 1fr;
    text-align: center;
}

.week {
    display: contents;
}

.week-number {
    align-items: center;
    display: flex;
    font-weight: bold;
    justify-content: center;
}

.day {
    border-radius: 0.5rem;
    /* border: 1px solid #ccc; */
    display: flex;
    flex-direction: column;
    padding: 0.25rem;
}

    .day.empty {
        background: #f0f0f0;
    }

.month-header .day-header {
    justify-content: center;
}

.date {
    border-radius: 0.25rem;
    font-weight: bold;
    justify-self: start;
    line-height: 0.9;
    padding: 0.25rem;
}

.icons {
    display: flex;
    gap: 0.25rem;
    justify-self: center;
}

.btn-icon {
    align-items: center;
    background-color: white;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    justify-self: end;
    padding: 0.25rem;
}

    .icons i, .btn-icon i {
        color: var(--bg-blue-600);
    }

.actions {
    display: flex;
    gap: 0.25rem;
    justify-content: flex-end;
}

.day-body {
    display: flex;
    justify-content: space-between;
    margin-top: 0.75rem;
}

.left {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.right {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

    .right .tooltip:last-child {
        border-radius: 0.3rem;
        font-weight: bold;
    }

.tooltip {
    cursor: pointer;
    display: inline-block;
    position: relative;
    padding-inline: 0.5rem;
}

    .tooltip .tooltiptext {
        background-color: rgba(0, 0, 0, 0.8);
        border-radius: 0.25rem;
        bottom: 125%;
        color: #fff;
        left: 50%;
        margin-left: -60px;
        opacity: 0;
        padding: 0.25rem;
        position: absolute;
        text-align: center;
        transition: opacity 0.3s;
        visibility: hidden;
        width: fit-content;
        white-space: nowrap;
        z-index: 1;
    }

    .tooltip:hover .tooltiptext {
        opacity: 1;
        visibility: visible;
    }

.legend {
    align-items: center;
    display: flex;
    font-weight: bold;
    gap: 0.25rem;
    grid-row: span 7;
    margin-top: 1.25rem;
}

    .legend span {
        font-weight: bold;
        white-space: nowrap;
    }

        .legend span:first-child {
            margin-right: 0.75rem;
        }

.legend-item {
    border-radius: 0.25rem;
    color: white;
    display: inline-block;
    padding: 0.25rem 0.5rem;
}

/* ----- Mini Month View ----- */

.mini-calendar-slider {
    display: flex;
    align-items: flex-start;
    width: fit-content;
    margin-inline: auto;
}

.mini-calendar-slider button {
    height: 5rem;
    align-self: center;
    font-size: 200%;
    border-radius: 0.25rem;
}

.mini-calendar-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem;
    flex: 1; /* Ensure the wrapper takes up available space */
}

.mini-calendar-header {
    flex-shrink: 0; /* Prevent the header from shrinking */
    font-weight: bold;
    text-align: center;
    margin-bottom: 0.5rem;
}

.mini-calendar-days-header {
    display: flex;
    flex: 1;
    gap: 1px;
}

.mini-calendar-day-header {
    flex: 1;
    width: 20px;
    height: 20px;
    text-align: center;
    font-size: 0.75rem;
    font-weight: bold;
}

.mini-calendar {
    display: flex;
    flex-direction: column;
    flex: 1; /* Ensure the calendar takes up available space */
    gap: 1px;
    cursor: pointer;
}

.mini-calendar-week {
    display: flex;
    gap: 1px;
}

.mini-calendar-day {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    color: #fff;
    position: relative;
}

.current-month {
    border: 2px solid var(--bg-sky-400);
    border-radius: 0.5rem;
}

.mini-calendar-day.has-event::before {
    content: "";
    width: 40%;
    height: 40%;
    background-color: rgba(0, 0, 245, 0.40);
    clip-path: polygon(0 0, 100% 0, 0 100%);
    position: absolute;
    top: 0;
    left: 0;
}

.mini-calendar-day.has-min-max-rate::after {
    content: "";
    width: 40%;
    height: 40%;
    background-color: rgba(0, 0, 245, 0.40);
    clip-path: polygon(100% 0, 100% 100%, 0 0);
    position: absolute;
    top: 0;
    right: 0;
}

.mini-past {
    opacity: 0.6; /* or any value less than 1 */
}

.mini-past .mini-tooltiptext {
    opacity: 1 !important;
}

.mini-tooltiptext {
    display: none;
    position: absolute;
    background-color: #fff;
    color: #000;
    text-align: left;
    border-radius: 6px;
    padding: 10px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    z-index: 1;
    min-width: 220px;
    top: 120%; /* Position below the day cell */
    left: 50%;
    transform: translateX(-50%);
}

.mini-calendar-day:hover .mini-tooltiptext {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
}

.mini-tooltip-header {
    grid-column: span 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    white-space: nowrap;
}

.mini-color-box {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.mini-tooltip-section {
    display: contents;
}

.mini-tooltip-label {
    font-weight: normal;
    text-align: left;
    white-space: nowrap;
}

.mini-tooltip-value {
    font-weight: normal;
    text-align: right;
}

.mini-color-box {
    width: 1rem;
    height: 1rem;
    display: inline-block;
}

.mini-hr {
    border: 0;
    border-top: 1px solid #eee;
    margin: 10px 0;
    grid-column: span 2;
}

/* ----- Enterprise ----- */

.expand-container {
    border: 1px solid rgb(133, 133, 133);
    border-radius: 0.25rem;
    background-color: #fff;
}

    .expand-container .toggle-button {
        display: flex;
        align-items: center;
        justify-content: start;
        gap: 0.25rem;
        width: 100%;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
        transition: transform 0.5s ease;
        background-color: transparent;
    }

        .expand-container .toggle-button .bx {
            font-size: 1.5em;
            transition: transform 0.3s ease-in-out;
        }

.expand-container .toggle-button .rotated {
    transform: rotate(180deg);
}

    .expand-container .expand__content {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        max-height: 0;
        overflow: hidden;
        padding-inline: 2rem;
        transition: 0.5s ease-in-out;
    }

        .expand-container .expand__content.expanded {
            max-height: 500px; /* Adjust this value based on your content's height */
            padding: 1rem 2rem;
        }

.enterprise-filter-wrapper {
    overflow: auto;
    height: 100%;
    padding: 2rem;
    border-radius: 0.25rem;
    background-color: #fff;
}


.enterprise-results {
    display: flex;
    gap: 2rem;
    height: 75vh;
}

.data-editor__filters,
.data-editor__data {
    flex: 1 1 50%;
    margin-block: 2rem;
    padding: 1rem;
    border: 1px solid rgb(133, 133, 133);
    border-radius: 0.25rem;
    background-color: #fff;
}

.data-editor__data {
    margin-block: 2rem;
}

.data-editor__buttons {
    display: flex;
    gap: 1rem;
}

.data-editor__json {
    width: 100%;
    height: calc(100% - 3.8rem);
    overflow: auto;
    font-family: monospace;
    resize: none;
    margin-block: 1rem;
    padding: 1rem 2rem;
    resize: none;
    background-color: #f0f0f4;
}

/* -- DATA EDITOR -- */
.data-editor {
    list-style: none;
    max-width: 80ch;
    padding-left: 0;
}

.data-editor--country {
    --_editor-columns: 10ch 1fr 10ch;
}

.data-editor--state {
    --_editor-columns: 10ch 1fr 1fr 10ch;
}

.data-editor--region {
    --_editor-columns: 10ch 1fr 1fr 1fr 10ch;
}

.data-editor--subregion {
    --_editor-columns: 10ch 1fr 1fr 10ch;
}

.data-editor--manager {
    --_editor-columns: 10ch 1fr 10ch;
}

.data-editor__row {
    display: grid;
    grid-template-columns: var(--_editor-columns);
    align-items: center;
    border-bottom: 1px dotted silver;
    padding-block: 0.25rem;
}

.data-editor__header {
    font-weight: bold;
    border-bottom: 1px solid silver;
}

.data-editor__id {
    text-align: center;
}

.data-editor__name {
    text-align: left;
}

.data-editor__actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.25rem;
    padding-inline: 0.25rem
}

.data-editor__actions > * {
    padding: 0.25rem;
    border-radius: 2px; 
}

    .data-editor__span, .data-editor__input {
        display: inline-block;
        width: 100%;
        height: 100%;
        box-sizing: border-box;
        padding: 0.25rem;
        border-radius: 0.25rem;
    }

.data-editor__input {
    border: 1px solid #ccc;
    width: calc(100% - 0.5rem); /* Adjust for padding */
}

.data-editor__actions {
    /* add styling here */
}

.o-button.data-editor__button {
    align-items: center;
    gap: 0.5rem;
    border-radius: 0.25rem;
}

.data-editor__button > * {
    color: #fff;
}

.data-editor__debug {
    max-width: 40ch;
    margin: 1rem 0 0 0;
    padding: 0.5rem;
    border: 1px solid #ccc;
}

.data-editor__debug span {
    font-weight: bold;
}