:root {
    --satit-bg: #f5efff;
    --satit-bg-deep: #e5d9f2;
    --satit-surface: rgba(255, 255, 255, 0.82);
    --satit-surface-solid: #ffffff;
    --satit-surface-soft: rgba(229, 217, 242, 0.48);
    --satit-accent: #a594f9;
    --satit-accent-strong: #7c67de;
    --satit-accent-soft: #cdc1ff;
    --satit-text: #302a43;
    --satit-muted: #766f87;
    --satit-border: rgba(124, 103, 222, 0.13);
    --satit-success: #77bda2;
    --satit-warning: #e5b976;
    --satit-danger: #dd8e9e;
    --satit-info: #86b5d8;
    --satit-radius-sm: 12px;
    --satit-radius: 20px;
    --satit-radius-lg: 28px;
    --satit-shadow: 0 14px 40px rgba(76, 60, 119, 0.09);
    --satit-shadow-hover: 0 18px 48px rgba(76, 60, 119, 0.15);
}

html {
    background: var(--satit-bg);
}

body,
button,
input,
select,
textarea,
.tooltip,
.popover {
    font-family: "Prompt", sans-serif;
}

body {
    color: var(--satit-text);
    font-size: 1rem;
    line-height: 1.65;
    background:
        radial-gradient(circle at 76% 4%, rgba(205, 193, 255, 0.55), transparent 28rem),
        radial-gradient(circle at 22% 85%, rgba(229, 217, 242, 0.72), transparent 32rem),
        var(--satit-bg);
}

a {
    color: var(--satit-accent-strong);
}

a:hover {
    color: #5f4fc4;
}

.border-online {
    border: 3px solid rgba(26, 223, 0, 1) !important;
}

.wrapper,
.content-wrapper {
    background: transparent !important;
}

.content-wrapper {
    min-height: calc(100vh - 58px) !important;
    padding-bottom: 2rem;
}

.content-header {
    padding: 2rem 1.8rem 1rem;
}

.content-header h1 {
    margin: 0;
    color: var(--satit-text);
    font-size: clamp(1.55rem, 2.2vw, 2.1rem);
    font-weight: 650;
    letter-spacing: -0.035em;
}

.content {
    padding: 0 1.8rem 1.5rem !important;
}

.container-fluid {
    padding-right: 0;
    padding-left: 0;
}

.breadcrumb {
    padding: .62rem .95rem;
    margin: 0;
    border: 1px solid var(--satit-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, .55);
    backdrop-filter: blur(18px);
    font-size: .84rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #aaa0ba;
}

.main-header {
    min-height: 58px;
    margin: 12px 18px 0 calc(250px + 18px) !important;
    padding: .45rem .7rem;
    border: 1px solid rgba(255, 255, 255, .72) !important;
    border-radius: 18px;
    background: rgba(255, 255, 255, .68) !important;
    box-shadow: 0 10px 35px rgba(76, 60, 119, .08);
    backdrop-filter: blur(24px) saturate(145%);
}

.main-header,
.main-header .navbar-nav,
.main-header .nav-item,
.main-header .nav-link,
.main-header form,
.main-header form .btn {
    align-items: center;
}

.main-header .navbar-nav,
.main-header .nav-item,
.main-header form {
    display: flex;
}

.main-header .nav-link {
    display: flex;
    min-height: 42px;
    height: 100%;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    color: var(--satit-text) !important;
    font-size: 1rem;
    font-weight: 500;
}

.main-header .nav-link:hover {
    background: rgba(205, 193, 255, .38);
}

.profile-nav-item {
    display: flex;
    align-items: center;
}

.main-header .profile-nav-toggle {
    display: flex;
    min-height: 48px;
    padding: .3rem .55rem .3rem .35rem;
    align-items: center;
    gap: .55rem;
}

.profile-nav-avatar {
    width: 36px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, .92);
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(76, 60, 119, .14);
}

.profile-nav-copy {
    display: flex;
    max-width: 180px;
    flex-direction: column;
    line-height: 1.25;
}

