/* ============================================================
   GeniusXL-Lite
   Shared UI stylesheet
   Bootstrap 5 is loaded before this file.
   ============================================================ */

:root {
    --gx-primary: #1572e8;
    --gx-primary-dark: #0f5fc4;
    --gx-primary-soft: #eaf3ff;
    --gx-text: #2a2f5b;
    --gx-muted: #6b7280;
    --gx-border: #e7eaf0;
    --gx-bg: #f6f8fb;
    --gx-white: #ffffff;
    --gx-danger: #f3545d;
    --gx-shadow: 0 12px 35px rgba(18, 38, 63, 0.08);
--gx-sidebar-width: 265px;
    --gx-navbar-height: 70px;
    --gx-radius: 10px;
    --gx-radius-sm: 7px;
    --gx-sidebar-bg: #ffffff;
    --gx-sidebar-bg-2: #ffffff;
    --gx-sidebar-text: #4b5563;
    --gx-sidebar-muted: #8a93a1;
    --gx-sidebar-hover: #f4f7fb;
    --gx-sidebar-active: #1572e8;
    --gx-content-bg: #f5f7fb;
    --gx-card-border: #e7eaf0;
}

/* ------------------------------------------------------------
   Base
------------------------------------------------------------ */

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--gx-text);
    background: var(--gx-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--gx-primary);
    text-decoration: none;
}

a:hover {
    color: var(--gx-primary-dark);
}

/* ------------------------------------------------------------
   Login
------------------------------------------------------------ */

.gx-login-page {
    min-height: 100vh;
    background: var(--gx-white);
}

.gx-login-shell {
    min-height: 100vh;
    display: flex;
}

/* Brand side */

.gx-login-brand-panel {
    width: 52%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 64px 8%;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.16), transparent 30%),
        linear-gradient(145deg, #1572e8 0%, #0f5fc4 100%);
    color: var(--gx-white);
}

.gx-login-brand-content {
    width: 100%;
    max-width: 560px;
}

.gx-login-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 38px;
}

.gx-login-logo img {
    display: block;
    max-width: 220px;
    max-height: 76px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.gx-login-brand-name {
    margin: 0 0 18px;
    font-size: clamp(2.4rem, 4vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.08;
}

.gx-login-brand-title {
    max-width: 520px;
    margin: 0;
    font-size: clamp(1.45rem, 2.4vw, 2.15rem);
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.gx-login-brand-divider {
    width: 72px;
    height: 3px;
    margin: 30px 0;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.9);
}

.gx-login-brand-description {
    max-width: 500px;
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.88);
}

/* Login side */

.gx-login-form-panel {
    width: 48%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 7%;
    background: var(--gx-white);
}

.gx-login-form-wrap {
    width: 100%;
    max-width: 420px;
}

.gx-login-form-heading {
    margin-bottom: 34px;
}

.gx-login-form-heading h2 {
    margin: 0 0 8px;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--gx-text);
}

.gx-login-form-heading p {
    margin: 0;
    font-size: 0.96rem;
    color: var(--gx-muted);
}

.gx-login-alert {
    margin-bottom: 22px;
    border: 1px solid rgba(243, 84, 93, 0.2);
    border-radius: 8px;
    font-size: 0.9rem;
}

.gx-login-field {
    margin-bottom: 20px;
}

.gx-login-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gx-text);
}

.gx-login-field .form-control {
    min-height: 50px;
    padding: 0.7rem 0.95rem;
    border: 1px solid #dfe3e8;
    border-radius: 7px;
    color: var(--gx-text);
    background: var(--gx-white);
    box-shadow: none;
}

.gx-login-field .form-control:focus {
    border-color: var(--gx-primary);
    box-shadow: 0 0 0 3px rgba(21, 114, 232, 0.10);
}

.gx-login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin: 6px 0 26px;
}

.gx-login-options .form-check {
    margin: 0;
}

.gx-login-options .form-check-label,
.gx-login-options a {
    font-size: 0.88rem;
}

.gx-login-button {
    width: 100%;
    min-height: 50px;
    border: 0;
    border-radius: 7px;
    font-size: 1rem;
    font-weight: 600;
    background: var(--gx-primary);
    box-shadow: 0 5px 14px rgba(21, 114, 232, 0.18);
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.gx-login-button:hover,
.gx-login-button:focus {
    background: var(--gx-primary-dark);
    box-shadow: 0 7px 18px rgba(21, 114, 232, 0.22);
}

.gx-login-button:active {
    transform: translateY(1px);
}

.gx-login-footer {
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid var(--gx-border);
    text-align: center;
    font-size: 0.78rem;
    color: #8a9099;
}

.gx-login-business {
    margin-top: 12px;
    text-align: center;
    font-size: 0.78rem;
    color: #8a9099;
}

.gx-login-business strong {
    color: var(--gx-text);
    font-weight: 600;
}

/* ------------------------------------------------------------
   Responsive login
------------------------------------------------------------ */

@media (max-width: 991.98px) {
    .gx-login-brand-panel {
        width: 45%;
        padding: 48px;
    }

    .gx-login-form-panel {
        width: 55%;
        padding: 40px;
    }

    .gx-login-brand-title {
        font-size: 1.45rem;
    }

    .gx-login-brand-description {
        font-size: 0.98rem;
    }
}

@media (max-width: 767.98px) {
    .gx-login-shell {
        display: block;
    }

    .gx-login-brand-panel,
    .gx-login-form-panel {
        width: 100%;
        min-height: auto;
    }

    .gx-login-brand-panel {
        padding: 48px 28px;
    }

    .gx-login-form-panel {
        padding: 48px 28px;
    }

    .gx-login-brand-content {
        max-width: 560px;
    }

    .gx-login-brand-name {
        font-size: 2.5rem;
    }

    .gx-login-logo {
        margin-bottom: 28px;
    }
}

@media (max-width: 399.98px) {
    .gx-login-brand-panel,
    .gx-login-form-panel {
        padding-left: 20px;
        padding-right: 20px;
    }

    .gx-login-options {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* ============================================================
   GENIUSXL-LITE APPLICATION SHELL
   Kaiadmin-inspired, GeniusXL-owned visual system
   ============================================================ */


/* Application page */
body.gx-app-page {
    margin: 0;
    background: var(--gx-content-bg);
    color: var(--gx-text);
    overflow-x: hidden;
}

/* Main shell */
.gx-app-shell {
    min-height: 100vh;
    background: var(--gx-content-bg);
}

.gx-main-panel {
    min-height: 100vh;
    margin-left: var(--gx-sidebar-width);
    display: flex;
    flex-direction: column;
    transition: margin-left .25s ease;
}

/* ============================================================
   SIDEBAR
   ============================================================ */

.gx-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--gx-sidebar-width);
    z-index: 1040;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, var(--gx-sidebar-bg), var(--gx-sidebar-bg-2));
    color: var(--gx-sidebar-text);
    border-right: 1px solid var(--gx-card-border);
    box-shadow: 4px 0 18px rgba(20, 30, 45, .035);
    transition: transform .25s ease, width .25s ease;
}

.gx-sidebar-brand {
    min-height: var(--gx-navbar-height);
    display: flex;
    align-items: center;
    padding: 0 24px;
    border-bottom: 1px solid var(--gx-card-border);
}

.gx-sidebar-brand-link {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    color: #fff !important;
    text-decoration: none !important;
}

.gx-sidebar-brand-mark {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--gx-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .3px;
}

.gx-sidebar-brand-text {
    font-size: 18px;
    font-weight: 650;
    letter-spacing: -.2px;
}
.gx-sidebar-logo {
    display: block;
    max-width: 190px;
    max-height: 52px;
    width: auto;
    height: auto;
    margin: 0 auto;
}

.gx-sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 14px 13px 28px;
    scrollbar-width: thin;
}

.gx-menu-section-title {
    padding: 12px 15px 8px;
    color: var(--gx-sidebar-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.gx-menu-section-system {
    margin-top: 8px;
}

.gx-menu-link,
.gx-menu-group-toggle {
    position: relative;
    width: 100%;
    min-height: 45px;
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 2px 0;
    padding: 0 15px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--gx-sidebar-text);
    font: inherit;
    font-size: 15px;
    font-weight: 500;
    text-align: left;
    text-decoration: none !important;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

.gx-menu-link:hover,
.gx-menu-group-toggle:hover {
    background: var(--gx-sidebar-hover);
    color: #fff;
}

.gx-menu-link.is-active {
    background: var(--gx-primary-soft);
    color: var(--gx-primary);
}

.gx-menu-link.is-active::before,
.gx-menu-group-toggle.is-open::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    bottom: 7px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--gx-sidebar-active);
}

.gx-menu-icon {
    width: 21px;
    flex: 0 0 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #7b8796;
    font-size: 15px;
    line-height: 1;
}

.gx-menu-link:hover .gx-menu-icon,
.gx-menu-link.is-active .gx-menu-icon,
.gx-menu-group-toggle:hover .gx-menu-icon,
.gx-menu-group-toggle.is-open .gx-menu-icon {
    color: #fff;
}

.gx-menu-link-text {
    flex: 1;
    min-width: 0;
}

.gx-menu-group-label {
    display: flex;
    align-items: center;
    gap: 11px;
    flex: 1;
}

.gx-menu-chevron {
    color: #7f8a99;
    font-size: 12px;
    transition: transform .2s ease;
}

.gx-menu-group-toggle.is-open .gx-menu-chevron {
    transform: rotate(180deg);
}

.gx-menu-submenu {
    display: none;
    padding: 4px 0 7px 0;
}

.gx-menu-submenu.is-open {
    display: block;
}

.gx-menu-sublink {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 37px;
    margin: 1px 0;
    padding: 0 10px 0 48px;
    color: #5f6b7a !important;
    font-size: 14px;
    font-weight: 450;
    text-decoration: none !important;
    border-radius: 6px;
}

.gx-menu-sublink:hover {
    color: #fff !important;
    background: var(--gx-sidebar-hover);
}

.gx-menu-subdot {
    position: absolute;
    left: 31px;
    color: #a0a8b4;
    font-size: 16px;
}

.gx-menu-sublink-disabled,
.gx-menu-link-disabled {
    opacity: .58;
    cursor: default;
}

.gx-menu-sublink-disabled:hover,
.gx-menu-link-disabled:hover {
    background: transparent;
    color: #5f6b7a !important;
}

/* ============================================================
   TOP NAVBAR
   ============================================================ */

.gx-main-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    min-height: var(--gx-navbar-height);
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--gx-card-border);
    backdrop-filter: blur(8px);
}

.gx-navbar {
    min-height: var(--gx-navbar-height);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 24px;
    background: #fff;
}

.gx-navbar-toggle {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #687385;
    font-size: 20px;
    cursor: pointer;
}

.gx-navbar-toggle:hover {
    background: #f3f5f8;
    color: var(--gx-primary);
}

.gx-navbar-title {
    color: var(--gx-text);
    font-size: 17px;
    font-weight: 600;
    white-space: nowrap;
}

.gx-navbar-spacer {
    flex: 1;
}

.gx-navbar-item {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 12px;
    border-radius: 7px;
    color: #667085;
    font-size: 14px;
    white-space: nowrap;
}

.gx-navbar-item:hover {
    color: var(--gx-primary);
    background: #f6f8fb;
}

.gx-navbar-user {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-left: 3px;
    padding: 4px 8px 4px 5px;
    border: 0;
    border-radius: 22px;
    background: transparent;
    color: var(--gx-text);
    cursor: pointer;
}

.gx-navbar-avatar {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gx-primary-soft);
    color: var(--gx-primary);
    font-size: 13px;
    font-weight: 700;
}

