.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

#app {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.page {
    flex-grow: 1;
    background-color: white;
    padding: 1rem;
}

#logo {
    height: 150px;
    width:150px;
}

    .animate {
        animation: blink 3s;
        animation-iteration-count: infinite;
    }

.offline-header{
    text-align:center;
    color:red;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.floorplan {
    position: relative;
}

.floorplan-dotted {
    position: relative;
    background-image: radial-gradient(circle at 1px 1px, lightgray 1px, transparent 0);
    background-size: 20px 20px;
    border-style: var(--tw-border-style);
    border-left-width: 10px;
    border-color: white;
    border-top-width: 10px;
}

.floorplan-table {
    position: absolute;
}

.circle {
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    background-color: var(--color-green-500); 
    border: 6px solid var(--color-green-600);
}

.circle.selected {
    z-index:50;
    box-shadow:0 0 0 5px var(--color-green-700);
}

.circle.selected.occupied {
    z-index: 50;
    box-shadow: 0 0 0 5px var(--color-red-900);
}

.circle.notselected {
    background-color: var(--color-green-200);
    border: 6px solid var(--color-green-300);
}

.circle.occupied {
    border: 6px solid var(--color-red-700);
    background-color: var(--color-red-500) !important;
}

.rectangle {
    -webkit-border-radius: 25%;
    -moz-border-radius: 25%;
    border-radius: 25%;
    background-color: var(--color-green-500);
    border: 6px solid var(--color-green-600);
}

.rectangle.selected {
    z-index: 50;
    box-shadow: 0 0 0 5px var(--color-green-700);
}

.rectangle.selected.occupied {
    z-index: 50;
    box-shadow: 0 0 0 5px var(--color-red-900);
}

.rectangle.notselected {
    background-color: var(--color-green-200) !important;
    border: 6px solid var(--color-green-300) !important;
}

.rectangle.occupied {
    border: 6px solid var(--color-red-700);
    background-color: var(--color-red-500) !important;
}

.stick-bottom {
    position: sticky;
    top: 95vh
}

.primary-header {
    color: rgba(0, 0, 0, 0.87);
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "Inter";
    font-size: 34px;
    font-style: normal;
    font-weight: 700;
    line-height: 123.5%; /* 41.99px */
    letter-spacing: 0.25px;
}

.primary-header-sm {
    color: rgba(0, 0, 0, 0.87);
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "Inter";
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: 123.5%; /* 41.99px */
    letter-spacing: 0.25px;
}

.secondary-header {
    color: rgba(0, 0, 0, 0.87);
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "Inter";
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 123.5%; /* 41.99px */
    letter-spacing: 0.25px;
}

.secondary-header-sm {
    color: rgba(0, 0, 0, 0.87);
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "Inter";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 123.5%; /* 41.99px */
    letter-spacing: 0.25px;
}

.tertiary-header {
    color: rgba(0, 0, 0, 0.87);
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "Inter";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 123.5%; /* 41.99px */
    letter-spacing: 0.15px;
}

.tertiary-header-sm {
    color: rgba(0, 0, 0, 0.87);
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "Inter";
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 123.5%; /* 41.99px */
    letter-spacing: 0.15px;
}

.wrapper {
    display: block;
    padding: 24px 32px;
    flex-direction: column;
    align-items: center;
    flex: 1 0 0;
    align-self: stretch;
}

.text-primary {
    color: rgba(0, 0, 0, 0.87);
    font-feature-settings: 'liga' off, 'clig' off;
    /* typography/body1 */
    font-family: "Inter";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    letter-spacing: 0.15px;
}

.text-primary-lg {
    color: rgba(0, 0, 0, 0.87);
    font-feature-settings: 'liga' off, 'clig' off;
    /* typography/body1 */
    font-family: "Inter";
    font-size: 18.75px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    letter-spacing: 0.15px;
}

.text-primary-sm {
    color: rgba(0, 0, 0, 0.87);
    font-feature-settings: 'liga' off, 'clig' off;
    /* typography/body1 */
    font-family: "Inter";
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    letter-spacing: 0.15px;
}

.text-secondary {
    color: oklch(55.1% 0.027 264.364); /*text-gray-500*/
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 24px */
    letter-spacing: 0.15px;
    font-family: "Inter";
}


.text-secondary-sm {
    color: oklch(55.1% 0.027 264.364); /*text-gray-500*/
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 24px */
    letter-spacing: 0.15px;
    font-family: "Inter";
}

.text-secondary-sm-no-colour {
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 24px */
    letter-spacing: 0.15px;
    font-family: "Inter";
} 

.text-secondary-xs {
    color: var(--color-gray-800);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 24px */
    letter-spacing: 0.15px;
    font-family: "Inter";
}

.text-secondary-no-color {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 24px */
    letter-spacing: 0.15px;
    font-family: "Inter";
}

.text-secondary-xs-no-color {
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 24px */
    letter-spacing: 0.15px;
    font-family: "Inter";
}

.elevated-1 {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.12);
}