.profile-nav-copy strong,
.profile-nav-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-nav-copy strong {
    color: var(--satit-text);
    font-size: .78rem;
    font-weight: 650;
}

.profile-nav-copy small {
    margin-top: .1rem;
    color: var(--satit-muted);
    font-size: .65rem;
}

.profile-nav-chevron {
    margin-left: .15rem;
    color: #978da9;
    font-size: .65rem;
    transition: transform .2s ease;
}

.profile-nav-item.show .profile-nav-chevron {
    transform: rotate(180deg);
}

.profile-dropdown {
    width: min(340px, calc(100vw - 20px));
    margin-top: .7rem;
    padding: .75rem;
}

.profile-dropdown-header {
    display: flex;
    padding: .65rem;
    align-items: center;
    gap: .75rem;
    border-radius: 13px;
    background: linear-gradient(135deg, rgba(205, 193, 255, .42), rgba(245, 239, 255, .7));
}

.profile-dropdown-avatar {
    width: 52px;
    height: 52px;
    border: 3px solid #fff;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 6px 16px rgba(76, 60, 119, .14);
}

.profile-dropdown-header div {
    min-width: 0;
}

.profile-dropdown-header strong,
.profile-dropdown-header span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-dropdown-header strong {
    color: var(--satit-text);
    font-size: .9rem;
}

.profile-dropdown-header span {
    margin-top: .18rem;
    color: var(--satit-muted);
    font-size: .72rem;
}

.profile-dropdown-details {
    padding: .55rem .65rem;
}

.profile-detail-row {
    display: flex;
    padding: .55rem 0;
    align-items: flex-start;
    justify-content: space-between;
    gap: .8rem;
    border-bottom: 1px solid rgba(124, 103, 222, .08);
    font-size: .74rem;
    line-height: 1.45;
}

.profile-detail-row:last-child {
    border-bottom: 0;
}

.profile-detail-row span {
    color: var(--satit-muted);
    flex: 0 0 auto;
}

.profile-detail-row strong {
    color: var(--satit-accent-strong);
    font-weight: 550;
    text-align: right;
    word-break: break-word;
}

.profile-dropdown-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .5rem;
    padding-top: .65rem;
    border-top: 1px solid var(--satit-border);
}

.profile-dropdown-actions .btn {
    display: flex;
    min-height: 38px;
    padding: .45rem .55rem;
    align-items: center;
    justify-content: center;
    font-size: .72rem;
}

.profile-upload-preview {
    width: 160px;
    height: 160px;
    border: 4px solid #fff;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--satit-shadow);
}

.profile-file-picker {
    display: flex;
    min-height: 74px;
    margin: 0;
    padding: .65rem;
    align-items: center;
    gap: .7rem;
    border: 1px dashed rgba(124, 103, 222, .35);
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(245, 239, 255, .78), rgba(255, 255, 255, .9));
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.profile-file-picker:hover,
.profile-file-picker:focus-within {
    border-color: var(--satit-accent);
    background: linear-gradient(135deg, rgba(229, 217, 242, .78), #fff);
    box-shadow: 0 0 0 4px rgba(165, 148, 249, .12);
    transform: translateY(-1px);
}

.profile-file-picker input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
}

.profile-file-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 13px;
    color: var(--satit-accent-strong);
    background: rgba(205, 193, 255, .5);
    font-size: 1.2rem;
    flex: 0 0 auto;
}

.profile-file-copy {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    line-height: 1.35;
}

.profile-file-copy strong,
.profile-file-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-file-copy strong {
    color: var(--satit-text);
    font-size: .82rem;
    font-weight: 600;
}

.profile-file-copy small {
    margin-top: .15rem;
    color: var(--satit-muted);
    font-size: .66rem;
}

.profile-file-action {
    display: inline-flex;
    min-height: 38px;
    padding: .45rem .7rem;
    align-items: center;
    gap: .35rem;
    border-radius: 10px;
    color: #fff;
    background: var(--satit-accent-strong);
    box-shadow: 0 6px 14px rgba(124, 103, 222, .2);
    font-size: .7rem;
    font-weight: 550;
    flex: 0 0 auto;
}

