/* Loaded only by the administrative login and existing Users resource. */
:root {
    --ct-ink: #3f203a;
    --ct-muted: #866c56;
    --ct-border: #e8d2af;
    --primary-50: #fff7e9;
    --primary-100: #f5e6d0;
    --primary-200: #e8cfad;
    --primary-300: #cba7a7;
    --primary-400: #a36c99;
    --primary-500: #82457e;
    --primary-600: #682a70;
    --primary-700: #542252;
    --primary-800: #421c3c;
    --primary-900: #36132e;
    --primary-950: #24101f;
}
.fi-body, .fi-simple-layout {
    color: #3f203a;
    background: radial-gradient(ellipse at 80% 10%, #ffe6b777, transparent 52%), #fff9ee !important;
}
.fi-main { background: transparent !important; }
.fi-sidebar {
    background: radial-gradient(ellipse at 0 88%, #f3c77955, transparent 65%), linear-gradient(125deg, #fffcf5, #faecd5) !important;
    border-color: #ddbd83;
}
.fi-topbar, .fi-sidebar-header { background: #fffaf0 !important; border-color: #e3c795; }
.fi-sidebar-item.fi-active .fi-sidebar-item-btn {
    background: linear-gradient(105deg, #682a70, #36132e) !important;
    box-shadow: 0 3px 11px #9b762225;
}
.fi-sidebar-item-icon { color: #845936; }
.fi-sidebar-item-label, .ct-brand { color: #3f203a; }
.ct-brand small { color: #9b743d; }
.fi-header-heading, .fi-simple-header-heading { color: #421d3b !important; font-family: Georgia, serif; }
.fi-header-heading { font-size: 30px; }
.fi-breadcrumbs-item-label, .fi-pagination-overview, .fi-simple-header-subheading { color: #866c56; }
.fi-simple-main {
    position: relative;
    background: radial-gradient(ellipse at 100% 0, #f8d59244, transparent 55%), linear-gradient(125deg, #fffdf8, #fff8ec) !important;
    border: 1px solid #ddbd83;
    border-radius: 20px;
    box-shadow: 0 18px 70px #83561e16, inset 0 0 0 5px #fffaf0;
}
.fi-simple-main:before {
    content: '✦'; position: absolute; top: 23px; right: 26px;
    color: #bd8b40; font: 24px Georgia, serif; pointer-events: none;
}
.fi-simple-header .ct-brand img { box-shadow: 0 0 0 3px #fff4de, 0 0 0 4px #d2aa66, 0 8px 25px #9d6a1720; }
.fi-simple-header .fi-logo { height: auto !important; }
.fi-simple-header .ct-brand { gap: 18px; }
.fi-simple-header-heading { margin-top: 24px; font-size: 24px; }
.fi-input:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px #fff9ed inset; -webkit-text-fill-color: #49263e; }
.fi-fo-field-label-content, .fi-checkbox-label, .fi-ta-text { color: #49263e; }
.fi-input-wrp {
    background: #fffdf8 !important; border-radius: 9px;
    box-shadow: 0 0 0 1px #e3cba7 !important;
}
.fi-input, .fi-select-input { color: #49263e !important; }
.fi-input::placeholder { color: #9a8069; }
.fi-input-wrp-prefix, .fi-input-wrp-suffix { color: #956f41; }
.fi-input-wrp:focus-within { box-shadow: 0 0 0 2px #875080 !important; }
.fi-input-wrp.fi-invalid, .fi-input-wrp:has([aria-invalid="true"]) { box-shadow: 0 0 0 1px #b43d48 !important; background: #fff8f5 !important; }
.fi-fo-field-wrp-error-message, .fi-fo-field-error-message { color: #a52f3d !important; }
.fi-btn.fi-color-primary {
    background: linear-gradient(105deg, #682a70, #36132e) !important;
    color: #fff8ed !important; border: 1px solid #87567d;
    box-shadow: 0 3px 10px #68354220; border-radius: 9px;
}
.fi-btn.fi-color-primary:hover { background: linear-gradient(105deg, #793581, #48203e) !important; }
.fi-btn:focus-visible, .fi-icon-btn:focus-visible, .fi-link:focus-visible { outline: 2px solid #b8863c; outline-offset: 3px; }
.fi-checkbox-input { border-color: #bf9c63; }
.fi-checkbox-input:checked { background-color: #682a70; }
.fi-ta-ctn, .fi-section, .fi-dropdown-panel, .fi-modal-window, .fi-no-notification {
    background: linear-gradient(125deg, #fffdf8, #fff8ec) !important;
    color: #3f203a; border: 1px solid #e7d0aa;
    box-shadow: 0 3px 14px #9d6a1710 !important;
}
.fi-ta-ctn { border-radius: 14px; overflow: hidden; }
.fi-ta-header-cell { background: #f8ead4; color: #765037; }
.fi-ta-header-cell-sort-btn, .fi-ta-header-cell-label { color: #765037; }
.fi-ta-row { background: #fffdf8; }
.fi-ta-row:hover { background: #fff5e3 !important; }
.fi-ta-cell, .fi-ta-header-toolbar, .fi-ta-content-ctn, .fi-pagination, .fi-ta-filters-header { border-color: #edddc6 !important; }
.fi-ta-filters-heading, .fi-ta-empty-state-heading, .fi-modal-heading { color: #633551; font-family: Georgia, serif; }
.fi-ta-empty-state-description { color: #896c55; }
.fi-ta-empty-state-icon-bg { background: #fae8c9; color: #a57b3e; border: 1px solid #e8c995; }
.fi-ta-empty-state-icon { color: #a57b3e; }
.fi-badge.fi-color-primary { background: #f4e6d2 !important; color: #754369 !important; box-shadow: inset 0 0 0 1px #e8d2af; }
.fi-ta-filter-indicators { background: #fff3da; border-color: #e8d2af; color: #754369; }
.fi-ta-filter-indicators-label { color: #765037; }
.fi-dropdown-list-item:hover { background: #f8ead4 !important; }
/* Preserve semantic error colors; decorative gold never replaces validation red. */
.fi-color-danger.fi-link { color: #a52f3d !important; }
@media (max-width: 640px) { .fi-header-heading { font-size: 26px; } .fi-simple-main { border-radius: 16px; } }
