@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;600;700;800&display=swap');

html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

body {
    margin-bottom: 60px;
    font-family: 'Nunito', sans-serif;
    background:
        radial-gradient(circle at top left, rgba(33, 115, 255, 0.08), transparent 24%),
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.06), transparent 18%),
        linear-gradient(180deg, #f7f9fc 0%, #eef3f8 52%, #e9eff6 100%);
    color: #18212f;
}

.main-content {
    min-height: calc(100vh - 160px);
}

.app-shell-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    backdrop-filter: blur(10px);
}

.app-navbar {
    padding: 0.45rem 0;
    background: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid rgba(214, 223, 235, 0.95);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.app-navbar-container {
    align-items: center;
    position: relative;
}

.app-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #102033;
}

.app-brand-copy {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
}

.app-brand-copy strong {
    font-size: 0.98rem;
    line-height: 1.1;
}

.app-brand-copy small {
    color: #64748b;
    font-size: 0.72rem;
}

.app-navbar-toggler {
    border: 1px solid #dbe5f0;
    border-radius: 10px;
    padding: 0.3rem 0.45rem;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.app-navbar-toggler .navbar-toggler-icon {
    width: 1.2rem;
    height: 1.2rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2816, 32, 51, 0.92%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.1' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.app-primary-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.15rem;
}

.app-primary-nav .nav-link {
    padding: 0.5rem 0.8rem;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: #334155;
    font-weight: 700;
    transition: 0.2s ease;
}

.app-primary-nav .nav-link:hover,
.app-primary-nav .nav-link.active {
    color: #0f4fd8;
    border-color: #d6e5ff;
    background: #f3f7ff;
}

.app-navbar-actions {
    margin-left: auto;
}

.app-navbar-collapse {
    flex-grow: 0;
    margin-left: auto;
    align-items: center;
}

.app-user-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.7rem;
    border: 1px solid #dbe5f0;
    border-radius: 10px;
    background: #fff;
    color: #334155;
    font-weight: 600;
}

.app-user-link .fa-user-circle {
    font-size: 1rem;
    color: #64748b;
}

.app-user-menu {
    border: 1px solid #dbe5f0;
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    padding: 0.4rem;
}

.back-to-top {
    position: fixed;
    right: 1.1rem;
    bottom: calc(1.15rem + env(safe-area-inset-bottom, 0px));
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.28);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease, box-shadow 0.2s ease;
    z-index: 2000;
}

.quick-revenue-fab {
    position: fixed;
    right: 1.1rem;
    bottom: calc(4.95rem + env(safe-area-inset-bottom, 0px));
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 50px;
    padding: 0.78rem 1rem;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, #16a34a 0%, #15803d 100%);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    box-shadow: 0 14px 28px rgba(21, 128, 61, 0.22);
    z-index: 1990;
}

.quick-revenue-fab:hover {
    box-shadow: 0 18px 32px rgba(21, 128, 61, 0.28);
}

.quick-revenue-fab.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
}

.quick-revenue-fab:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 4px rgba(187, 247, 208, 0.65), 0 14px 28px rgba(21, 128, 61, 0.22);
}

.back-to-top:hover {
    box-shadow: 0 16px 30px rgba(37, 99, 235, 0.34);
    transform: translateY(-1px);
}

.back-to-top:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 4px rgba(147, 197, 253, 0.5), 0 12px 24px rgba(37, 99, 235, 0.28);
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.filter-card,
.table-panel {
    border: 1px solid #e8edf3;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    background: #fff;
}

.account-page {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.account-page__hero {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.2rem;
    border: 1px solid rgba(221, 229, 238, 0.95);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
    backdrop-filter: blur(10px);
}

.account-page__eyebrow {
    margin: 0 0 0.35rem;
    color: #2563eb;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.account-page__title {
    margin: 0;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    font-weight: 800;
    color: #142033;
}

.account-page__subtitle {
    margin: 0.45rem 0 0;
    max-width: 680px;
    color: #5b6b81;
    line-height: 1.6;
}

.account-page__hero-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.65rem;
    min-width: 210px;
}

