﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    height: 100%;
    margin: 0;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

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

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    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+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIu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CIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

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

.layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.layout-top-border {
    height: 10px;
    background-color: green;
    width: 100%;
}

.layout-content {
    flex: 1;
    padding: 20px;
}

.layout-bottom-border {
    background-color: green;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.privacy-policy-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

a.privacy-link {
    text-decoration: underline !important;
}

.privacy-policy-container .privacy-link, .privacy-policy-container p {
    margin: 0; /* Removes default margin */
    padding: 5px; /* Adds some padding, adjust as needed */
    text-decoration: none; /* Optional: removes underline from the link */
    color: #fff; /* Optional: sets the link color */
}

.main-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid lightgray;
    padding: 2rem;
    border-radius: 10px;
    background-color: #fff;
    width: 30%;
    margin: auto;
    margin-top: 6rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

#confirm-date-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid lightgray;
    padding: 20px;
    border-radius: 10px;
    background-color: #fff;
    width: 35%;
    margin: auto;
    margin-top: 4rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.order-tracking-logo {
    height: auto;
    max-height: 100px;
}

.order-tracking-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
}

    .order-tracking-form label {
        margin-bottom: 10px;
    }

    .order-tracking-form input {
        padding: 10px;
        border: 1px solid #ccc;
        width: 100%;
        box-sizing: border-box;
    }

    .order-tracking-form button {
        padding: 10px;
        background-color: #6c757d;
        color: #fff;
        border: none;
        cursor: pointer;
        width: 100%;
        box-sizing: border-box;
        margin-top: 1.4rem;
        margin-bottom: .8rem;
    }

button:hover {
    background-color: rgb(117, 127, 130) !important;
}

.logo-container {
    background-color: white;
    width: calc(100% + 40px);
    margin: -20px -20px 0px -20px;
    display: flex;
    justify-content: center;
    padding: 1.5rem 0;
    box-sizing: border-box;
    border-bottom: 3px solid rgba(255, 255, 255, 0.53);
}

.btn-icon-like {
    height: 16px;
    width: 16px;
    -webkit-mask-image: url("images/icons/like.svg");
    mask-image: url("images/icons/like.svg");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    background-color: currentColor;
}

.tracking-input {
    -webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
    background: #fff;
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
}

.tracking-label {
    display: inline-block;
    margin-bottom: 0.5rem;
}

.tracking-title {
    font-size: 1.25rem;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    padding-bottom: 1.5rem;
    padding-top: .7rem;
}

.confirm-title {
    font-size: 1.25rem;
    text-align: center;
    line-height: 1.2;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    padding-top: .7rem;
}

#order-details-page {
    display: flex;
    flex-direction: column;
}

#order-details-container {
    width: 100%;
    /*    background-color: #fff; 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); 
    border-radius: 8px;*/
}

.header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 0;
}

.logout {
    margin-right: 20px;
}

.logo-container {
    text-align: center;
    flex-grow: 1;
}

.order-details-logo {
    max-height: 100px;
}

.details-container {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
}

.details-header {
    background-color: #7D8189;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    color: white; /* Optional: Make text color white for better contrast */
}

.header-left, .header-right {
    display: flex;
    flex-direction: column;
}

