:root {
    --sidebar-width: 230px;
}

body {
    background: #f5f6f8;
}

.auth-body {
    min-height: 100vh;
    background: #eef1f5;
}

.auth-card {
    width: 100%;
    max-width: 460px;
}

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

.app-sidebar {
    width: var(--sidebar-width);
    flex-shrink: 0;
    background: #1e2430;
    color: #fff;
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
}

.app-brand {
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}

.app-company-name {
    font-size: 0.85rem;
    color: #b7bfcc;
}

.app-sidebar .nav-link {
    color: #cfd6e3;
    border-radius: 6px;
}

.app-sidebar .nav-link:hover,
.app-sidebar .nav-link.active {
    background: #2c3444;
    color: #fff;
}

.app-sidebar-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #313a4c;
}

.app-main {
    flex-grow: 1;
    padding: 1.75rem 2rem;
    max-width: calc(100vw - var(--sidebar-width));
}

.card-table th {
    white-space: nowrap;
}

.text-right,
.text-end-num {
    text-align: right;
}

@media print {
    .app-sidebar, .no-print {
        display: none !important;
    }
    .app-main {
        max-width: 100%;
        padding: 0;
    }
}
