:root {
    --app-theme-color: #0f2f56;
    --app-page-background: #f4f8fd;
    --app-page-text: #17324d;
    --app-muted-text: #5f7386;
    --app-hero-from: #0f2f56;
    --app-hero-to: #155b96;
    --app-hero-text: #f7fbff;
    --app-blue-band: #0f355e;
    --app-blue-band-text: #f3f8ff;
    --app-yellow-band: #ffcb30;
    --app-yellow-band-text: #10243d;
    --app-panel-background: #ffffff;
    --app-panel-alt-background: #edf4fb;
    --app-panel-text: #17324d;
    --app-panel-border: #dbe5ef;
    --app-flash-blue-background: #1176b8;
    --app-flash-blue-text: #f7fbff;
    --app-flash-yellow-background: #ffe081;
    --app-flash-yellow-text: #17324d;
    --app-footer-background: #081b34;
    --app-footer-text: #f7fbff;
    --app-footer-accent: #ffcb30;
    --app-ticket-self-background: #dff2ff;
    --app-ticket-other-background: #fff4b1;
    --app-plate-background: #ffd633;
    --app-plate-text: #09192c;
}

html,
body {
    min-height: 100%;
    margin: 0;
    background: var(--app-page-background);
    color: var(--app-page-text);
    font-family: "Urbanist", "Segoe UI", sans-serif;
    scroll-behavior: smooth;
}

body.app-shell {
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.7), transparent 28rem),
        linear-gradient(180deg, var(--app-page-background) 0%, var(--app-page-background) 100%);
}

body.theme-mode-dark {
    background:
        radial-gradient(circle at top left, rgba(83, 216, 251, 0.12), transparent 26rem),
        linear-gradient(180deg, var(--app-page-background) 0%, var(--app-page-background) 100%);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

a {
    color: inherit;
}

h1:focus {
    outline: none;
}

.mud-main-content {
    min-height: calc(100vh - 8rem);
    padding-top: 0 !important;
}

.mud-container {
    width: min(100%, 1280px);
    max-width: 1280px !important;
    padding-left: 1rem;
    padding-right: 1rem;
}

.page-shell {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.main-app-bar {
    position: sticky;
    top: 0;
    z-index: 1400;
    background: transparent;
    color: var(--app-page-text);
    padding: 0;
}

.app-bar-shell {
    width: 100%;
    display: grid;
    overflow: visible;
}

.top-contact-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: var(--app-footer-background);
    color: var(--app-footer-text);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.8rem clamp(1rem, 3vw, 2rem);
}

.main-nav-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.92);
    color: var(--app-page-text);
    border-bottom: 1px solid rgba(11, 43, 79, 0.08);
    padding: 0.95rem clamp(1rem, 2.5vw, 2rem);
    box-shadow: 0 14px 34px rgba(8, 27, 52, 0.1);
}