.gx-navbar-user-name {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 15px;
    font-weight: 600;
}

.gx-navbar-user:hover {
    background: #f6f8fb;
}

.gx-navbar-dropdown {
    min-width: 190px;
    padding: 7px;
    border: 1px solid var(--gx-card-border);
    border-radius: 9px;
    box-shadow: 0 12px 30px rgba(18,38,63,.12);
}

.gx-navbar-dropdown .dropdown-item {
    padding: 9px 11px;
    border-radius: 6px;
    font-size: 13px;
}

/* ============================================================
   PAGE CONTENT
   ============================================================ */

.gx-page-content {
    flex: 1;
    padding: 28px 28px 34px;
}

.gx-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.gx-page-title {
    margin: 0;
    color: var(--gx-text);
    font-size: 25px;
    font-weight: 650;
    line-height: 1.3;
    letter-spacing: -.35px;
}

.gx-page-subtitle {
    margin: 7px 0 0;
    color: var(--gx-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* ============================================================
   DASHBOARD STAT CARDS
   ============================================================ */

.gx-stat-card {
    position: relative;
    height: 100%;
    padding: 21px 22px;
    background: #fff;
    border: 1px solid var(--gx-card-border);
    border-radius: var(--gx-radius);
    box-shadow: 0 3px 12px rgba(18,38,63,.035);
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
}

.gx-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(18,38,63,.07);
}

.gx-stat-card::after {
    content: "";
    position: absolute;
    right: -22px;
    bottom: -28px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--gx-primary-soft);
}

.gx-stat-label {
    color: #7a8493;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .25px;
    text-transform: uppercase;
}

.gx-stat-value {
    position: relative;
    z-index: 1;
    margin-top: 8px;
    color: var(--gx-text);
    font-size: 27px;
    font-weight: 650;
    line-height: 1.2;
}

.gx-stat-note {
    position: relative;
    z-index: 1;
    margin-top: 7px;
    color: #8a93a1;
    font-size: 13px;
}

/* ============================================================
   CARDS
   ============================================================ */

.gx-card {
    background: #fff;
    border: 1px solid var(--gx-card-border);
    border-radius: var(--gx-radius);
    box-shadow: 0 3px 12px rgba(18,38,63,.035);
}

.gx-card-header {
    min-height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 16px 20px;
    border-bottom: 1px solid #edf0f4;
}

.gx-card-title {
    margin: 0;
    color: var(--gx-text);
    font-size: 16px;
    font-weight: 650;
}

.gx-card-subtitle {
    margin: 4px 0 0;
    color: #8a93a1;
    font-size: 12px;
}

.gx-card-body {
    padding: 20px;
}

.gx-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 11px 0;
    border-bottom: 1px solid #f0f2f5;
}

.gx-info-row:last-child {
    border-bottom: 0;
}

.gx-info-label {
    color: #8992a0;
    font-size: 12px;
    font-weight: 600;
}

.gx-info-value {
    color: var(--gx-text);
    font-size: 13px;
    font-weight: 600;
    text-align: right;
}

/* Dashboard quick-access */
.gx-dashboard-action {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f2f5;
    color: var(--gx-text);
    text-decoration: none !important;
}

.gx-dashboard-action:last-child {
    border-bottom: 0;
}

.gx-dashboard-action:hover {
    color: var(--gx-primary);
}

.gx-dashboard-action-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    border-radius: 8px;
    background: var(--gx-primary-soft);
    color: var(--gx-primary);
    font-size: 15px;
    font-weight: 700;
}

.gx-dashboard-action-title {
    font-size: 13px;
    font-weight: 600;
}

.gx-dashboard-action-note {
    margin-top: 2px;
    color: #929aa7;
    font-size: 11px;
}

/* Footer */
.gx-footer {
    min-height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    background: #fff;
    border-top: 1px solid var(--gx-card-border);
    color: #8b94a1;
    font-size: 12px;
}

.gx-footer a {
    margin-left: 4px;
    font-weight: 600;
}

/* Mobile overlay */
.gx-sidebar-overlay {
    display: none;
}

/* ============================================================
   RESPONSIVE SHELL
   ============================================================ */

@media (max-width: 991.98px) {

    .gx-sidebar {
        transform: translateX(-100%);
    }

    body.gx-sidebar-open .gx-sidebar {
        transform: translateX(0);
    }

    .gx-sidebar-overlay {
        position: fixed;
        inset: 0;
        z-index: 1035;
        display: block;
        background: rgba(15,23,42,.42);
        opacity: 0;
        pointer-events: none;
        transition: opacity .2s ease;
    }

    body.gx-sidebar-open .gx-sidebar-overlay {
        opacity: 1;
        pointer-events: auto;
    }

    .gx-main-panel {
        margin-left: 0;
    }

    .gx-page-content {
        padding: 23px 18px 28px;
    }

    .gx-navbar {
        padding: 0 15px;
    }

    .gx-navbar-item.gx-navbar-financial-year {
        display: none;
    }
}

@media (max-width: 575.98px) {

    .gx-navbar-title {
        font-size: 15px;
    }

    .gx-navbar-user-name {
        display: none;
    }

    .gx-page-title {
        font-size: 22px;
    }

    .gx-page-header {
        margin-bottom: 19px;
    }

    .gx-card-header,
    .gx-card-body {
        padding: 16px;
    }

    .gx-stat-card {
        padding: 18px;
    }

}


/* ============================================================
   WHITE SIDEBAR / ACCOUNTS SUBMENU
   Shared Ver 2 navigation styling
   ============================================================ */

.gx-sidebar {
    color: var(--gx-sidebar-text);
    border-right: 1px solid var(--gx-card-border);
}

.gx-sidebar-brand-link {
    color: var(--gx-text) !important;
}

.gx-menu-link,
.gx-menu-group-toggle {
    color: var(--gx-sidebar-text);
}

.gx-menu-link:hover,
.gx-menu-group-toggle:hover {
    color: var(--gx-text);
}

.gx-menu-link.is-active {
    background: var(--gx-primary-soft);
    color: var(--gx-primary);
}

.gx-menu-link.is-active .gx-menu-icon,
.gx-menu-group-toggle.is-open .gx-menu-icon {
    color: var(--gx-primary);
}

.gx-menu-sublink {
    color: #5f6b7a !important;
}

.gx-menu-sublink:hover {
    background: var(--gx-sidebar-hover);
    color: var(--gx-primary) !important;
}

.gx-menu-subdot {
    color: #a0a8b4;
}

.gx-accounts-menu-section {
    margin: 2px 0 6px;
}

.gx-accounts-toggle {
    position: relative;
    width: 100%;
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 2px 0;
    padding: 0 15px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--gx-sidebar-text);
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    text-align: left;
}

.gx-accounts-toggle:hover,
.gx-accounts-toggle.is-open {
    background: var(--gx-sidebar-hover);
    color: var(--gx-text);
}

.gx-accounts-toggle.is-open::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    bottom: 7px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--gx-sidebar-active);
}

.gx-accounts-toggle-text {
    flex: 1;
}

.gx-accounts-chevron {
    color: #8a93a1;
    font-size: 11px;
}

.gx-accounts-submenu {
    display: block;
    padding: 3px 0 8px;
}

.gx-accounts-submenu-link {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 37px;
    margin: 1px 0;
    padding: 0 10px 0 39px;
    border-radius: 6px;
    color: #5f6b7a !important;
    font-size: 14px;
    font-weight: 450;
    text-decoration: none !important;
}

.gx-accounts-submenu-link::before {
    content: "";
    position: absolute;
    left: 24px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #aab2bd;
}

.gx-accounts-submenu-link:hover {
    background: var(--gx-primary-soft);
    color: var(--gx-primary) !important;
}

.gx-accounts-submenu-link:hover::before {
    background: var(--gx-primary);
}

/* =========================================================
   ACCOUNT MASTER LIST - COMPACT PAGINATION
   DataTables-style page navigation
========================================================= */

.gx-account-pagination {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    flex-wrap: nowrap;
}

.gx-account-page-number,
.gx-account-page-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border: 1px solid var(--gx-border);
    border-radius: 6px;
    background: var(--gx-white);
    color: var(--gx-primary);
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    transition: all .15s ease;
}

.gx-account-page-number:hover,
.gx-account-page-arrow:hover:not(.disabled) {
    background: var(--gx-primary-soft);
    border-color: #cfe1fb;
    color: var(--gx-primary-dark);
    text-decoration: none;
}

.gx-account-page-number.active {
    background: var(--gx-primary);
    border-color: var(--gx-primary);
    color: var(--gx-white);
    font-weight: 600;
}

.gx-account-page-arrow.disabled {
    opacity: .45;
    pointer-events: none;
    color: var(--gx-muted);
    background: var(--gx-bg);
}

.gx-account-page-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 32px;
    color: var(--gx-muted);
    font-size: 14px;
}

@media (max-width: 767.98px) {
    .gx-account-pagination {
        gap: 3px;
    }

    .gx-account-page-number,
    .gx-account-page-arrow {
        min-width: 30px;
        height: 30px;
        padding: 0 7px;
        font-size: 12px;
    }
}

/* =========================================================
   ACCOUNT GROUP VIEW - DECORATIVE UI
   Reusable Ver 2 detail-page styling
========================================================= */

.gx-group-view-header {
    position: relative;
}

.gx-group-view-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gx-primary-soft);
    color: var(--gx-primary);
    font-size: 19px;
    flex: 0 0 auto;
}

.gx-inline-code {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    padding: 3px 9px;
    border-radius: 7px;
    background: var(--gx-primary-soft);
    color: var(--gx-primary);
    font-size: 12px;
    font-weight: 700;
}

.gx-group-summary-body {
    position: relative;
    overflow: hidden;
}

.gx-line-art {
    position: absolute;
    pointer-events: none;
    opacity: .34;
}

.gx-line-art svg,
.gx-section-line-art svg {
    display: block;
    width: 100%;
    height: 100%;
}

.gx-line-art path,
.gx-section-line-art path {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gx-line-art circle {
    fill: currentColor;
}

.gx-line-art-summary {
    right: 0;
    top: 0;
    width: min(48%, 520px);
    height: 90px;
    color: var(--gx-primary);
}

.gx-detail-form {
    position: relative;
}

.gx-detail-section {
    position: relative;
    padding: 22px 0 24px;
    border-bottom: 1px solid var(--gx-border);
}

.gx-detail-section:last-of-type {
    border-bottom: 0;
}

.gx-detail-section-header {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.gx-section-line-art {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 90px;
    height: 22px;
    color: var(--gx-primary);
    opacity: .18;
}

.gx-detail-section-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gx-primary-soft);
    color: var(--gx-primary);
    flex: 0 0 auto;
}

.gx-detail-section-title {
    color: var(--gx-text);
    font-size: 15px;
    font-weight: 700;
}

.gx-detail-section-subtitle {
    margin-top: 3px;
    color: var(--gx-muted);
    font-size: 12px;
}

.gx-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 24px;
}

.gx-detail-field {
    min-width: 0;
}

.gx-detail-label {
    display: block;
    margin-bottom: 7px;
    color: var(--gx-muted);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .035em;
}

.gx-detail-value {
    min-height: 42px;
    display: flex;
    align-items: center;
    color: var(--gx-text);
    font-size: 14px;
    font-weight: 500;
}

.gx-badge-blue {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--gx-primary-soft);
    color: var(--gx-primary);
    font-size: 12px;
    font-weight: 700;
}

.gx-status-active,
.gx-status-inactive,
.gx-type-system,
.gx-type-custom {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
}

.gx-status-active {
    color: #198754;
}

.gx-status-inactive {
    color: var(--gx-danger);
}