.steps .step {
    display: block;
    width: 100%;
    margin-bottom: 35px;
    text-align: center
}

    .steps .step .step-icon-wrap {
        display: block;
        position: relative;
        width: 100%;
        height: 40px;
        text-align: center
    }

        .steps .step .step-icon-wrap::before,
        .steps .step .step-icon-wrap::after {
            display: block;
            position: absolute;
            top: 50%;
            width: 50%;
            height: 3px;
            margin-top: -1px;
            background-color: #e1e7ec;
            content: '';
            z-index: 1
        }

        .steps .step .step-icon-wrap::before {
            left: 0
        }

        .steps .step .step-icon-wrap::after {
            right: 0
        }

    .steps .step .step-icon {
        display: inline-block;
        position: relative;
        width: 40px;
        height: 40px;
        border: 1px solid #e1e7ec;
        border-radius: 50%;
        background-color: #f5f5f5;
        color: #374250;
        font-size: 38px;
        line-height: 81px;
        z-index: 5
    }

    .steps .step .step-title {
        margin-top: 16px;
        margin-bottom: 0;
        color: #606975;
        font-size: 14px;
        font-weight: 500
    }

    .steps .step:first-child .step-icon-wrap::before {
        display: none
    }

    .steps .step:last-child .step-icon-wrap::after {
        display: none
    }

    .steps .step.completed .step-icon-wrap::before,
    .steps .step.completed .step-icon-wrap::after {
        background-color: #7D8189
    }

    .steps .step.completed .step-icon {
        border-color: #7D8189;
        background-color: #7D8189;
        color: #fff
    }

.step-text {
    text-align: center;
}

.step-time {
    margin-bottom: 0;
}

@media (max-width: 576px) {
    .flex-sm-nowrap .step .step-icon-wrap::before,
    .flex-sm-nowrap .step .step-icon-wrap::after {
        display: block;
        width: 3px;
        height: 100%;
        left: 50%;
        top: 50%;
    }

    .flex-sm-nowrap .step .step-icon-wrap::before {
        top: -85%;
    }

    .step-content {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .step-text {
        text-align: left;
    }

    .steps .step .step-icon-wrap {
        width: auto;
        margin-right: 1rem;
    }

    .steps .step .step-title {
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .flex-md-nowrap .step .step-icon-wrap::before,
    .flex-md-nowrap .step .step-icon-wrap::after {
        display: none
    }

    .column-25, .column-75 {
        width: 100%;
        float: none;
        flex: none !important;
    }

    .delivery-container {
        border-right: none !important;
        height: 100%;
        display: block !important;
    }

    .item-container {
        margin: 0 !important;
        width: 98%;
        margin-top: 1rem !important;
    }
}

@media (max-width: 991px) {
    .flex-lg-nowrap .step .step-icon-wrap::before,
    .flex-lg-nowrap .step .step-icon-wrap::after {
        display: none
    }
}

@media (max-width: 1200px) {
    .flex-xl-nowrap .step .step-icon-wrap::before,
    .flex-xl-nowrap .step .step-icon-wrap::after {
        display: none
    }
}

.bg-faded, .bg-secondary {
    background-color: #f5f5f5 !important;
}

.orders-container {
    display: flex;
}

.column {
    flex: 1;
}

.column-25 {
    flex: 0.25;
}

.column-75 {
    flex: 0.75;
}

.item-container {
    margin-top: 1rem;
    width: 98%;
}

.delivery-container {
    height: 100%;
}

.confirm-date-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.item-header span {
    font-weight: bold;
}

.order-details-view {
    width: 100%;
    max-width: 41rem;
}

.centered-table {
    margin: auto;
    padding: 0 20px;
}

    .centered-table td {
        padding: 0 .5rem;
    }

.radio-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.radio-container {
    display: flex;
    justify-content: center;
}

.radio-div {
    width: 50%;
    border: 1px solid #ccc;
    padding: .5rem;
    border-radius: 10px;
}

    .radio-div.selected {
        border: 1px solid blue;
    }

    .radio-div label {
        font-size: 1.5rem;
        font-weight: bold;
        padding-bottom: .4rem;
    }

.order-details-view button {
    padding: 10px;
    background-color: #6c757d;
    color: #fff;
    border: none;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
    margin-top: 1.9rem;
    margin-bottom: .8rem;
}

#confirm-date-container .dxbl-btn-primary {
    padding: 10px;
    background-color: #6c757d;
    color: #fff;
    border: none;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 1.5rem;
}

.padded-button {
    padding: 10px;
}

.date-dropdown {
    border: 1px solid #ccc;
    padding: 5px;
    cursor: pointer;
    font-weight: bold;
}

.centered-date {
    text-align: center;
    color: #333;
}

.disclaimer {
    font-size: .8em;
    padding-top: .6em;
    margin-bottom: .5em;
}
/* Responsive CSS */
@media (max-width: 600px) {
    .main-container {
        width: 100%;
        margin-top: 0;
    }

    #confirm-date-container {
        width: 100%;
        margin-top: 0;
    }

    .tracking-title {
        font-size: 1.5em;
    }

    .order-tracking-form {
        width: 100%;
    }

    .tracking-input {
        width: 100%;
    }

    .w-100 {
        width: 100%;
    }

    #confirm-date-container {
        padding: 20px;
    }

    .tracking-title {
        font-size: 1.5em;
    }

    .confirm-date-form {
        width: 100%;
    }

    .date-dropdown {
        width: 100%;
    }
}

