.dashboard-card {
    min-height: 100vh;
    min-width: 450px;
    border: 1px solid black;
    display: flex;
    flex-direction: column;
}

.dashboard-back-navigation {
    box-shadow: 0px 0px 0px rgba(3, 7, 18, 0.08),
        0px 0px 1px rgba(3, 7, 18, 0.07),
        0px 1px 2px rgba(3, 7, 18, 0.06),
        0px 2px 4px rgba(3, 7, 18, 0.06),
        0px 3px 6px rgba(3, 7, 18, 0.05),
        0px 4px 9px rgba(3, 7, 18, 0.04),
        0px 5px 12px rgba(3, 7, 18, 0.03),
        0px 6px 15px rgba(3, 7, 18, 0.02),
        0px 8px 19px rgba(3, 7, 18, 0.02),
        0px 10px 24px rgba(3, 7, 18, 0.01);
    min-width: 100%;
    min-height: 37px;
    margin-top: 1px;
    margin-left: 1px;
    margin-right: 1px;
    border-radius: 2px;
    background-color: #f5f5f5;
    position: relative;
}

body {
    background-color: #ffff;
}

.bottom-nav {

    box-shadow: 0px -0px 0px rgba(3, 7, 18, 0.08),
        0px -0px 1px rgba(3, 7, 18, 0.07),
        0px -1px 2px rgba(3, 7, 18, 0.06),
        0px -2px 4px rgba(3, 7, 18, 0.06),
        0px -3px 6px rgba(3, 7, 18, 0.05),
        0px -4px 9px rgba(3, 7, 18, 0.04),
        0px -5px 12px rgba(3, 7, 18, 0.03),
        0px -6px 15px rgba(3, 7, 18, 0.02),
        0px -8px 19px rgba(3, 7, 18, 0.02),
        0px -10px 24px rgba(3, 7, 18, 0.01);
    min-width: 100%;
    min-height: 50px;
    margin-top: 1px;
    margin: 1px;
    background-color: #f5f5f5;
    display: flex;
    bottom: 0;
    left: 0;
    margin-top: auto;
}

.actionable-square {
    font-weight: 500;
    font-size: x-large;
}

.mt-20-vh {
    margin-top: 20vh;
}

.pl-40 {
    padding-left: 40px;
}

.pr-40 {
    padding-right: 40px;
}

.w-200 {
    width: 200px;
}