.gx-type-system {
    color: var(--gx-text);
}

.gx-type-custom {
    color: var(--gx-muted);
}

.gx-decorative-rule {
    position: relative;
    height: 18px;
    margin: -2px 0 2px;
    overflow: hidden;
}

.gx-decorative-rule::before,
.gx-decorative-rule::after {
    content: "";
    position: absolute;
    top: 8px;
    height: 1px;
    background: var(--gx-border);
}

.gx-decorative-rule::before {
    left: 0;
    right: 50%;
    margin-right: 10px;
}

.gx-decorative-rule::after {
    left: 50%;
    right: 0;
    margin-left: 10px;
}

.gx-decorative-rule span {
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 3px;
    width: 10px;
    height: 10px;
    transform: translateX(-50%) rotate(45deg);
    border: 1px solid var(--gx-primary);
    background: var(--gx-white);
}

.gx-detail-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-top: 24px;
}

.gx-detail-actions-left,
.gx-detail-actions-right {
    display: flex;
    gap: 10px;
    align-items: center;
}

@media (max-width: 768px) {
    .gx-detail-grid {
        grid-template-columns: 1fr;
    }

    .gx-section-line-art {
        display: none;
    }

    .gx-line-art-summary {
        width: 65%;
        opacity: .2;
    }

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

    .gx-detail-actions-left,
    .gx-detail-actions-right {
        justify-content: stretch;
    }

    .gx-detail-actions .btn {
        width: 100%;
    }
}


/* =========================================================
   ACCOUNT MASTER LIST / VIEW
   Reusable Ver 2 Ledger Account styling
========================================================= */

.gx-account-list-icon,
.gx-account-view-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gx-primary-soft);
    color: var(--gx-primary);
    font-size: 19px;
    flex: 0 0 auto;
}

.gx-account-code {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 7px;
    background: var(--gx-primary-soft);
    color: var(--gx-primary);
    font-size: 12px;
    font-weight: 700;
}

.gx-account-name {
    color: var(--gx-text);
    font-weight: 600;
}

.gx-account-group {
    color: var(--gx-muted);
}

.gx-account-balance-dr {
    color: #198754;
    font-weight: 600;
}

.gx-account-balance-cr {
    color: #dc3545;
    font-weight: 600;
}

.gx-account-balance-zero {
    color: var(--gx-muted);
}

.gx-account-badge,
.gx-account-type {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
}

.gx-account-badge {
    padding: 5px 10px;
    border-radius: 999px;
}

.gx-account-badge-active {
    background: #eaf7ef;
    color: #198754;
}

.gx-account-badge-inactive {
    background: #fff0f1;
    color: var(--gx-danger);
}

.gx-account-type-system {
    color: var(--gx-text);
}

.gx-account-type-custom {
    color: var(--gx-muted);
}

.gx-account-list-empty {
    padding: 56px 20px !important;
    text-align: center;
    color: var(--gx-muted);
}

.gx-account-list-empty-icon {
    margin-bottom: 12px;
    font-size: 30px;
    color: #b8c0cc;
}

.gx-account-list-empty-title {
    font-weight: 600;
}

.gx-account-search {
    min-width: 240px;
}

.gx-account-view-summary {
    position: relative;
    overflow: hidden;
}

.gx-account-view-summary::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: min(45%, 480px);
    height: 100%;
    background:
        linear-gradient(135deg, transparent 48%, var(--gx-primary-soft) 49%, transparent 50%) 0 0 / 24px 24px;
    opacity: .32;
    pointer-events: none;
}

.gx-account-view-summary-content {
    position: relative;
    z-index: 1;
}

.gx-account-view-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.gx-account-view-code {
    display: inline-flex;
    margin-left: 8px;
    padding: 3px 9px;
    border-radius: 7px;
    background: var(--gx-primary-soft);
    color: var(--gx-primary);
    font-size: 12px;
    font-weight: 700;
    vertical-align: middle;
}

.gx-account-detail-section {
    position: relative;
    padding: 22px 0 24px;
    border-bottom: 1px solid var(--gx-border);
}

.gx-account-detail-section:last-child {
    border-bottom: 0;
}

.gx-account-detail-section-header {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.gx-account-section-line-art {
    position: absolute;
    right: 0;
    top: 50%;
    width: 100px;
    height: 26px;
    transform: translateY(-50%);
    color: var(--gx-primary);
    opacity: .18;
    pointer-events: none;
}

.gx-account-section-line-art svg {
    width: 100%;
    height: 100%;
}

.gx-account-section-line-art path {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gx-account-detail-section-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gx-primary-soft);
    color: var(--gx-primary);
    flex: 0 0 auto;
}

.gx-account-detail-section-title {
    color: var(--gx-text);
    font-size: 15px;
    font-weight: 700;
}

.gx-account-detail-section-subtitle {
    margin-top: 3px;
    color: var(--gx-muted);
    font-size: 12px;
}

.gx-account-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 24px;
}

.gx-account-detail-field {
    min-width: 0;
}

.gx-account-detail-label {
    display: block;
    margin-bottom: 7px;
    color: var(--gx-muted);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .035em;
}

.gx-account-detail-value {
    min-height: 42px;
    display: flex;
    align-items: center;
    color: var(--gx-text);
    font-size: 14px;
    font-weight: 500;
}

.gx-account-detail-help {
    margin-top: 4px;
    color: var(--gx-muted);
    font-size: 12px;
}

.gx-account-description {
    min-height: 42px;
    padding: 11px 14px;
    border: 1px solid var(--gx-border);
    border-radius: 9px;
    background: var(--gx-bg);
    color: var(--gx-text);
    line-height: 1.65;
}

.gx-account-balance-highlight {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border-radius: 9px;
    background: var(--gx-primary-soft);
    color: var(--gx-primary);
    font-weight: 700;
}

.gx-account-detail-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-top: 24px;
}

@media (max-width: 768px) {
    .gx-account-detail-grid {
        grid-template-columns: 1fr;
    }

    .gx-account-section-line-art {
        display: none;
    }

    .gx-account-view-summary::after {
        width: 65%;
    }

    .gx-account-detail-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .gx-account-detail-actions .btn {
        width: 100%;
    }
}


/* =========================================================
   ACCOUNT BOOKS ENTRY / VIEW - VER 2
   Reusable Account Books selection, statement, date navigation
   and compact pagination styling.
========================================================= */

.gx-account-book-entry-icon,
.gx-account-book-view-icon {
    position: relative;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gx-primary-soft);
    color: var(--gx-primary);
    overflow: hidden;
}

.gx-account-book-entry-icon i,
.gx-account-book-view-icon i {
    position: relative;
    z-index: 2;
}

.gx-account-book-view-icon {
    overflow: visible;
}

.gx-account-book-line-art {
    position: absolute;
    left: 28px;
    top: 4px;
    width: 180px;
    height: 42px;
    color: var(--gx-primary);
    opacity: .18;
    pointer-events: none;
    z-index: 1;
}

.gx-account-book-line-art path,
.gx-acbooks-decorative-rule path {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.2;
    vector-effect: non-scaling-stroke;
}

.gx-acbooks-decorative-rule {
    height: 18px;
    margin: -8px 22px 10px;
    color: var(--gx-primary);
    opacity: .16;
    pointer-events: none;
}

.gx-acbooks-decorative-rule svg {
    display: block;
    width: 100%;
    height: 18px;
}

.gx-acbooks-entry-grid {
    display: grid;
    grid-template-columns: minmax(280px, 1.2fr) minmax(180px, .7fr) auto;
    gap: 16px;
    align-items: end;
}

.gx-acbooks-entry-actions {
    margin: 0;
    align-self: end;
}

.gx-acbooks-date-note {
    margin-top: 7px;
    font-size: .8rem;
    color: var(--gx-muted);
}

.gx-acbooks-date-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    flex-wrap: wrap;
    margin-left: auto;
}

.gx-acbooks-date-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 11px;
    border: 1px solid var(--gx-border);
    border-radius: 8px;
    background: var(--gx-white);
    color: var(--gx-text);
    text-decoration: none;
    font-size: .82rem;
    font-weight: 600;
    white-space: nowrap;
    transition: .15s ease;
}

.gx-acbooks-date-button:hover {
    color: var(--gx-primary);
    background: var(--gx-primary-soft);
    border-color: #cfe2ff;
}

.gx-acbooks-date-button.disabled {
    opacity: .42;
    pointer-events: none;
}

.gx-acbooks-date-form {
    margin: 0;
}

.gx-acbooks-date-select {
    height: 36px;
    width: 150px;
    padding: 0 9px;
    border: 1px solid var(--gx-border);
    border-radius: 8px;
    color: var(--gx-text);
    background: var(--gx-white);
    font-size: .84rem;
    outline: none;
}

.gx-acbooks-date-select:focus {
    border-color: var(--gx-primary);
    box-shadow: 0 0 0 3px rgba(21, 114, 232, .10);
}

.gx-acbooks-search-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 16px;
}

.gx-acbooks-search-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gx-text);
    font-size: 14px;
    font-weight: 700;
}

.gx-acbooks-search-title i {
    color: var(--gx-primary);
    font-size: 13px;
}

.gx-acbooks-search-help {
    color: var(--gx-muted);
    font-size: 12px;
}

.gx-acbooks-filter {
    margin: 0 0 20px;
    padding: 0 0 18px;
    border-bottom: 1px solid var(--gx-border);
}

.gx-acbooks-search-fields {
    display: grid;
    grid-template-columns: minmax(280px, 1.7fr) minmax(180px, .8fr);
    gap: 18px;
    align-items: end;
}

.gx-acbooks-search-field {
    min-width: 0;
}