.main-sidebar {
    width: 250px;
    height: calc(100vh - 24px);
    margin: 12px 0 12px 12px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 25px;
    background: rgba(255, 255, 255, .76) !important;
    box-shadow: var(--satit-shadow) !important;
    backdrop-filter: blur(26px) saturate(145%);
    overflow: hidden;
}

.brand-link {
    display: flex;
    height: 88px;
    padding: .7rem 1.15rem;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--satit-border) !important;
    color: var(--satit-text) !important;
    transition: color .2s ease, background-color .2s ease;
}

.brand-link:hover {
    color: var(--satit-accent-strong) !important;
    background: rgba(205, 193, 255, .16);
}

.brand-link .brand-image {
    float: none;
    width: 54px;
    height: 60px;
    max-height: none;
    margin: 0;
    margin-top: 0;
    opacity: 1;
    object-fit: contain;
    flex: 0 0 auto;
}

.brand-text {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: .06em;
    line-height: 1;
}

.sidebar {
    display: flex;
    height: calc(100% - 88px);
    padding: 0 .55rem .65rem;
    flex-direction: column;
    overflow: hidden;
}

.user-panel {
    position: relative;
    flex: 0 0 auto;
    min-height: 76px;
    margin: 1rem .15rem .85rem !important;
    padding: .75rem !important;
    align-items: center;
    border: 1px solid var(--satit-border) !important;
    border-radius: 19px;
    background:
        radial-gradient(circle at 12% 20%, rgba(255, 255, 255, .72), transparent 45%),
        linear-gradient(135deg, rgba(205, 193, 255, .52), rgba(245, 239, 255, .65));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72);
    transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.user-panel:hover {
    border-color: rgba(165, 148, 249, .4) !important;
    transform: translateY(-1px);
}

.user-panel .image {
    position: relative;
    flex: 0 0 auto;
    padding-left: 0;
}

.user-panel img {
    width: 48px !important;
    height: 48px !important;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, .9);
    box-shadow: 0 6px 16px rgba(76, 60, 119, .14) !important;
}

.user-panel .info {
    min-width: 0;
    padding: 0 0 0 .75rem;
    overflow: hidden;
}