.dashboard-action-buttons-area {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.ml-5 {
    margin-left: 5px;
}

.form-group-new-ticket {
    margin-top: 5px;
    margin-bottom: 5px;
    border-top: 1px solid black;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.dashboard-input {
    border: 1px solid #00000061;
}

.pr-10 {
    padding-right: 10px;
}

.pl-10 {
    padding-left: 10px;
}

.logging-table {
    margin: 2px !important;
    border: 1px solid black !important;
    border-collapse: collapse !important;
    border-spacing: 0px !important;
    border-color: black !important;
    border-style: solid !important;
    color: black !important;
    text-align: left !important;
    padding: 5px !important;
    width: 100% !important;
    overflow-x: auto;
    display: block;
}

.logging-table th, .logging-table td {
    border: 1px solid black !important;
    vertical-align: middle !important;
}

.table-head {
    background-color: #424242 !important;
    color: white !important;
}

.dashboard-content-area {
    overflow-y: scroll;
    scrollbar-width: none;
}

.dashboard-content-area::-webkit-scrollbar {
    display: none;
}

.bg-black {
    background-color: #000000;
}

.color-black {
    color: #000000;
}

.dashboard-select-box {
    border: 1px solid #00000061;
    padding: 5px;
    width: 100%;
}

.ml-2 {
    margin-left: 2px;
}

.ml-10 {
    margin-left: 10px;
}

.mr-2 {
    margin-right: 2px;
}

label {
    white-space: nowrap;
}

/* .form input {
    width: 100%;
    padding: 5px;
    border: 1px solid #00000061;
} */
.alert.alert-success ul {
    margin: unset;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.form-group-new-ticket label {
    font-size: large;
}

.table.table-striped.table-responsive.logging-table {
    vertical-align: middle;
}

input {
    border: 1px solid black !important;
}

.form-control-medium {
    padding: 0.30rem .75rem !important;
}

.ml-2 {
    margin-left: 2px;
}

.padding-top-10 {
    padding-top: 10px;
}

.margin-bottom-10 {
    margin-bottom: 10px;
}

.button-logout {
    mix-blend-mode: darken;
}

.dashboard-dropdown-icon {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23333" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 2rem;

}

/* image view popup */
.pwa-image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.pwa-modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
}

.pwa-close-modal {
    position: absolute;
    top: 30px;
    right: 50px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* mediq query for mobile less than 450 */
@media (max-width: 450px) {

    .mobile-p-0 {
        padding: 0px !important;
    }

    .dashboard-card {
        min-height: 100vh;
        min-width: 100vw;
        border-top: 0px;
        border-bottom: 0px;
        border-left: 1px solid black;
        border-right: 1px solid black;
    }
}

.select2-container .select2-selection--multiple{
    border: 1px solid black !important;
}

/* =====================================================================
   Log "record card" pattern — shared by all four My Logs list views
   (tickets, driver logs, driver time records, daily inspections).
   Paste this block into the end of public/assets/css/custom.css once,
   then the views just use the classes (no per-view <style> needed).
   ===================================================================== */

.log-list { padding: 2px 0 18px; }

.log-list-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1f2d27;
    text-align: center;
    margin: 16px 0 2px;
}
.log-list-sub {
    text-align: center;
    color: #8a948f;
    font-size: .8rem;
    margin-bottom: 18px;
}

.log-card {
    position: relative;
    background: #fff;
    border: 1px solid #e6e9e7;
    border-radius: 12px;
    padding: 14px 16px 14px 18px;
    margin: 0 2px 12px;
    box-shadow: 0 1px 2px rgba(16, 24, 20, .04);
    overflow: hidden;
}
/* Status accent bar — carries meaning: green = normal, amber = needs attention. */
.log-card::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 5px;
    background: #2f9e6b;
}
.log-card.is-attention::before { background: #e08a1e; }

.log-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}
.log-card-date {
    font-size: 1.02rem;
    font-weight: 700;
    color: #1f2d27;
}
.log-badge {
    flex: none;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 3px 9px;
    border-radius: 999px;
    background: #e8f4ee;
    color: #1f7a4f;
    white-space: nowrap;
}
.log-badge.is-attention { background: #fcefdc; color: #a5610f; }

.log-card-body { color: #44504a; font-size: .92rem; line-height: 1.45; }
.log-desc { color: #2b3631; font-weight: 500; margin-bottom: 4px; }
.log-row { display: flex; gap: 8px; }
.log-row + .log-row { margin-top: 2px; }
.log-label { color: #8a948f; min-width: 62px; flex: none; }
.log-value { color: #2b3631; font-weight: 500; }

.log-card-actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}
.log-card-actions a {
    flex: 1;
    text-align: center;
    font-weight: 600;
    font-size: .9rem;
    padding: 9px 0;
    border-radius: 9px;
    text-decoration: none;
}
.log-view { background: #2f9e6b; color: #fff; }
.log-view:hover { background: #28885c; color: #fff; }
.log-edit { background: #f1f4f2; color: #2b3631; border: 1px solid #e0e5e2; }
.log-edit:hover { background: #e8ece9; color: #2b3631; }

.log-empty { text-align: center; padding: 44px 20px; color: #8a948f; }
.log-empty h3 { color: #2b3631; font-weight: 700; font-size: 1.05rem; margin-bottom: 6px; }
.log-empty a {
    display: inline-block; margin-top: 14px;
    background: #2f9e6b; color: #fff; padding: 10px 22px;
    border-radius: 9px; font-weight: 600; text-decoration: none;
}