@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&icon_names=add_box,block,cancel,chevron_backward,chevron_forward,close,close_small,database_upload,delete_forever,filter_list_off,info,keyboard_double_arrow_down,keyboard_double_arrow_left,keyboard_double_arrow_right,keyboard_double_arrow_up,login,logo_dev,menu,more_horiz,refresh,save,search,security,thumb_down,thumb_up,tune,visibility,warning");
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");
@import "edi-list.css";
@import "filter-section.css";
@import "home-page.css";
@import "layout.css";

:root {
    --page-header-background-color: #00133B;
    --default-text-color: #333333;
    --odd-row-background: #f9f9f9;
    --even-row-background: #ffffff;
    --row-border-color: #e0e0e0;
    --strong-text-color: #111111;
    --disabled-text-color: #999999;
    --accept-button-color: #e8fbe8;
    --accept-button-edge-lite: #d2f7d2;
    --accept-button-edge-dark: #a7f0a7;
    --decline-button-color: #fbe8e8;
    --decline-button-edge-lite: #f3d2d2;
    --decline-button-edge-dark: #f0a7a7;
}
.master-page {
    --external-page-background-color: #fb7c1c;
    --internal-page-background-color: #f9f9fb;
    --internal-page-main-header-text-color: #ffffff;
    --internal-page-specific-header-background-color: #f97d20;
    --internal-page-specific-header-text-color: #ffffff;
}

