.measurements-window
{
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #111827;
}

/* ===================================== */
/* TOOLBAR */
/* ===================================== */

.measurements-toolbar
{
    height: 42px;

    display: flex;
    align-items: center;

    gap: 6px;

    padding: 0 12px;

    background: #0f172a;

    border-bottom:
        1px solid #29303d;

    flex-shrink: 0;
}

.measurements-page-info
{
    color: #cbd5e1;
    font-size: 13px;
}

.measurements-spacer
{
    flex: 1;
}

.measurements-nav-btn,
.measurements-mode-btn
{
    width: 28px;
    height: 28px;

    border: none;

    cursor: pointer;

    border-radius: 4px;

    background: #1e293b;

    color: #5eead4;
}

.measurements-mode-btn.active
{
    background: #5eead4;
    color: black;
}

.measurements-property-combo
{
    height: 32px;

    width: 180px;

    background: #111827;

    color: white;

    border: 1px solid #475569;

    border-radius: 4px;

    padding: 0 8px;
}

/* ===================================== */
/* CLIENT AREA */
/* ===================================== */

.measurements-client
{
    flex: 1;

    position: relative;

    overflow: hidden;

    min-height: 0;

    display: flex;
    flex-direction: column;
}

/* ===================================== */
/* CHART */
/* ===================================== */

.measurements-chart-wrapper
{
    flex: 1;

    position: relative;

    min-height: 0;

    padding: 12px;
}

.measurements-chart
{
    width: 100% !important;
    height: 100% !important;
}

/* ===================================== */
/* TABLE */
/* ===================================== */

.measurements-table
{
    display: flex;
    flex-direction: column;

    height: 100%;
}

.measurements-table-header,
.measurements-row
{
    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;
}

.measurements-table-header
{
    height: 38px;

    padding: 0 12px;

    background: #111827;

    border-bottom:
        1px solid #29303d;

    color: #5eead4;

    font-size: 13px;

    font-weight: 600;
}

.measurements-table-body
{
    flex: 1;

    overflow: auto;
}

.measurements-row
{
    min-height: 36px;

    padding: 0 12px;

    color: #cbd5e1;

    font-size: 12px;

    border-bottom:
        1px solid #29303d;
}

.measurements-row.even
{
    background: #111827;
}

.measurements-row.odd
{
    background: #0f172a;
}

.measurements-loading
{
    height: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: white;
}