﻿html,
body, #app {
    height: 100%;
    font-family: Poppins, sans-serif;
}

header {
    background-color: white;
}

.info .mud-dialog-title {
    background-color: #2196f3;
    color: white;
}

.success .mud-dialog-title {
    background-color: #01c854;
    color: white;
}

.error .mud-dialog-title {
    background-color: #f44336;
    color: white;
}

.warning .mud-dialog-title {
    background-color: #ff9800;
    color: white;
}

.gray-text {
    color: #6a6a6a;
}

.text-center {
    text-align: center;
}

.w-100 {
    width: 100%;
}

.mud-list-item-gutters {
    padding-inline: 10px;
}

.service-item.closed {
    background: #ececec;
}
.service-item.cancelled {
    position:relative;
    pointer-events: none;
}
.service-item.cancelled:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background-color: #c7c7c74f;
}
.service-item .cancelled-tag {
    background-color: #f44336;
    padding-inline: 4px;
    font-size: 12px;
    border-radius: 2px;
    color: white;
    font-weight: 500;
    margin-left: 5px;
    z-index: 2;
}

.active {
    background-color: #e7e5e5;
}

.badge-filter
.mud-badge {
    inset: auto calc(100% - 15px) calc(100% - 15px) auto !important;
    background-color: white !important;
}

.mud-list-item.mud-list-item-dense {
    padding: 0px
}

.mud-list-item-text {
    margin: 0px;
}

.services-list {
    padding: 5px;
    background-color: #f1f1f1;
}

    .services-list .mud-list-item {
        margin-bottom: 5px;
        background-color: white;
        border-radius: 5px;
    }

        .services-list .mud-list-item:last-of-type {
            margin-bottom: 0px;
        }

.passenger-detail-icon {
    margin-left: 5px;
    height: 24px;
    font-size: 12px;
}

    .passenger-detail-icon .mud-icon-size-small {
        font-size: 1rem;
    }

    .passenger-detail-icon .mud-button-label {
        gap: 8px;
    }

    .passenger-detail-icon .mud-button-icon-end {
        margin: 0px !important;
    }

.icon-p-2 .mud-chip-icon {
    padding: 2px;
}

.mud-dialog-fullscreen {
    overflow-y: scroll
}

    .mud-dialog-fullscreen div[tabindex="-1"] {
        display: contents;
    }

    .mud-dialog-fullscreen .mud-dialog-actions {
        position: sticky;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: white;
    }

.bottom-bar {
    padding-block: 10px;
    padding-inline: 10px;
    text-align: end;
    position: fixed;
    left: 0;
    bottom: 20px;
    background-color: white;
    width: 100%;
    border-top: 1px solid #e7e7e7;
    margin-bottom: env(safe-area-inset-bottom, 20px);
}


@media (max-width: 600px) {
    .mud-xs-table .mud-table-cell {
        padding: 6px 10px;
    }

        .mud-xs-table .mud-table-cell:first-child {
            padding-top: 12px;
        }

        .mud-xs-table .mud-table-cell:last-child {
            padding-bottom: 12px;
        }

    .mud-dialog {
        margin-inline: 10px;
    }

    .mud-dialog-fullscreen {
        margin-inline: 0px;
    }

        .mud-dialog-fullscreen .mud-dialog-actions {
            padding-bottom: env(safe-area-inset-bottom, 20px);
            margin-bottom: 8px
        }

        .mud-dialog-fullscreen .mud-dialog-title {
            border-radius: 0;
        }

    #mud-snackbar-container {
        width: 100%;
        bottom: 0;
        padding-inline: 10px;
        padding-bottom: 10px;
    }

    .mud-snackbar {
        width: 100%;
        max-width: unset;
        /*border-radius: 0;*/
        opacity: 1 !important;
        margin-bottom: env(safe-area-inset-bottom, 20px);
    }
}