.elevated-2 {
   box-shadow: 0px 1px 4px 1px rgba(0, 0, 0, 0.15);
}

.divider {
    border: solid;
    border-bottom: 3px;
    border-color: oklch(87.2% 0.01 258.338)
}

.drag-select {
    background-color: rgba(20, 137, 189, 0.5);
}

.invisible-scrollbar::-webkit-scrollbar
{
    display: none;
}

::-webkit-scrollbar {
    width: calc(var(--spacing) * 3) /* w-2 */
}

/* Style the scrollbar track */


/* Style the scrollbar thumb */
::-webkit-scrollbar-thumb {
    background: var(--color-gray-200); /* bg-gray-100*/
    background-clip: padding-box;
    border-left: 4px white solid;
    background-clip: padding-box;
}

/* Style the scrollbar thumb on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: var(--color-gray-200); /* bg-gray-100*/
        background-clip: padding-box;
        border-left: 4px white solid;
        background-clip: padding-box;
    }

/* Hide numeric input arrows */
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.loading-wrapper {
    text-align: center;
    width: 300px;
}

.loading-wrapper img {
    display: block;
    margin: 0 auto;
}

.card {
    border-width: 1px;
    border-color: var(--color-gray-300);
    border-radius: var(--radius-md);
    padding: calc(var(--spacing) * 4);
}

.card-highlight {
    border-width: 1px;
    border-color: var(--color-blue-400);
    border-radius: var(--radius-md);
    padding: calc(var(--spacing) * 4);
}

.status-dropup {
    position: absolute;
    left: 50px;
    transform: translateY(-111%); /* flip the y... so that it grows dynamically up rather than down. */
}

.status-dropdown {
    position: absolute;
    left: 50px;
}


/*  Not in use for the time being, but leaving here as a way to put arrow on tooltips. */
.tooltiptextarrow-bottomleft::before {
    content: "";
    position: absolute;
    top: -webkit-calc(100% - 10px); /*may require prefix for old browser support*/
    top: calc(100% - 15px); /*i.e. half the height*/
    right: 100%;
    height: 13px;
    width: 12px;
    margin-right: -5px;
    background: inherit;
    transform: rotate(45deg);
    border-left: inherit;
    border-bottom: inherit;
}

.tooltiptextarrow-topleft::before {
    content: "";
    position: absolute;
    top: 12px; /*i.e. half the height*/
    right: 100%;
    height: 12px;
    width: 11px;
    margin-right: -5px;
    background: inherit;
    transform: rotate(45deg);
    border-left: inherit;
    border-bottom: inherit;
}

.noscroll{
    overflow:hidden;
}