.theme-mode-dark .main-nav-row {
    background: rgba(8, 17, 31, 0.88);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.main-nav-row__leading {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
}

.mobile-nav-toggle {
    margin-right: 0.35rem;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-logo {
    display: block;
    width: clamp(11.5rem, 17vw, 18rem);
    height: auto;
}

.desktop-nav .mud-button-root,
.account-menu-button,
.mobile-auth-actions .mud-button-root {
    border-radius: 999px;
}

.desktop-nav .mud-button-root {
    padding-inline: 1.15rem;
}

.account-menu-button {
    padding-inline: 1rem;
    text-transform: none;
}

.account-menu-shell {
    position: relative;
}

.account-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1498;
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    cursor: default;
}

.account-menu-panel {
    position: absolute;
    top: calc(100% + 0.8rem);
    right: 0;
    z-index: 1499;
    width: min(23rem, calc(100vw - 2rem));
    display: grid;
    gap: 0;
    padding: 0.45rem 0;
    border: 1px solid var(--app-panel-border);
    border-radius: 24px !important;
    background: var(--app-panel-background) !important;
    color: var(--app-panel-text);
    box-shadow: 0 24px 56px rgba(8, 27, 52, 0.22);
}

.account-menu-summary {
    display: grid;
    gap: 0.15rem;
    min-width: min(18rem, calc(100vw - 5rem));
    padding: 0.85rem 1rem 0.75rem;
}

.account-menu-summary .mud-typography-caption {
    color: var(--app-muted-text);
}

.account-menu-section-title {
    color: var(--app-muted-text);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 0.7rem 1rem 0.25rem;
    text-transform: uppercase;
}

.theme-menu-item__content {
    display: grid;
    gap: 0.15rem;
    min-width: min(18rem, calc(100vw - 5rem));
    padding-right: 0.35rem;
}

.theme-menu-item__content .mud-chip {
    justify-self: start;
    margin-top: 0.35rem;
}

.account-menu-action {
    justify-content: flex-start;
    border-radius: 0;
    padding: 0.75rem 1rem;
    text-transform: none;
}

.account-menu-action .mud-button-label {
    justify-content: flex-start;
    width: 100%;
}

.account-theme-action {
    justify-content: flex-start;
    border-radius: 0;
    padding: 0.8rem 1rem;
}

.account-theme-action .mud-button-label {
    justify-content: flex-start;
    width: 100%;
}

.app-drawer .mud-drawer-content {
    padding: 1.15rem 1rem 1.35rem;
    background: var(--app-panel-background);
    color: var(--app-panel-text);
}

.drawer-account-card {
    margin-bottom: 1rem;
    padding: 1rem;
}

.nav-menu .mud-nav-link {
    border-radius: 18px;
    margin-bottom: 0.35rem;
    padding-block: 0.75rem;
}

.nav-theme-heading {
    color: var(--app-muted-text);
    margin-bottom: 0.6rem;
}

.theme-switch-button {
    justify-content: flex-start;
    align-items: flex-start;
    border-radius: 20px;
    margin-bottom: 0.45rem;
    min-height: auto;
    padding: 0.85rem 1rem;
    text-transform: none;
}

.theme-switch-button__meta {
    display: grid;
    gap: 0.15rem;
    text-align: left;
}

.theme-switch-button__title {
    font-weight: 800;
}

.theme-switch-button__description {
    color: var(--app-muted-text);
    font-size: 0.84rem;
    line-height: 1.35;
}

.profile-summary-card {
    align-self: start;
}

.profile-chip-row {
    flex-wrap: wrap;
}

.hero-section,
.content-band {
    position: relative;
    overflow: hidden;
    padding-block: clamp(3rem, 6vw, 5.5rem);
}

.hero-section > .mud-container,
.content-band > .mud-container {
    position: relative;
    z-index: 1;
}

.hero-section::before,
.content-band::before {
    content: "";
    position: absolute;
    inset: auto auto -7rem -4rem;
    width: 18rem;
    height: 18rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
}

.hero-section::after,
.content-band::after {
    content: "";
    position: absolute;
    inset: 2rem -4rem auto auto;
    width: 15rem;
    height: 15rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.hero-section--yellow {
    background:
        linear-gradient(140deg, var(--app-yellow-band) 0%, var(--app-flash-yellow-background) 100%);
    color: var(--app-yellow-band-text);
}

.hero-section--blue {
    background:
        linear-gradient(140deg, var(--app-hero-from) 0%, var(--app-hero-to) 100%);
    color: var(--app-hero-text);
}

.content-band--blue {
    background:
        linear-gradient(180deg, var(--app-blue-band) 0%, var(--app-blue-band) 100%);
    color: var(--app-blue-band-text);
}

.content-band--yellow {
    background:
        linear-gradient(180deg, var(--app-yellow-band) 0%, var(--app-flash-yellow-background) 100%);
    color: var(--app-yellow-band-text);
}

.hero-copy {
    max-width: 40rem;
    font-size: 1.08rem;
    line-height: 1.75;
}

.hero-chip {
    font-weight: 800;
    letter-spacing: 0.04em;
    border-radius: 999px;
}

.flash-card,
.service-step-card,
.cta-panel,
.panel-card,
.footer-card,
.ticket-thread,
.signature-pad,
.dashboard-card,
.mud-table-container,
.mud-table-root {
    border: 1px solid var(--app-panel-border);
    border-radius: 26px !important;
    box-shadow: 0 24px 60px rgba(8, 27, 52, 0.14);
}

.theme-mode-dark .flash-card,
.theme-mode-dark .service-step-card,
.theme-mode-dark .cta-panel,
.theme-mode-dark .panel-card,
.theme-mode-dark .footer-card,
.theme-mode-dark .ticket-thread,
.theme-mode-dark .signature-pad,
.theme-mode-dark .dashboard-card,
.theme-mode-dark .mud-table-container,
.theme-mode-dark .mud-table-root {
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.3);
}

.flash-card {
    height: 100%;
    display: grid;
    gap: 0.7rem;
    padding: 1.35rem;
}

.job-page-intro {
    max-width: 48rem;
}

.job-editor-panel {
    display: grid;
    gap: 0.75rem;
}

.job-editor-grid > .mud-grid-item {
    display: flex;
}

.job-editor-grid > .mud-grid-item > .mud-input-control,
.job-editor-grid > .mud-grid-item > .mud-select,
.job-editor-grid > .mud-grid-item > .mud-picker,
.job-editor-grid > .mud-grid-item > .file-upload-input,
.job-editor-grid > .mud-grid-item > .signature-pad {
    width: 100%;
}

.job-editor-grid .mud-input-control,
.job-editor-grid .mud-select,
.job-editor-grid .mud-picker {
    margin-top: 0 !important;
}

.job-meta-strip {
    flex-wrap: wrap;
    align-items: center;
}

.job-meta-strip .mud-chip-root,
.job-meta-strip .mud-button-root {
    border-radius: 999px;
}

.hero-filter-field {
    display: grid;
    gap: 0.45rem;
}

.hero-filter-field__label {
    color: rgba(247, 251, 255, 0.94);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-left: 0.25rem;
    text-transform: uppercase;
}

.hero-filter-control,
.hero-filter-control .mud-input-control {
    margin-top: 0 !important;
}

.hero-filter-control .mud-input-outlined,
.hero-filter-control .mud-select {
    width: 100%;
}

.hero-filter-control .mud-input-outlined .mud-input-slot,
.hero-filter-control .mud-select .mud-input-slot {
    background:
        linear-gradient(180deg, rgba(255, 231, 150, 0.98) 0%, rgba(255, 203, 48, 0.98) 100%) !important;
    min-height: 3rem;
    border-radius: 18px !important;
    box-shadow: 0 10px 22px rgba(8, 27, 52, 0.14);
}

.hero-filter-control .mud-input-outlined-border {
    border-color: rgba(15, 47, 86, 0.2) !important;
    border-width: 2px !important;
}

.hero-filter-control .mud-input-outlined:hover .mud-input-outlined-border,
.hero-filter-control .mud-input-outlined.mud-input-focused .mud-input-outlined-border,
.hero-filter-control .mud-select:hover .mud-input-outlined-border,
.hero-filter-control .mud-select.mud-input-focused .mud-input-outlined-border {
    border-color: rgba(15, 47, 86, 0.5) !important;
}

.hero-filter-control input,
.hero-filter-control .mud-select-input,
.hero-filter-control .mud-select-icon,
.hero-filter-control .mud-input-adornment {
    color: var(--app-yellow-band-text) !important;
    font-weight: 700;
}

.hero-filter-control input::placeholder {
    color: rgba(16, 36, 61, 0.72) !important;
    opacity: 1;
}

.job-page-note {
    color: var(--app-muted-text);
}

.updates-hero-grid {
    align-items: center;
}

.updates-summary-card {
    min-height: 100%;
    display: grid;
    align-content: center;
}

.updates-list {
    max-width: 70rem;
}

.updates-entry-card {
    display: grid;
    gap: 0.55rem;
}

.updates-entry-card__date {
    color: var(--app-muted-text);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.updates-entry-card__title {
    color: var(--app-theme-color);
}

.jobs-hero-grid {
    align-items: center;
}

.tickets-hero-grid {
    align-items: end;
}

.hero-filter-field--tight {
    align-content: end;
}

.hero-filter-field--tight .hero-filter-control .mud-input-slot {
    min-height: 3rem;
    align-items: center;
}

.hero-action-button {
    min-height: 3rem;
    min-width: 10rem;
    border-radius: 18px;
    font-weight: 800;
    text-transform: none;
    box-shadow: 0 10px 22px rgba(8, 27, 52, 0.16);
}

.tickets-hero-action {
    display: flex;
    align-items: end;
}

.tickets-hero-action .mud-button-root {
    margin-top: 1.2rem;
}

.tickets-empty-state {
    min-height: 7rem;
    display: grid;
    place-items: center;
    text-align: center;
}

.tickets-table .mud-table-cell {
    vertical-align: middle;
}

.ticket-title-stack {
    align-items: center;
}

.ticket-action-button {
    min-width: 6.5rem;
    border-radius: 999px;
    font-weight: 800;
    text-transform: none;
}

.jobs-grid-shell {
    display: grid;
    gap: 1rem;
}

.jobs-grid-shell--empty {
    min-height: 8rem;
    place-items: center;
}

.jobs-grid-header,
.jobs-grid-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1.2fr) minmax(9rem, 0.8fr) minmax(9.5rem, 0.95fr) auto;
    gap: 1rem;
    align-items: center;
}