.gx-acbooks-search-label {
    display: block;
    margin: 0 0 7px;
    color: var(--gx-text);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.gx-acbooks-search-input {
    display: block;
    width: 100%;
    height: 42px;
    padding: 8px 12px;
    border: 1px solid var(--gx-border);
    border-radius: 7px;
    background: var(--gx-white);
    color: var(--gx-text);
    font-size: 13px;
    line-height: 1.5;
    outline: none;
    box-shadow: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.gx-acbooks-search-input::placeholder {
    color: #9aa3b2;
}

.gx-acbooks-search-input:focus {
    border-color: var(--gx-primary);
    box-shadow: 0 0 0 3px rgba(21, 114, 232, .10);
}

.gx-acbooks-search-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    margin-top: 14px;
}

.gx-acbooks-search-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 92px;
    height: 40px;
    padding: 0 15px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.gx-acbooks-search-button i {
    font-size: 12px;
}

.gx-acbooks-search-clear {
    border-color: var(--gx-border);
    background: #fff;
    color: #596273;
}

.gx-acbooks-search-clear:hover {
    border-color: #cbd2dc;
    background: #f8fafc;
    color: var(--gx-text);
}

.gx-acbooks-search-submit {
    border-color: var(--gx-primary);
    background: var(--gx-primary);
    color: #fff;
    box-shadow: 0 3px 8px rgba(21, 114, 232, .14);
}

.gx-acbooks-search-submit:hover {
    border-color: var(--gx-primary-dark);
    background: var(--gx-primary-dark);
    color: #fff;
    box-shadow: 0 5px 12px rgba(21, 114, 232, .20);
    transform: translateY(-1px);
}

.gx-acbooks-table-wrap {
    border: 1px solid var(--gx-border);
    border-radius: 10px;
    overflow-x: auto;
    background: var(--gx-white);
}

.gx-acbooks-table {
    width: 100%;
    min-width: 900px;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.gx-acbooks-table th {
    background: #f8fafc;
    color: #475569;
    font-size: .76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    padding: 11px 13px;
    border-bottom: 1px solid #e2e8f0;
    white-space: nowrap;
}

.gx-acbooks-table td {
    padding: 10px 13px;
    border-bottom: 1px solid #eef2f7;
    color: #334155;
    font-size: .88rem;
    vertical-align: middle;
}

.gx-acbooks-table tbody tr:hover {
    background: #f8fafc;
}

.gx-acbooks-table .opening-row td,
.gx-acbooks-table .closing-row td {
    background: #f8fafc;
    font-weight: 700;
}

.gx-acbooks-table .closing-row td {
    border-top: 2px solid #cbd5e1;
    border-bottom: 0;
}

.gx-acbooks-sl {
    width: 62px;
    white-space: nowrap;
    text-align: center;
}

.gx-acbooks-vch {
    width: 82px;
    white-space: nowrap;
}

.gx-acbooks-number {
    width: 120px;
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.gx-acbooks-ledger {
    min-width: 190px;
    color: #1e293b;
    font-weight: 600;
}

.gx-acbooks-narration {
    min-width: 240px;
    color: #64748b;
}

.gx-acbooks-voucher-details {
    min-width: 300px;
    color: #1e293b;
}

.gx-acbooks-balance {
    min-width: 135px;
    text-align: right;
    white-space: nowrap;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.gx-acbooks-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.gx-acbooks-page-links {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.gx-acbooks-page-link,
.gx-acbooks-page-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border-radius: 7px;
    font-size: .82rem;
}

.gx-acbooks-page-link {
    border: 1px solid var(--gx-border);
    background: var(--gx-white);
    color: var(--gx-text);
    text-decoration: none;
}

.gx-acbooks-page-link:hover,
.gx-acbooks-page-link.active {
    background: var(--gx-primary);
    border-color: var(--gx-primary);
    color: var(--gx-white);
}

.gx-acbooks-page-ellipsis {
    color: var(--gx-muted);
}

.gx-acbooks-page-info {
    color: var(--gx-muted);
    font-size: .82rem;
}

.gx-acbooks-page-info strong {
    color: var(--gx-text);
    font-weight: 700;
}

.gx-acbooks-print {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.gx-acbooks-print-header,
.gx-acbooks-print-table {
    display: none;
}

/* Account Books modal */
.gx-acbooks-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
}

.gx-acbooks-modal.is-open {
    display: block;
}

.gx-acbooks-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .48);
    backdrop-filter: blur(2px);
}

.gx-acbooks-modal-dialog {
    position: relative;
    width: min(460px, calc(100% - 32px));
    margin: 12vh auto 0;
    background: var(--gx-white);
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .22);
    padding: 28px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.gx-acbooks-modal-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #334155;
}

.gx-acbooks-modal-content {
    flex: 1;
}

.gx-acbooks-modal-content h2 {
    margin: 0 0 9px;
    font-size: 1.15rem;
    color: #1e293b;
}

.gx-acbooks-modal-content p {
    margin: 0;
    color: #64748b;
    line-height: 1.55;
}

.gx-acbooks-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 24px;
}

.gx-acbooks-modal-open {
    overflow: hidden;
}