.account-status-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.75rem;
    border: 1px solid #d8e7d8;
    border-radius: 999px;
    background: #f4fbf6;
    color: #166534;
    font-size: 0.8rem;
    font-weight: 700;
}

.account-status-chip .fa-circle {
    font-size: 0.45rem;
}

.account-hero-note {
    color: #64748b;
    font-size: 0.84rem;
    text-align: right;
}

.account-card {
    border: 1px solid #e6edf5;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

.account-card--sticky {
    position: sticky;
    top: 86px;
}

.account-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.2rem;
    border-bottom: 1px solid #edf2f7;
}

.account-card__body {
    padding: 1.2rem;
}

.account-card__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #172234;
}

.account-card__subtitle {
    margin: 0.35rem 0 0;
    color: #66758a;
    font-size: 0.9rem;
}

.account-side-nav {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 1rem;
}

.account-side-nav__link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    padding: 0.85rem 0.95rem;
    border: 1px solid #e3ebf4;
    border-radius: 16px;
    background: #fff;
    color: #334155;
    text-align: left;
    transition: 0.2s ease;
}

.account-side-nav__link strong,
.account-side-nav__link small {
    display: block;
}

.account-side-nav__link strong {
    font-size: 0.94rem;
}

.account-side-nav__link small {
    margin-top: 0.15rem;
    color: #718198;
    font-size: 0.78rem;
}

.account-side-nav__icon {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f8fbff;
    color: #2563eb;
    flex-shrink: 0;
}

.account-side-nav__link:hover,
.account-side-nav__link.active {
    border-color: #d8e6ff;
    background: #f4f8ff;
    color: #113a8f;
}

.account-side-nav__link.active .account-side-nav__icon {
    background: #2563eb;
    color: #fff;
}

.account-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
}

.account-overview-item {
    padding: 1.15rem 1.2rem;
    border-right: 1px solid #edf2f7;
    border-bottom: 1px solid #edf2f7;
}

.account-overview-item:nth-child(2n) {
    border-right: 0;
}

.account-overview-item:nth-last-child(-n+2) {
    border-bottom: 0;
}

.account-overview-item__label {
    display: block;
    margin-bottom: 0.4rem;
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.account-overview-item__value {
    color: #172234;
    font-size: 1rem;
    font-weight: 800;
    word-break: break-word;
}

.account-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.account-label {
    margin-bottom: 0.45rem;
    color: #334155;
    font-size: 0.9rem;
    font-weight: 700;
}

.account-input {
    min-height: 46px;
    border: 1px solid #d9e3ef;
    border-radius: 14px;
    padding: 0.72rem 0.9rem;
    background: #fff;
}

.account-input:focus {
    border-color: #8bb8ff;
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.12);
}

.account-help-text {
    display: block;
    margin-top: 0.45rem;
    color: #6b7b91;
    font-size: 0.82rem;
    line-height: 1.5;
}

.account-password-strength {
    margin-top: 0.65rem;
}

.account-password-strength__track {
    height: 6px;
    border-radius: 999px;
    background: #e8eef6;
    overflow: hidden;
}

.account-password-strength__value {
    display: block;
    height: 100%;
    border-radius: inherit;
    transition: width 0.2s ease, background-color 0.2s ease;
}

.strength-weak {
    width: 25%;
    background: #ef4444;
}

.strength-medium {
    width: 50%;
    background: #f59e0b;
}

.strength-strong {
    width: 75%;
    background: #22c55e;
}

.strength-very-strong {
    width: 100%;
    background: #16a34a;
}

.account-feedback {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
}

.account-form__actions {
    display: flex;
    justify-content: flex-start;
    gap: 0.75rem;
}

.account-security-list {
    display: flex;
    flex-direction: column;
}

.account-security-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid #edf2f7;
}

.account-security-item:last-child {
    border-bottom: 0;
}

.account-security-item__label {
    color: #172234;
    font-size: 0.94rem;
    font-weight: 800;
}

.account-security-item__value {
    margin-top: 0.25rem;
    color: #66758a;
    font-size: 0.88rem;
    line-height: 1.5;
}

