:root {
    --wms-surface-soft: #f6f9fc;
    --wms-border: #e5eaf2;
    --wms-text-muted: #5a6a85;
}

html,
body {
    min-height: 100%;
}

body {
    background: var(--wms-surface-soft);
}

.skip-link {
    position: fixed;
    inset-block-start: 0.75rem;
    inset-inline-start: 0.75rem;
    z-index: 1100;
    transform: translateY(-180%);
}

.skip-link:focus {
    transform: translateY(0);
}

.wms-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #2a3547;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.2;
}

.wms-brand:hover {
    color: #5d87ff;
}

.wms-brand-mark {
    display: inline-grid;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 0.75rem;
    color: #fff;
    background: linear-gradient(135deg, #5d87ff, #49beff);
    box-shadow: 0 0.5rem 1rem rgba(93, 135, 255, 0.2);
}

.wms-brand-mark i {
    font-size: 1.4rem;
}

.wms-brand-copy small {
    display: block;
    color: var(--wms-text-muted);
    font-size: 0.7rem;
    font-weight: 500;
}

.brand-logo {
    min-height: 72px;
}

.page-title-block {
    min-width: 0;
}

.page-title-block h1 {
    overflow-wrap: anywhere;
}

.metric-icon {
    display: inline-grid;
    width: 3rem;
    height: 3rem;
    place-items: center;
    border-radius: 50%;
    font-size: 1.45rem;
}

.metric-value {
    font-variant-numeric: tabular-nums;
}

.technical-field,
.technical-value,
[data-technical] {
    direction: ltr;
    unicode-bidi: plaintext;
    text-align: left;
    font-variant-numeric: tabular-nums;
}

.table .technical-value {
    display: inline-block;
}

.table-actions {
    white-space: nowrap;
}

.empty-state {
    max-width: 32rem;
    margin-inline: auto;
    padding: 2rem 1rem;
    text-align: center;
}

.empty-state-icon {
    display: inline-grid;
    width: 4rem;
    height: 4rem;
    margin-block-end: 1rem;
    place-items: center;
    border-radius: 50%;
    color: #5d87ff;
    background: rgba(93, 135, 255, 0.12);
    font-size: 2rem;
}

.auth-shell {
    min-height: 100vh;
    background:
        radial-gradient(circle at 15% 15%, rgba(93, 135, 255, 0.12), transparent 35%),
        #f6f9fc;
}

.auth-illustration {
    min-height: 100vh;
    background: #eef3ff;
}

.auth-illustration img {
    width: min(82%, 34rem);
    height: auto;
}

.auth-card {
    width: min(100%, 34rem);
}

.auth-card.auth-card-wide {
    width: min(100%, 46rem);
}

.auth-language-switcher {
    position: absolute;
    inset-block-start: 1rem;
    inset-inline-end: 1rem;
    z-index: 5;
}

.required-marker {
    color: #fa896b;
}

.form-hint {
    color: var(--wms-text-muted);
    font-size: 0.775rem;
}

.onboarding-step {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.875rem 0;
    border-block-end: 1px solid var(--wms-border);
}

.onboarding-step:last-child {
    border-block-end: 0;
}

.onboarding-step-icon {
    display: inline-grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
}

.section-heading {
    padding-block-end: 0.75rem;
    border-block-end: 1px solid var(--wms-border);
}

.page-wrapper .container-fluid {
    max-width: 1440px;
}

.app-footer {
    color: var(--wms-text-muted);
}

.pagination {
    margin-block-end: 0;
}

@media (max-width: 991.98px) {
    .auth-card,
    .auth-card.auth-card-wide {
        padding-block: 5rem 2rem;
    }

    .page-wrapper .container-fluid {
        padding-inline: 1rem;
    }
}

@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;
    }
}
