:root {
    color-scheme: light;
    font-family: "Segoe UI Variable", "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    margin: 0;
    background: #f4f6f9;
}

body {
    color: #1a2230;
}

a {
    color: inherit;
}

code {
    font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
}

.mud-layout {
    min-height: 100vh;
}

.app-bar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.app-bar-title {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
}

.app-drawer {
    border-right: 0 !important;
}

.app-drawer .mud-nav-link-icon {
    color: #aab4c2;
}

.app-drawer .mud-nav-link.active .mud-nav-link-icon {
    color: #ff8a78;
}

.page-title:focus {
    outline: none;
}

.entity-card,
.table-shell,
.filter-bar,
.edit-section {
    border: 1px solid #e4e8ef;
}

.entity-card {
    height: 100%;
    transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.entity-card:hover {
    border-color: #cbd3df;
    box-shadow: 0 12px 30px rgba(28, 39, 54, 0.08);
    transform: translateY(-2px);
}

.table-shell {
    overflow: hidden;
}

.loading-shell {
    padding: 1rem;
}

.filter-bar {
    border-radius: 10px;
}

.edit-section {
    margin-bottom: 1rem;
    padding: 1.4rem;
    border-radius: 10px;
}

.section-title {
    margin-bottom: 1rem !important;
    font-weight: 700 !important;
}

.confirmed-field {
    display: flex;
    align-items: center;
    min-height: 56px;
}

.claim-row {
    align-items: center;
}

.claim-remove {
    display: flex;
    justify-content: flex-end;
}

.button-progress {
    margin-right: 0.5rem;
}

.mud-table-root .mud-table-head .mud-table-cell {
    color: #667085;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.mud-table-root .mud-table-body .mud-table-cell {
    border-color: #eef1f5;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
