﻿.accordion-button:not(.collapsed) {
    background: #BBA96C;
    color: #fff;
}

.accordion-button:focus {
    z-index: 3;
    border-color: #bfb5ae;
    outline: 0;
    box-shadow: 0 0 8px rgba(191, 181, 174, 0.4);
}

.fullscreen-card-90 {
    min-height: 90vh;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.fullscreen-card-90 .card-body {
    flex: 1 1 auto;
    overflow-y: auto;
}
.fullscreen-card-90 .card-actions {
    margin-top: auto;
}

/* Vertical mobile table */
@media (max-width: 768px) {
    .mobile-first-table thead {
        display: none;
    }

    .mobile-first-table tbody tr {
        display: flex;
        flex-direction: column;
        border-bottom: none !important;
        margin-bottom: 1rem;
    }

    .mobile-first-table td {
        display: flex;
        flex-direction: column;
        border-bottom: none !important;
        padding: 0.25rem;
    }

        .mobile-first-table td::before {
            background-color: var(--bs-card-cap-bg);
            content: attr(data-label);
            font-weight: bold;
            margin-bottom: 0.25rem;
            display: block;
        }
}

.material-row, .material-row td {
    background-color: #f9f9f9 !important;
}
.process-row {
    background: #fff;
    font-style: italic;
}
.process-indent {
    padding-left: 0.75rem;
}

.card-header {
    padding: var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);
    margin-bottom: 0;
    color: var(--bs-card-cap-color);
    background-color: var(--bs-card-cap-bg);
    border-bottom: var(--bs-card-border-width) solid var(--bs-card-border-color);
}

.signature-container {
    height: 200px;
    position: relative;
}

.navbar-toggler-icon {
    --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath stroke='%23BBA96C' stroke-linecap='round' stroke-width='2' d='M2 4h12M2 8h12M2 12h12'/%3e%3c/svg%3e");
}

/*
    -------- Date Grid ------------------
*/
.full-width-container {
    width: 100% !important;
    max-width: 100% !important;
}

.date-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.1rem;
}

.date-grid .no-pad { padding: 0 !important;}

.job-card {
    height: 190px !important;
    max-height: 190px !important;
    min-height: 190px !important;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    overflow: hidden;
}

.job-card-cancelled {
    border: 2px solid var(--bs-danger) !important;
    background-color: rgba(var(--bs-danger-rgb), 0.1);
}

.date-grid .b-tooltip, .date-grid .tooltip-inner, .date-grid-tooltip, .date-grid-tooltip .tooltip-wrapper {
    white-space: pre-line;
    max-width: 190px !important;
    word-wrap: break-word;
    white-space: pre-wrap;
}

.date-grid-tooltip {
    display: inline-block;
    min-width: 100%;
}

    .date-grid-tooltip .tooltip-inner {
        width: max-content;
        min-width: 100%;
    }

@media (min-width: 992px) {
    .date-grid {
        grid-template-columns: repeat(var(--columns-count), 1fr);
    }

    .job-card {
        height: auto;
    }
}