.report-tabs{display:flex;gap:6px;border-bottom:1px solid var(--border);margin-bottom:16px;flex-wrap:wrap}.report-tabs label{padding:10px 14px;border:1px solid var(--border);border-bottom:0;border-radius:8px 8px 0 0;background:#f8fafc;cursor:pointer;font-weight:700;font-size:13px}.report-tabs input{margin-right:6px}.legacy-panel-title{background:var(--accent);color:#fff;margin:-18px -18px 16px;padding:11px 16px;border-radius:12px 12px 0 0;font-weight:700}
.transaction-filter-bar{background:#fff;border:1px solid #e7ebf2;border-radius:12px;padding:16px 18px;margin:0 0 16px;box-shadow:0 8px 24px rgba(15,23,42,.05)}.transaction-filter-form{display:flex;align-items:end;gap:18px;flex-wrap:wrap}.transaction-filter-form .form-group{min-width:250px}.legacy-orange-btn{height:40px;border:0;background:#f06423;color:#fff;border-radius:7px;font-weight:800;padding:0 16px;box-shadow:0 5px 12px rgba(240,100,35,.22)}.legacy-icon-btn{height:40px;min-width:40px;border:1px solid #cfd6df;background:#f8fafc;border-radius:7px;color:#334155;font-weight:800}.transaction-report-head{display:flex;align-items:center;justify-content:space-between;padding:2px 2px 12px}.transaction-report-head h2{font-size:20px;margin:0;color:#0f172a;font-weight:700}.old-report-box{background:#fff;border:1px solid #e5e7eb;border-radius:14px;box-shadow:0 14px 38px rgba(15,23,42,.08);padding:12px;overflow:hidden}.old-report-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 2px 10px;flex-wrap:wrap}.old-report-toolbar input{width:320px;max-width:50vw;border:1px solid #cfd6df;border-radius:8px;height:38px;padding:8px 11px}.old-report-scroll{max-height:calc(100vh - 260px);border-radius:10px;border:1px solid #d7d7d7}.old-report-table{font-size:11.8px;border-collapse:separate;border-spacing:0;min-width:1850px;width:max-content}.old-report-table th{background:#0c1220!important;color:#fff!important;font-size:11.5px;font-weight:650;border-right:1px solid rgba(255,255,255,.16);border-bottom:1px solid #111;padding:8px;position:sticky;top:0;z-index:5;white-space:normal;min-width:86px;cursor:pointer}.old-report-table th:after{content:'↕';float:right;color:#cfd6df;font-size:12px}.old-report-table td{border-right:1px solid #d6d6d6;border-bottom:1px solid #d6d6d6;padding:7px 8px;background:#fff;vertical-align:top;white-space:normal;min-width:82px;color:#111827}.old-report-table tr:hover td{background:#eef6ff!important}.old-report-table td.amount{text-align:right;white-space:nowrap}.old-report-table .dark-black-text-link{color:#0b4c91;text-decoration:underline;font-weight:650}.old-report-table .red-medium-bg{background:#dc9696!important}.old-report-table .blue-medium-bg{background:#b9d5f3!important}.old-report-table .green-medium-bg{background:#cfe8c4!important}.old-report-pagination{display:flex;justify-content:flex-end;gap:4px;padding:10px 0 0;flex-wrap:wrap}.old-report-pagination button{border:1px solid #d8dee8;background:#fff;border-radius:8px;min-width:32px;height:32px;font-weight:600}.old-report-pagination button.active{background:var(--primary);color:#fff;border-color:var(--primary)}.old-report-pagination button:disabled{opacity:.5;cursor:not-allowed}
.report-date-card{width:46px;border:1px solid #f4a62a;border-radius:6px;overflow:hidden;text-align:center;line-height:1;background:#fff}.report-date-card span{display:block;color:#fff;font-weight:600;font-size:9.5px;padding:2px}.report-date-card b{display:block;font-size:9.5px;padding:2px 0;font-weight:600;background:#fff}.report-date-card strong{display:block;font-size:13px;padding-bottom:4px;font-weight:600;background:#fff}.report-date-card.black span{background:#000}.report-date-card.green span{background:#0bb469}.report-date-card.yellow span{background:#ffc107;color:#111}
.report-page-shell{margin-bottom:14px}.modern-report-filter-card{background:linear-gradient(135deg,#fff 0%,#f9fbff 100%);border:1px solid #dce4ef;border-radius:14px;padding:14px 16px;box-shadow:0 8px 24px rgba(15,23,42,.06);overflow:visible}.modern-report-filter-form{display:flex;align-items:end;gap:14px;flex-wrap:wrap}.modern-filter-field{display:flex;flex-direction:column;gap:6px;min-width:230px}.modern-filter-field label{font-size:12px;font-weight:650;color:#273449}.modern-filter-actions{display:flex;align-items:center;gap:9px;margin-left:auto;flex-wrap:wrap}.modern-form-panel,.modern-report-card{border-radius:16px;border:1px solid #dce4ef;box-shadow:0 16px 40px rgba(15,23,42,.08);background:#fff}.modern-report-card{padding:12px;overflow:hidden}.modern-report-card-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:4px 4px 14px}.modern-report-card-head h2{font-size:20px;line-height:1.1;margin:0;color:#0f172a;font-weight:700}.modern-report-card-head p{margin:5px 0 0;color:#64748b;font-size:13px}.modern-report-count{min-width:88px;height:56px;border-radius:16px;background:#eef5ff;display:flex;align-items:center;justify-content:center;flex-direction:column;border:1px solid #dde9f8}.modern-report-count strong{font-size:22px;font-weight:800;color:#0f172a;line-height:1}.modern-report-count span{text-transform:uppercase;font-size:10px;color:#64748b;font-weight:800}.modern-table-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:9px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc;margin-bottom:10px;flex-wrap:wrap}.modern-search-wrap{height:36px;min-width:300px;max-width:560px;flex:1;display:flex;align-items:center;gap:10px;border:1px solid #d6deeb;border-radius:9px;background:#fff;padding:0 12px}.modern-search-wrap input{border:0;outline:0;width:100%;font-size:13px;background:transparent}.modern-table-tools{display:flex;align-items:center;gap:9px;color:#64748b;font-size:12px;flex-wrap:wrap}.modern-table-tools select{height:36px;border:1px solid #d6deeb;background:#fff;border-radius:9px;padding:0 10px;color:#0f172a}.modern-table-wrap{border:1px solid #d3dce8;border-radius:10px;background:#fff;overflow:auto;max-height:calc(100vh - 260px)}.modern-report-table{border-collapse:separate;border-spacing:0;background:#fff;min-width:1850px;width:max-content}.modern-report-table th{background:#0c1220!important;color:#fff!important;padding:8px;font-size:11.5px;font-weight:650}.modern-report-table td{padding:7px 8px;font-size:11.8px}.modern-empty-state{padding:40px;color:#64748b}
@media(max-width:900px){.modern-filter-field{min-width:100%;width:100%}.modern-filter-actions{width:100%;margin-left:0}.modern-filter-actions .btn-modern{flex:1;justify-content:center}.modern-search-wrap{min-width:100%;max-width:100%}.old-report-toolbar input{width:100%;max-width:100%}.transaction-filter-form .form-group{min-width:100%}}
@media (max-width: 767.98px) {

    .compact-report-toolbar {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 8px !important;
    }

        .compact-report-toolbar .modern-search-wrap {
            flex: 1 1 auto !important;
            width: auto !important;
            max-width: none !important;
            min-width: 60px !important;
        }

            .compact-report-toolbar .modern-search-wrap input {
                min-width: 0 !important;
                font-size: 12px !important;
            }

        .compact-report-toolbar .modern-table-tools {
            display: flex !important;
            flex: 0 0 auto !important;
            flex-wrap: nowrap !important;
            align-items: center !important;
            gap: 6px !important;
            width: auto !important;
        }

            .compact-report-toolbar .modern-table-tools .compact-row-count {
                white-space: nowrap !important;
                font-size: 11px !important;
                color: #64748b !important;
            }

            .compact-report-toolbar .modern-table-tools label {
                display: none !important;
            }

            .compact-report-toolbar .modern-table-tools select {
                width: 60px !important;
                min-width: 60px !important;
                height: 32px !important;
                padding: 0 6px !important;
                font-size: 12px !important;
            }
}