.jobs-grid-header {
    padding: 0 1.25rem;
    color: var(--app-muted-text);
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.jobs-grid-header__actions {
    text-align: right;
}

.jobs-grid-row {
    padding: 1.15rem 1.25rem;
    border: 1px solid var(--app-panel-border);
    border-radius: 24px !important;
    background: var(--app-panel-background) !important;
    box-shadow: 0 18px 38px rgba(8, 27, 52, 0.12);
}

.jobs-grid-cell {
    min-width: 0;
    display: grid;
    gap: 0.2rem;
}

.jobs-grid-cell .mud-typography {
    overflow-wrap: anywhere;
}

.jobs-grid-cell__label {
    display: none;
    color: var(--app-muted-text);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.jobs-grid-cell--actions {
    justify-items: end;
}

.jobs-grid-actions {
    justify-content: flex-end;
    flex-wrap: wrap;
    width: 100%;
}

.job-action-button {
    min-width: 6.75rem;
    border-radius: 16px;
    padding-inline: 0.95rem;
    text-transform: none;
    font-weight: 800;
    box-shadow: 0 10px 18px rgba(8, 27, 52, 0.14);
}

.job-action-button--danger {
    background: rgba(234, 76, 76, 0.08) !important;
    border-color: rgba(220, 38, 38, 0.45) !important;
}

.app-dialog {
    width: min(100%, 36rem);
    max-width: calc(100vw - 1.5rem);
}

.app-dialog--compact {
    width: min(100%, 32rem);
}

.app-dialog .mud-dialog-content {
    padding: 1.45rem 1.5rem 0.8rem;
}

.app-dialog .mud-dialog-actions {
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 0 1.25rem 1.25rem;
    flex-wrap: wrap;
}

@media (min-width: 960px) {
    .jobs-hero-grid .hero-filter-field--status,
    .tickets-hero-grid .hero-filter-field--status {
        justify-self: end;
        width: min(100%, 14.5rem);
    }

    .jobs-hero-grid .hero-filter-field--search,
    .tickets-hero-grid .hero-filter-field--search {
        justify-self: end;
        width: min(100%, 19rem);
    }

    .tickets-hero-action {
        justify-self: end;
        width: min(100%, 10.75rem);
    }
}

@media (max-width: 960px) {
    .jobs-grid-header {
        display: none;
    }

    .jobs-grid-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.9rem 1rem;
    }

    .jobs-grid-cell__label {
        display: block;
    }

    .jobs-grid-cell--actions {
        grid-column: 1 / -1;
        justify-items: end;
    }

    .jobs-grid-actions {
        justify-content: flex-end;
    }

    .job-action-button {
        min-width: 3rem;
        width: 3rem;
        height: 3rem;
        padding: 0;
        border-radius: 16px;
    }

    .job-action-button .mud-button-start-icon {
        margin-inline: 0;
    }

    .job-action-button__label {
        display: none;
    }

    .tickets-hero-action .mud-button-root {
        margin-top: 0;
    }
}

@media (max-width: 600px) {
    .jobs-grid-row {
        grid-template-columns: minmax(0, 1fr);
    }
}

.job-validation-alert {
    border: 2px solid #f2a400 !important;
    border-radius: 24px !important;
    background: linear-gradient(180deg, #fff6d6 0%, #ffe59a 100%) !important;
    color: #6f3200 !important;
    box-shadow: 0 18px 34px rgba(242, 164, 0, 0.2);
    padding: 1rem 1.2rem !important;
}

.job-validation-alert .mud-alert-message,
.job-validation-alert .mud-typography {
    color: inherit !important;
}

.job-validation-alert .mud-typography-h6 {
    font-weight: 800;
    margin-bottom: 0.55rem;
}

.job-validation-alert .mud-alert-icon {
    color: #cc5a00 !important;
    font-size: 1.7rem !important;
}

.job-validation-list {
    margin: 0;
    padding-left: 1.35rem;
    display: grid;
    gap: 0.35rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.45;
}

.flash-card .mud-icon-root {
    font-size: 2rem;
}

.flash-card--blue {
    background:
        linear-gradient(165deg, var(--app-flash-blue-background) 0%, var(--app-blue-band) 100%) !important;
    color: var(--app-flash-blue-text);
}

.flash-card--yellow {
    background:
        linear-gradient(165deg, var(--app-flash-yellow-background) 0%, var(--app-yellow-band) 100%) !important;
    color: var(--app-flash-yellow-text);
}

.service-step-card,
.cta-panel,
.panel-card,
.ticket-thread,
.signature-pad {
    background: var(--app-panel-background) !important;
    color: var(--app-panel-text);
}

.service-step-card,
.cta-panel,
.panel-card {
    padding: clamp(1.2rem, 3vw, 2rem);
}

.service-step-card {
    height: 100%;
    display: grid;
    gap: 0.7rem;
}

.service-step-card .mud-typography-h4 {
    color: var(--app-theme-color);
}

.cta-panel {
    display: grid;
    gap: 0.35rem;
}

.panel-card .mud-input-control,
.panel-card .mud-select,
.panel-card .mud-picker {
    margin-top: 0.75rem;
}

.panel-card .mud-input-outlined .mud-input-slot,
.panel-card .mud-select .mud-input-slot,
.panel-card .mud-picker .mud-input-slot {
    border-radius: 20px !important;
    overflow: hidden;
    background: var(--app-panel-background) !important;
    background-clip: padding-box;
}

.panel-card input:-webkit-autofill,
.panel-card input:-webkit-autofill:hover,
.panel-card input:-webkit-autofill:focus,
.panel-card textarea:-webkit-autofill,
.panel-card textarea:-webkit-autofill:hover,
.panel-card textarea:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px var(--app-panel-background) inset !important;
    box-shadow: 0 0 0 1000px var(--app-panel-background) inset !important;
    -webkit-text-fill-color: var(--app-panel-text) !important;
    caret-color: var(--app-panel-text);
    border-radius: 20px !important;
}

.panel-card .uk-plate-input .mud-input-outlined .mud-input-slot,
.panel-card .uk-plate-input .mud-input-slot,
.panel-card .uk-plate-input .mud-input-root,
.panel-card .uk-plate-input .mud-input,
.panel-card .uk-plate-input .mud-input-control-input-container,
.panel-card .uk-plate-input input {
    background: var(--app-plate-background) !important;
    background-clip: padding-box !important;
}

.panel-card .uk-plate-input input:-webkit-autofill,
.panel-card .uk-plate-input input:-webkit-autofill:hover,
.panel-card .uk-plate-input input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px var(--app-plate-background) inset !important;
    box-shadow: 0 0 0 1000px var(--app-plate-background) inset !important;
    -webkit-text-fill-color: var(--app-plate-text) !important;
    caret-color: var(--app-plate-text);
}