@media (max-width: 900px) {
    .gx-page-header {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .gx-acbooks-date-nav {
        width: 100%;
        justify-content: flex-start;
        margin-left: 0;
    }
}

@media (max-width: 800px) {
    .gx-acbooks-entry-grid {
        grid-template-columns: 1fr;
    }

    .gx-acbooks-search-fields {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 575.98px) {
    .gx-acbooks-search-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .gx-acbooks-search-fields {
        grid-template-columns: 1fr;
    }

    .gx-acbooks-search-actions {
        justify-content: flex-start;
    }

    .gx-acbooks-page-info {
        width: 100%;
    }

    .gx-acbooks-page-links {
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 2px;
    }
}

/* =========================================================
   ACCOUNT BOOKS PRINT - A4 PORTRAIT
========================================================= */

@page {
    size: A4 portrait;
    margin: 12mm 10mm 12mm 10mm;
}

@media print {
    html,
    body {
        width: 100%;
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
    }

    .gx-app {
        width: 100% !important;
    }

    .gx-app-shell > * {
        display: none !important;
    }

    .gx-app-shell .gx-main-panel {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .gx-main-panel > * {
        display: none !important;
    }

    .gx-main-panel .gx-page-content {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .gx-main-panel .gx-page-content > .container-fluid {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .gx-acbooks-print-header {
        display: none !important;
    }

    .gx-list-header,
    .gx-page-header,
    .gx-acbooks-filter,
    .gx-acbooks-date-nav,
    .gx-acbooks-decorative-rule,
    .gx-acbooks-pagination {
        display: none !important;
    }

    .gx-card {
        border: 0 !important;
        box-shadow: none !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }

    .gx-card-header {
        display: none !important;
    }

    .gx-card-body {
        padding: 0 !important;
        margin: 0 !important;
    }

    .gx-acbooks-screen-table {
        display: none !important;
    }

    .gx-acbooks-print-table {
        display: table !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        border-collapse: collapse !important;
        table-layout: fixed;
        font-size: 9pt;
        color: #000;
    }

    .gx-acbooks-print-table thead {
        display: table-header-group;
    }

    .gx-acbooks-print-title-cell {
        border: 0 !important;
        padding: 0 0 5mm 0 !important;
        text-align: center;
        font-weight: 400;
        white-space: normal !important;
    }

    .gx-acbooks-print-title-company {
        font-size: 15pt;
        font-weight: 700;
        line-height: 1.25;
        margin-bottom: 2mm;
    }

    .gx-acbooks-print-title-report {
        font-size: 12pt;
        font-weight: 700;
        line-height: 1.25;
        margin-top: 2mm;
    }

    .gx-acbooks-print-title-line {
        border-top: 1px solid #000;
        margin-top: 3mm;
    }

    .gx-acbooks-print-table thead .gx-acbooks-print-title-row th {
        border: 0 !important;
        padding: 0 0 5mm 0 !important;
        background: #fff !important;
    }

    .gx-acbooks-print-table thead .gx-acbooks-print-column-row th {
        border-top: 1px solid #000;
        border-bottom: 1px solid #000;
    }

    .gx-acbooks-print-table th {
        background: #fff !important;
        color: #000 !important;
        font-size: 8.5pt;
        font-weight: 700;
        text-transform: none;
        letter-spacing: 0;
        padding: 5px;
        border-top: 1px solid #000;
        border-bottom: 1px solid #000;
        white-space: nowrap;
    }

    .gx-acbooks-print-table td {
        color: #000 !important;
        font-size: 8.5pt;
        padding: 4px 5px;
        border-bottom: 1px solid #d1d5db;
        vertical-align: top;
    }

    .gx-acbooks-print-table .gx-acbooks-sl {
        width: 8%;
        text-align: center;
    }

    .gx-acbooks-print-table .gx-acbooks-vch {
        width: 11%;
        text-align: left;
    }

    .gx-acbooks-print-table .gx-acbooks-ledger {
        width: 18%;
        min-width: 0;
        word-wrap: break-word;
        overflow-wrap: anywhere;
    }

    .gx-acbooks-print-table .gx-acbooks-narration {
        width: 25%;
        min-width: 0;
        word-wrap: break-word;
        overflow-wrap: anywhere;
    }

    .gx-acbooks-print-table .gx-acbooks-number {
        width: 11%;
        text-align: right;
        white-space: nowrap;
    }

    .gx-acbooks-print-table .gx-acbooks-balance {
        width: 14%;
        min-width: 0;
        text-align: right;
        white-space: nowrap;
    }

    .gx-acbooks-print-table tr {
        page-break-inside: avoid;
        break-inside: avoid;
    }

    .gx-acbooks-print-table .opening-row td,
    .gx-acbooks-print-table .closing-row td {
        background: #fff !important;
        font-weight: 700;
        color: #000 !important;
    }

    .gx-acbooks-print-table .closing-row td {
        border-top: 1.5px solid #000;
        border-bottom: 1px solid #000;
    }
}
/* =========================================================
   ACCOUNT BOOK SELECTION FORM
   Kaiadmin-inspired form layout
   GeniusXL-Lite blue theme
========================================================= */

.gx-account-book-selection-card {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}


/* ---------------------------------------------------------
   FORM GROUP
--------------------------------------------------------- */

.gx-account-book-form-group {
    margin-bottom: 24px;
}

.gx-account-book-date-group {
    margin-top: 4px;
}


/* ---------------------------------------------------------
   LABEL
--------------------------------------------------------- */

.gx-account-book-form-label {
    display: block;
    margin: 0 0 9px;
    color: var(--gx-text);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}


/* ---------------------------------------------------------
   ACCOUNT BOOK LIST
--------------------------------------------------------- */

.gx-account-book-select {
    display: block;
    width: 100%;
    min-height: 190px;
    padding: 5px;
    border: 1px solid var(--gx-border);
    border-radius: 8px;
    background: var(--gx-white);
    color: var(--gx-text);
    font-size: 14px;
    line-height: 1.5;
    box-shadow: none;
    outline: none;
    transition:
        border-color .15s ease,
        box-shadow .15s ease;
}

.gx-account-book-select:focus {
    border-color: var(--gx-primary);
    box-shadow: 0 0 0 3px rgba(21, 114, 232, .10);
}

.gx-account-book-select option {
    padding: 9px 11px;
    color: var(--gx-text);
    background: var(--gx-white);
}

.gx-account-book-select option:checked {
    background: var(--gx-primary);
    color: #fff;
}


/* ---------------------------------------------------------
   HELP TEXT
--------------------------------------------------------- */

.gx-account-book-form-help {
    margin-top: 7px;
    color: var(--gx-muted);
    font-size: 12px;
    line-height: 1.5;
}


/* ---------------------------------------------------------
   DATE
--------------------------------------------------------- */

.gx-account-book-date-control {
    width: 230px;
    max-width: 100%;
}

.gx-account-book-date-input {
    display: block;
    width: 100%;
    height: 44px;
    padding: 8px 12px;
    border: 1px solid var(--gx-border);
    border-radius: 8px;
    background: var(--gx-white);
    color: var(--gx-text);
    font-size: 14px;
    line-height: 1.5;
    box-shadow: none;
    outline: none;
    transition:
        border-color .15s ease,
        box-shadow .15s ease;
}

.gx-account-book-date-input:focus {
    border-color: var(--gx-primary);
    box-shadow: 0 0 0 3px rgba(21, 114, 232, .10);
}


/* ---------------------------------------------------------
   ACTION AREA
--------------------------------------------------------- */

.gx-account-book-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid var(--gx-border);
}


/* ---------------------------------------------------------
   VIEW ACCOUNT BOOK BUTTON
--------------------------------------------------------- */

.gx-account-book-view-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 22px;
    border: 1px solid var(--gx-primary);
    border-radius: 8px;
    background: var(--gx-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(21, 114, 232, .16);
    transition:
        background .15s ease,
        border-color .15s ease,
        box-shadow .15s ease,
        transform .15s ease;
}

.gx-account-book-view-button i {
    font-size: 14px;
}

.gx-account-book-view-button:hover {
    background: var(--gx-primary-dark);
    border-color: var(--gx-primary-dark);
    color: #fff;
    box-shadow: 0 5px 12px rgba(21, 114, 232, .22);
    transform: translateY(-1px);
}

.gx-account-book-view-button:focus {
    outline: none;
    color: #fff;
    box-shadow:
        0 0 0 3px rgba(21, 114, 232, .14),
        0 3px 8px rgba(21, 114, 232, .16);
}

.gx-account-book-view-button:active {
    transform: translateY(0);
}

.gx-account-book-view-button:disabled {
    opacity: .65;
    cursor: not-allowed;
    transform: none;
}


/* ---------------------------------------------------------
   DATE CHANGE MODAL BUTTONS
--------------------------------------------------------- */

.gx-acbooks-modal-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition:
        background .15s ease,
        border-color .15s ease,
        box-shadow .15s ease;
}

.gx-acbooks-modal-button-secondary {
    border: 1px solid var(--gx-border);
    background: var(--gx-white);
    color: var(--gx-text);
}

.gx-acbooks-modal-button-secondary:hover {
    background: var(--gx-bg);
    border-color: #d5d9e1;
    color: var(--gx-text);
}

.gx-acbooks-modal-button-primary {
    border: 1px solid var(--gx-primary);
    background: var(--gx-primary);
    color: #fff;
}

.gx-acbooks-modal-button-primary:hover {
    border-color: var(--gx-primary-dark);
    background: var(--gx-primary-dark);
    color: #fff;
}

.gx-acbooks-modal-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(21, 114, 232, .12);
}


/* ---------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */

@media (max-width: 767.98px) {

    .gx-account-book-selection-card {
        max-width: 100%;
    }

    .gx-account-book-form-actions {
        justify-content: stretch;
    }

    .gx-account-book-view-button {
        width: 100%;
    }

}

@media (max-width: 575.98px) {

    .gx-account-book-select {
        min-height: 180px;
    }

    .gx-account-book-date-control {
        width: 100%;
    }

}

/*
|--------------------------------------------------------------------------
| LEDGER VIEW
|--------------------------------------------------------------------------
*/

.gx-ledger-filter {
    display: grid;
    grid-template-columns: minmax(300px, 1.65fr) minmax(150px, .8fr) minmax(150px, .8fr) auto;
    gap: 16px;
    align-items: end;
    margin: 0 0 20px;
    padding: 0 0 18px;
    border-bottom: 1px solid var(--gx-border);
}

.gx-ledger-form-field {
    min-width: 0;
}

.gx-ledger-form-label {
    display: block;
    margin: 0 0 7px;
    color: var(--gx-text);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.gx-ledger-form-input {
    display: block;
    width: 100%;
    height: 42px;
    padding: 8px 12px;
    border: 1px solid var(--gx-border);
    border-radius: 7px;
    background: var(--gx-white);
    color: var(--gx-text);
    font-size: 13px;
    line-height: 1.5;
    outline: none;
    box-shadow: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.gx-ledger-form-input:focus {
    border-color: var(--gx-primary);
    box-shadow: 0 0 0 3px rgba(21, 114, 232, .10);
}

.gx-ledger-select {
    cursor: pointer;
    padding-right: 34px;
}

.gx-ledger-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-width: 174px;
    height: 42px;
}

.gx-ledger-form-actions-left,
.gx-ledger-form-actions-right {
    display: flex;
    align-items: center;
}

.gx-ledger-form-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 82px;
    height: 40px;
    padding: 0 13px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.gx-ledger-form-button i {
    font-size: 12px;
}

.gx-ledger-form-button-secondary {
    border-color: var(--gx-border);
    background: #fff;
    color: #596273;
}

.gx-ledger-form-button-secondary:hover {
    border-color: #cbd2dc;
    background: #f8fafc;
    color: var(--gx-text);
}

.gx-ledger-form-button-primary {
    border-color: var(--gx-primary);
    background: var(--gx-primary);
    color: #fff;
    box-shadow: 0 3px 8px rgba(21, 114, 232, .14);
}

.gx-ledger-form-button-primary:hover {
    border-color: var(--gx-primary-dark);
    background: var(--gx-primary-dark);
    color: #fff;
    box-shadow: 0 5px 12px rgba(21, 114, 232, .20);
    transform: translateY(-1px);
}

.gx-ledger-screen-report {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 14px;
}

.gx-ledger-report-account {
    color: var(--gx-text);
    font-size: 14px;
    font-weight: 700;
}

.gx-ledger-report-dates {
    margin-top: 4px;
    color: var(--gx-muted);
    font-size: 12px;
}

.gx-ledger-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 38px;
    padding: 0 13px;
    border: 1px solid var(--gx-border);
    border-radius: 7px;
    background: #fff;
    color: var(--gx-primary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.gx-ledger-action-button:hover {
    border-color: var(--gx-primary);
    background: var(--gx-primary-soft);
}

.gx-ledger-table-wrap {
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--gx-border);
    border-radius: 10px;
    background: var(--gx-white);
}

.gx-ledger-table {
    width: 100%;
    min-width: 0;
    margin: 0;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
}

.gx-ledger-table th {
    background: #f8fafc;
    color: #475569;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .02em;
    padding: 11px 9px;
    border-bottom: 1px solid #e2e8f0;
    white-space: nowrap;
}

.gx-ledger-table td {
    padding: 10px 9px;
    border-bottom: 1px solid #eef2f7;
    color: #334155;
    font-size: .82rem;
    line-height: 1.4;
    vertical-align: middle;
    overflow-wrap: anywhere;
    word-break: normal;
}

.gx-ledger-table tbody tr:hover {
    background: #f8fafc;
}

.gx-ledger-table .opening-row td,
.gx-ledger-table .closing-row td {
    background: #f8fafc;
    font-weight: 700;
}

.gx-ledger-table .closing-row td {
    border-top: 2px solid #cbd5e1;
    border-bottom: 0;
}

.gx-ledger-sl {
    width: 5%;
    text-align: center;
    white-space: nowrap;
}

.gx-ledger-vch {
    width: 7%;
    white-space: nowrap;
}

.gx-ledger-date {
    width: 10%;
    white-space: nowrap;
}

.gx-ledger-book {
    width: 13%;
    overflow-wrap: anywhere;
}

.gx-ledger-narration {
    width: 35%;
    min-width: 0;
    overflow-wrap: anywhere;
}

.gx-ledger-number {
    width: 10%;
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.gx-ledger-balance {
    width: 10%;
    text-align: right;
    white-space: nowrap;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.gx-ledger-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.gx-ledger-page-info {
    color: #64748b;
    font-size: .85rem;
}

.gx-ledger-page-links {
    display: flex;
    gap: 6px;
    align-items: center;
}

.gx-ledger-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 9px;
    border: 1px solid #e2e8f0;
    border-radius: 7px;
    color: #334155;
    background: #fff;
    text-decoration: none;
    font-size: .85rem;
}

.gx-ledger-page-link:hover,
.gx-ledger-page-link.active {
    background: var(--gx-primary-soft);
    border-color: #cfe1fb;
    color: var(--gx-primary);
}

.gx-ledger-page-link.disabled {
    opacity: .45;
    pointer-events: none;
    cursor: default;
}

.gx-ledger-page-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 34px;
    color: #64748b;
    font-size: .85rem;
}

.gx-ledger-print-table {
    display: none;
}

@media (max-width: 1100px) {
    .gx-ledger-filter {
        grid-template-columns: minmax(240px, 1.5fr) minmax(145px, .8fr) minmax(145px, .8fr);
    }

    .gx-ledger-form-actions {
        grid-column: 1 / -1;
        justify-content: flex-end;
    }
}

@media (max-width: 700px) {
    .gx-ledger-filter {
        grid-template-columns: 1fr;
    }

    .gx-ledger-form-actions {
        grid-column: auto;
        justify-content: flex-end;
        min-width: 0;
    }

    .gx-ledger-screen-report {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .gx-ledger-form-actions {
        width: 100%;
    }

    .gx-ledger-form-actions-left,
    .gx-ledger-form-actions-right,
    .gx-ledger-form-button {
        flex: 1;
    }

    .gx-ledger-form-button {
        width: 100%;
    }

    .gx-ledger-pagination {
        align-items: flex-start;
        flex-direction: column;
    }
}

/*
|--------------------------------------------------------------------------
| LEDGER PRINT
|--------------------------------------------------------------------------
*/

@page {
    size: A4 portrait;
    margin: 10mm;
}

@media print {
    html,
    body {
        width: 100%;
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
    }

    .gx-app-shell {
        width: 100% !important;
    }

    .gx-app-shell > * {
        display: none !important;
    }

    .gx-app-shell .gx-main-panel {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .gx-main-panel > * {
        display: none !important;
    }

    .gx-main-panel .gx-page-content {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .gx-page-header,
    .gx-ledger-decorative-rule,
    .gx-ledger-screen-report,
    .gx-ledger-filter,
    .gx-ledger-table-wrap,
    .gx-ledger-pagination {
        display: none !important;
    }

    .gx-card {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        box-shadow: none !important;
        background: #fff !important;
    }

    .gx-card-body {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .gx-ledger-print-table {
        display: table !important;
        width: 100% !important;
        margin: 0 !important;
        border-collapse: collapse !important;
        table-layout: fixed;
        color: #000 !important;
        font-size: 7.5pt;
    }

    .gx-ledger-print-table thead {
        display: table-header-group;
    }

    .gx-ledger-print-table .print-company {
        font-size: 15pt;
        font-weight: 700;
        text-align: center;
        padding: 0 0 2mm 0;
        border: 0;
    }

    .gx-ledger-print-table .print-title {
        font-size: 12pt;
        font-weight: 700;
        text-align: center;
        padding: 0 0 1.5mm 0;
        border: 0;
    }

    .gx-ledger-print-table .print-account {
        font-size: 10pt;
        font-weight: 700;
        text-align: center;
        padding: 0 0 1mm 0;
        border: 0;
    }

    .gx-ledger-print-table .print-dates {
        font-size: 9pt;
        font-weight: 600;
        text-align: center;
        padding: 0 0 3mm 0;
        border: 0;
    }

    .gx-ledger-print-table .print-heading-cell {
        padding: 0 !important;
        border: 0 !important;
    }

    .gx-ledger-print-table .print-columns th {
        background: #fff !important;
        color: #000 !important;
        font-size: 7.5pt;
        font-weight: 700;
        text-transform: none;
        letter-spacing: 0;
        padding: 5px;
        border-top: 1px solid #000;
        border-bottom: 1px solid #000;
        white-space: nowrap;
    }

    .gx-ledger-print-table tbody td {
        color: #000 !important;
        font-size: 7.5pt;
        padding: 3px 4px;
        border-bottom: 1px solid #d1d5db;
        vertical-align: top;
    }

    .gx-ledger-print-table .gx-ledger-sl {
        width: 6%;
        text-align: center;
    }

    .gx-ledger-print-table .gx-ledger-vch {
        width: 8%;
    }

    .gx-ledger-print-table .gx-ledger-date {
        width: 11%;
    }

    .gx-ledger-print-table .gx-ledger-book {
        width: 15%;
        white-space: normal;
    }

    .gx-ledger-print-table .gx-ledger-narration {
        width: 30%;
        min-width: 0;
        word-wrap: break-word;
        overflow-wrap: anywhere;
    }

    .gx-ledger-print-table .gx-ledger-number {
        width: 10%;
        text-align: right;
        white-space: nowrap;
    }

    .gx-ledger-print-table .gx-ledger-balance {
        width: 10%;
        text-align: right;
        white-space: nowrap;
    }

    .gx-ledger-print-table .opening-row td,
    .gx-ledger-print-table .closing-row td {
        background: #fff !important;
        color: #000 !important;
        font-weight: 700;
    }

    .gx-ledger-print-table .closing-row td {
        border-top: 1.5px solid #000;
        border-bottom: 1px solid #000;
    }

    .gx-ledger-print-table tr {
        page-break-inside: avoid;
        break-inside: avoid;
    }
}

/* =========================================================
   TRIAL BALANCE - SCREEN UI
   Kaiadmin forms.html inspired / GeniusXL style.css
========================================================= */

.gx-trial-page-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--gx-primary-soft);
    color: var(--gx-primary);
    font-size: 19px;
}

.gx-trial-fy-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 40px;
    padding: 7px 12px;
    border: 1px solid var(--gx-border);
    border-radius: 8px;
    background: var(--gx-primary-soft);
    color: var(--gx-primary);
    font-size: .84rem;
    font-weight: 600;
    white-space: nowrap;
}

.gx-trial-fy-badge i {
    font-size: .9rem;
}

.gx-trial-fy-badge span {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
}

.gx-trial-fy-badge small {
    color: var(--gx-muted);
    font-size: .75rem;
    font-weight: 500;
}

.gx-trial-filter-form {
    width: 100%;
    margin: 0;
    padding: 0 0 22px;
    border-bottom: 1px solid var(--gx-border);
}

.gx-trial-filter-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(240px, 1.15fr);
    gap: 22px;
    align-items: start;
}

.gx-trial-filter-grid .gx-form-field {
    min-width: 0;
}

.gx-trial-filter-grid .form-label {
    display: block;
    margin-bottom: 7px;
}

.gx-trial-filter-grid .form-control {
    width: 100%;
    min-height: 44px;
    font-size: .92rem;
}

.gx-trial-filter-grid select.form-control {
    cursor: pointer;
}

.gx-trial-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    margin-top: 20px;
}

.gx-trial-form-actions .btn {
    min-height: 42px;
    padding: 8px 17px;
}

.gx-trial-report-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin: 25px 0 15px;
}

.gx-trial-report-title {
    margin: 0;
    color: var(--gx-text);
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.35;
}

.gx-trial-report-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px 18px;
    margin-top: 6px;
    color: var(--gx-muted);
    font-size: .83rem;
}