.user-panel .user-panel-name {
    color: var(--satit-text) !important;
    font-size: .92rem;
    line-height: 1.35;
    font-weight: 650;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-panel-role {
    display: flex;
    margin-top: .22rem;
    align-items: center;
    gap: .35rem;
    color: var(--satit-muted);
    font-size: .72rem;
    font-weight: 500;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-panel-status {
    width: 7px;
    height: 7px;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 50%;
    background: var(--satit-success);
    box-shadow: 0 0 0 2px rgba(119, 189, 162, .18);
    flex: 0 0 auto;
}

.sidebar-menu-scroll {
    position: relative;
    min-height: 0;
    margin-right: -.35rem;
    margin-left: -.55rem;
    padding: .15rem .5rem 1rem .55rem;
    flex: 1 1 auto;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
}

.sidebar-menu-scroll::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.nav-sidebar {
    --sidebar-menu-font-size: .98rem;
    gap: .18rem;
    padding-bottom: 1rem;
}

.nav-sidebar .nav-header {
    position: relative;
    min-height: 46px;
    margin: .5rem 0 .1rem;
    padding: .72rem 2.2rem .72rem .82rem;
    border-radius: 14px;
    color: #897e9d;
    font-size: var(--sidebar-menu-font-size);
    font-weight: 700;
    letter-spacing: .035em;
    line-height: 1.4;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}

.nav-sidebar .nav-header:hover,
.nav-sidebar .nav-header:focus-visible,
.nav-sidebar .nav-header.is-expanded {
    color: var(--satit-accent-strong);
    background: rgba(205, 193, 255, .2);
    outline: none;
}

.nav-sidebar .nav-header::before,
.nav-sidebar .nav-header::after {
    position: absolute;
    content: "";
    transition: transform .2s ease;
}

.nav-sidebar .nav-header::before {
    top: 50%;
    right: .95rem;
    width: 8px;
    height: 8px;
    border-right: 1.75px solid currentColor;
    border-bottom: 1.75px solid currentColor;
    transform: translateY(-65%) rotate(45deg);
}

.nav-sidebar .nav-header.is-expanded::before {
    transform: translateY(-30%) rotate(225deg);
}

.nav-sidebar .menu-section-item.is-collapsed {
    display: none;
}

.nav-sidebar .nav-item > .nav-link {
    position: relative;
    display: flex;
    min-height: 50px;
    margin-bottom: .14rem;
    padding: .72rem .82rem;
    align-items: center;
    border: 1px solid transparent;
    border-radius: 15px;
    color: #655d75;
    font-size: var(--sidebar-menu-font-size);
    line-height: 1.45;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .2s ease;
}

.nav-sidebar .nav-item > .nav-link p {
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-sidebar .nav-item > .nav-link:hover {
    color: var(--satit-accent-strong);
    border-color: rgba(165, 148, 249, .16);
    background: rgba(205, 193, 255, .24);
    transform: translateX(2px);
}

.nav-sidebar .nav-item > .nav-link.active {
    color: #4e3f9e !important;
    border-color: rgba(165, 148, 249, .28);
    background: linear-gradient(135deg, rgba(205, 193, 255, .72), rgba(229, 217, 242, .72)) !important;
    box-shadow: 0 6px 16px rgba(124, 103, 222, .1) !important;
    font-weight: 600;
}

.nav-sidebar .nav-item > .nav-link.active::before {
    position: absolute;
    top: 50%;
    left: calc(-.55rem - 1px);
    width: 4px;
    height: 28px;
    border-radius: 0 999px 999px 0;
    background: var(--satit-accent-strong);
    content: "";
    transform: translateY(-50%);
}

.nav-sidebar .nav-icon {
    width: 1.7rem !important;
    margin-right: .48rem !important;
    color: var(--satit-accent-strong);
    font-size: 1.02rem !important;
    text-align: center;
    opacity: .82;
    transition: opacity .2s ease, transform .2s ease;
}

.nav-sidebar .nav-link:hover .nav-icon,
.nav-sidebar .nav-link.active .nav-icon {
    opacity: 1;
    transform: scale(1.04);
}

.nav-sidebar .nav-treeview {
    margin: .15rem 0 .35rem .8rem;
    padding-left: .35rem;
    border-left: 1px solid rgba(165, 148, 249, .22);
}

.nav-sidebar .nav-treeview > .nav-item > .nav-link {
    min-height: 44px;
    padding-top: .58rem;
    padding-bottom: .58rem;
    font-size: var(--sidebar-menu-font-size);
}

.card,
.info-box,
.callout,
.modal-content,
.timeline > div > .timeline-item {
    border: 1px solid rgba(255, 255, 255, .82) !important;
    border-radius: var(--satit-radius) !important;
    background: var(--satit-surface) !important;
    box-shadow: var(--satit-shadow) !important;
    backdrop-filter: blur(22px) saturate(130%);
}

.card {
    margin-bottom: 1.35rem;
    overflow: hidden;
}

.card:hover {
    border-color: rgba(205, 193, 255, .8) !important;
}

.card-header {
    min-height: 64px;
    padding: 1.1rem 1.3rem;
    border-bottom: 1px solid var(--satit-border) !important;
    background: rgba(255, 255, 255, .4) !important;
}

.card-title {
    color: var(--satit-text);
    font-size: 1.08rem;
    line-height: 1.5;
    font-weight: 600;
}

.card-title i {
    color: var(--satit-accent-strong);
}

.card-body {
    padding: 1.35rem;
}

.card-footer {
    border-top: 1px solid var(--satit-border);
    background: rgba(245, 239, 255, .48);
}

.card[class*="card-outline"],
.card[class*="card-primary"],
.card[class*="card-info"],
.card[class*="card-success"],
.card[class*="card-warning"],
.card[class*="card-danger"] {
    border-top: 1px solid rgba(255, 255, 255, .82) !important;
}

.small-box,
.premium-box {
    min-height: 135px;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(255, 255, 255, .72) !important;
    border-radius: var(--satit-radius) !important;
    color: var(--satit-text) !important;
    box-shadow: var(--satit-shadow) !important;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

.small-box:hover,
.premium-box:hover {
    transform: translateY(-3px) !important;
    box-shadow: var(--satit-shadow-hover) !important;
}

.small-box .inner {
    padding: 1.1rem 1.15rem;
}

.small-box .inner h3,
.premium-box .inner h3 {
    color: var(--satit-text);
    font-size: 2rem !important;
    font-weight: 650 !important;
}

.small-box .inner p {
    color: #655d75;
    font-size: 1rem !important;
    line-height: 1.55;
    font-weight: 500;
}

.small-box .icon {
    color: rgba(80, 64, 132, .16) !important;
}

.small-box .small-box-footer {
    padding: .62rem 1rem;
    color: #625879 !important;
    background: rgba(255, 255, 255, .25) !important;
    font-size: .82rem !important;
}

.bg-primary, .gradient-primary, .gradient-info {
    background: linear-gradient(135deg, #cdc1ff, #e5d9f2) !important;
}
.bg-info {
    background: linear-gradient(135deg, #c8e6f4, #e0eff8) !important;
}
.bg-success, .gradient-success {
    background: linear-gradient(135deg, #c7eadb, #e3f4eb) !important;
}
.bg-warning, .gradient-warning {
    background: linear-gradient(135deg, #f5dfb9, #f9ecd6) !important;
}
.bg-danger, .gradient-danger {
    background: linear-gradient(135deg, #f1c6cf, #f8e2e6) !important;
}
.bg-secondary, .gradient-pending {
    background: linear-gradient(135deg, #ddd8e6, #eeeaf3) !important;
}

.btn {
    min-height: 42px;
    padding: .56rem 1rem;
    border-width: 1px;
    border-radius: 12px;
    box-shadow: none !important;
    font-size: .92rem;
    line-height: 1.45;
    font-weight: 550;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.btn:hover:not(:disabled) {
    transform: translateY(-1px);
}

.btn-primary {
    border-color: var(--satit-accent-strong) !important;
    background: var(--satit-accent-strong) !important;
    box-shadow: 0 7px 16px rgba(124, 103, 222, .2) !important;
}

.btn-primary:hover {
    background: #6c58cf !important;
}

.btn-outline-primary {
    color: var(--satit-accent-strong);
    border-color: var(--satit-accent-soft);
}

.btn-outline-primary:hover,
.btn-outline-primary.active {
    color: #4e3f9e !important;
    border-color: var(--satit-accent-soft) !important;
    background: var(--satit-bg-deep) !important;
}

.btn-secondary {
    color: #665d76;
    border-color: var(--satit-border);
    background: #eeeaf3;
}

.btn-success { border-color: #9ccdb8; background: var(--satit-success); }
.btn-warning { color: #67512d; border-color: #e7c58d; background: #f1d29f; }
.btn-danger { border-color: #e0a2ae; background: var(--satit-danger); }
.btn-info { border-color: #a7cde7; background: var(--satit-info); }

.btn-sm,
.btn-group-sm > .btn {
    min-height: 36px;
    padding: .38rem .68rem;
    border-radius: 9px;
    font-size: .8rem;
}

.form-control,
.custom-select,
.select2-container--bootstrap4 .select2-selection {
    min-height: 46px;
    border: 1px solid rgba(124, 103, 222, .17) !important;
    border-radius: 12px !important;
    color: var(--satit-text);
    background-color: rgba(255, 255, 255, .72) !important;
    box-shadow: inset 0 1px 2px rgba(76, 60, 119, .025) !important;
    font-size: .95rem;
    line-height: 1.5;
}

.form-control:focus,
.custom-select:focus,
.select2-container--bootstrap4.select2-container--focus .select2-selection {
    border-color: var(--satit-accent) !important;
    box-shadow: 0 0 0 4px rgba(165, 148, 249, .15) !important;
}

label {
    margin-bottom: .42rem;
    color: #655d75;
    font-size: .9rem;
    line-height: 1.5;
    font-weight: 550 !important;
}

.input-group-text {
    color: var(--satit-accent-strong);
    border: 1px solid rgba(124, 103, 222, .17);
    background: rgba(229, 217, 242, .55);
}

.table-responsive {
    border-radius: 15px;
}

.table {
    margin-bottom: 0;
    color: #514a60;
    background: transparent;
    font-size: .92rem;
    line-height: 1.6;
}

.table thead th {
    padding: 1rem .85rem;
    border: 0 !important;
    border-bottom: 1px solid var(--satit-border) !important;
    color: #6d6381;
    background: rgba(229, 217, 242, .45);
    font-size: .86rem;
    line-height: 1.5;
    font-weight: 650;
    letter-spacing: .02em;
    vertical-align: middle;
}

.table td {
    padding: .92rem .85rem;
    border-color: rgba(124, 103, 222, .08) !important;
    vertical-align: middle;
}

.table-striped tbody tr:nth-of-type(odd) {
    background: rgba(245, 239, 255, .45);
}

.table-hover tbody tr:hover {
    background: rgba(205, 193, 255, .22);
}

.table-bordered,
.table-bordered td,
.table-bordered th {
    border-left: 0 !important;
    border-right: 0 !important;
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
    min-height: 40px;
    padding: .42rem .65rem;
    border: 1px solid var(--satit-border);
    border-radius: 10px;
    background: rgba(255, 255, 255, .72);
}

.page-link {
    margin: 0 2px;
    border: 0;
    border-radius: 9px !important;
    color: var(--satit-accent-strong);
    background: rgba(229, 217, 242, .48);
}

.page-item.active .page-link {
    background: var(--satit-accent-strong);
}

.badge {
    padding: .46rem .68rem;
    border-radius: 999px;
    font-size: .76rem;
    line-height: 1.35;
    font-weight: 600;
}

.badge-primary, .badge-info { color: #51429a; background: #ddd4ff; }
.badge-success { color: #39745d; background: #d6efe4; }
.badge-warning { color: #7c5c27; background: #f7e5c7; }
.badge-danger { color: #8c4655; background: #f5d9df; }
.badge-secondary { color: #655d75; background: #e8e4ed; }

.nav-pills .nav-link,
.nav-tabs .nav-link {
    border: 0;
    border-radius: 11px;
    color: var(--satit-muted);
    font-size: .92rem;
    line-height: 1.5;
}

.nav-pills .nav-link.active,
.nav-tabs .nav-link.active {
    color: #4e3f9e;
    background: var(--satit-bg-deep);
}

.modal-backdrop.show {
    opacity: .28;
    backdrop-filter: blur(8px);
}

.modal-content {
    overflow: hidden;
}

.modal-header,
.modal-footer {
    border-color: var(--satit-border);
    background: rgba(245, 239, 255, .42);
}

.modal-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.dropdown-menu {
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 15px;
    background: rgba(255, 255, 255, .88);
    box-shadow: var(--satit-shadow);
    backdrop-filter: blur(20px);
}

.main-footer {
    margin: 0 18px 12px calc(250px + 18px) !important;
    padding: .9rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 17px;
    color: var(--satit-muted);
    background: rgba(255, 255, 255, .58);
    font-size: .8rem;
    line-height: 1.55;
    backdrop-filter: blur(20px);
}

.timeline::before {
    background: var(--satit-accent-soft) !important;
}

.timeline > div > i {
    color: #fff !important;
    background: var(--satit-accent) !important;
    box-shadow: 0 0 0 5px var(--satit-bg) !important;
}

.fc .fc-button-primary {
    border-color: var(--satit-accent-strong) !important;
    background: var(--satit-accent-strong) !important;
}

.fc-theme-standard td,
.fc-theme-standard th {
    border-color: var(--satit-border) !important;
}

.swal2-popup {
    border: 1px solid rgba(255, 255, 255, .82) !important;
    border-radius: 24px !important;
    background: rgba(255, 255, 255, .92) !important;
    box-shadow: var(--satit-shadow-hover) !important;
}

/* Readability guardrails for legacy page-level compact overrides. */
.content .badge-premium {
    padding: .46rem .72rem !important;
    font-size: .8rem !important;
    line-height: 1.4;
}

.content .timeline > div > .timeline-item > .time {
    font-size: .84rem !important;
    line-height: 1.5;
}

.content .timeline > div > .timeline-item > .timeline-header {
    font-size: 1.05rem !important;
    line-height: 1.55;
}

.content .timeline > div > .timeline-item > .timeline-body {
    font-size: .95rem !important;
    line-height: 1.75;
}

.content .list-group-item,
.content .description-block,
.content .info-box-text,
.content .info-box-number {
    line-height: 1.65;
}

.dataTables_wrapper,
.select2-container,
.dropdown-menu,
.swal2-popup {
    font-size: .92rem;
    line-height: 1.55;
}

@media (min-width: 992px) {
    .sidebar-mini.sidebar-collapse .main-header {
        margin-left: calc(4.6rem + 18px) !important;
    }

    .sidebar-mini.sidebar-collapse .main-footer,
    .sidebar-mini.sidebar-collapse .content-wrapper {
        margin-left: 4.6rem !important;
    }

    .sidebar-mini.sidebar-collapse .main-sidebar {
        width: 4.6rem;
    }

    .sidebar-mini.sidebar-collapse .brand-link {
        justify-content: center;
        gap: 0;
        padding-right: 0;
        padding-left: 0;
    }

    .sidebar-mini.sidebar-collapse .brand-link .brand-text {
        display: none;
    }

    .sidebar-mini.sidebar-collapse .brand-link .brand-image {
        width: 46px;
        height: 52px;
        margin: 0 !important;
    }

    .sidebar-mini.sidebar-collapse .user-panel {
        min-height: 62px;
        margin-right: 0 !important;
        margin-left: 0 !important;
        padding: .4rem 0 !important;
        justify-content: center;
        border-color: transparent !important;
        background: transparent;
        box-shadow: none;
        transform: none;
    }

    .sidebar-mini.sidebar-collapse .user-panel .info {
        display: none;
    }

    .sidebar-mini.sidebar-collapse .user-panel img {
        width: 42px !important;
        height: 42px !important;
    }

    .sidebar-mini.sidebar-collapse .sidebar {
        padding-right: .35rem;
        padding-left: .35rem;
    }

    .sidebar-mini.sidebar-collapse .sidebar-menu-scroll {
        margin-right: 0;
        margin-left: 0;
        padding-bottom: .5rem;
        padding-right: 0;
        padding-left: 0;
        scrollbar-width: none;
    }

    .sidebar-mini.sidebar-collapse .sidebar-menu-scroll::-webkit-scrollbar {
        width: 0;
    }

    .sidebar-mini.sidebar-collapse .nav-sidebar .nav-item > .nav-link {
        width: 100%;
        justify-content: center;
        padding-right: .55rem;
        padding-left: .55rem;
        transform: none;
    }

    .sidebar-mini.sidebar-collapse .nav-sidebar .nav-item > .nav-link.active::before {
        left: calc(-.35rem - 1px);
    }

    .sidebar-mini.sidebar-collapse .nav-sidebar .nav-icon {
        flex: 0 0 1.7rem;
        margin-right: 0 !important;
        margin-left: 0 !important;
        text-align: center;
    }

    .sidebar-mini.sidebar-collapse .sidebar .nav-sidebar .nav-link p {
        display: none;
    }

    .sidebar-mini.sidebar-collapse .main-sidebar:not(.sidebar-no-expand):hover .brand-link,
    .sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused .brand-link {
        justify-content: flex-start;
        gap: 1rem;
        padding-right: 1.15rem;
        padding-left: 1.15rem;
    }

    .sidebar-mini.sidebar-collapse .main-sidebar:not(.sidebar-no-expand):hover .brand-link .brand-text,
    .sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused .brand-link .brand-text {
        display: inline-block;
    }

    .sidebar-mini.sidebar-collapse .main-sidebar:not(.sidebar-no-expand):hover .brand-link .brand-image,
    .sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused .brand-link .brand-image {
        width: 54px;
        height: 60px;
        margin: 0 !important;
    }

    .sidebar-mini.sidebar-collapse .main-sidebar:not(.sidebar-no-expand):hover .user-panel,
    .sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused .user-panel {
        min-height: 76px;
        margin-right: .15rem !important;
        margin-left: .15rem !important;
        padding: .75rem !important;
        justify-content: flex-start;
        border-color: var(--satit-border) !important;
        background:
            radial-gradient(circle at 12% 20%, rgba(255, 255, 255, .72), transparent 45%),
            linear-gradient(135deg, rgba(205, 193, 255, .52), rgba(245, 239, 255, .65));
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72);
    }

    .sidebar-mini.sidebar-collapse .main-sidebar:not(.sidebar-no-expand):hover .user-panel .info,
    .sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused .user-panel .info {
        display: block;
    }

    .sidebar-mini.sidebar-collapse .main-sidebar:not(.sidebar-no-expand):hover .user-panel img,
    .sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused .user-panel img {
        width: 48px !important;
        height: 48px !important;
    }

    .sidebar-mini.sidebar-collapse .main-sidebar:not(.sidebar-no-expand):hover .sidebar,
    .sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused .sidebar {
        padding-right: .55rem;
        padding-left: .55rem;
    }

    .sidebar-mini.sidebar-collapse .main-sidebar:not(.sidebar-no-expand):hover .sidebar-menu-scroll,
    .sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused .sidebar-menu-scroll {
        margin-right: -.35rem;
        margin-left: -.55rem;
        padding-right: .5rem;
        padding-left: .55rem;
    }

    .sidebar-mini.sidebar-collapse .main-sidebar:not(.sidebar-no-expand):hover .nav-sidebar .nav-item > .nav-link,
    .sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused .nav-sidebar .nav-item > .nav-link {
        justify-content: flex-start;
        padding-right: .7rem;
        padding-left: .7rem;
    }

    .sidebar-mini.sidebar-collapse .main-sidebar:not(.sidebar-no-expand):hover .nav-sidebar .nav-icon,
    .sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused .nav-sidebar .nav-icon {
        margin-right: .48rem !important;
    }

    .sidebar-mini.sidebar-collapse .main-sidebar:not(.sidebar-no-expand):hover .nav-sidebar .nav-item > .nav-link,
    .sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused .nav-sidebar .nav-item > .nav-link {
        width: auto;
    }

    .sidebar-mini.sidebar-collapse .main-sidebar:not(.sidebar-no-expand):hover .sidebar .nav-sidebar .nav-link p,
    .sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused .sidebar .nav-sidebar .nav-link p {
        display: block;
        width: auto;
        margin-left: 0;
        opacity: 1;
        visibility: visible;
        animation: none;
    }
}

@media (max-width: 991.98px) {
    .main-header {
        margin: 10px 10px 0 !important;
    }

    .main-sidebar {
        height: 100vh;
        margin: 0;
        border-radius: 0 24px 24px 0;
    }

    .content-header {
        padding: 1.5rem 1rem .8rem;
    }

    .content {
        padding: 0 1rem 1rem !important;
    }

    .main-footer {
        margin: 0 10px 10px !important;
    }
}

@media (max-width: 575.98px) {
    .profile-nav-copy {
        display: none;
    }

    .main-header .profile-nav-toggle {
        gap: .25rem;
    }

    .profile-dropdown-actions {
        grid-template-columns: 1fr;
    }

    .profile-file-picker {
        align-items: stretch;
        flex-wrap: wrap;
    }

    .profile-file-copy {
        justify-content: center;
    }

    .profile-file-action {
        width: 100%;
        justify-content: center;
    }

    .content-header .row {
        gap: .7rem;
    }

    .breadcrumb {
        float: none !important;
        display: inline-flex;
    }

    .card-body {
        padding: .9rem;
    }

    .small-box,
    .premium-box {
        min-height: 115px;
    }

    .table {
        font-size: .8rem;
    }

    .btn {
        white-space: normal;
    }
}

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