﻿body html {
    width: 100%;
    height: 100%;
}

html,
body,
app-root {
    width: 100%;
    height: 100%;
    margin: 0;
    font-family: Roboto;
    font-size: 13px;
}

ul {
    list-style-type: none;
    padding-left: 0;
}

.tab {
    padding-top: 2px;
    padding-bottom: 18px;
    cursor: pointer
}

.active {
    background-color: burlywood;
}

.e-dbrd-blueWaitingIndcator {
    -webkit-animation: rotate 2s linear infinite;
    animation: rotate 2s linear infinite;
    height: 54px;
    width: 54px;
    top: 50%;
    left: 50%;
    position: relative;
}

.e-waiting {
    position: fixed;
    display: block;
    margin: 0px auto;
    width: 54px;
    height: 54px;
    zoom: 0.5;
    margin-left: 55px;
}

#container {
    width: 13%;
    float: left;
    height: 100%;
    float: left;
    background: #f4f4f4;
    height: 100%;
    box-shadow: 2px 0 4px 0 rgba(0, 0, 0, .12);
    overflow: auto;
    overflow-x: hidden;
}

#grid-title {
    font-size: 17px;
    border-bottom: 1px solid #333;
    padding: 15px;
}

#panel {
    width: 100%;
    float: left;
    background: #f4f4f4;
    overflow: auto;
}

#dashboard {
    width: 100%;
    float: left;
    height: 100%;
    display: block;
}

.dashboard-item {
    padding: 10px;
    border-bottom: 1px solid #ccc;
    cursor: pointer;
}

#viewer-section {
    width: 87%;
    height: 100%;
    float: left;
}

#viewer-header {
    padding: 10px;
    display: block;
    float: left;
    width: 100%;
}

#create-dashboard {
    float: right;
    margin-right: 20px;
    background: #0565ff;
    border: 0;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    height: 28px;
    line-height: 28px;
    min-width: 90px;
    outline: none;
    text-align: center;
    border: 1px solid #0450cc;
}

#edit-dashboard {
    float: right;
    background: #fff;
    margin-right: 20px;
    border: 0;
    border-radius: 4px;
    color: #333;
    cursor: pointer;
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    height: 28px;
    line-height: 28px;
    min-width: 90px;
    outline: none;
    text-align: center;
    border: 1px solid #b3b3b3;
}

#dashboardDesigner {
    height: 900px;
    border: 2px solid #333;
}

#custom_ok_button {
    margin: 10px 0;
    padding: 4px 8px;
    font-size: 16px;
    line-height: 24px;
    border-radius: 4px;
    background: #fff;
    border: 0.5px solid #e2e8f0;
    color: #2d3748;
    float: right;
    margin-left: 12px;
    margin-right: 17px;
}

#sample_dialog {
    width: 385px;
}

#app-layout {
    display: flex;
    width: 100%;
    height: 100%;
}

#sidebar {
    width: 240px;
    min-width: 240px;
    height: 100%;
    background: #12233e;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    box-shadow: 2px 0 6px 0 rgba(0, 0, 0, .15);
}

#sidebar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#sidebar-logo-img {
    max-width: 100%;
    height: auto;
    max-height: 48px;
}

#sidebar-menu {
    list-style: none;
    margin: 0;
    padding: 8px 0;
    flex: 1;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    font-size: 13px;
    color: #c7d3e3;
    cursor: pointer;
    white-space: nowrap;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.menu-item.active {
    background: #1c3a63;
    color: #ffffff;
    border-left: 3px solid #4d9dff;
}

.menu-icon {
    width: 18px;
    text-align: center;
    font-size: 14px;
}

#main-content {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#main-content #viewer-section {
    width: 100%;
    height: 100%;
}

#transactions-page {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    padding: 24px 28px;
    box-sizing: border-box;
    background: #f5f7fa;
    font-family: Roboto, Arial, sans-serif;
}

.tx-header h2 {
    margin: 0;
    font-size: 22px;
    color: #12233e;
    font-weight: 700;
}

.tx-subtitle {
    margin: 4px 0 20px 0;
    color: #6b7686;
    font-size: 13px;
}

.tx-kpi-row {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.tx-kpi-card {
    flex: 1;
    min-width: 200px;
    background: #ffffff;
    border-radius: 8px;
    padding: 16px 18px;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, .08);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tx-kpi-label {
    font-size: 12px;
    color: #6b7686;
}

.tx-kpi-value {
    font-size: 20px;
    font-weight: 700;
    color: #12233e;
}

.tx-status-ok {
    color: #1a9e5b;
}

.tx-grid-container {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, .08);
    overflow: hidden;
}

.tx-grid {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.tx-grid thead th {
    text-align: left;
    padding: 12px 16px;
    background: #f0f3f8;
    color: #4a5568;
    font-weight: 600;
    border-bottom: 1px solid #e2e8f0;
}

.tx-grid tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid #eef1f5;
    color: #2d3748;
}

.tx-grid tbody tr:hover {
    background: #f9fafc;
}

.tx-amount {
    text-align: right;
    font-family: 'Courier New', monospace;
}

.tx-type {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.tx-credit {
    background: #e6f7ee;
    color: #1a9e5b;
}

.tx-debit {
    background: #fdeaea;
    color: #d64545;
}