.gx-trial-report-meta strong {
    color: var(--gx-text);
    font-weight: 600;
}

.gx-trial-report-type {
    display: inline-flex;
    align-items: center;
    padding-left: 12px;
    border-left: 1px solid var(--gx-border);
    color: var(--gx-primary);
    font-weight: 600;
}

.gx-trial-print-button {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 7px 16px;
}

.gx-trial-table-wrap {
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--gx-border);
    border-radius: 11px;
    background: #fff;
}

.gx-trial-table {
    width: 100%;
    max-width: 100%;
    margin: 0;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
}

.gx-trial-table th {
    padding: 12px 13px;
    background: var(--gx-primary-soft);
    color: var(--gx-primary);
    border-bottom: 1px solid var(--gx-border-dark);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .025em;
    text-transform: uppercase;
    white-space: nowrap;
}

.gx-trial-table td {
    padding: 10px 13px;
    color: var(--gx-text);
    border-bottom: 1px solid var(--gx-border);
    font-size: .875rem;
    line-height: 1.35;
    vertical-align: middle;
}

.gx-trial-table tbody tr:last-child td {
    border-bottom: 0;
}

.gx-trial-table tbody tr:hover td {
    background: var(--gx-primary-soft);
}

.gx-trial-sl {
    width: 8%;
    text-align: center;
    white-space: nowrap;
}

.gx-trial-code {
    width: 15%;
    white-space: nowrap;
}

.gx-trial-name {
    width: 47%;
    overflow-wrap: anywhere;
    word-break: normal;
}

.gx-trial-number {
    width: 15%;
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.gx-trial-empty {
    padding: 30px 15px !important;
    text-align: center;
    color: var(--gx-muted) !important;
}

.gx-trial-total-row td,
.gx-trial-reconciliation-row td,
.gx-trial-grand-total-row td {
    font-weight: 700;
}

.gx-trial-total-row td {
    background: var(--gx-primary-soft);
    color: var(--gx-primary);
    border-top: 2px solid var(--gx-primary);
}

.gx-trial-reconciliation-row td {
    background: #f8fafc;
    color: var(--gx-text);
}

.gx-trial-grand-total-row td {
    background: var(--gx-primary);
    color: #fff;
    border-top: 2px solid var(--gx-primary);
}

.gx-trial-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 17px;
}

.gx-trial-page-info {
    color: var(--gx-muted);
    font-size: .82rem;
}

.gx-trial-page-info strong {
    color: var(--gx-text);
    font-weight: 600;
}

.gx-trial-page-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    flex-wrap: wrap;
}

