/* ATEB tizimi uchun WAVE (Frest) ustidan qo'shimcha stillar */
.card .card-title {
    text-transform: none;
}

.main-menu.menu-light .navigation > li > a {
    white-space: normal;
    display: flex;
    align-items: flex-start;
    line-height: 1.35;
}

.main-menu.menu-light .navigation > li > a > i {
    flex: none;
    margin-top: 0.1rem;
}

.main-menu.menu-light .navigation > li > a .menu-title {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

.main-menu .navigation .navigation-header span {
    white-space: normal;
}

.main-menu .navigation > li.disabled > a {
    opacity: 0.5;
    cursor: not-allowed;
}

.dropdown-user form .dropdown-item {
    cursor: pointer;
}

.dropdown-language form .dropdown-item {
    cursor: pointer;
}

.crud-toolbar .form-control {
    width: auto;
    min-width: 200px;
}

.crud-toolbar .has-icon-left .form-control {
    min-width: 260px;
}

/* Sidebar brand */
.main-menu .navbar-header .navbar-brand {
    display: flex;
    align-items: center;
    margin-top: 1.1rem;
}

.main-menu .navbar-header .brand-logo img {
    height: 36px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.main-menu .navbar-header .brand-logo .bx {
    font-size: 2rem;
    line-height: 1;
}

.main-menu .navbar-header .brand-text {
    font-size: 1.45rem;
    line-height: 1;
    padding-left: 0.6rem;
}

/* Login page */
.auth-page {
    background: #f3f4fb;
}

.auth-wrapper {
    display: flex;
    min-height: 100vh;
}

.auth-brand {
    position: relative;
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    color: #fff;
    text-align: center;
    background: radial-gradient(circle at 25% 20%, #24305e 0%, #131729 60%) center / cover no-repeat;
    overflow: hidden;
}

.auth-brand-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(19, 23, 41, 0.55) 0%, rgba(19, 23, 41, 0.9) 100%);
}

.auth-brand-content,
.auth-organization {
    position: relative;
    z-index: 1;
}

.auth-brand-content {
    max-width: 460px;
}

.auth-logo {
    height: 120px;
    width: auto;
    max-width: 320px;
    object-fit: contain;
    margin-bottom: 1.75rem;
}

.auth-logo-icon {
    width: 112px;
    height: 112px;
    margin: 0 auto 1.75rem;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(90, 141, 238, 0.15);
    box-shadow: 0 0 0 1px rgba(90, 141, 238, 0.35), 0 20px 50px rgba(90, 141, 238, 0.25);
}

.auth-logo-icon .bx {
    font-size: 4.5rem;
    color: #5a8dee;
}

.auth-title {
    color: #fff;
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.auth-description {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.auth-organization {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.95rem;
}

.auth-form-side {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4.5rem 1.5rem 3rem;
}

.auth-language {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 0.75rem;
    padding: 2.5rem 2.25rem;
    box-shadow: 0 10px 40px rgba(25, 42, 70, 0.08);
}

.auth-card-header {
    margin-bottom: 1.75rem;
}

.auth-card-brand {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #5a8dee;
}

.auth-card-brand img {
    max-height: 40px;
    margin-right: 0.6rem;
}

.auth-card-brand .bx {
    font-size: 2rem;
    margin-right: 0.5rem;
}

.auth-card .form-control-position {
    line-height: 3.1rem;
}

.auth-footer {
    margin: 2rem 0 0;
    font-size: 0.9rem;
}

@media (max-width: 767.98px) {
    .auth-brand {
        display: none;
    }
}

.balance-total {
    font-size: 1.05rem;
    white-space: nowrap;
}

.cursor-pointer {
    cursor: pointer;
}

.receipts-table td,
.receipts-table th {
    padding: 0.75rem 1rem;
}

/* Header: keep the page title and breadcrumbs on one line */
.header-navbar .bookmark-wrapper,
.header-navbar .main-bread,
.header-navbar .breadcrumb-wrapper {
    min-width: 0;
}

.header-navbar .main-bread {
    flex-wrap: nowrap;
    align-items: center;
}

.header-navbar .content-header-title {
    white-space: nowrap;
}

.header-navbar .breadcrumb-wrapper {
    overflow: hidden;
}

.header-navbar .breadcrumb {
    flex-wrap: nowrap;
    white-space: nowrap;
}

.header-navbar .breadcrumb-item.active {
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-navbar .navbar-collapse {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}

.header-navbar .bookmark-wrapper {
    flex: 1 1 auto;
    overflow: hidden;
}

.header-navbar .navbar-nav.float-right {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    flex-direction: row;
}

/* Reports */
.report-table th,
.report-table td {
    padding: 0.5rem 0.75rem;
    vertical-align: middle;
}

.report-table .report-group th {
    background: #f2f4f8;
}

/* Printing: only the report/document itself */
.print-only {
    display: none;
}

@media print {
    @page {
        size: A4 landscape;
        margin: 12mm;
    }

    .main-menu, .header-navbar, .header-navbar-shadow, .footer, .no-print, .alert, #crud-modal {
        display: none !important;
    }

    .print-only {
        display: block;
    }

    body, .app-content, .content-wrapper {
        background: #fff !important;
    }

    .app-content.content {
        margin: 0 !important;
        padding: 0 !important;
    }

    .card {
        box-shadow: none !important;
        border: 0 !important;
    }

    .table-responsive {
        overflow: visible !important;
    }

    .report-table {
        font-size: 11px;
    }

    body, .card-title, .text-muted, .report-table th, .report-table td {
        color: #000 !important;
    }

    .report-table th, .report-table td {
        border-color: #000 !important;
    }
}

/* Dashboard cards */
.dashboard-stat {
    display: block;
    transition: box-shadow 0.2s;
}

.dashboard-stat:hover {
    box-shadow: 0 6px 24px rgba(25, 42, 70, 0.15);
}

.dashboard-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(90, 141, 238, 0.12);
    color: #5a8dee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex: none;
}
