
:root {
    --adm-bg: #f6f8fc;
    --adm-white: #fff;
    --adm-soft: #f3f5fa;
    --adm-border: #e7ebf3;
    --adm-text: #182230;
    --adm-muted: #667085;
    --adm-primary: #6c63ff;
    --adm-primary-soft: #efedff;
    --adm-shadow: 0 12px 28px #1018280f;
    --adm-rail: 78px;
    --adm-side: 270px;
    --adm-rad: 18px;
}

html { scroll-behavior: smooth; }
.grecaptcha-badge { visibility: hidden; }
#blazor-error-ui {
    display: none;
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: min(94vw, 720px);
    padding: 16px 24px;
    border: 1px solid #e4bcb6;
    background: #fff5f3;
    color: #87382e;
    border-radius: 8px;
    z-index: 2200;
}
#blazor-error-ui .reload { margin: 0 16px; }
#blazor-error-ui .dismiss { float: right; }
.btn-primary-rec, .btn.btn-primary-rec {
    background: #2f5249;
    border: 1px solid #2f5249;
    color: #fff;
    border-radius: 6px;
    padding: 10px 24px;
    font-weight: 600;
}
.btn-primary-rec:hover { background: #213a32; color: #fff; }

.eudr-app, .eudr-modal, .eudr-public, .eudr-notifications {
    --eudr-ink: #26382d;
    --eudr-muted: #59695f;
    --eudr-green: #28523d;
    --eudr-border: #dfe5df;
    --bs-body-font-family: Inter, system-ui, sans-serif;
    --bs-body-font-size: 1rem;
    --bs-body-color: var(--eudr-ink);
    --bs-body-bg: #fff;
    --bs-secondary-color: var(--eudr-muted);
    --bs-border-color: var(--eudr-border);
    --bs-tertiary-bg: #f6f8f5;
    --bs-success-rgb: 40, 82, 61;
    --bs-link-color: var(--eudr-green);
    --bs-link-hover-color: #173b2b;
    font-family: var(--bs-body-font-family);
    font-size: 16px;
    line-height: 1.5;
    color: var(--eudr-ink);
}
:is(.eudr-app, .eudr-modal, .eudr-public, .eudr-notifications) :is(.small, small, .form-text, .eudr-caption) {
    font-size: 14px;
    line-height: 1.5;
}
:is(.eudr-app, .eudr-modal, .eudr-public) .text-body-secondary { color: var(--eudr-muted) !important; }
:is(.eudr-app, .eudr-modal, .eudr-public) :is(.h6, h6) { font-size: 16px; font-weight: 600; }
:is(.eudr-app, .eudr-modal, .eudr-public) :is(.h5, h5) { font-size: 18px; font-weight: 600; }
:is(.eudr-app, .eudr-modal, .eudr-public) .h4 { font-size: 20px; font-weight: 600; }
:is(.eudr-app, .eudr-modal, .eudr-public) .h3 { font-size: 24px; font-weight: 600; }
.eudr-app { --eudr-sidebar-width: 272px; --eudr-rail-width: 88px; --eudr-nav-control-size: 44px; --eudr-nav-icon-size: 20px; min-height: 100dvh; background: #f6f7f5; }
.eudr-main { min-width: 0; min-height: 100dvh !important; }
.eudr-content { width: 100%; }
.eudr-topbar { background: #fff; border-bottom: 1px solid var(--eudr-border); }
.eudr-topbar > .eudr-content { min-height: 64px; }
.eudr-topbar .breadcrumb { font-size: 14px; }
.eudr-topbar .breadcrumb a { color: var(--eudr-muted); text-decoration: none; }
.eudr-topbar .breadcrumb-item.active { color: var(--eudr-ink); }
.eudr-page-title { font-size: 28px; font-weight: 600; line-height: 1.25; letter-spacing: -.5px; }
.eudr-subtitle { font-size: 16px; max-width: 76ch; }
.eudr-eyebrow { font-size: 14px; font-weight: 500; line-height: 1.5; color: var(--eudr-muted); }
.eudr-footer { background: #fff; border-top: 1px solid var(--eudr-border); font-size: 14px; color: var(--eudr-muted); }
.eudr-footer a { color: inherit; }


.eudr-sidebar { --bs-offcanvas-width: 280px; --bs-offcanvas-bg: #fff; background: #fff !important; border-right: 1px solid var(--eudr-border); }
.eudr-sidebar .offcanvas-body { width: 100%; min-height: 0; overflow: hidden; }
.eudr-brand { font-size: 23px; line-height: 1.25; font-weight: 600; letter-spacing: -.6px; color: #254632; }
.eudr-brand-mark { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; background: var(--eudr-green); color: #fff; border-radius: 7px; }
.eudr-company { background: #f8faf7; }
.eudr-company .form-select { width: 100%; max-width: 100%; text-overflow: ellipsis; }
.eudr-menu { min-height: 0; overflow-x: hidden; overscroll-behavior-y: contain; scrollbar-width: thin; scrollbar-color: #d4ddd6 transparent; }
.eudr-menu:hover, .eudr-menu:focus-within { scrollbar-color: #9cad9f transparent; }
.eudr-menu .nav-link { font-size: 15px; font-weight: 400; color: #536257; padding: 8px 10px; min-height: 40px; margin-bottom: 2px; }
.eudr-menu .nav-link svg { width: var(--eudr-nav-icon-size); height: var(--eudr-nav-icon-size); flex-shrink: 0; stroke-width: 1.8; }
.eudr-menu .nav-link:hover { background: #f4f7f1; color: var(--eudr-green); }
.eudr-menu .nav-link.active { color: #234a33; background: #edf3e9; font-weight: 600; }
.eudr-menu .nav-link:focus-visible { outline: 2px solid var(--eudr-green); outline-offset: -2px; }
.eudr-nav-group { font-size: 14px !important; color: var(--eudr-muted) !important; min-height: 40px; }
.eudr-nav-group:hover { color: var(--eudr-ink) !important; }
.eudr-chevron { transition: transform .15s ease; }
.eudr-nav-group.collapsed .eudr-chevron { transform: rotate(-90deg); }
.eudr-account { flex-shrink: 0; }
.eudr-avatar { height: 32px; width: 32px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; background: #edf1e9; border: 1px solid #d9e1d4; border-radius: 50%; color: #405e43; font-size: 14px; font-weight: 600; }
.eudr-dot { width: 6px; height: 6px; border-radius: 50%; background: #557552; }
.eudr-navigation-tooltip { --bs-tooltip-bg: #26382d; --bs-tooltip-opacity: 1; --bs-tooltip-font-size: 14px; --bs-tooltip-max-width: 260px; --bs-tooltip-padding-x: 12px; --bs-tooltip-padding-y: 8px; --bs-tooltip-border-radius: 6px; font-family: Inter, system-ui, sans-serif; }


@supports selector(::-webkit-scrollbar) {
    .eudr-menu, .eudr-menu:hover, .eudr-menu:focus-within { scrollbar-width: auto; scrollbar-color: auto; }
    .eudr-menu::-webkit-scrollbar { width: 4px; }
    .eudr-menu::-webkit-scrollbar-track { background: transparent; }
    .eudr-menu::-webkit-scrollbar-thumb { background: #d4ddd6; border-radius: 4px; }
    .eudr-menu:hover::-webkit-scrollbar-thumb, .eudr-menu:focus-within::-webkit-scrollbar-thumb { background: #9cad9f; }
    .eudr-menu::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
}


.eudr-app .card, .eudr-public .card { --bs-card-bg: #fff; --bs-card-border-color: var(--eudr-border); --bs-card-border-radius: 8px; --bs-card-cap-bg: transparent; box-shadow: none; }
.eudr-app .card-header { padding: 16px; border-color: var(--eudr-border); }
.eudr-app .card-header h2 { font-size: 16px; font-weight: 600; }
.eudr-app .card-header a { font-size: 14px; }
.eudr-app .card-footer { background: #fafbf9; }
.eudr-app a:not(.btn):not(.nav-link):not(.list-group-item):not(.eudr-brand) { text-decoration: none; color: var(--eudr-green); }
.eudr-app a:not(.btn):not(.nav-link):hover { text-decoration: underline; text-underline-offset: 3px; }
.eudr-app .badge, .eudr-modal .badge { font-size: 14px; font-weight: 500; padding: 4px 8px; line-height: 1.4; border-radius: 5px; white-space: normal; text-align: left; }
.eudr-status { background: #eef4ea; color: #3b563b; display: inline-flex; align-items: center; gap: 6px; }
.eudr-warning { background: #fff3df; color: #795519; }
.eudr-count { background: #e3ecd9; color: #385235; }
.eudr-icon-soft { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; flex-shrink: 0; color: #617958; }
.eudr-icon-soft.eudr-warning { background: transparent; color: #8a6428; }
.eudr-summary { overflow: hidden; }
.eudr-metric { display: flex; flex-direction: column; color: var(--eudr-ink) !important; padding: 16px 20px; height: 100%; text-decoration: none !important; }
.eudr-metric:hover { background: #fafcf8; }
.eudr-metric-value { font-size: 30px; line-height: 1.2; letter-spacing: -.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.eudr-metric-label { display: block; flex-grow: 1; color: var(--eudr-muted); font-size: 14px; }
.eudr-app .list-group-item { border-color: var(--eudr-border); color: var(--eudr-ink); }
.eudr-app .list-group-item-action:hover { background: #fafcf8; }
.eudr-alert-detail { max-width: 85ch; min-width: 0; overflow-wrap: anywhere; }
.eudr-flow-output, .eudr-welcome { background: #f6f9f3; }
.eudr-workflow { top: 24px; }
.eudr-empty { padding: 32px 24px; }
.eudr-empty p { max-width: 48ch; }
.eudr-empty-symbol { color: #768773; }


.eudr-app .table { --bs-table-color: var(--eudr-ink); --bs-table-border-color: var(--eudr-border); font-size: 16px; }
.eudr-app .table th { background: #f8faf6; color: var(--eudr-muted); font-size: 14px; font-weight: 500; padding: 12px 16px; white-space: nowrap; }
.eudr-app .table td { padding: 12px 16px; }
.eudr-app .table tbody tr:last-child td { border-bottom: 0; }
.eudr-app .table tbody tr:hover { --bs-table-bg: #fbfcf9; }
.eudr-table-note { max-width: 32ch; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eudr-numeric { font-variant-numeric: tabular-nums; }
.eudr-search { max-width: 480px; }


:is(.eudr-app, .eudr-modal, .eudr-public) .btn { --bs-btn-font-size: 16px; --bs-btn-font-weight: 500; --bs-btn-border-radius: 6px; --bs-btn-padding-y: 8px; --bs-btn-padding-x: 14px; min-height: 40px; }
:is(.eudr-app, .eudr-modal, .eudr-public) .btn-sm { --bs-btn-font-size: 14px; --bs-btn-padding-y: 6px; --bs-btn-padding-x: 10px; min-height: 34px; }
:is(.eudr-app, .eudr-modal, .eudr-public) .btn-success { --bs-btn-bg: #28523d; --bs-btn-border-color: #28523d; --bs-btn-hover-bg: #1d412e; --bs-btn-hover-border-color: #1d412e; --bs-btn-active-bg: #183925; --bs-btn-active-border-color: #183925; --bs-btn-disabled-bg: #708b77; --bs-btn-disabled-border-color: #708b77; --bs-btn-focus-shadow-rgb: 40, 82, 61; }
:is(.eudr-app, .eudr-modal) .btn-outline-success { --bs-btn-color: #28523d; --bs-btn-border-color: #b9cdb8; --bs-btn-hover-bg: #28523d; --bs-btn-hover-border-color: #28523d; }
:is(.eudr-app, .eudr-modal) .btn-light { --bs-btn-bg: #fff; --bs-btn-border-color: #dfe5df; --bs-btn-hover-bg: #f3f6ef; --bs-btn-hover-border-color: #c0cebc; color: #40583f; }
:is(.eudr-app, .eudr-modal) :is(a, button):focus-visible { outline: 2px solid #28523d; outline-offset: 3px; }
:is(.eudr-app, .eudr-modal, .eudr-public) :is(.form-control, .form-select, .input-group-text) { font-size: 16px; border-color: #cbd6c8; border-radius: 6px; min-height: 42px; }
:is(.eudr-app, .eudr-modal, .eudr-public) :is(.form-control, .form-select):focus { border-color: #789872; box-shadow: 0 0 0 3px #426f3d18; }
.eudr-modal .form-label { color: var(--eudr-ink); }
.eudr-modal .form-check { min-height: 32px; }
.eudr-modal .form-check-label { font-size: 16px; }
.eudr-modal .form-check-input:checked { background-color: #315c41; border-color: #315c41; }
.eudr-modal textarea { line-height: 1.5; }
.eudr-modal textarea[id$="-GeoJson"] { font-family: ui-monospace, monospace; font-size: 14px; }
.eudr-modal .input-group .form-select { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.eudr-modal .modal-content { border: 1px solid var(--eudr-border); border-radius: 10px; overflow: hidden; box-shadow: 0 16px 64px #223c2426; }
.eudr-modal .modal-content > form { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.eudr-modal .modal-body { max-height: 68dvh; overflow: auto; }
.eudr-modal .modal-title { font-size: 20px; font-weight: 600; }
.eudr-modal .modal-header, .eudr-modal .modal-footer { border-color: var(--eudr-border); }
.eudr-modal .modal-footer { background: #fafbf8; gap: 12px; }
.eudr-notifications { z-index: 2100; }
.eudr-notifications .toast { --bs-toast-font-size: 16px; --bs-toast-border-color: #dfe5df; --bs-toast-border-radius: 8px; }

@media (min-width: 576px) {
    .eudr-summary .row > :nth-child(even) { border-left: 1px solid var(--eudr-border); }
}
@media (min-width: 992px) {
    .eudr-sidebar { position: fixed; inset: 0 auto 0 0; width: var(--eudr-sidebar-width); height: 100dvh; z-index: 1020; }
    .eudr-sidebar .offcanvas-body { height: 100%; }
    .eudr-main { margin-left: var(--eudr-sidebar-width); }
    .eudr-navigation-collapsed .eudr-sidebar { width: var(--eudr-rail-width); }
    .eudr-navigation-collapsed .eudr-main { margin-left: var(--eudr-rail-width); }
    .eudr-navigation-collapsed :is(.eudr-brand-name, .eudr-company, .eudr-nav-group, .eudr-nav-label, .eudr-count, .eudr-account-details) { display: none !important; }
    .eudr-navigation-collapsed .eudr-sidebar-heading { justify-content: center !important; }
    .eudr-navigation-collapsed .eudr-brand-mark { width: 32px; height: 32px; }
    .eudr-navigation-collapsed .eudr-menu-section { display: block !important; height: auto !important; transition: none; }
    .eudr-navigation-collapsed .eudr-menu-section ~ .eudr-menu-section { position: relative; margin-top: 8px; padding-top: 8px; }
    .eudr-navigation-collapsed .eudr-menu-section ~ .eudr-menu-section::before { content: ""; position: absolute; top: 0; left: calc((var(--eudr-rail-width) - 52px) / 2); width: 20px; height: 1px; background: var(--eudr-border); }
    .eudr-navigation-collapsed .eudr-menu .nav-link { position: relative; justify-content: center; width: var(--eudr-nav-control-size); min-height: var(--eudr-nav-control-size); margin-left: calc((var(--eudr-rail-width) - 32px - var(--eudr-nav-control-size)) / 2); margin-bottom: 2px; padding: 0; color: #40574a; }
    .eudr-navigation-collapsed .eudr-menu .nav-link.active { background: #edf3ef; color: #234e36; }
    .eudr-navigation-collapsed .nav-link[data-eudr-attention="true"]::after { content: ""; position: absolute; top: 7px; right: 8px; width: 5px; height: 5px; background: #a87424; border-radius: 50%; }
    .eudr-navigation-collapsed .eudr-account-identity { justify-content: center; }
    .eudr-navigation-collapsed .eudr-account-actions { justify-content: center !important; gap: 0 !important; }
    .eudr-navigation-collapsed .eudr-account-actions > :is(a, button) { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 32px; border-radius: 6px; }
    .eudr-navigation-collapsed .eudr-account-actions > :is(a, button):hover { background: #f4f7f1; }
    .eudr-navigation-collapsed .eudr-account-action-icon { display: inline-flex !important; }
    .eudr-summary .row > :not(:first-child) { border-left: 1px solid var(--eudr-border); }
}
@media (max-width: 991.98px) {
    .eudr-topbar > .eudr-content { min-height: 60px; }
    .eudr-menu .nav-link { min-height: 44px; }
    .eudr-nav-group { min-height: 44px !important; }
}
@media (max-width: 575.98px) {
    .eudr-page-title { font-size: 24px; }
    .eudr-summary .row > :nth-child(n+3) { border-top: 1px solid var(--eudr-border); }
    .eudr-summary .row > :nth-child(even) { border-left: 1px solid var(--eudr-border); }
    .eudr-metric { padding: 16px; }
    .eudr-metric-value { font-size: 28px; }
    :is(.eudr-app, .eudr-modal) .btn { min-height: 44px; }
    .eudr-modal .modal-footer { justify-content: stretch !important; }
    .eudr-modal .modal-footer > span { width: 100%; }
    .eudr-modal .modal-footer > div { width: 100%; flex-wrap: wrap; justify-content: flex-end; }
    .eudr-topbar .breadcrumb { --bs-breadcrumb-divider: "›"; }
    .eudr-topbar .breadcrumb-item:first-child { display: none; }
    .eudr-topbar .breadcrumb-item + .breadcrumb-item { padding-left: 0; }
    .eudr-topbar .breadcrumb-item + .breadcrumb-item::before { content: none; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .eudr-chevron { transition: none; }
}