@media (min-width: 601px) and (max-width: 1024px) {
    .main-container {
        width: 70%;
        margin-top: 3rem;
    }

    #confirm-date-container {
        width: 75%;
        margin-top: 3rem;
    }
}

@media (min-width: 1025px) {
    .main-container {
        width: 30%;
        margin-top: 4rem;
    }

    #confirm-date-container {
        width: 40%;
        margin-top: 3rem;
    }
}

.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.loader {
    border: 5px solid #486823;
    border-top: 5px solid #688c41;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
}

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

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

.tracking-home button {
    padding: 10px;
    background-color: #6c757d;
    color: #fff;
    border: none;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
    margin-top: 1.9rem;
    margin-bottom: .8rem;
}

.message-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.message-title {
    color: #333;
    text-align: center;
    margin-top: .5rem;
}

.error-title {
    color: #d9534f;
    text-align: center;
    margin-top: 1rem;
}

.message-text {
    margin: 20px;
    text-align: center;
}

.tracking-home .dx-button {
    width: 100%;
}

.input-error {
    width: 100%;
    margin-top: .25rem;
    font-size: .875em;
    color: #dc3545;
}

.custom-radio-layout {
    display: flex;
    flex-direction: column;
}

.radio-label {
    text-align: left;
    font-weight: bold;
}

.date-edit-container {
    margin-top: 5px;
}

.radio-group {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.radio-div-selected {
    border: 2px solid #6c757d;
    padding: 10px;
    background: #f9fbff;
}

.radio-div-unselected {
    background: #dee2e6;
}

.radio-label-selected {
    color: #0d6efd;
}

.radio-label-unselected {
    color: #6c757d;
}

.radio-div-selected {
    border: 3px solid #599bfe;
    padding: 10px;
    background: #f5f9ff;
}

.shipping-address {
    margin-bottom: .5rem;
}

.logo-container {
    position: relative;
}

.logout-button {
    position: absolute;
    top: 0;
    right: 0;
    padding: 1.5rem;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    color: white;
}

    .logout-button a {
        color: #fff;
        text-decoration: none;
    }

.image-container {
    float: left;
    margin-right: .8rem;
}

    .image-container img {
        max-width: 60px;
    }

.dxbl-calendar .dxbl-calendar-content .dxbl-calendar-week-number {
    visibility: hidden;
    font-size: var(--dxbl-calendar-week-number-font-size);
    opacity: var(--dxbl-calendar-week-number-opacity)
}

#grid-container {
    width: 100%;
    overflow-x: auto;
}

@media (max-width: 768px) {
    #grid-container {
        width: 100%;
    }

    .dx-datagrid {
        width: 100%;
    }

        .dx-datagrid .dx-datagrid-headers,
        .dx-datagrid .dx-datagrid-content {
            display: block;
            width: 100%;
        }

            .dx-datagrid .dx-datagrid-headers .dx-datagrid-header-row,
            .dx-datagrid .dx-datagrid-content .dx-datagrid-data-row {
                display: flex;
                flex-wrap: wrap;
            }

                .dx-datagrid .dx-datagrid-headers .dx-datagrid-header-row .dx-datagrid-header,
                .dx-datagrid .dx-datagrid-content .dx-datagrid-data-row .dx-datagrid-cell {
                    flex: 1 1 100%;
                    width: 100%;
                }
}
.details-content {
    display: flex;
    gap: 1rem;
}