.account-inline-form {
    margin: 0;
}

.login-page-shell {
    min-height: 100dvh;
    display: flex;
    align-items: center;
}

.login-page-shell-single {
    padding: 0;
}

.login-page-row {
    min-height: 100dvh;
    padding: 1rem 0;
}

.login-page-row-single {
    min-height: 100dvh;
    padding: 0.75rem 0;
}

.login-panel {
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(217, 226, 236, 0.92);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.09);
    backdrop-filter: blur(12px);
}

.login-panel-single {
    border-radius: 24px;
}

.login-panel-aside {
    height: 100%;
    padding: 1.8rem 1.7rem;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.14), transparent 34%),
        linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
    border-right: 1px solid rgba(217, 226, 236, 0.92);
}

.login-panel-kicker {
    display: inline-flex;
    align-items: center;
    padding: 0.32rem 0.68rem;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.login-panel-aside h1 {
    margin: 1rem 0 0.65rem;
    font-size: 1.7rem;
    line-height: 1.16;
    color: #0f172a;
}

.login-panel-aside p {
    margin-bottom: 0;
    color: #475569;
    font-size: 0.92rem;
}

.login-panel-visual {
    margin-top: 1rem;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(203, 213, 225, 0.75);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.login-panel-image {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.login-panel-form {
    padding: 1.8rem 1.75rem;
}

.login-panel-form-head {
    margin-bottom: 1.2rem;
}

.login-panel-badge {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 1.05rem;
}

.login-panel-form-head h3 {
    margin: 1rem 0 0.35rem;
    font-size: 1.75rem;
    color: #0f172a;
}

.login-panel-form-head p {
    margin: 0;
    color: #64748b;
}

.login-label {
    margin-bottom: 0.45rem;
    color: #475569;
    font-size: 0.86rem;
    font-weight: 700;
}

.login-input-wrap {
    position: relative;
}

.login-input-wrap i {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.92rem;
}

.login-input {
    min-height: 50px;
    padding-left: 2.7rem;
    border: 1px solid #d8e1ec;
    border-radius: 14px;
    background: #fff;
}

.login-input:focus {
    border-color: #93c5fd;
    box-shadow: 0 0 0 0.2rem rgba(147, 197, 253, 0.18);
}

.login-options-row {
    min-height: 32px;
}

.login-error {
    padding: 0.72rem 0.9rem;
    border: 1px solid #fecaca;
    border-radius: 12px;
    background: #fff1f2;
    color: #b91c1c;
    font-size: 0.88rem;
}

.login-submit-btn {
    min-height: 48px;
    border-radius: 14px;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.14);
}

.filter-card .card-body {
    padding: 1rem 1rem 0.95rem;
}

.filter-card .row {
    --bs-gutter-x: 0.85rem;
    --bs-gutter-y: 0.7rem;
}

.filter-card .form-label {
    margin-bottom: 0.35rem;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.filter-card .form-control,
.filter-card .form-select,
.filter-card .choices__inner {
    min-height: 42px;
    border-radius: 12px !important;
    font-size: 0.95rem !important;
}

.filter-card .btn {
    min-height: 42px;
    border-radius: 12px;
}

.table-panel-header {
    padding: 0.95rem 1rem;
    border-bottom: 1px solid #eef2f7;
    background: linear-gradient(180deg, #fbfdff 0%, #f4f8fc 100%);
}

.summary-amount {
    font-size: 1.02rem;
    font-weight: 700;
    color: #0d6efd;
    white-space: nowrap;
}

.quick-search-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.quick-search-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.48rem 0.72rem;
    border-radius: 999px;
    background: #f3f8ff;
    color: #0b5ed7;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 800;
    transition: 0.2s ease;
}

.quick-search-item:hover,
.quick-search-item.active {
    background: #0d6efd;
    color: #fff;
}

.mobile-table {
    margin-bottom: 0;
}

.mobile-table th,
.mobile-table td,
.amount-negative {
    white-space: nowrap;
}

.mobile-table thead th {
    white-space: nowrap;
    border-bottom: 1px solid #dbe3ef;
    background: #f8fafc;
    padding: 0.85rem 0.75rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.mobile-table tbody td {
    border-color: #e2e8f0;
    padding: 0.85rem 0.75rem;
    font-size: 0.94rem;
}

.table-meta-bar {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 0.75rem 1rem;
    border-top: 1px solid #eef2f7;
    border-bottom: 1px solid #eef2f7;
    background: #fff;
}

.table-meta-summary {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    font-size: 0.84rem;
}

.edit-page-shell {
    max-width: 900px;
    margin: 0 auto 2rem;
}

.pagination-shell {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 0;
}

.pagination-summary {
    color: #5b6472;
    font-size: 0.82rem;
    font-weight: 500;
}

.pagination-size-form {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.82rem;
}

.pagination-size-label {
    margin: 0;
    font-weight: 600;
    color: #475569;
}

.pagination-size-form select {
    width: auto;
    min-width: 4.35rem;
    font-size: 0.8rem;
    min-height: 34px;
}

.pagination-nav .pagination {
    flex-wrap: wrap;
    gap: 0.35rem;
}

.pagination-nav .page-link {
    border-radius: 12px;
    border: 1px solid #dbe3ef;
    padding: 0.34rem 0.6rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.pagination-nav .page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.footer {
    background: transparent !important;
    border-top: 0 !important;
}

.choices__inner {
    border-radius: 12px !important;
    border: 1px solid #e5e7eb !important;
    padding: 12px 16px !important;
    transition: all 0.2s ease-in-out;
    min-height: auto !important;
    display: flex;
    align-items: center;
    background-color: white !important;
    font-size: 16px !important;
}

.choices__list--single {
    padding: 0 !important;
    margin: 0 !important;
}

.choices__inner:focus-within {
    border-color: #667eea !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1) !important;
}

.choices[data-type*="select-one"] .choices__inner::after {
    border-color: #aaa transparent transparent transparent !important;
}

@media (max-width: 767.98px) {
    .app-navbar {
        padding: 0.4rem 0;
    }

    .app-brand-copy strong {
        font-size: 0.9rem;
    }

    .app-brand-copy small {
        font-size: 0.69rem;
    }

    .app-primary-nav {
        gap: 0.35rem;
        margin-top: 0.6rem;
    }

    .app-primary-nav .nav-link {
        justify-content: flex-start;
        min-height: 40px;
    }

    .app-user-link {
        min-height: 40px;
        margin-top: 0.45rem;
    }

    .table-panel-header .btn {
        width: 100%;
    }

    .login-page-shell {
        min-height: 100dvh;
        padding: 0.75rem 0;
    }

    .login-page-row-single {
        padding: 0.5rem 0;
    }

    .login-panel {
        border-radius: 22px;
    }

    .login-panel-form {
        padding: 1.2rem 1rem;
    }

    .login-panel-form-head h3 {
        font-size: 1.45rem;
    }

    .table-responsive {
        overflow-x: hidden;
    }

    .mobile-table {
        width: 100% !important;
    }

    .mobile-table thead th,
    .mobile-table tbody td {
        padding: 0.55rem 0.45rem;
        font-size: 0.8rem;
        vertical-align: middle;
        white-space: nowrap;
    }

    .mobile-table thead th {
        background: #f8fafc;
        font-size: 0.72rem;
    }

    .mobile-table.dtr-inline.collapsed > tbody > tr > td.dtr-control,
    .mobile-table.dtr-inline.collapsed > tbody > tr > th.dtr-control {
        padding-left: 2rem;
        position: relative;
    }

    .mobile-table.dtr-inline.collapsed > tbody > tr > td.dtr-control:before,
    .mobile-table.dtr-inline.collapsed > tbody > tr > th.dtr-control:before {
        top: 50%;
        left: 0.55rem;
        width: 18px;
        height: 18px;
        margin-top: -9px;
        border: 0;
        border-radius: 50%;
        background: #2563eb;
        box-shadow: none;
        line-height: 18px;
        font-size: 12px;
        font-weight: 700;
    }

    .mobile-table.dtr-inline.collapsed > tbody > tr.parent > td.dtr-control:before,
    .mobile-table.dtr-inline.collapsed > tbody > tr.parent > th.dtr-control:before {
        background: #0f766e;
    }

    .mobile-table tbody tr.child ul.dtr-details {
        width: 100%;
    }

    .mobile-table tbody tr.child ul.dtr-details > li {
        display: flex;
        justify-content: space-between;
        gap: 0.75rem;
        padding: 0.45rem 0;
        border-bottom: 1px dashed #dbe5f0;
    }

    .mobile-table tbody tr.child ul.dtr-details > li:last-child {
        border-bottom: 0;
    }

    .mobile-table tbody tr.child span.dtr-title {
        color: #64748b;
        font-size: 0.74rem;
        font-weight: 700;
    }

    .mobile-table tbody tr.child span.dtr-data {
        text-align: right;
        word-break: break-word;
    }

    .pagination-size-form {
        justify-content: space-between;
    }

    .table-meta-bar {
        padding: 0.8rem 0.9rem;
    }

    .filter-card .card-body {
        padding: 0.85rem 0.85rem 0.9rem;
    }

    .filter-card .form-label {
        font-size: 0.72rem;
        margin-bottom: 0.25rem;
    }

    .back-to-top {
        right: 0.9rem;
        bottom: calc(0.9rem + env(safe-area-inset-bottom, 0px));
        width: 44px;
        height: 44px;
    }

    .quick-revenue-fab {
        right: 0.9rem;
        bottom: calc(4.55rem + env(safe-area-inset-bottom, 0px));
        min-height: 46px;
        padding: 0.72rem 0.9rem;
        font-size: 0.82rem;
    }

    .account-page__hero {
        flex-direction: column;
        padding: 1rem;
    }

    .account-page__hero-meta {
        align-items: flex-start;
        min-width: 0;
    }

    .account-hero-note {
        text-align: left;
    }

    .account-card--sticky {
        position: static;
    }

    .account-side-nav {
        flex-direction: row;
        overflow-x: auto;
        padding: 0.85rem;
        scrollbar-width: thin;
    }

    .account-side-nav__link {
        min-width: 220px;
    }

    .account-overview-grid {
        grid-template-columns: 1fr;
    }

    .account-overview-item,
    .account-overview-item:nth-child(2n) {
        border-right: 0;
    }

    .account-overview-item:nth-last-child(-n+2) {
        border-bottom: 1px solid #edf2f7;
    }

    .account-overview-item:last-child {
        border-bottom: 0;
    }

    .account-card__header,
    .account-card__body,
    .account-security-item {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .account-security-item {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 991.98px) {
    .login-panel {
        max-width: 520px;
        margin: 0 auto;
    }

    .app-navbar-collapse {
        position: absolute;
        top: calc(100% + 0.35rem);
        right: 0.75rem;
        left: auto;
        width: min(280px, calc(100vw - 1.5rem));
        padding: 0.55rem;
        border: 1px solid #dbe5f0;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
    }

    .app-primary-nav {
        align-items: stretch;
        gap: 0.3rem;
        margin-top: 0;
    }

    .app-primary-nav .nav-link {
        justify-content: flex-start;
        width: 100%;
    }

    .app-navbar-actions {
        margin-left: 0;
        margin-top: 0.45rem;
        padding-top: 0.45rem;
        border-top: 1px solid #eef2f7;
    }

    .app-user-link {
        width: 100%;
        justify-content: flex-start;
        margin-top: 0;
    }
}

@media (min-width: 768px) {
    .app-primary-nav {
        flex: 1 1 auto;
        justify-content: flex-end;
    }

    .table-meta-bar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
    display: none !important;
}

.dataTables_wrapper .dataTable {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.dataTables_wrapper .dataTables_scroll {
    clear: both;
}

@media (min-width: 992px) {
    .app-navbar-collapse {
        display: flex !important;
        justify-content: flex-end;
        gap: 0.6rem;
        width: auto;
    }
}