.gx-trial-page-link {
    min-width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 9px;
    border: 1px solid var(--gx-border);
    border-radius: 7px;
    background: #fff;
    color: var(--gx-text);
    text-decoration: none !important;
    font-size: .8rem;
    font-weight: 500;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.gx-trial-page-link:hover,
.gx-trial-page-link.active {
    background: var(--gx-primary);
    border-color: var(--gx-primary);
    color: #fff;
}

.gx-trial-page-link.disabled {
    opacity: .4;
    pointer-events: none;
}

.gx-trial-page-ellipsis {
    min-width: 24px;
    text-align: center;
    color: var(--gx-muted);
}

.gx-trial-print-table {
    display: none;
}

/* =========================================================
   TRIAL BALANCE - RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .gx-trial-filter-grid {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }

    .gx-trial-filter-grid .gx-form-field:last-child {
        grid-column: 1 / -1;
    }

    .gx-trial-table th,
    .gx-trial-table td {
        padding-left: 9px;
        padding-right: 9px;
    }

}

@media (max-width: 650px) {

    .gx-trial-filter-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gx-trial-filter-grid .gx-form-field:last-child {
        grid-column: auto;
    }

    .gx-trial-report-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .gx-trial-print-button {
        align-self: flex-start;
    }

    .gx-trial-report-type {
        padding-left: 0;
        border-left: 0;
    }

    .gx-trial-table th,
    .gx-trial-table td {
        padding: 8px 6px;
        font-size: .78rem;
    }

    .gx-trial-sl {
        width: 10%;
    }

    .gx-trial-code {
        width: 16%;
    }

    .gx-trial-name {
        width: 42%;
    }

    .gx-trial-number {
        width: 16%;
    }

    .gx-trial-pagination {
        align-items: flex-start;
        flex-direction: column;
    }

    .gx-trial-page-links {
        justify-content: flex-start;
    }

}

/* =========================================================
   TRIAL BALANCE - PRINT
========================================================= */

@page {
    size: A4 portrait;
    margin: 10mm;
}

@media print {

    html,
    body {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
    }

    body.gx-app-page {
        background: #fff !important;
    }

    .gx-app-shell {
        width: 100% !important;
        min-height: 0 !important;
        background: #fff !important;
    }

    .gx-app-shell > * {
        display: none !important;
    }

    .gx-app-shell .gx-main-panel {
        display: block !important;
        width: 100% !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .gx-main-panel > * {
        display: none !important;
    }

    .gx-main-panel .gx-page-content {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .gx-main-panel .gx-page-content > .container-fluid {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .gx-page-header,
    .gx-card-header,
    .gx-trial-filter-form,
    .gx-trial-report-head,
    .gx-trial-table-wrap,
    .gx-trial-pagination {
        display: none !important;
    }

    .gx-card {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: #fff !important;
    }

    .gx-card-body {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .gx-trial-print-table {
        display: table !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        border-collapse: collapse !important;
        table-layout: fixed !important;
        color: #000 !important;
        font-size: 8pt !important;
    }

    .gx-trial-print-table thead {
        display: table-header-group !important;
    }

    .gx-trial-print-table .print-heading-cell {
        padding: 0 !important;
        border: 0 !important;
        background: #fff !important;
        color: #000 !important;
    }

    .gx-trial-print-table .print-company {
        padding-bottom: 2mm !important;
        font-size: 15pt !important;
        font-weight: 700 !important;
        text-align: center !important;
    }

    .gx-trial-print-table .print-title {
        padding-bottom: 1.5mm !important;
        font-size: 12pt !important;
        font-weight: 700 !important;
        text-align: center !important;
    }

    .gx-trial-print-table .print-dates {
        padding-bottom: 1mm !important;
        font-size: 9pt !important;
        font-weight: 600 !important;
        text-align: center !important;
    }

    .gx-trial-print-table .print-type {
        padding-bottom: 3mm !important;
        font-size: 8.5pt !important;
        font-weight: 600 !important;
        text-align: center !important;
    }

    .gx-trial-print-table .print-columns th {
        padding: 4px 4px !important;
        background: #fff !important;
        color: #000 !important;
        border-top: 1px solid #000 !important;
        border-bottom: 1px solid #000 !important;
        font-size: 7.5pt !important;
        font-weight: 700 !important;
        text-transform: none !important;
        letter-spacing: 0 !important;
        white-space: nowrap !important;
    }

    .gx-trial-print-table tbody td {
        padding: 3px 4px !important;
        background: #fff !important;
        color: #000 !important;
        border-bottom: 1px solid #d1d5db !important;
        font-size: 7.5pt !important;
        vertical-align: top !important;
    }

    .gx-trial-print-table .gx-trial-sl {
        width: 8% !important;
        text-align: center !important;
    }

    .gx-trial-print-table .gx-trial-code {
        width: 17% !important;
    }

    .gx-trial-print-table .gx-trial-name {
        width: 45% !important;
        min-width: 0 !important;
        overflow-wrap: anywhere !important;
    }

    .gx-trial-print-table .gx-trial-number {
        width: 15% !important;
        text-align: right !important;
        white-space: nowrap !important;
    }

    .gx-trial-print-table .gx-trial-total-row td,
    .gx-trial-print-table .gx-trial-reconciliation-row td,
    .gx-trial-print-table .gx-trial-grand-total-row td {
        background: #fff !important;
        color: #000 !important;
        font-weight: 700 !important;
        border-top: 1px solid #000 !important;
        border-bottom: 1px solid #000 !important;
    }

    .gx-trial-print-table tr {
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }
}
/* =========================================================
   ACCESS DENIED
   GeniusXL-Lite current blue theme
========================================================= */

.gx-access-denied-wrapper {
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.gx-access-denied-card {
    width: 100%;
    max-width: 620px;
    background: #ffffff;
    border: 1px solid var(--gx-border, #e7eaf0);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.gx-access-denied-body {
    padding: 42px 40px;
    text-align: center;
}

.gx-access-denied-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gx-primary-soft, #eaf3ff);
    color: var(--gx-primary, #1572e8);
    font-size: 30px;
}

.gx-access-denied-title {
    margin: 0 0 12px;
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--gx-text, #2a2f5b);
}

.gx-access-denied-message {
    margin: 0 auto;
    max-width: 500px;
    color: var(--gx-muted, #6b7280);
    line-height: 1.65;
    font-size: 0.98rem;
}

.gx-access-denied-user {
    margin-top: 16px;
    color: var(--gx-text, #2a2f5b);
    font-size: 0.92rem;
}

.gx-access-denied-actions {
    margin-top: 28px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.gx-access-denied-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 170px;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.15s ease;
}

.gx-access-denied-button-primary {
    background: var(--gx-primary, #1572e8);
    color: #ffffff;
}

.gx-access-denied-button-primary:hover {
    background: var(--gx-primary-dark, #0f5fc4);
    color: #ffffff;
}

@media (max-width: 575.98px) {
    .gx-access-denied-body {
        padding: 34px 24px;
    }

    .gx-access-denied-wrapper {
        min-height: 420px;
        padding: 24px 12px;
    }
}
/* =========================================================
OWNER DASHBOARD - VER 2
Owner Control Center
GeniusXL-Lite approved blue theme
========================================================= */

.gx-owner-dashboard {
position: relative;
}

/* ---------------------------------------------------------
OWNER HERO
--------------------------------------------------------- */

.gx-owner-hero {
position: relative;
overflow: hidden;
margin-bottom: 25px;
padding: 28px 30px;
border: 1px solid #dbe8f8;
border-radius: 14px;
background:
radial-gradient(
circle at 92% 18%,
rgba(21, 114, 232, .12),
transparent 28%
),
linear-gradient(
135deg,
#ffffff 0%,
#f7faff 58%,
#eef6ff 100%
);
box-shadow: 0 5px 18px rgba(18, 38, 63, .045);
}

.gx-owner-hero::after {
content: "";
position: absolute;
right: -55px;
bottom: -70px;
width: 210px;
height: 210px;
border: 1px solid rgba(21, 114, 232, .10);
border-radius: 50%;
pointer-events: none;
}

.gx-owner-hero-content {
position: relative;
z-index: 2;
max-width: 760px;
}

.gx-owner-eyebrow {
display: inline-flex;
align-items: center;
gap: 7px;
margin-bottom: 10px;
color: var(--gx-primary);
font-size: 11px;
font-weight: 700;
letter-spacing: .09em;
text-transform: uppercase;
}

.gx-owner-eyebrow i {
font-size: 11px;
}

.gx-owner-hero-title {
margin: 0;
color: var(--gx-text);
font-size: clamp(1.65rem, 2.5vw, 2.25rem);
font-weight: 700;
line-height: 1.2;
letter-spacing: -.035em;
}

.gx-owner-hero-title span {
color: var(--gx-primary);
}

.gx-owner-hero-text {
max-width: 680px;
margin: 9px 0 0;
color: var(--gx-muted);
font-size: .94rem;
line-height: 1.65;
}

.gx-owner-hero-meta {
position: relative;
z-index: 2;
display: flex;
align-items: center;
gap: 9px;
flex-wrap: wrap;
margin-top: 20px;
}

.gx-owner-fy-badge {
display: inline-flex;
align-items: center;
gap: 8px;
min-height: 36px;
padding: 0 12px;
border: 1px solid #cfe1fb;
border-radius: 8px;
background: var(--gx-primary-soft);
color: var(--gx-primary);
font-size: 12px;
font-weight: 700;
}

.gx-owner-fy-badge i {
font-size: 12px;
}

.gx-owner-role-badge {
display: inline-flex;
align-items: center;
gap: 7px;
min-height: 36px;
padding: 0 12px;
border: 1px solid var(--gx-border);
border-radius: 8px;
background: #fff;
color: #64748b;
font-size: 12px;
font-weight: 600;
}

.gx-owner-role-badge i {
color: var(--gx-primary);
}

/* ---------------------------------------------------------
MANAGEMENT AREA HEADING
--------------------------------------------------------- */

.gx-owner-section-heading {
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: 15px;
margin: 0 0 13px;
}

.gx-owner-section-heading-main {
min-width: 0;
}

.gx-owner-section-title {
margin: 0;
color: var(--gx-text);
font-size: 16px;
font-weight: 700;
}

.gx-owner-section-subtitle {
margin: 4px 0 0;
color: var(--gx-muted);
font-size: 12px;
}

/* ---------------------------------------------------------
MANAGEMENT CARDS
--------------------------------------------------------- */

.gx-owner-module-card {
position: relative;
display: flex;
flex-direction: column;
height: 100%;
min-height: 154px;
padding: 20px;
overflow: hidden;
border: 1px solid var(--gx-card-border);
border-radius: 12px;
background: #fff;
box-shadow: 0 3px 12px rgba(18, 38, 63, .035);
text-decoration: none !important;
transition:
transform .18s ease,
box-shadow .18s ease,
border-color .18s ease;
}

.gx-owner-module-card::after {
content: "";
position: absolute;
right: -30px;
bottom: -42px;
width: 115px;
height: 115px;
border-radius: 50%;
background: var(--gx-primary-soft);
opacity: .75;
transition: transform .2s ease;
}

.gx-owner-module-card:hover {
transform: translateY(-3px);
border-color: #cfe1fb;
box-shadow: 0 10px 25px rgba(18, 38, 63, .075);
}

.gx-owner-module-card:hover::after {
transform: scale(1.12);
}

.gx-owner-module-top {
position: relative;
z-index: 2;
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 12px;
}

.gx-owner-module-icon {
width: 43px;
height: 43px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 11px;
background: var(--gx-primary-soft);
color: var(--gx-primary);
font-size: 17px;
}

.gx-owner-module-arrow {
width: 30px;
height: 30px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 50%;
background: #f7f9fc;
color: #8b95a3;
font-size: 11px;
transition:
background .18s ease,
color .18s ease,
transform .18s ease;
}

.gx-owner-module-card:hover .gx-owner-module-arrow {
background: var(--gx-primary-soft);
color: var(--gx-primary);
transform: translateX(2px);
}

.gx-owner-module-title {
position: relative;
z-index: 2;
margin-top: 17px;
color: var(--gx-text);
font-size: 14px;
font-weight: 700;
}

.gx-owner-module-description {
position: relative;
z-index: 2;
margin-top: 5px;
color: var(--gx-muted);
font-size: 12px;
line-height: 1.5;
}

.gx-owner-module-status {
position: relative;
z-index: 2;
display: inline-flex;
align-items: center;
gap: 6px;
margin-top: auto;
padding-top: 14px;
color: #198754;
font-size: 11px;
font-weight: 600;
}

.gx-owner-module-status i {
font-size: 7px;
}

/* ---------------------------------------------------------
OWNER CONTROL CENTER
--------------------------------------------------------- */

.gx-owner-control-card {
height: 100%;
border: 1px solid var(--gx-card-border);
border-radius: 12px;
background: #fff;
box-shadow: 0 3px 12px rgba(18, 38, 63, .035);
overflow: hidden;
}

.gx-owner-control-header {
display: flex;
align-items: center;
gap: 12px;
min-height: 66px;
padding: 14px 20px;
border-bottom: 1px solid #edf0f4;
}

.gx-owner-control-icon {
width: 38px;
height: 38px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 9px;
background: var(--gx-primary-soft);
color: var(--gx-primary);
font-size: 15px;
}

.gx-owner-control-title {
margin: 0;
color: var(--gx-text);
font-size: 15px;
font-weight: 700;
}

.gx-owner-control-subtitle {
margin: 3px 0 0;
color: var(--gx-muted);
font-size: 11px;
}

.gx-owner-control-body {
padding: 10px 20px 15px;
}

/* ---------------------------------------------------------
QUICK ACTION
--------------------------------------------------------- */

.gx-owner-quick-action {
display: flex;
align-items: center;
gap: 12px;
min-height: 58px;
padding: 9px 0;
border-bottom: 1px solid #f0f2f5;
color: var(--gx-text);
text-decoration: none !important;
transition: color .15s ease;
}

.gx-owner-quick-action:last-child {
border-bottom: 0;
}

.gx-owner-quick-action:hover {
color: var(--gx-primary);
}

.gx-owner-quick-icon {
width: 37px;
height: 37px;
flex: 0 0 37px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 9px;
background: #f5f8fc;
color: #687587;
font-size: 13px;
transition:
background .15s ease,
color .15s ease;
}

.gx-owner-quick-action:hover .gx-owner-quick-icon {
background: var(--gx-primary-soft);
color: var(--gx-primary);
}

.gx-owner-quick-text {
min-width: 0;
flex: 1;
}

.gx-owner-quick-title {
display: block;
color: inherit;
font-size: 13px;
font-weight: 650;
}

.gx-owner-quick-note {
display: block;
margin-top: 2px;
color: #929aa7;
font-size: 11px;
}

.gx-owner-quick-arrow {
color: #a0a8b4;
font-size: 10px;
}

/* ---------------------------------------------------------
SYSTEM STATUS
--------------------------------------------------------- */

.gx-owner-status-card {
height: 100%;
border: 1px solid var(--gx-card-border);
border-radius: 12px;
background: #fff;
box-shadow: 0 3px 12px rgba(18, 38, 63, .035);
overflow: hidden;
}

.gx-owner-status-header {
min-height: 66px;
display: flex;
align-items: center;
gap: 12px;
padding: 14px 20px;
border-bottom: 1px solid #edf0f4;
}

.gx-owner-status-icon {
width: 38px;
height: 38px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 9px;
background: var(--gx-primary-soft);
color: var(--gx-primary);
font-size: 15px;
}

.gx-owner-status-title {
margin: 0;
color: var(--gx-text);
font-size: 15px;
font-weight: 700;
}

.gx-owner-status-body {
padding: 7px 20px 13px;
}

.gx-owner-info-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 18px;
min-height: 43px;
border-bottom: 1px solid #f0f2f5;
}

.gx-owner-info-row:last-child {
border-bottom: 0;
}

.gx-owner-info-label {
color: #8a93a1;
font-size: 11px;
font-weight: 600;
}

.gx-owner-info-value {
max-width: 62%;
color: var(--gx-text);
font-size: 12px;
font-weight: 650;
text-align: right;
overflow-wrap: anywhere;
}

.gx-owner-info-value-primary {
color: var(--gx-primary);
}

.gx-owner-system-badge {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 4px 9px;
border-radius: 999px;
background: #eaf7ef;
color: #198754;
font-size: 10px;
font-weight: 700;
}

.gx-owner-system-badge i {
font-size: 6px;
}

/* ---------------------------------------------------------
MANAGEMENT OVERVIEW STRIP
--------------------------------------------------------- */

.gx-owner-overview-strip {
display: flex;
align-items: center;
gap: 14px;
margin-top: 22px;
padding: 13px 16px;
border: 1px solid var(--gx-border);
border-radius: 9px;
background: #fbfcfe;
}

.gx-owner-overview-strip-icon {
width: 32px;
height: 32px;
flex: 0 0 32px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 8px;
background: var(--gx-primary-soft);
color: var(--gx-primary);
font-size: 12px;
}

.gx-owner-overview-strip-text {
color: var(--gx-muted);
font-size: 11px;
line-height: 1.5;
}

.gx-owner-overview-strip-text strong {
color: var(--gx-text);
font-weight: 650;
}

/* ---------------------------------------------------------
RESPONSIVE
--------------------------------------------------------- */

@media (max-width: 1199.98px) {

```
.gx-owner-module-card {
    min-height: 148px;
}
```

}

@media (max-width: 767.98px) {

```
.gx-owner-hero {
    padding: 23px 20px;
    border-radius: 12px;
}

.gx-owner-hero-title {
    font-size: 1.55rem;
}

.gx-owner-hero-text {
    font-size: .88rem;
}

.gx-owner-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
}

.gx-owner-module-card {
    min-height: 145px;
}

.gx-owner-control-header,
.gx-owner-status-header {
    padding-left: 16px;
    padding-right: 16px;
}

.gx-owner-control-body,
.gx-owner-status-body {
    padding-left: 16px;
    padding-right: 16px;
}
```

}

@media (max-width: 575.98px) {

```
.gx-owner-hero-meta {
    align-items: stretch;
    flex-direction: column;
}

.gx-owner-fy-badge,
.gx-owner-role-badge {
    justify-content: center;
}

.gx-owner-info-row {
    gap: 10px;
}

.gx-owner-info-value {
    max-width: 58%;
}

.gx-owner-overview-strip {
    align-items: flex-start;
}
```

}
/* =========================================================
   GENIUSXL SWEETALERT - COMMON
   ========================================================= */

/*
 * GeniusXL standard SweetAlert styling
 *
 * Used for:
 * - Deactivate / Reactivate
 * - Delete confirmations
 * - Voucher cancellation
 * - Important actions
 * - Success / Error / Warning messages
 *
 * SweetAlert library:
 * assets/js/plugin/sweetalert/sweetalert.min.js
 */


/* ---------------------------------------------------------
   Overlay
   --------------------------------------------------------- */

.swal-overlay {
    background-color: rgba(24, 36, 56, 0.55);
    padding: 20px;
}


/* ---------------------------------------------------------
   Main Dialog
   --------------------------------------------------------- */

.swal-modal {
    width: 430px;
    max-width: calc(100% - 30px);
    border-radius: 14px;
    padding: 28px 28px 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    border: 1px solid #e7ebf2;
}


/* ---------------------------------------------------------
   Title
   --------------------------------------------------------- */

.swal-title {
    margin-top: 4px;
    margin-bottom: 10px;
    padding: 0 10px;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.35;
    color: #2a2f5b;
}


/* ---------------------------------------------------------
   Message
   --------------------------------------------------------- */

.swal-text {
    margin: 0 auto;
    padding: 0 8px;
    max-width: 360px;
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
    color: #596579;
}


/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */

.swal-footer {
    margin-top: 24px;
    padding-top: 0;
    text-align: center;
}


/* ---------------------------------------------------------
   Buttons - Common
   --------------------------------------------------------- */

.swal-button {
    min-width: 110px;
    min-height: 40px;
    padding: 9px 18px;
    border-radius: 7px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    box-shadow: none;
    border: 1px solid transparent;
    transition: all 0.15s ease-in-out;
}


/* ---------------------------------------------------------
   Cancel Button
   --------------------------------------------------------- */

.swal-button--cancel {
    background: #f1f3f7 !important;
    color: #596579 !important;
    border-color: #dfe3ea !important;
}

.swal-button--cancel:hover {
    background: #e7eaf0 !important;
    color: #3f4654 !important;
}


/* ---------------------------------------------------------
   Confirm Button
   --------------------------------------------------------- */

.swal-button--confirm {
    background: #1572e8 !important;
    color: #ffffff !important;
    border-color: #1572e8 !important;
}

.swal-button--confirm:hover {
    background: #0f5fc4 !important;
    border-color: #0f5fc4 !important;
}


/* ---------------------------------------------------------
   Danger Button
   --------------------------------------------------------- */

.swal-button--danger {
    background: #dc3545 !important;
    color: #ffffff !important;
    border-color: #dc3545 !important;
}

.swal-button--danger:hover {
    background: #bb2d3b !important;
    border-color: #bb2d3b !important;
}


/* ---------------------------------------------------------
   Success Button
   --------------------------------------------------------- */

.swal-button--success {
    background: #198754 !important;
    color: #ffffff !important;
    border-color: #198754 !important;
}

.swal-button--success:hover {
    background: #157347 !important;
    border-color: #157347 !important;
}


/* ---------------------------------------------------------
   Warning Button
   --------------------------------------------------------- */

.swal-button--warning {
    background: #f0ad4e !important;
    color: #ffffff !important;
    border-color: #f0ad4e !important;
}

.swal-button--warning:hover {
    background: #ec9a24 !important;
    border-color: #ec9a24 !important;
}


/* ---------------------------------------------------------
   SweetAlert Icons
   --------------------------------------------------------- */

.swal-icon {
    margin: 4px auto 18px;
}


/* Warning */

.swal-icon--warning {
    border-color: #f0ad4e;
}

.swal-icon--warning__body {
    background-color: #f0ad4e;
}

.swal-icon--warning__dot {
    background-color: #f0ad4e;
}


/* Success */

.swal-icon--success {
    border-color: #198754;
}

.swal-icon--success__line {
    background-color: #198754;
}

.swal-icon--success__ring {
    border-color: rgba(25, 135, 84, 0.25);
}


/* Error */

.swal-icon--error {
    border-color: #dc3545;
}

.swal-icon--error__line {
    background-color: #dc3545;
}


/* Info */

.swal-icon--info {
    border-color: #1572e8;
}

.swal-icon--info__circle {
    background-color: #1572e8;
}

.swal-icon--info__line {
    background-color: #1572e8;
}


/* ---------------------------------------------------------
   GeniusXL Record Information Box
   --------------------------------------------------------- */

.gx-swal-record {
    width: 100%;
    margin: 18px auto 4px;
    padding: 14px 16px;
    background: #f7faff;
    border: 1px solid #dce9f9;
    border-radius: 9px;
    text-align: left;
    box-sizing: border-box;
}


/* Record Label */

.gx-swal-record-label {
    display: block;
    margin-bottom: 5px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #7b8798;
}


/* Record Name */

.gx-swal-record-name {
    display: block;
    margin-bottom: 7px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: #2a2f5b;
    word-break: break-word;
}


/* Record Code */

.gx-swal-record-code {
    display: block;
    font-size: 13px;
    line-height: 1.4;
    color: #596579;
}


/* Record Code Value */

.gx-swal-record-code strong {
    font-weight: 600;
    color: #1572e8;
}


/* ---------------------------------------------------------
   Secondary Information
   --------------------------------------------------------- */

.gx-swal-info {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.5;
    color: #7b8798;
}


/* ---------------------------------------------------------
   SweetAlert Validation / Error Text
   --------------------------------------------------------- */

.swal-content__input,
.swal-content__textarea {
    border: 1px solid #dfe3ea;
    border-radius: 7px;
    box-shadow: none;
    font-family: inherit;
    font-size: 14px;
}

.swal-content__input:focus,
.swal-content__textarea:focus {
    border-color: #1572e8;
    box-shadow: 0 0 0 3px rgba(21, 114, 232, 0.12);
    outline: none;
}


/* ---------------------------------------------------------
   Disabled Button
   --------------------------------------------------------- */

.swal-button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}


/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */

@media (max-width: 575.98px) {

    .swal-overlay {
        padding: 12px;
    }

    .swal-modal {
        width: 100%;
        max-width: 100%;
        padding: 24px 20px 20px;
        border-radius: 12px;
    }

    .swal-title {
        font-size: 19px;
    }

    .swal-text {
        font-size: 13px;
        padding: 0 4px;
    }

    .swal-footer {
        margin-top: 20px;
    }

    .swal-button {
        min-width: 100px;
        padding: 8px 14px;
        font-size: 13px;
    }

    .gx-swal-record {
        padding: 12px 14px;
    }
}


/* =========================================================
   END - GENIUSXL SWEETALERT - COMMON
   ========================================================= */
/* ==========================================================================
   GeniusXL-Lite
   Ledger / Financial Year Compact Bar
   ========================================================================== */

.gx-ledger-fy-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    width: 100%;
    min-height: 52px;

    margin-bottom: 18px;
    padding: 9px 16px;

    background: #ffffff;
    border: 1px solid #e4e9f1;
    border-left: 4px solid #3b82f6;
    border-radius: 8px;

    box-shadow: 0 2px 8px rgba(31, 41, 55, 0.05);
}

/* Financial Year */

.gx-ledger-fy-main {
    display: flex;
    align-items: center;
    gap: 9px;

    white-space: nowrap;
}

.gx-ledger-fy-calendar {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    border-radius: 6px;

    background: #eef5ff;
    color: #3b82f6;

    font-size: 14px;
}

.gx-ledger-fy-caption {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
}

.gx-ledger-fy-code {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
}

/* Dates */

.gx-ledger-fy-dates {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    white-space: nowrap;
}

.gx-ledger-fy-date {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.gx-ledger-fy-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #94a3b8;
    font-size: 11px;
}

/* Status */

.gx-ledger-fy-status {
    display: flex;
    align-items: center;

    white-space: nowrap;
}

.gx-ledger-status-current,
.gx-ledger-status-closed {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 5px 10px;

    border-radius: 20px;

    font-size: 11px;
    font-weight: 700;
}

.gx-ledger-status-current {
    background: #ecfdf5;
    color: #047857;
}

.gx-ledger-status-closed {
    background: #f1f5f9;
    color: #475569;
}

/* Responsive */

@media (max-width: 900px) {

    .gx-ledger-fy-bar {
        gap: 12px;
        flex-wrap: wrap;
    }

}

@media (max-width: 600px) {

    .gx-ledger-fy-bar {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .gx-ledger-fy-dates {
        justify-content: flex-start;
    }

}
/* ==========================================================================
   Ledger Print Improvements
   ========================================================================== */

.gx-ledger-print-page-number {
    display: none;
}

@media print {

    /*
    |--------------------------------------------------------------------------
    | Hide Screen-Only Financial Year Bar
    |--------------------------------------------------------------------------
    */

    .gx-ledger-fy-bar {
        display: none !important;
    }

    /*
    |--------------------------------------------------------------------------
    | Hide Screen UI
    |--------------------------------------------------------------------------
    */

    .gx-app-shell > .gx-main-panel > .gx-top-navbar,
    .gx-page-header,
    .gx-ledger-decorative-rule,
    .gx-ledger-filter,
    .gx-ledger-screen-report,
    .gx-ledger-table-wrap,
    .gx-ledger-pagination,
    .gx-left-menu,
    .gx-sidebar,
    .gx-navbar {
        display: none !important;
    }

    /*
    |--------------------------------------------------------------------------
    | Print Table
    |--------------------------------------------------------------------------
    */

    .gx-ledger-print-table {
        display: table !important;
        width: 100%;
        margin: 0;
        border-collapse: collapse;
        page-break-inside: auto;
    }

    .gx-ledger-print-table thead {
        display: table-header-group;
    }

    .gx-ledger-print-table tbody {
        display: table-row-group;
    }

    .gx-ledger-print-table tr {
        page-break-inside: avoid;
        page-break-after: auto;
    }

/* =========================================================
   COMMON PRINT PAGE NUMBER
   ========================================================= */

@media print {

    @page {
        size: A4 portrait;
        margin: 12mm 10mm 18mm 10mm;
    }

    .gx-print-page {
        position: relative;
    }

}

    /*
    |--------------------------------------------------------------------------
    | Page Setup
    |--------------------------------------------------------------------------
    */

    @page {
        size: A4 portrait;
        margin: 12mm 10mm 15mm 10mm;
    }

    /*
    |--------------------------------------------------------------------------
    | Print Heading
    |--------------------------------------------------------------------------
    */

    .gx-ledger-print-table .print-company {
        font-size: 16px;
        font-weight: 700;
        text-align: center;
        padding: 0 0 3px 0;
    }

    .gx-ledger-print-table .print-account {
        font-size: 11px;
        font-weight: 600;
        text-align: center;
        padding: 2px 0;
    }

    .gx-ledger-print-table .print-dates {
        font-size: 10px;
        font-weight: 500;
        text-align: center;
        padding: 2px 0 5px 0;
    }

    /*
    |--------------------------------------------------------------------------
    | Print Column Heading
    |--------------------------------------------------------------------------
    */

    .gx-ledger-print-table .print-columns th {
        font-size: 9px;
        font-weight: 700;
        padding: 4px 3px;

        border-top: 1px solid #222222;
        border-bottom: 1px solid #222222;
    }

    /*
    |--------------------------------------------------------------------------
    | Print Rows
    |--------------------------------------------------------------------------
    */

    .gx-ledger-print-table td {
        font-size: 8.5px;
        padding: 3px 3px;

        border-bottom: 1px solid #dddddd;

        vertical-align: top;
    }

    /*
    |--------------------------------------------------------------------------
    | Opening / Closing Rows
    |--------------------------------------------------------------------------
    */

    .gx-ledger-print-table .opening-row td {
        font-weight: 600;
    }

    .gx-ledger-print-table .closing-row td {
        font-weight: 700;

        border-top: 1.5px solid #111111;
        border-bottom: 1.5px solid #111111;
    }

    /*
    |--------------------------------------------------------------------------
    | Avoid Print Footer Overlap
    |--------------------------------------------------------------------------
    */

    .gx-ledger-print-table {
        margin-bottom: 10mm;
    }
}