.signup-step-list > * {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 18px;
    padding: 0.75rem 1rem;
}

.form-actions {
    flex-wrap: wrap;
    width: 100%;
}

.form-actions--end {
    justify-content: flex-end;
}

.theme-mode-dark .signup-step-list > * {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

.dashboard-card {
    height: 100%;
    overflow: hidden;
}

.dashboard-card--blue {
    background:
        linear-gradient(165deg, var(--app-flash-blue-background) 0%, var(--app-blue-band) 100%) !important;
    color: var(--app-flash-blue-text);
}

.dashboard-card--yellow {
    background:
        linear-gradient(165deg, var(--app-flash-yellow-background) 0%, var(--app-yellow-band) 100%) !important;
    color: var(--app-flash-yellow-text);
}

.dashboard-card__button {
    width: 100%;
    min-height: 14.5rem;
    display: grid;
    grid-template-rows: auto auto 1fr;
    gap: 0.9rem;
    align-content: start;
    justify-items: start;
    padding: 1.45rem;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.dashboard-card__button:disabled {
    cursor: not-allowed;
}

.dashboard-card__topline {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    width: 100%;
}

.dashboard-card__icon {
    width: 3.25rem;
    height: 3.25rem;
    padding: 0.7rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 1.8rem !important;
}

.dashboard-card__content {
    width: 100%;
    min-height: 0;
    display: grid;
    grid-template-rows: minmax(2.6rem, auto) minmax(3.45rem, auto) 1fr;
    gap: 0.35rem;
    align-content: start;
    justify-items: start;
}

.dashboard-card__title,
.dashboard-card__count {
    margin: 0;
    width: 100%;
    text-align: left;
    justify-self: start;
}

.dashboard-card__title {
    display: flex;
    align-items: end;
    line-height: 1.15;
}

.dashboard-card__count {
    display: flex;
    align-items: end;
    line-height: 1;
}

.dashboard-card__description {
    width: 100%;
    margin: 0;
    text-align: left;
    align-self: end;
}

.dashboard-card__button .mud-typography-h5,
.dashboard-card__button .mud-typography-h2,
.dashboard-card__button .mud-typography-body2 {
    width: 100%;
    text-align: left;
}

.dashboard-card--disabled {
    opacity: 0.72;
    filter: saturate(0.85);
}

.dashboard-card--pulse {
    animation: dashboard-card-pulse 2.4s ease-in-out infinite;
}

@keyframes dashboard-card-pulse {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.loading-indicator {
    display: block;
    margin: 18vh auto;
}

.mud-table-container,
.mud-table-root {
    overflow: hidden;
    background: var(--app-panel-background);
}

.mud-table {
    background: transparent;
}

.mud-table-head .mud-table-cell {
    color: var(--app-muted-text);
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.mud-table-body .mud-table-row:hover {
    background: rgba(15, 47, 86, 0.04);
}

.theme-mode-dark .mud-table-body .mud-table-row:hover {
    background: rgba(255, 255, 255, 0.04);
}

.file-upload-input {
    width: 100%;
    padding: 0.95rem 1rem;
    border: 1px dashed var(--app-panel-border);
    border-radius: 20px;
    background: var(--app-panel-alt-background);
    color: var(--app-muted-text);
}

.uk-plate-box {
    display: flex;
    align-items: stretch;
    overflow: hidden;
    border: 4px solid #101010;
    border-radius: 22px;
    background: var(--app-plate-background);
    max-width: 36rem;
    box-shadow: 0 18px 40px rgba(16, 16, 16, 0.18);
}

.uk-plate-flag {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.8rem;
    background: linear-gradient(180deg, #004aad 0%, #00327a 100%);
    color: #ffffff;
    font-family: "League Spartan", "Urbanist", sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.uk-plate-box .mud-input-control {
    flex: 1;
    margin-top: 0;
}

.uk-plate-input,
.uk-plate-input .mud-input-control-input-container,
.uk-plate-input .mud-input,
.uk-plate-input .mud-input-slot,
.uk-plate-input .mud-input-root,
.uk-plate-input input {
    background: var(--app-plate-background) !important;
}

.uk-plate-box .mud-input-outlined-border {
    border: 0 !important;
}

.uk-plate-box .mud-input-slot {
    background: transparent !important;
    min-height: 5.25rem;
}

.uk-plate-box input {
    color: var(--app-plate-text) !important;
    font-family: "League Spartan", "Urbanist", sans-serif !important;
    font-size: clamp(1.6rem, 4vw, 2.75rem) !important;
    font-weight: 800 !important;
    letter-spacing: 0.24rem !important;
    text-align: center !important;
    text-transform: uppercase;
}

.uk-plate-box input::placeholder {
    color: color-mix(in srgb, var(--app-plate-text) 38%, white) !important;
    opacity: 1;
}

.signature-pad {
    display: grid;
    gap: 0.85rem;
    padding: 1rem;
}

.signature-pad__canvas {
    width: 100%;
    min-height: 14rem;
    border: 1px dashed var(--app-panel-border);
    border-radius: 18px;
    background: #ffffff;
    touch-action: none;
}

.theme-mode-dark .signature-pad__canvas {
    background: #0b1422;
}

.signature-pad__actions {
    flex-wrap: wrap;
}

.support-ticket-dialog__field .mud-input-outlined .mud-input-slot {
    min-height: 15rem;
}

.ticket-thread {
    display: grid;
    gap: 1rem;
    max-height: 34rem;
    padding: 1rem;
    overflow: auto;
}

.ticket-bubble {
    width: min(100%, 34rem);
    display: grid;
    gap: 0.2rem;
    padding: 1rem 1.1rem;
    border-radius: 22px;
    box-shadow: 0 16px 34px rgba(8, 27, 52, 0.08);
}

.ticket-bubble--self {
    margin-left: auto;
    background: var(--app-ticket-self-background);
}

.ticket-bubble--other {
    margin-right: auto;
    background: var(--app-ticket-other-background);
}

.site-footer {
    background: var(--app-footer-background);
    color: var(--app-footer-text);
    margin-top: 0;
}

.footer-highlight-band {
    background:
        linear-gradient(140deg, var(--app-yellow-band) 0%, var(--app-flash-yellow-background) 100%);
    color: var(--app-yellow-band-text);
    padding-block: 1.6rem;
}

.footer-highlight-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-main-band {
    padding-block: 3rem;
}

.footer-title,
.footer-subtitle {
    color: var(--app-footer-text);
}

.footer-links a,
.footer-links .mud-link,
.footer-links .mud-typography {
    color: rgba(247, 251, 255, 0.9) !important;
    text-decoration: none;
    font-weight: 600;
}

.footer-links a:visited,
.footer-links .mud-link:visited {
    color: rgba(247, 251, 255, 0.9) !important;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-links .mud-link:hover,
.footer-links .mud-link:focus-visible {
    color: var(--app-footer-accent) !important;
    text-decoration: underline;
    text-underline-offset: 0.18rem;
}

.footer-card {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.08) !important;
    color: var(--app-footer-text);
    border-color: rgba(255, 255, 255, 0.14);
}

.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+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4) no-repeat 1rem 1rem / 1.8rem,
        #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: #ffffff;
}

.blazor-error-boundary::after {
    content: "An error has occurred.";
}

@media (max-width: 959.98px) {
    .top-contact-band {
        flex-wrap: wrap;
    }

    .hero-section,
    .content-band {
        padding-block: 2.6rem;
    }

    .main-nav-row {
        padding-block: 0.8rem;
    }

    .brand-logo {
        width: clamp(10rem, 36vw, 14rem);
    }

    .footer-highlight-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-card__button {
        min-height: 13rem;
    }

    .ticket-thread {
        max-height: none;
    }
}

@media (max-width: 599.98px) {
    .mud-container {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    .top-contact-band {
        display: none;
    }

    .main-nav-row {
        gap: 0.55rem;
        padding-inline: 0.85rem;
    }

    .mobile-auth-actions .mud-button-root {
        min-width: 0;
        padding-inline: 0.8rem;
    }

    .brand-logo {
        width: clamp(9.2rem, 42vw, 12.25rem);
    }

    .app-dialog,
    .app-dialog--compact {
        width: min(100%, calc(100vw - 1.5rem));
        max-width: calc(100vw - 1.5rem);
    }

    .support-ticket-dialog__field .mud-input-outlined .mud-input-slot {
        min-height: 11rem;
    }

    .uk-plate-box {
        max-width: 100%;
    }

    .uk-plate-flag {
        width: 3.85rem;
        font-size: 1rem;
    }

    .uk-plate-box input {
        letter-spacing: 0.16rem !important;
    }
}