.edi204-details-dialog {
    --border-radius: 5px;
    --section-header-background-color: #eaeaea;
    --section-background-color: #f9f9f9;
    --section-font-color: #333333;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

textarea {
    box-sizing: border-box;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGx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QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

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

button {
    display: flex;
    flex-direction: row;
    column-gap: 0.5em;
    align-items: center;
    border-radius: 4px;
    background-color: #eeeeee;
    border: 1px solid #aaaaaa;
    padding: 0.2em 0.6em;
    justify-content: center;
    font-size: 150%;
    cursor: pointer;
}

    button:hover {
        outline: solid 1px #666666;
    }

div > select, input[type='text'] {
    border: solid 1px var(--row-border-color);
    border-radius: 5px;
    width: fit-content;
}

select, input[type='text'] {
    border-radius: 5px;
}

input[type='text'] {
    padding: 0.45em;
}

select {
    padding: 0.4em;
    padding-right: 0.3em;
    border: none;
    border-right: solid 0.5em transparent;
}

.material-symbols-outlined {
    font-size: 150%;
    margin-left: -0.2em;
}

body:has(.page-cover) {
    overflow:hidden;
}

body .page-cover {
    display: block;
    position: fixed;
    top: 0px;
    bottom: 0px;
    right: 0px;
    left: 0px;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 98;
}

body .page-cover-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0px;
    bottom: 0px;
    right: 0px;
    left: 0px;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 99;
}
body .page-cover.dialog {
    z-index: 100;
}
body .page-cover-content.dialog {
    z-index: 101;
}

.material-symbols-outlined {
    font-size: 100%;
}

.edi204-details-dialog {
    border: solid 3px var(--row-border-color);
    border-radius: 0.5em;
    background-color: #ffffff;
    max-height: 90%;
    max-width: 80em;
    min-width: 50em;
    padding: 0em;
    display: flex;
    flex-direction: row;
    overflow-y: auto;
}

    .edi204-details-dialog .content {
        padding: 1em;
        display: flex;
        flex-direction: column;
    }

    .edi204-details-dialog .load-details-overall {
        flex-grow: 1;
        display: grid;
        grid-template-columns: repeat(3, auto);
        column-gap: 0.8em;
        row-gap: 0.5em;
        height: 100%;
        overflow: hidden;
    }
        .edi204-details-dialog .load-details-overall > .action-pane {
            grid-column: 1/3;
        }

            .edi204-details-dialog .load-details-overall .action-pane .status-upd-info {
                font-size: 85%;
                color: grey;
            }

        .edi204-details-dialog .load-details-overall > .edi204-load-details.detail {
            grid-column: 1/1;
        }

        .edi204-details-dialog .load-details-overall > .edi204-load-actions {
            grid-row: span 3;
            padding-right: 1px; /* Make sure the button outline doesn't get cut off */
        }

        .edi204-details-dialog .load-details-overall > .header {
            font-size: 150%;
        }

    .edi204-details-dialog .edi204-load-actions {
        border-left: solid 1px #f0f0f0;
        padding-left: 0.8em;
        display: flex;
        flex-direction: column;
        row-gap: 0.5em;
        color: #333333;
    }

        .edi204-details-dialog .edi204-load-actions button {
            width: 100%;
            max-width: 13em;
        }

.edi204-load-details.detail, .edi204-load-stops.detail {
    min-width: 20em;
    max-width: 35em;
    overflow-y: auto;
    overflow: auto;
    height: auto;
    max-height: 100%;
}

.edi204-load-stops.detail {
    display: flex;
    flex-direction: column;
    row-gap: 0.8em;
}

.edi204-details-dialog .label, .edi204-details-dialog .reference.name {
    color: #999999;
    font-size: 75%;
}

.edi204-details-dialog .label, .edi204-details-dialog .references.data {
    padding-top: 0.3em;
}

    .edi204-load-stops .label:first-child {
        padding-top: 0.0em;
    }

.edi204-load-stops .edi204-load-stop, .edi204-load-details .detail-section {
    display: flex;
    background-color: var(--section-background-color);
    border-radius: var(--border-radius);
    border: solid 1px var(--section-header-background-color);
}

.edi204-load-stops .edi204-load-stop {
    flex-direction: row;
    column-gap: 0.75em;
}

    .edi204-load-stops .edi204-load-stop .stop-type {
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;
        background-color: var(--section-header-background-color);
        row-gap: 0.5em;
        padding-right: 0.15em;
    }

        .edi204-load-stops .edi204-load-stop .stop-type .stop-index {
            font-size: 250%;
            padding: 0.1em 0.15em;
        }

        .edi204-load-stops .edi204-load-stop .stop-type .stop-type-name {
            word-break: break-all;
            text-transform: uppercase;
            writing-mode: vertical-lr;
            text-orientation: upright;
            font-size: 90%;
            color: #666666;
            padding-bottom: 0.5em;
        }

    .edi204-load-stops .edi204-load-stop .stop-detail {
        padding: 0.4em 0.5em 0.4em 0em;
        color: var(--section-font-color);
    }

.edi204-details-dialog .references.label {
    display: none;
}

.edi204-details-dialog .references.data {
    display: flex;
    flex-direction: row;
    column-gap: 0.75em;
    row-gap: 0.5em;
    flex-wrap: wrap;
}
.edi204-details-dialog .reference.item {
    display: flex;
    flex-direction: column;
}

.edi204-load-details {
    display: flex;
    flex-direction: column;
    row-gap: 0.8em;
}
    .edi204-load-details .detail-section {
        flex-direction: column;
        color: var(--section-font-color);
    }


        .edi204-load-details .detail-section > .name, .edi204-load-details .detail-section > .detail {
            padding: 0.3em 0.5em;
        }

    .edi204-load-details .detail-section > .name {
        background-color: var(--section-header-background-color);
        font-weight: bold;
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;
    }

        .edi204-load-details .detail-section > .detail {
            display: flex;
            flex-direction: column;
        }

.edi204-loader {
}

    .edi204-loader textarea {
        width: 100%;
        height: 30em;
    }

.edi204-loader .load-button-holder {
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 1em;
    justify-content: space-between;
}

.action-dialog {
    display: flex;
    flex-direction: column;
    justify-items: center;
}

.action-dialog textarea {
    width: 50em;
    height: 60em;
}

.action-dialog-button {
    display: flex;
    flex-direction: column;
    justify-items: center;
}

.edi204-loader .from-picker {
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 0.5rem;
    margin-bottom: 0.5rem;
}