html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #4CAF50;
    border-color: #4da850;
}
.table-row-border {
    border-left: 1px solid #929292; /* Adjust the width and color as needed */
    border-right: 1px solid #929292; /* Adjust the width and color as needed */
}
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #439446;
}

.content {
    padding-top: 1.1rem;
}

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,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTk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ary::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;
}
/* Start with a base font for the entire site */

body {
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.6em;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

h1, h2, h3, h4 {
    font-weight: 700;
    margin-top: 0.1em;
    margin-bottom: 0.1em;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.75em;
}

h3 {
    font-size: 1.5em;
}

h4 {
    font-size: 1.25em;
}

p {
    margin-bottom: 1.5em;
}

/* Style for links */

a, a:visited {
    color: #0077cc;
    text-decoration: none;
}

    a:hover, a:focus {
        color: #004499;
        text-decoration: underline;
    }

/* Button styles */

.btn {
    display: inline-block;
    font-size: 1em;
    color: #fff;
    background-color: #26b050;
    padding: 10px 20px;
    margin: 10px 2px;
    border: none;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

    .btn:hover {
        background-color: #295a2b;
    }

/* Cards to display individual products */


/*@media screen and (min-width: 1200px) {
    .card {
        flex: 0 0 calc(17% - 0.8em);
        max-width: calc(17% - 0.8em);
    }
}*/
/*@media screen and (min-width: 1200px) {
    .card-list {
        flex: 0 0 calc(17% - 0.8em);
        max-width: calc(17% - 0.8em);
    }
}*/
.card-list {
    display: flex;
    flex-wrap: wrap;
    /*flex: 0 0 calc(98% - 0.8em);*/
    /*max-width: calc(98% - 0.8em);*/
    /*gap: 0.5em;*/
    margin-left: 1%;
    margin-right: 1%;
    width: 100%; /* Change from calc(98% - 0.8em) */
    max-width: 100%; /* Change from calc(98% - 0.8em) */
    /*margin-left: 10px;*/ /* Remove left margin */
    gap: 1em; /* Add gap for spacing between cards */
}


.card {
    flex: 1 1 100%;
    max-width: 100%;
    background: #fff;
    margin-bottom: 2em;
    /*padding: 1em;*/
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
    box-sizing: border-box;
}
.card_sm {
    flex: 1 1 50%;
    max-width: 300px;
    background: #fff;
    margin-bottom: 2em;
    /*padding: 1em;*/
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

a:hover {
    box-shadow: 0.3em 0.3em 0.6em rgba(0,0,0,0.1);
}

a.card,
a.card * {
    color: inherit;
    text-decoration: none;
}

    a.card:hover,
    a.card:hover * {
        color: inherit;
        text-decoration: none;
    }

.search-form {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    margin: 1em auto;
    max-width: 800px;
}

    .search-form input {
        flex: 1;
        height: 35px;
        padding: 0 10px;
        font-size: 16px;
        border: 2px solid #ddd;
        border-radius: 5px 0 0 5px;
        outline: none;
        box-sizing: border-box;
    }

    .search-form button {
        height: 35px;
        padding: 0 20px;
        border: none;
        background-color: #6165c9;
        color: white;
        font-size: 16px;
        border-radius: 0 5px 5px 0;
        cursor: pointer;
        box-sizing: border-box;
    }

/* Styles for screens with max width of 768px */
@media screen and (min-width: 768px) {
    .card {
        flex: 0 0 calc(50% - 1em);
        max-width: calc(50% - 1em);
    }
}
/* Style between 768 and about 923 result in one Card rather than 2 What is preventing the first card expading.*/

/* Styles for screens with max width from 1200 down to of 768px 1/.25 ~= 4 across */
/*@media screen and (min-width: 992px) {
    .card {
        flex: 0 0 calc(25% - 0.75em);
        max-width: calc(25% - 0.75em);
    }
}*/

/* Styles for screens with max width down to 1200px  1/.1583 = 6 across */
@media screen and (min-width: 1200px) {
    .card {
        flex: 0 0 calc(33% - 0.8em);
        max-width: calc(33% - 0.8em);
    }
}



.card-img {
    width: 100%;
    height: auto;
    margin-bottom: 0.5em;
}

.card-content, .card-footer {
    padding: 0.5em;
    padding-bottom: 0em;
}
.card-detail {
    margin-left: 0.5em;
    padding: unset
}
    .card-content h1, .card-content h2 {
        margin-top: 0;
    }

.product-list .price,
.product-list .title {
    font-weight: normal;
}

.btn-pen {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-person-circle' viewBox='0 0 16 16'%3E%3Cpath d='M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8z'/%3E%3C/svg%3E");
}
.form-control:focus {
    outline: 2px solid #4CAF50; /* Change the color and width of the outline */
    outline-offset: 2px; /* Offset the outline from the border */
    box-shadow: 0 0 5px rgb(76, 255, 0); /* Add a shadow effect */
}

/* Site Statistics Card Layout */
.card-list.product-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    width: 100%;
}

    .card-list.product-list .card {
        display: flex;
        flex-direction: column;
        min-width: 0;
        text-decoration: none;
        color: inherit;
    }

    /* Card-1: 30% width */
    .card-list.product-list .card-1 {
        flex: 0 0 32%;
        max-width: 32%;
    }

    /* Card-2: 70% width (remaining space in first row) */
    .card-list.product-list .card-2 {
        flex: 0 0 70%;
        max-width: 70%;
    }

    /* Card-3: Full width on its own row */
    .card-list.product-list .card-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }

/* Responsive: Stack all cards on smaller screens */
/*@media (max-width: 900px) {
    .card-list.product-list {
        flex-direction: column;
    }

        .card-list.product-list .card-1,
        .card-list.product-list .card-2,
        .card-list.product-list .card-3 {
            flex: 0 0 100%;
            max-width: 100%;
            border-top: 1px solid #ddd;
        }

        .card-list.product-list .card-1 {
            border-top: none;
        }
}*/

.applog-grid {
    grid-template-columns: 30px 200px 160px 400px 1fr 150px;
}

/* QuickGrid AppLog styling */
.applog-grid {
    border-collapse: collapse;
    width: 100%;
    grid-template-columns: 60px 180px 100px 250px 1fr 150px;
}

    .applog-grid th,
    .applog-grid td {
        border: 1px solid #dee2e6;
        padding: 8px;
        text-align: left;
    }

    .applog-grid thead th {
        background-color: #f8f9fa;
        border-bottom: 2px solid #dee2e6;
        font-weight: 600;
    }

    .applog-grid tbody tr:nth-child(even) {
        background-color: #f9f9f9;
    }

    .applog-grid tbody tr:hover {
        background-color: #e9ecef;
    }

/* Responsive scrolling */
@media (max-width: 1200px) {
    .applog-grid {
        grid-template-columns: 50px 150px 80px 200px 1fr 120px;
    }
}

/* Print-specific styles */
@media print {
    /* Hide everything by default */
    .print-container {
        page-break-inside: avoid;
    }

    img, .print-container {
        max-width: 100%;
        max-height: 100vh; /* fit within viewport height */
        object-fit: contain; /* scale without cropping */
    }

    body * {
        /*transform: scale(0.8);*/ /* 80% of original size */
        margin: 0;
        visibility: hidden;
    }


    @page {
        /*transform: scale(0.8);*/ /* 80% of original size */
        margin: 0;
        size: A4 landscape; /* or 'letter' depending on your region */
    }
        /* Show only the print section and its children */
        .print-section,
        .print-section * {
            visibility: visible;
        }
        /* Position print section at top-left */
    .print-section {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }
        /* Hide navigation buttons when printing */
        .calendar-navigation button,
        .no-print {
            display: none !important;
        }
        /* Adjust calendar for print */
        .calendar-grid {
            border: 2px solid #000;
            page-break-inside: avoid;
        }

        .calendar-day {
            border: 1px solid #000;
            page-break-inside: avoid;
        }
        /* Ensure colors print correctly */
        .status-available,
        .status-dayallavailable,
        .status-daypartavailable {
            background-color: lightgreen !important;
            -webkit-print-color-adjust: exact;
            print-color-adjust: exact;
        }

        .status-busy,
        .status-dayallbusy {
            background-color: lightsteelblue !important;
            -webkit-print-color-adjust: exact;
            print-color-adjust: exact;
        }

        .status-unavailable,
        .status-dayallunavailable {
            background-color: darkgrey !important;
            -webkit-print-color-adjust: exact;
            print-color-adjust: exact;
        }
    }

/* Hide print button on screen if desired */
.no-print {
    margin: 20px 0;
}
.e-accordion .e-content {
    overflow-x: auto !important;
}

.e-accordion .table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
}