@import url("https://fonts.googleapis.com/css?family=Poppins:400,500,700");

html, body {
    font-family: "Poppins", sans-serif;
    color: #222;
}

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

.btn-primary {
    background-color: #6648b1;
    border: 1px solid #563d7c;
    color: #fff;
}

.btn-primary:hover {
    background-color: #6648b1;
    border: 1px solid #563d7c;
    color: #fff;
}

.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 #258cfb;
}

.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: #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::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;
}

.app-dialog-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.app-dialog {
    width: min(520px, 92vw);
    background: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
    overflow: hidden;
}

.app-dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #ececec;
}

.app-dialog-header h5 {
    margin: 0;
}

.app-dialog-close {
    border: none;
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
    color: #111111;
}

.app-dialog-body {
    padding: 1rem 1.25rem 1.25rem 1.25rem;
}

@media (max-width: 767.98px) {
    table.table-stack {
        display: block;
        width: 100%;
    }

    table.table-stack thead {
        display: none;
    }

    table.table-stack tbody {
        display: block;
    }

    table.table-stack tr {
        display: block;
        margin-bottom: 0.75rem;
        padding: 0.75rem 1rem;
        border: 1px solid #e7e2ef;
        border-radius: 0.6rem;
        background: #fff;
    }

    table.table-stack td {
        display: block;
        padding: 0.3rem 0;
        border: 0;
        text-align: left;
    }

    table.table-stack td::before {
        content: attr(data-label);
        display: block;
        font-size: 0.72rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: #6c6872;
        margin-bottom: 0.1rem;
    }

    table.table-stack .d-inline-flex,
    table.table-stack .d-flex {
        width: 100%;
    }

    table.table-stack td .btn {
        flex: 1 1 0;
    }

    table.table-stack tr.trip-note-row {
        margin: -0.5rem 0 0.9rem;
        padding: 0 1rem 0.75rem;
        border: 0;
        background: transparent;
    }

    table.table-stack tr.trip-note-row td {
        padding-top: 0.3rem;
    }

    table.table-stack tr.trip-note-row td::before {
        display: none;
    }
}