#customer-info-container {
    flex: 1;
    max-width: 25%;
}

.job-info-container {
    flex: 3;
}

.item-row {
    display: flex;
    align-items: center;
    padding: 1rem;
    flex-wrap: wrap;
}

.item-info {
    flex: 1;
    min-width: 50px;
    margin-right: 1rem;
}

.item-label {
    font-weight: bold;
}

.item-content {
    margin-bottom: 0.5rem;
}
#item-box {
    padding-right: 1rem;
}
@media (max-width: 768px) {
    #customer-info-container {
        width: 100% !important;
        max-width: 100%;
    }
    .delivery-container {
        padding-bottom: 1rem;
        padding-left: 1rem;
    }
    #item-box {
        width: 100%;
        padding-bottom: 1rem;
    }
    .image-container {
        width: 100%;
        padding-bottom: 1rem;
    }
    .item-info {
        min-width: 100%;
    }
    .help-icon {
        width: 25px !important;
        margin-bottom: 0 !important;
    }
}
.dxbl-accordion-group-header{
    background-color: #7D8189 !important;
    color: white !important;
}
.dxbl-accordion-group-header:hover {
        background-color: #7D8189 !important;
        color: white !important;
    }
.delivery-container {
    display: flex; 
    align-items: flex-start; 
    gap: 5px; 
}

    .delivery-container .column {
        flex: 1; 
    }
    .delivery-container .image-container img {
        margin-top: 1rem;
        margin-left: .5rem;
    }
.message-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}
img.message-image {
    width: 15%;
}
.make-white {
    filter: invert(95%) sepia(0%) saturate(2%) hue-rotate(212deg) brightness(112%) contrast(101%);
}

.tracking-box {
    display: grid;
    grid-template-columns: 20% 60% 20%;
    align-items: center;
}
.tracking-question {
    display: flex;
    justify-content: flex-end;
}

@media only screen and (max-width: 575px) {
    .tracking-box {
        grid-template-columns: 100%;
    }
    .tracking-question {
        margin-top: 10px;
        justify-content: center;
    }
}
.dxbl-text-edit.dxbl-focused, .dxbl-text-edit:focus-within {
    border-color: #6c757d !important;
    box-shadow: none !important;
}
.help-icon {
    width: 18px;
    margin-bottom: 2px;
}
.order-grid th {
    padding: .5rem !important;
}
.order-grid td {
    overflow: visible !important;
    text-overflow: initial !important;
    overflow-wrap: break-word !important;
    vertical-align: top !important;
}
.order-grid .dx-grid-cell {
    white-space: normal;
    word-wrap: break-word; 
}
.no-border {
    margin-bottom: 1.5rem;
}
    .no-border button:active, .no-border button:focus {
        background-color: #6c757d;
        border-color: none;
    }
.dxbl-btn.dxbl-disabled, .dxbl-btn:disabled {
    background: #ccc;
}
.dxbl-btn.dxbl-btn-secondary {
    background-color: #4a7ebc !important;
    color: #fff !important;
    border-color: #4a7ebc !important;
}
.contact-support-btn {
    margin-bottom: .5rem;
}
.dxbl-btn-light:hover {
    background-color: rgb(240, 240, 240) !important;
}
.contact-support-link {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #856404;
    text-decoration: underline;
    cursor: pointer;
    font-weight: bold;
}

    .contact-support-link:hover {
        color: #856404 !important; 
        background: none !important;
    }
.info-box {
    background-color: #FFF3CD;
    color: #856404;
    border: 1px solid #e5d6a7;
    padding: 10px;
    border-radius: 8px;
    margin-top: 8px;
    font-size: 0.9em;
}