.auth-select-wrap {
    position: relative;
}

.header .header-left {
    justify-content: center;
}

.header .header-left .logo,
.header .header-left .logo-small {
    align-items: center;
    height: 60px;
    justify-content: center;
    padding: 0;
}

.header .header-left .logo {
    display: inline-flex;
    width: calc(100% - 54px);
}

.header .header-left .logo-small {
    width: 74px;
}

.mini-sidebar .header .header-left .logo {
    display: none !important;
}

.mini-sidebar .header .header-left .logo-small {
    align-items: center;
    display: inline-flex !important;
    justify-content: center;
}

.dev-brand-logo {
    align-items: center;
    background: #ffffff;
    border: 2px solid rgba(255, 159, 67, .42);
    border-radius: 50%;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .16);
    color: #ffffff;
    display: inline-flex;
    flex: 0 0 50px;
    height: 50px;
    justify-content: center;
    overflow: hidden;
    width: 50px;
}

.dev-brand-logo img {
    display: block;
    height: 100% !important;
    max-height: none !important;
    max-width: none !important;
    object-fit: cover;
    width: 100% !important;
}

.dev-brand-logo-small {
    flex-basis: 42px;
    height: 42px;
    width: 42px;
}

.dev-brand-logo-letter {
    background: linear-gradient(135deg, #ff9f43, #ff6b6b);
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 0;
}

.dev-brand-logo-small.dev-brand-logo-letter {
    font-size: 16px;
}

.dev-logo-letter {
    align-items: center;
    background: linear-gradient(135deg, #ff9f43, #ff6b6b);
    border-radius: 8px;
    color: #fff;
    display: inline-flex;
    font-size: 24px;
    font-weight: 800;
    height: 44px;
    justify-content: center;
    letter-spacing: 0;
    min-width: 74px;
    padding: 0 12px;
}

.dev-logo-letter-small {
    font-size: 18px;
    height: 38px;
    min-width: 38px;
    padding: 0 8px;
}

.dev-login-logo {
    align-items: center;
    display: flex;
    justify-content: flex-start;
}

.dev-login-logo .dev-brand-logo {
    flex-basis: 64px;
    height: 64px;
    width: 64px;
}

.settings-subtitle {
    border-bottom: 1px solid rgba(15, 23, 42, .08);
    color: #1f2937;
    font-size: 14px;
    font-weight: 800;
    margin: 18px 0 14px;
    padding-bottom: 8px;
    text-transform: uppercase;
}

.form-control-color {
    min-height: 40px;
    padding: 4px;
}

:root {
    --dev-navy: #172554;
    --dev-blue: #2563eb;
    --dev-teal: #0f766e;
    --dev-green: #16a34a;
    --dev-amber: #f59e0b;
    --dev-red: #dc2626;
    --dev-bg: #f4f7fb;
    --dev-surface: #ffffff;
    --dev-border: rgba(15, 23, 42, .09);
    --dev-muted: #64748b;
}

body {
    background: var(--dev-bg);
    color: #1f2937;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.main-wrapper,
.page-wrapper,
.content {
    background: var(--dev-bg);
}

.header {
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--dev-border);
    box-shadow: 0 14px 28px rgba(15, 23, 42, .04);
}

.sidebar {
    background: #ffffff;
    border-right: 1px solid var(--dev-border);
    box-shadow: 8px 0 24px rgba(15, 23, 42, .04);
}

.sidebar .sidebar-menu > ul > li > a {
    border-radius: 7px;
    margin: 3px 12px;
}

.dev-sidebar-fa {
    color: #637381;
    font-size: 17px;
    margin-right: 10px;
    text-align: center;
    width: 20px;
}

.sidebar .sidebar-menu > ul > li.active > a,
.sidebar .sidebar-menu > ul > li > a:hover {
    background: linear-gradient(135deg, var(--dev-navy), var(--dev-blue));
    color: #fff;
}

.sidebar .sidebar-menu > ul > li.active > a .dev-sidebar-fa,
.sidebar .sidebar-menu > ul > li > a:hover .dev-sidebar-fa {
    color: #fff;
}

.page-header {
    align-items: flex-start;
    background: transparent;
    border: 0;
    box-shadow: none;
    margin-bottom: 22px;
    padding: 0;
}

.modern-page-header {
    align-items: flex-start;
    background: transparent;
    margin-bottom: 22px;
}

.modern-page-header h4,
.page-title h4 {
    color: #111827;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0;
}

.modern-page-header h6,
.page-title h6 {
    color: #64748b;
    font-size: 14px;
    margin-top: 5px;
}

.card,
.modern-card {
    background: var(--dev-surface);
    border: 1px solid var(--dev-border);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .07);
}

.card .card-body {
    padding: 24px;
}

.card-title {
    color: #111827;
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 18px;
}

.modern-stat {
    background: #fff;
    border-left: 4px solid #ff9f43;
    min-height: 116px;
}

.modern-stat.accent-blue {
    border-left-color: #3b82f6;
}

.modern-stat.accent-red {
    border-left-color: #ef4444;
}

.modern-stat.accent-green {
    border-left-color: #22c55e;
}

.modern-stat .dash-widgetcontent h5 {
    color: #111827;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.35;
}

.modern-stat .dash-widgetcontent h6 {
    color: #64748b;
    font-weight: 700;
}

.dashboard-card-row {
    row-gap: 18px;
}

.dashboard-card-row .dash-widget {
    align-items: flex-end;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 20px 42px rgba(15, 23, 42, .12);
    min-height: 150px;
    overflow: hidden;
    padding: 22px;
    position: relative;
}

.dashboard-card-row .col-lg-3:nth-child(1) .dash-widget {
    background: linear-gradient(135deg, #1f2a54, #2563eb);
}

.dashboard-card-row .col-lg-3:nth-child(2) .dash-widget {
    background: linear-gradient(135deg, #0f766e, #22c55e);
}

.dashboard-card-row .col-lg-3:nth-child(3) .dash-widget {
    background: linear-gradient(135deg, #7c2d12, #f97316);
}

.dashboard-card-row .col-lg-3:nth-child(4) .dash-widget {
    background: linear-gradient(135deg, #7f1d1d, #ef4444);
}

.dashboard-card-row .dash-widget:before {
    background: rgba(255, 255, 255, .14);
    border-radius: 999px;
    content: "";
    height: 132px;
    position: absolute;
    right: -46px;
    top: -46px;
    width: 132px;
}

.dashboard-card-row .dash-widgetimg {
    margin: 0;
    position: absolute;
    right: 18px;
    top: 18px;
}

.dashboard-card-row .dash-widgetimg span {
    background: rgba(255, 255, 255, .16);
    border-radius: 8px;
}

.dashboard-card-row .dash-widgetimg img {
    filter: brightness(0) invert(1);
    opacity: .82;
}

.dashboard-card-row .dash-widgetcontent {
    position: relative;
    z-index: 1;
}

.dashboard-card-row .dash-widgetcontent h5 {
    color: #fff;
    font-size: 25px;
    font-weight: 900;
    line-height: 1.24;
    margin-bottom: 8px;
}

.dashboard-card-row .dash-widgetcontent h6 {
    color: rgba(255, 255, 255, .86);
    font-size: 13px;
    font-weight: 800;
}

.dashboard-ministry-row {
    margin-bottom: 18px;
    row-gap: 18px;
}

.dashboard-ministry-card {
    min-height: 142px;
}

.dashboard-profile-card {
    border: 0;
    border-radius: 12px;
    box-shadow: 0 24px 54px rgba(15, 23, 42, .12);
    min-height: 222px;
    overflow: hidden;
    position: relative;
}

.dashboard-profile-card:before {
    background: rgba(255, 255, 255, .12);
    border-radius: 999px;
    content: "";
    height: 160px;
    position: absolute;
    right: -52px;
    top: -52px;
    width: 160px;
}

.dashboard-profile-card .card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 26px;
    position: relative;
    z-index: 1;
}

.dashboard-profile-card .card-title,
.dashboard-profile-card .profile-mini p,
.dashboard-profile-card .profile-mini strong {
    color: #ffffff;
}

.dashboard-profile-card .card-title {
    font-size: 18px;
    margin-bottom: 14px;
}

.dashboard-profile-card .profile-mini p {
    color: rgba(255, 255, 255, .88);
    font-size: 13px;
    margin-bottom: 10px;
}

.dashboard-profile-icon {
    align-items: center;
    background: rgba(255, 255, 255, .18);
    border-radius: 12px;
    color: #ffffff;
    display: inline-flex;
    font-size: 20px;
    height: 42px;
    justify-content: center;
    margin-bottom: 18px;
    width: 42px;
}

.dashboard-profile-card.money-card {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
}

.dashboard-profile-card.activity-card {
    background: linear-gradient(135deg, #0f766e, #22c55e);
}

.dashboard-profile-card.account-card {
    background: linear-gradient(135deg, #7c2d12, #f97316);
}

.dashboard-profile-card.account-card .btn {
    margin-top: auto;
}

.form-control,
.auth-select {
    border-radius: 7px;
}

.select2-container--default .select2-selection--single {
    align-items: center;
    border: 1px solid rgba(100, 116, 139, .28);
    border-radius: 7px;
    display: flex;
    min-height: 40px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #212b36;
    line-height: 40px;
    padding-left: 12px;
    padding-right: 34px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px;
}

.select2-search--dropdown .select2-search__field {
    border: 1px solid rgba(100, 116, 139, .28);
    border-radius: 7px;
    min-height: 38px;
    padding: 6px 10px;
}

.btn-submit,
.btn-added,
.btn-primary {
    border-radius: 7px;
    font-weight: 700;
}

.btn-submit,
.btn-added,
.btn-login {
    background: linear-gradient(135deg, var(--dev-teal), var(--dev-blue)) !important;
    border: 0 !important;
    box-shadow: 0 12px 24px rgba(37, 99, 235, .18);
    color: #ffffff !important;
}

.btn-submit:hover,
.btn-added:hover,
.btn-login:hover {
    filter: brightness(.96);
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--dev-navy) !important;
    border-color: var(--dev-navy) !important;
}

.btn-primary,
.btn-primary:visited,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-danger,
.btn-danger:visited,
.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active,
.btn-success,
.btn-success:visited,
.btn-success:hover,
.btn-success:focus,
.btn-success:active,
.btn-secondary,
.btn-secondary:visited,
.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active,
.btn-submit,
.btn-submit:visited,
.btn-submit:hover,
.btn-submit:focus,
.btn-submit:active,
.btn-added,
.btn-added:visited,
.btn-added:hover,
.btn-added:focus,
.btn-added:active {
    color: #ffffff !important;
}

.btn-danger {
    background: var(--dev-red) !important;
    border-color: var(--dev-red) !important;
}

.table td .btn,
.table td form .btn {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    white-space: nowrap;
}

.btn i {
    color: inherit !important;
    line-height: 1;
    pointer-events: none;
}

.table {
    color: #334155;
}

.table thead th {
    background: #eef4ff;
    color: #475569;
    font-size: 12px;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.table tbody tr {
    border-color: rgba(148, 163, 184, .2);
}

.table tbody tr:hover {
    background: rgba(37, 99, 235, .04);
}

.account-page {
    background: linear-gradient(135deg, #eef6ff 0%, #f8fbff 48%, #ecfdf5 100%);
    min-height: 100dvh;
    overflow: hidden;
}

.account-page .main-wrapper,
.account-page .account-content {
    background: transparent;
    height: 100dvh;
    min-height: 100dvh;
}

.account-page .account-content {
    align-items: center;
    display: flex;
    justify-content: center;
    padding: 18px;
}

.account-page .login-wrapper {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 22px;
    box-shadow: 0 26px 64px rgba(15, 23, 42, .12);
    align-items: stretch;
    display: grid !important;
    flex-wrap: nowrap !important;
    grid-template-columns: minmax(430px, 470px) minmax(0, 1fr);
    height: min(690px, calc(100dvh - 36px));
    margin: 0 auto;
    max-width: 1180px;
    min-height: 0;
    overflow: hidden;
    width: min(1180px, calc(100vw - 36px));
}

.account-page .login-content {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    flex: none !important;
    justify-content: center;
    min-height: 0;
    overflow: hidden;
    padding: 30px 48px;
    width: 100% !important;
}

.account-page .login-userset {
    max-width: 420px;
    width: 100%;
}

.account-page .login-logo {
    justify-content: flex-start;
    margin-bottom: 22px;
}

.account-page .dev-login-logo .dev-brand-logo {
    border: 3px solid #ffffff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .18);
    flex-basis: 56px;
    height: 56px;
    width: 56px;
}

.account-page .login-userheading h3 {
    color: var(--dev-navy);
    font-size: 27px;
    font-weight: 900;
    margin-bottom: 8px;
}

.account-page .login-userheading h4 {
    color: var(--dev-muted);
    font-size: 14px;
    line-height: 1.45;
    margin-bottom: 26px;
}

.account-page .form-login {
    margin-bottom: 16px;
}

.account-page .form-login label {
    color: #0f172a;
    font-weight: 800;
    margin-bottom: 8px;
}

.account-page .auth-select,
.account-page .pass-input,
.account-page .form-control {
    background: #f8fafc;
    border: 1px solid rgba(100, 116, 139, .22);
    border-radius: 12px;
    min-height: 46px;
}

.account-page .auth-select:focus,
.account-page .pass-input:focus {
    background: #ffffff;
    border-color: rgba(37, 99, 235, .55);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .1);
}

.account-page .login-img {
    align-items: center;
    background: linear-gradient(145deg, #eff6ff, #ffffff 44%, #ecfdf5);
    display: flex;
    flex: none !important;
    justify-content: center;
    min-height: 0;
    overflow: hidden;
    padding: 0;
    position: relative;
    width: 100% !important;
}

.account-page .login-img:before {
    background: linear-gradient(135deg, rgba(15, 118, 110, .12), rgba(37, 99, 235, .16));
    content: "";
    inset: 0;
    position: absolute;
    z-index: 1;
}

.account-page .login-img img {
    height: 100%;
    object-fit: cover;
    object-position: center center;
    position: relative;
    width: 100%;
    z-index: 0;
}

.account-page .signinform h4 {
    color: var(--dev-muted);
    font-size: 13px;
}

.auth-select {
    width: 100%;
    height: 40px;
    border: 1px solid rgba(145, 158, 171, .32);
    border-radius: 5px;
    background: #fff;
    color: #212b36;
    font-size: 14px;
    padding: 0 42px 0 15px;
    appearance: none;
    -webkit-appearance: none;
}

.auth-select:disabled {
    background: #f8f8f8;
    color: #919eab;
}

.account-page .auth-select {
    height: 46px;
}

.account-page .btn-login {
    border-radius: 12px;
    min-height: 48px;
}

.auth-select-wrap:after {
    content: "\f078";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: 50%;
    right: 16px;
    color: #637381;
    font-size: 11px;
    pointer-events: none;
    transform: translateY(-50%);
}

.auth-select-wrap img {
    right: 40px;
}

.logged-user-name {
    color: #212b36;
    font-weight: 600;
    margin-left: 8px;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-img img,
.avatar img,
.profile-contentimg img {
    object-fit: cover;
}

.dev-profile-photo {
    background: #fff;
    border: 4px solid #fff;
    border-radius: 50%;
    box-shadow: 0 12px 24px rgba(15, 23, 42, .16);
    overflow: hidden;
}

.dev-profile-photo img {
    height: 100%;
    width: 100%;
}

.dev-photo-form {
    border-bottom: 1px solid rgba(15, 23, 42, .08);
    margin-top: 18px;
    padding-bottom: 18px;
}

.profile-mini p {
    color: #5e5873;
    margin-bottom: 10px;
}

.activity-row {
    border: 1px solid rgba(145, 158, 171, .18);
    border-radius: 6px;
    margin-bottom: 10px;
    padding: 12px;
}

.activity-row strong,
.activity-row span,
.activity-row small {
    display: block;
}

.activity-row span {
    color: #0f9d58;
    font-weight: 700;
    margin-top: 5px;
}

.notification-unread {
    background: #fff7ed;
}

.dev-theme-toggle {
    align-items: center;
    background: #fff7ed;
    border: 1px solid rgba(255, 159, 67, .35);
    border-radius: 50%;
    color: #ff9f43;
    display: inline-flex;
    height: 38px;
    justify-content: center;
    margin-top: 10px;
    width: 38px;
}

.option-section {
    scroll-margin-top: 90px;
}

.dev-has-submenu > a {
    position: relative;
}

.dev-menu-arrow {
    border: solid #637381;
    border-width: 0 2px 2px 0;
    display: inline-block;
    height: 7px;
    margin-left: auto;
    transform: rotate(45deg);
    transition: transform .2s ease;
    width: 7px;
}

.dev-has-submenu.active .dev-menu-arrow,
.dev-has-submenu.is-open .dev-menu-arrow {
    transform: rotate(-135deg);
}

.dev-submenu-list {
    display: none;
    list-style: none;
    margin: 4px 0 8px;
    padding: 0 0 0 42px;
}

.dev-has-submenu.active .dev-submenu-list,
.dev-has-submenu.is-open .dev-submenu-list {
    display: block;
}

.dev-submenu-list li a {
    color: #637381;
    display: block;
    font-size: 13px;
    padding: 7px 12px;
}

.dev-submenu-list li a:hover {
    color: #ff9f43;
}

.dev-submenu-list li.active > a {
    background: #1f2a54;
    border-radius: 6px;
    color: #fff;
}

.dev-accordion {
    display: grid;
    gap: 16px;
}

.dev-accordion .accordion-item {
    background: transparent;
    border: 0;
}

.dev-accordion .accordion-button {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 8px !important;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
    color: #111827;
    font-weight: 800;
    padding: 16px 20px;
}

.dev-accordion .accordion-button:not(.collapsed) {
    background: #1f2a54;
    color: #fff;
}

.dev-accordion .accordion-button:focus {
    border-color: rgba(255, 159, 67, .6);
    box-shadow: 0 0 0 3px rgba(255, 159, 67, .16);
}

.dev-accordion .accordion-body {
    padding: 16px 0 0;
}

.cashbox-card p {
    color: #5e5873;
    margin-bottom: 8px;
}

.cashbox-card-head,
.dashboard-filter,
.dashboard-actions {
    align-items: center;
    display: flex;
    gap: 10px;
}

.cashbox-card-head {
    justify-content: space-between;
    margin-bottom: 12px;
}

.cashbox-card-head h5 {
    margin: 0;
}

.dashboard-filter {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.dashboard-filter .form-control {
    min-width: 130px;
    width: auto;
}

.dashboard-actions {
    align-items: stretch;
    flex-direction: column;
}

.dashboard-actions a {
    background: #f8f9fa;
    border: 1px solid rgba(145, 158, 171, .2);
    border-radius: 6px;
    color: #1b2850;
    font-weight: 600;
    padding: 10px 12px;
}

.dashboard-actions a:hover {
    background: #fff7ed;
    color: #ff9f43;
}

.dev-table-total-row {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    margin-top: 18px;
}

.dev-total-chip {
    background: #f8fafc;
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 10px;
    padding: 14px 16px;
}

.dev-total-chip span,
.finance-total-card span {
    color: #64748b;
    display: block;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.dev-total-chip strong {
    color: #111827;
    display: block;
    font-size: 17px;
    font-weight: 900;
    margin-top: 5px;
}

.dev-total-chip.accent {
    background: linear-gradient(135deg, #1f2a54, #2563eb);
    border: 0;
}

.dev-total-chip.accent span,
.dev-total-chip.accent strong {
    color: #ffffff;
}

.dev-info-list {
    row-gap: 18px;
}

.dev-info-card {
    border: 0;
    border-radius: 14px;
    min-height: 280px;
    overflow: hidden;
    position: relative;
}

.dev-info-card:before {
    background: linear-gradient(135deg, rgba(37, 99, 235, .12), rgba(255, 159, 67, .16));
    content: "";
    height: 8px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.dev-info-top,
.dev-info-actions,
.finance-filter {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dev-info-top {
    justify-content: space-between;
    margin-bottom: 16px;
}

.dev-info-badge {
    align-items: center;
    background: #eef4ff;
    border-radius: 999px;
    color: #1e3a8a;
    display: inline-flex;
    font-size: 12px;
    font-weight: 900;
    gap: 6px;
    padding: 7px 12px;
}

.dev-info-card h5 {
    color: #111827;
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 12px;
}

.dev-info-card p {
    color: #334155;
    line-height: 1.65;
    margin-bottom: 16px;
}

.dev-info-meta {
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
}

.dev-info-actions {
    margin-top: auto;
}

.finance-filter .form-group {
    min-width: 190px;
}

.finance-total-row {
    row-gap: 18px;
}

.finance-total-card {
    border-radius: 14px;
    box-shadow: 0 22px 50px rgba(15, 23, 42, .13);
    color: #ffffff;
    min-height: 170px;
    overflow: hidden;
    padding: 24px;
    position: relative;
}

.finance-total-card:before {
    background: rgba(255, 255, 255, .14);
    border-radius: 999px;
    content: "";
    height: 150px;
    position: absolute;
    right: -48px;
    top: -48px;
    width: 150px;
}

.finance-total-card i {
    color: rgba(255, 255, 255, .8);
    font-size: 26px;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}

.finance-total-card span,
.finance-total-card strong,
.finance-total-card small {
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.finance-total-card strong {
    display: block;
    font-size: 26px;
    font-weight: 900;
    line-height: 1.18;
    margin-top: 8px;
}

.finance-total-card small {
    display: block;
    font-size: 14px;
    font-weight: 800;
    margin-top: 8px;
    opacity: .86;
}

.finance-total-card.income {
    background: linear-gradient(135deg, #0f766e, #22c55e);
}

.finance-total-card.expenses {
    background: linear-gradient(135deg, #991b1b, #ef4444);
}

.finance-total-card.balance {
    background: linear-gradient(135deg, #1f2a54, #2563eb);
}

.dev-chart {
    align-items: end;
    border-bottom: 1px solid rgba(145, 158, 171, .28);
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(42px, 1fr));
    height: 260px;
    padding: 20px 6px 0;
}

.dev-chart-item {
    align-items: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: flex-end;
    min-width: 0;
}

.dev-chart-bar {
    align-items: flex-start;
    background: linear-gradient(180deg, #ff9f43 0%, #ff6b6b 100%);
    border-radius: 6px 6px 0 0;
    display: flex;
    justify-content: center;
    max-width: 52px;
    min-height: 16px;
    position: relative;
    width: 100%;
}

.dev-chart-bar span {
    background: #1b2850;
    border-radius: 4px;
    color: #fff;
    font-size: 11px;
    line-height: 1.2;
    opacity: 0;
    padding: 4px 6px;
    pointer-events: none;
    position: absolute;
    top: -30px;
    transform: translateY(6px);
    transition: opacity .15s ease, transform .15s ease;
    white-space: nowrap;
}

.dev-chart-bar:hover span {
    opacity: 1;
    transform: translateY(0);
}

.dev-chart-item small {
    color: #637381;
    margin-top: 8px;
}

.ministry-stat-row {
    row-gap: 18px;
}

.ministry-stat-card {
    align-items: flex-end;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 8px;
    box-shadow: 0 18px 38px rgba(15, 23, 42, .12);
    display: flex;
    min-height: 158px;
    overflow: hidden;
    padding: 18px;
    position: relative;
}

.ministry-stat-card:before {
    background: rgba(255, 255, 255, .16);
    border-radius: 999px;
    content: "";
    height: 120px;
    position: absolute;
    right: -42px;
    top: -42px;
    width: 120px;
}

.ministry-stat-card i {
    color: rgba(255, 255, 255, .28);
    font-size: 46px;
    position: absolute;
    right: 18px;
    top: 18px;
}

.ministry-stat-copy {
    position: relative;
    z-index: 1;
}

.ministry-stat-copy strong,
.ministry-stat-copy span {
    display: block;
}

.ministry-stat-copy strong {
    color: #fff;
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
}

.ministry-stat-copy span {
    color: rgba(255, 255, 255, .88);
    font-size: 13px;
    font-weight: 800;
    margin-top: 8px;
}

.ministry-card-total {
    background: linear-gradient(135deg, #1f2a54, #3b82f6);
}

.ministry-card-ac {
    background: linear-gradient(135deg, #0f766e, #22c55e);
}

.ministry-card-rc {
    background: linear-gradient(135deg, #7c3aed, #ec4899);
}

.ministry-card-rdv {
    background: linear-gradient(135deg, #b45309, #f59e0b);
}

.ministry-card-refus {
    background: linear-gradient(135deg, #991b1b, #ef4444);
}

.dev-row-highlight,
tr:target {
    animation: devTargetPulse 2.8s ease;
}

@keyframes devTargetPulse {
    0% {
        background: #fff3cd;
        box-shadow: inset 4px 0 0 #ff9f43;
    }
    85% {
        background: #fff3cd;
        box-shadow: inset 4px 0 0 #ff9f43;
    }
    100% {
        background: transparent;
        box-shadow: inset 0 0 0 transparent;
    }
}

.dev-notification-toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    width: min(360px, calc(100vw - 32px));
    background: #1b2850;
    border-left: 4px solid #ff9f43;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
    color: #fff;
    opacity: 0;
    padding: 14px 16px;
    transform: translateY(18px);
    transition: opacity .2s ease, transform .2s ease;
}

.dev-notification-toast:hover {
    color: #fff;
}

.dev-notification-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.dev-notification-toast strong,
.dev-notification-toast span {
    display: block;
}

.dev-notification-toast span {
    font-size: 13px;
    margin-top: 4px;
}

.dev-install-prompt {
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, .1);
    border-left: 5px solid var(--dev-blue);
    border-radius: 12px;
    bottom: 24px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .2);
    display: grid;
    gap: 14px;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    left: 50%;
    max-width: 860px;
    opacity: 0;
    padding: 16px;
    position: fixed;
    transform: translate(-50%, 22px);
    transition: opacity .22s ease, transform .22s ease;
    width: min(860px, calc(100vw - 36px));
    z-index: 10020;
}

.dev-install-prompt.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.dev-install-icon {
    align-items: center;
    background: linear-gradient(135deg, var(--dev-teal), var(--dev-blue));
    border-radius: 12px;
    color: #ffffff;
    display: inline-flex;
    font-size: 20px;
    height: 46px;
    justify-content: center;
    width: 46px;
}

.dev-install-copy strong,
.dev-install-copy span {
    display: block;
}

.dev-install-copy strong {
    color: #111827;
    font-size: 16px;
    font-weight: 900;
    margin-bottom: 4px;
}

.dev-install-copy span {
    color: #64748b;
    font-size: 13px;
    line-height: 1.45;
}

.dev-install-actions {
    align-items: center;
    display: flex;
    gap: 8px;
}

.dev-install-actions .btn {
    white-space: nowrap;
}

.alertify-notifier {
    bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: fixed;
    right: 24px;
    width: min(390px, calc(100vw - 32px));
    z-index: 10000;
}

.alertify-notifier .ajs-message {
    background: #111827;
    border-left: 5px solid #ff9f43;
    border-radius: 8px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .22);
    color: #fff;
    display: block;
    opacity: 0;
    padding: 14px 16px;
    transform: translateY(18px);
    transition: opacity .2s ease, transform .2s ease;
}

.alertify-notifier .ajs-message.ajs-visible {
    opacity: 1;
    transform: translateY(0);
}

.alertify-notifier .ajs-message:hover {
    color: #fff;
}

.alertify-notifier .ajs-message strong,
.alertify-notifier .ajs-message span {
    display: block;
}

.alertify-notifier .ajs-message strong {
    font-size: 14px;
    font-weight: 800;
}

.alertify-notifier .ajs-message span {
    color: rgba(255, 255, 255, .8);
    font-size: 13px;
    margin-top: 4px;
}

.alertify-notifier .ajs-success {
    border-left-color: #22c55e;
}

.alertify-notifier .ajs-error {
    border-left-color: #ef4444;
}

.alertify-notifier .ajs-info {
    border-left-color: #3b82f6;
}

.dev-alertify-backdrop {
    align-items: center;
    background: rgba(15, 23, 42, .48);
    display: flex;
    inset: 0;
    justify-content: center;
    opacity: 0;
    padding: 18px;
    pointer-events: none;
    position: fixed;
    transition: opacity .18s ease;
    z-index: 12000;
}

.dev-alertify-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.dev-alertify-dialog {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .26);
    max-width: 420px;
    padding: 26px;
    text-align: center;
    transform: translateY(10px) scale(.98);
    transition: transform .18s ease;
    width: min(420px, 100%);
}

.dev-alertify-backdrop.is-visible .dev-alertify-dialog {
    transform: translateY(0) scale(1);
}

.dev-alertify-icon {
    align-items: center;
    background: linear-gradient(135deg, #ff9f43, #ff6f61);
    border-radius: 16px;
    color: #ffffff;
    display: inline-flex;
    height: 46px;
    justify-content: center;
    margin-bottom: 14px;
    width: 46px;
}

.dev-alertify-dialog h5 {
    color: #111827;
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 8px;
}

.dev-alertify-dialog p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}

.dev-alertify-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 22px;
}

.dev-alertify-actions .btn {
    min-width: 118px;
}

body.theme-dark .dev-alertify-backdrop {
    background: rgba(2, 6, 23, .72);
}

body.theme-dark .dev-alertify-dialog {
    background: #111827;
    border-color: rgba(148, 163, 184, .22);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .45);
}

body.theme-dark .dev-alertify-dialog h5 {
    color: #f8fafc;
}

body.theme-dark .dev-alertify-dialog p {
    color: #cbd5e1;
}

body.theme-dark {
    background: #111827;
    color: #d1d5db;
}

body.theme-dark .main-wrapper,
body.theme-dark .page-wrapper,
body.theme-dark .content,
body.theme-dark .sidebar,
body.theme-dark .sidebar .sidebar-menu,
body.theme-dark .header {
    background: #111827;
}

body.theme-dark .card,
body.theme-dark .dash-widget,
body.theme-dark .activity-row,
body.theme-dark .dropdown-menu,
body.theme-dark .dashboard-actions a,
body.theme-dark .dev-info-card,
body.theme-dark .dev-total-chip {
    background: #1f2937;
    border-color: rgba(255, 255, 255, .08);
    color: #e5e7eb;
}

body.theme-dark .card-title,
body.theme-dark h2,
body.theme-dark h4,
body.theme-dark h5,
body.theme-dark h6,
body.theme-dark label,
body.theme-dark .profile-mini p,
body.theme-dark .cashbox-card p,
body.theme-dark .dev-info-card h5,
body.theme-dark .dev-total-chip strong,
body.theme-dark .logged-user-name,
body.theme-dark .sidebar .sidebar-menu > ul > li > a span {
    color: #e5e7eb;
}

body.theme-dark .dev-info-card p {
    color: #cbd5e1;
}

body.theme-dark .dev-info-meta,
body.theme-dark .dev-total-chip span {
    color: #94a3b8;
}

body.theme-dark .dev-info-badge {
    background: rgba(255, 159, 67, .16);
    color: #fed7aa;
}

body.theme-dark .dashboard-profile-card,
body.theme-dark .finance-total-card,
body.theme-dark .dev-total-chip.accent {
    border-color: transparent;
}

body.theme-dark .dashboard-profile-card.money-card {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
}

body.theme-dark .dashboard-profile-card.activity-card {
    background: linear-gradient(135deg, #0f766e, #22c55e);
}

body.theme-dark .dashboard-profile-card.account-card {
    background: linear-gradient(135deg, #7c2d12, #f97316);
}

body.theme-dark .finance-total-card.income {
    background: linear-gradient(135deg, #0f766e, #22c55e);
}

body.theme-dark .finance-total-card.expenses {
    background: linear-gradient(135deg, #991b1b, #ef4444);
}

body.theme-dark .finance-total-card.balance,
body.theme-dark .dev-total-chip.accent {
    background: linear-gradient(135deg, #1f2a54, #2563eb);
}

body.theme-dark .table,
body.theme-dark .table th,
body.theme-dark .table td {
    border-color: rgba(255, 255, 255, .08);
    color: #d1d5db;
}

body.theme-dark .form-control,
body.theme-dark .auth-select,
body.theme-dark .select2-container--default .select2-selection--single,
body.theme-dark .select2-search--dropdown .select2-search__field {
    background: #111827;
    border-color: rgba(255, 255, 255, .14);
    color: #e5e7eb;
}

body.theme-dark .form-control::placeholder {
    color: #9ca3af;
}

body.theme-dark .notification-unread {
    background: rgba(255, 159, 67, .14);
}

body.theme-dark .dev-accordion .accordion-button {
    background: #1f2937;
    border-color: rgba(148, 163, 184, .18);
    color: #f8fafc;
}

body.theme-dark .dev-accordion .accordion-button:not(.collapsed) {
    background: #ff9f43;
    color: #111827;
}

body.theme-dark .dev-photo-form {
    border-bottom-color: rgba(148, 163, 184, .22);
}

body.theme-dark .dev-submenu-list li a {
    color: #cbd5e1;
}

body.theme-dark .dev-submenu-list li.active > a {
    background: #ff9f43;
    color: #111827 !important;
}

body.theme-dark .dev-menu-arrow {
    border-color: #cbd5e1;
}

body.theme-dark .dev-theme-toggle {
    background: #374151;
    border-color: rgba(255, 255, 255, .12);
}

body.theme-dark .settings-subtitle {
    border-bottom-color: rgba(148, 163, 184, .22);
    color: #f8fafc;
}

body.theme-dark .page-title h4,
body.theme-dark .modern-page-header h4,
body.theme-dark .card-sales-split h2,
body.theme-dark .table-top h5,
body.theme-dark .dash-widgetcontent h5,
body.theme-dark .profilesets h6,
body.theme-dark .notification-title,
body.theme-dark .noti-title,
body.theme-dark .dropdown-item,
body.theme-dark .topnav-dropdown-footer a,
body.theme-dark .topnav-dropdown-header a,
body.theme-dark .page-header h4 {
    color: #f8fafc !important;
}

body.theme-dark .page-title h6,
body.theme-dark .modern-page-header h6,
body.theme-dark .dash-widgetcontent h6,
body.theme-dark .profilesets h5,
body.theme-dark .text-muted,
body.theme-dark small,
body.theme-dark .noti-details,
body.theme-dark .noti-time,
body.theme-dark .notification-time,
body.theme-dark .profile-mini,
body.theme-dark .profile-mini strong,
body.theme-dark .dataTables_info,
body.theme-dark .dataTables_length label,
body.theme-dark .dataTables_filter label,
body.theme-dark .select2-results__option,
body.theme-dark .auth-select-wrap:after {
    color: #cbd5e1 !important;
}

body.theme-dark .sidebar {
    border-right-color: rgba(148, 163, 184, .18);
    box-shadow: none;
}

body.theme-dark .header {
    border-bottom-color: rgba(148, 163, 184, .18);
}

body.theme-dark .sidebar .sidebar-menu > ul > li > a {
    color: #cbd5e1;
}

body.theme-dark .sidebar .sidebar-menu > ul > li.active > a,
body.theme-dark .sidebar .sidebar-menu > ul > li > a:hover {
    background: #ff9f43;
    color: #111827;
}

body.theme-dark .sidebar .sidebar-menu > ul > li.active > a span,
body.theme-dark .sidebar .sidebar-menu > ul > li > a:hover span {
    color: #111827 !important;
}

body.theme-dark .sidebar .sidebar-menu > ul > li.active > a .dev-sidebar-fa,
body.theme-dark .sidebar .sidebar-menu > ul > li > a:hover .dev-sidebar-fa {
    color: #111827;
}

body.theme-dark .table thead th,
body.theme-dark table.dataTable thead th {
    background: #0f172a;
    color: #f8fafc;
}

body.theme-dark .table tbody tr,
body.theme-dark table.dataTable tbody tr {
    background: #1f2937;
}

body.theme-dark .table tbody tr:hover,
body.theme-dark table.dataTable tbody tr:hover {
    background: #253044;
}

body.theme-dark .form-control:focus,
body.theme-dark .auth-select:focus,
body.theme-dark .select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #ff9f43;
    box-shadow: 0 0 0 3px rgba(255, 159, 67, .16);
}

body.theme-dark .select2-dropdown,
body.theme-dark .select2-container--default .select2-results__option[aria-selected=true],
body.theme-dark .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: #111827;
    border-color: rgba(148, 163, 184, .2);
    color: #f8fafc;
}

body.theme-dark .select2-container--default .select2-selection--single .select2-selection__rendered,
body.theme-dark .select2-container--default .select2-selection--single .select2-selection__placeholder,
body.theme-dark .select2-search--dropdown .select2-search__field {
    color: #f8fafc;
}

body.theme-dark .dataTables_wrapper .dataTables_paginate .paginate_button,
body.theme-dark .page-link,
body.theme-dark .page-item.disabled .page-link {
    background: #111827;
    border-color: rgba(148, 163, 184, .2);
    color: #e5e7eb !important;
}

body.theme-dark .dataTables_wrapper .dataTables_paginate .paginate_button.current,
body.theme-dark .page-item.active .page-link {
    background: #ff9f43;
    border-color: #ff9f43;
    color: #111827 !important;
}

body.theme-dark .searchinputs input,
body.theme-dark .dataTables_filter input,
body.theme-dark .dataTables_length select {
    background: #0f172a;
    border-color: rgba(148, 163, 184, .22);
    color: #f8fafc;
}

body.theme-dark .alert-info {
    background: rgba(59, 130, 246, .16);
    border-color: rgba(59, 130, 246, .28);
    color: #dbeafe;
}

body.theme-dark .alert-success {
    background: rgba(34, 197, 94, .16);
    border-color: rgba(34, 197, 94, .28);
    color: #dcfce7;
}

body.theme-dark .alert-danger {
    background: rgba(239, 68, 68, .16);
    border-color: rgba(239, 68, 68, .28);
    color: #fee2e2;
}

body.theme-dark .bg-lightgreen,
body.theme-dark .bg-lightyellow,
body.theme-dark .bg-lightred,
body.theme-dark .badges {
    color: #111827;
}

body.theme-dark .dashboard-actions a:hover,
body.theme-dark .dev-submenu-list li a:hover {
    color: #ffb86b;
}

body.theme-dark .dev-install-prompt {
    background: #1f2937;
    border-color: rgba(148, 163, 184, .22);
    border-left-color: #60a5fa;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .45);
}

body.theme-dark .dev-install-copy strong {
    color: #f8fafc;
}

body.theme-dark .dev-install-copy span {
    color: #cbd5e1;
}

body.theme-dark tr:target,
body.theme-dark .dev-row-highlight {
    animation: devTargetPulseDark 2.8s ease;
}

@keyframes devTargetPulseDark {
    0% {
        background: rgba(255, 159, 67, .25);
        box-shadow: inset 4px 0 0 #ff9f43;
    }
    85% {
        background: rgba(255, 159, 67, .25);
        box-shadow: inset 4px 0 0 #ff9f43;
    }
    100% {
        background: transparent;
        box-shadow: inset 0 0 0 transparent;
    }
}

@media print {
    body,
    .main-wrapper,
    .page-wrapper,
    .content,
    .card,
    .modern-card {
        background: #fff !important;
        color: #111827 !important;
        box-shadow: none !important;
    }

    .header,
    .sidebar,
    .no-print,
    #global-loader,
    .dataTables_length,
    .dataTables_filter,
    .dataTables_info,
    .dataTables_paginate {
        display: none !important;
    }

    .page-wrapper {
        margin: 0 !important;
        padding: 0 !important;
    }

    .content {
        padding: 0 !important;
    }

    .ministry-report-card {
        border: 0 !important;
    }

    .report-print-header {
        margin-bottom: 18px;
        text-align: center;
    }

    .report-print-header h3 {
        color: #111827 !important;
        font-size: 18px;
        margin-bottom: 5px;
    }

    .report-print-header p {
        color: #111827 !important;
        margin: 0 0 4px;
    }

    .table th,
    .table td {
        color: #111827 !important;
        border-color: #d1d5db !important;
    }
}

@media (max-width: 575px) {
    .dev-notification-toast {
        right: 16px;
        bottom: 16px;
    }

    .dev-install-prompt {
        align-items: flex-start;
        bottom: 14px;
        grid-template-columns: 42px minmax(0, 1fr);
        padding: 14px;
        width: calc(100vw - 24px);
    }

    .dev-install-icon {
        height: 42px;
        width: 42px;
    }

    .dev-install-actions {
        grid-column: 1 / -1;
        justify-content: stretch;
    }

    .dev-install-actions .btn {
        flex: 1;
        min-height: 42px;
        padding-left: 10px;
        padding-right: 10px;
        white-space: normal;
    }

    .dashboard-filter {
        align-items: stretch;
        flex-direction: column;
    }

    .dashboard-filter .form-control,
    .dashboard-filter .btn {
        width: 100%;
    }
}

@media (max-height: 680px) and (min-width: 992px) {
    .account-page .account-content {
        padding: 12px;
    }

    .account-page .login-wrapper {
        height: calc(100dvh - 24px);
        width: min(1180px, calc(100vw - 24px));
    }

    .account-page .login-content {
        padding: 22px 48px;
    }

    .account-page .login-logo {
        margin-bottom: 14px;
    }

    .account-page .dev-login-logo .dev-brand-logo {
        flex-basis: 50px;
        height: 50px;
        width: 50px;
    }

    .account-page .login-userheading h3 {
        font-size: 24px;
        margin-bottom: 6px;
    }

    .account-page .login-userheading h4 {
        margin-bottom: 18px;
    }

    .account-page .form-login {
        margin-bottom: 12px;
    }

    .account-page .auth-select,
    .account-page .pass-input,
    .account-page .form-control {
        min-height: 42px;
    }

    .account-page .auth-select {
        height: 42px;
    }

    .account-page .btn-login {
        min-height: 44px;
    }
}

@media (max-width: 991px) {
    .account-page {
        overflow: auto;
    }

    .account-page .main-wrapper,
    .account-page .account-content {
        height: auto;
        min-height: 100dvh;
    }

    .account-page .account-content {
        padding: 0;
    }

    .account-page .login-wrapper {
        border-radius: 0;
        display: block;
        height: auto;
        margin: 0;
        min-height: 100dvh;
        width: 100%;
    }

    .account-page .login-content {
        padding: 34px 22px;
        min-height: 100dvh;
    }

    .account-page .login-img {
        display: none;
    }
}