.dashed-repeating-gradient {
    padding: 10px;
    background-image: repeating-linear-gradient(to right, lightgray 0%, lightgray 50%, transparent 50%, transparent 100%), repeating-linear-gradient(to right, lightgray 0%, lightgray 50%, transparent 50%, transparent 100%), repeating-linear-gradient(to bottom, lightgray 0%, lightgray 50%, transparent 50%, transparent 100%), repeating-linear-gradient(to bottom, lightgray 0%, lightgray 50%, transparent 50%, transparent 100%);
    background-position: left top, left bottom, left top, right top;
    background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
    background-size: 20px 2px, 20px 2px, 2px 20px, 2px 20px;
    border-radius: 5px
}

.dropdown-up {
    position: absolute;
    transform: translateY(-100%);
    top: 0;
    left: 0;
}

.dropdown {
    position: absolute;
    top: 0;
    left: 0;
}

.flip {
    transform:rotate(180deg);
}

.alert {
    border-radius: 8px;
    border: 1px solid var(--color-blue-300);
    background: var(--color-blue-100);
}

.store-settings-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    column-gap: calc(var(--spacing) * 4);
}

.store-setting-name {
    color: var(--color-gray-800);
    font-family: var(--fontFamily, Inter);
    font-size: 16px;
    font-weight: 400;
    line-height: 150%; /* 24px */
    letter-spacing: 0.15px;
    Colors Color format Hex Text colors text/primary Text content
}

.store-setting-info {
    line-height: 166%; /* 19.92px */
    letter-spacing: 0.4px;
    font-size: 12px;
    font-family: var(--fontFamily, Inter);
    color: var(--color-gray-500);
}

.settings-col {
    display: grid;
    grid-template-rows: 30px 1fr;
}

.store-setting-values {
    display: flex;
    align-items: center;
    justify-content: end;
}

@media screen and (min-width:767px){
    .page {
        padding: 1.5rem 2.25rem;
        margin: 1rem 1rem;
        border-radius: 0.5rem;
        box-shadow: 0px 3px 5px rgb(0 0 0 / 30%);
    }

}

@media screen and (min-height: 768px) {  /* IPAD MINI */

    .reservations-list {
        height: 60dvh
    }

    .waitlistentries-list {
        height: 60dvh
    }

    .assign-table-list {
        max-height: 25dvh
    }

    .walk-in-dialog {
        height: 90%;
    }

    .walk-in-dialog-table-list {
        max-height: 18dvh;
    }

    .table-details-upcoming-resos {
        max-height: 30dvh;
    }

    .future-table-details-upcoming-resos {
        height: 59dvh;
    }

    .waitlist-entry-table-assignment {
        height: 39dvh;
    }

    .waitlist-table-assignment-picker {
        max-height: 61dvh;
    }
}

.walk-in-dialog-table-list {
    max-height: 25dvh;
}

.reservations-list {
    height: 60dvh
}

.waitlist-table-assignment-picker {
    max-height: 60dvh;
}

@media screen and (min-height: 820px) {
    .reservations-list {
        height: 65dvh
    }

    .waitlistentries-list {
        height:65dvh;
    }
    .assign-table-list {
        max-height: 30dvh
    }

    .walk-in-dialog{
        height: 90%;
    }

    .walk-in-dialog-table-list
    {
        max-height:28dvh;
    }

    .table-details-upcoming-resos {
        max-height: 30dvh;
    }

    .future-table-details-upcoming-resos {
        height: 61dvh;
    }

    .waitlist-entry-table-assignment{
        height:42dvh;
    }

    .waitlist-table-assignment-picker {
        max-height: 57dvh;
    }
}


@media screen and (min-height: 1024px) {
    .reservations-list {
        height: 70dvh
    }

    .waitlistentries-list {
        height: 70dvh
    }

    .assign-table-list {
        max-height: 40dvh
    }

    .walk-in-dialog {
        height: 92%;
    }

    .walk-in-dialog-table-list {
        max-height: 40dvh;
    }

    .table-details-upcoming-resos {
        max-height: 30dvh;
    }

    .future-table-details-upcoming-resos {
        height: 49dvh;
    }

    .waitlist-entry-table-assignment {
        height: 35dvh;
    }

    .waitlist-table-assignment-picker{
        max-height:48dvh;
    }
}