:root {
    --ejoin-main: #728C04;
    --ejoin-main-dark: #728C04;
    --ejoin-main-soft: rgba(114, 140, 4, .3);
    --ejoin-accent: #C73159;
    --ejoin-bg: #CCC;
    --ejoin-shadow: #444;
    --ejoin-surface: whitesmoke;
    --ejoin-text: #333;
    --ejoin-muted: #666;
    --ejoin-border: #BBB;
    --ejoin-border-strong: #888;
    --ejoin-danger: #D9534F;
    --ejoin-danger-dark: #B52B27;
    --ejoin-danger-soft: #FFE6E6;
    --ejoin-success: #28A745;
    --ejoin-success-soft: #E6FFE6;
    
    --ejoin-topbar-height: 50px;
    --ejoin-sidebar-width: 150px;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--ejoin-bg);
    color: var(--ejoin-text);
}

a {
    color: inherit;
    text-decoration: none;
}

button, input, select {
    font: inherit;
}

button {
    cursor: pointer;
    border: 1px solid var(--ejoin-accent);
    background: var(--ejoin-accent);
    color: #FFF;
    padding: 0.65rem 1rem;
    border-radius: 0.35rem;
    box-shadow: 0 0 5px rgba(0, 0, 0, .15);
}

button.secondary {
    background: #EEE;
    color: var(--ejoin-text);
    border-color: var(--ejoin-border-strong);
}

input:not([type="checkbox"]):not([type="radio"]), select {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--ejoin-border);
    border-radius: 0.35rem;
    background: #FFF;
}

.shell {
    min-height: 100vh;
}

.sidebar {
    position: fixed;
    top: var(--ejoin-topbar-height);
    left: 0;
    width: var(--ejoin-sidebar-width);
    height: calc(100vh - var(--ejoin-topbar-height));
    background: var(--ejoin-shadow);
    color: #FFF;
    padding: 1rem 0;
    box-shadow: 0 0 5px rgba(0, 0, 0, .25);
    overflow-y: auto;
}

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--ejoin-topbar-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0;
    background: #FFF;
    box-shadow: 0 0 5px rgba(0, 0, 0, .25);
}

.topbar-brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.topbar-brand-logo {
    height: 50px;
    width: 150px;
    padding: 0 20px;
    flex: 0 0 auto;
}

.topbar-brand-text {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    color: var(--ejoin-main);
}

.topbar-brand-text strong {
    margin: 0 15px;
    color: var(--ejoin-main);
    font-size: 1.5em;
    font-weight: 100;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-right: 1.5rem;
}

main {
    margin-left: var(--ejoin-sidebar-width);
    padding-top: var(--ejoin-topbar-height);
}

.content {
    margin: 20px 15px 10px 30px;
    padding: 24px;
    background: var(--ejoin-surface);
    border: 1px solid var(--ejoin-bg);
    border-radius: 8px;
    box-shadow: 0 0 5px var(--ejoin-shadow);
}

.content > h1 {
    margin: 0 0 1rem;
    color: var(--ejoin-shadow);
    font-size: 20px;
    font-weight: 700;
}

.content > h1:focus,
.content > h1:focus-visible {
    outline: none;
}

.content > h2,
.content > h3,
.content h4,
.content h5 {
    color: var(--ejoin-shadow);
}


.navmenu {
    margin-top: 0;
}

.navmenu a {
    display: block;
    padding: 10px 0.6rem;
    color: #FFF;
    border-bottom: 1px solid rgba(255, 255, 255, 0.9);
    transition: ease-out .2s;
}

.navmenu a:hover {
    background: #333;
    color: #FFF;
}

.navmenu a.active {
    background: var(--ejoin-main-dark);
    color: #FFF;
}

.navmenu a span {
    display: block;
}

.toolbar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.toolbar input {
    max-width: 320px;
}

.toolbar-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--muted-text);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: #FFF;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 0 5px var(--ejoin-shadow);
}

.data-table th,
.data-table td {
    text-align: left;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid #DDD;
}

.data-table th {
    background: var(--ejoin-main-dark);
    color: #FFF;
}

.manager-column {
    text-align: center !important;
}

.manager-cell {
    text-align: center !important;
    vertical-align: middle;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
}

.manager-checkbox-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
}

.manager-checkbox {
    width: 16px !important;
    min-width: 16px;
    max-width: 16px;
    height: 16px;
    margin: 0;
    display: block;
    padding: 0;
    box-shadow: none;
}

.manager-checkbox:not([disabled]) {
    cursor: pointer;
}

.manager-checkbox[disabled] {
    cursor: not-allowed;
    opacity: 0.4;
}

.manager-limit-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.8rem;
    border: 1px solid rgba(204, 51, 51, 0.22);
    border-radius: 5px;
    background: rgba(204, 51, 51, 0.08);
    color: #9f2424;
    font-size: 0.95rem;
}

.manager-limit-hint-icon {
    line-height: 1;
    font-size: 0.95rem;
}

.actions-column,
.actions-cell {
    white-space: nowrap;
}

.date-time-column {
    width: 260px;
    min-width: 260px;
    white-space: nowrap;
}

.card {
    background: #FFF;
    border: 1px solid var(--ejoin-bg);
    border-radius: 5px;
    padding: 18px;
    box-shadow: 0 0 5px var(--ejoin-shadow);
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.detail-list {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 0.5rem 0.75rem;
    margin: 0;
}

.detail-list dt {
    font-weight: 700;
    align-self: start;
}

.detail-list dd {
    margin: 0;
    align-self: start;
}


.autocomplete-decoy {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.password-input-wrap {
    display: flex;
    align-items: stretch;
    gap: 0.35rem;
}

.password-input-wrap input {
    min-width: 0;
}

.password-visibility-toggle {
    flex: 0 0 auto;
    padding: 0.55rem 0.75rem;
    min-width: 2.75rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.grid-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.stack {
    display: flex;
    flex-direction: column;
}

.gap-lg {
    gap: 1rem;
}

.muted {
    color: var(--ejoin-muted);
}

.error-banner,
.success-banner {
    margin: 1rem 0 1.25rem;
    padding: 0.85rem 1rem;
    border-radius: 5px;
}

.error-banner {
    background: var(--ejoin-danger-soft);
    color: var(--ejoin-danger-dark);
    border: 1px solid var(--ejoin-danger);
}

.success-banner {
    background: var(--ejoin-success-soft);
    color: var(--ejoin-success);
    border: 1px solid rgba(46,125,50,.35);
}

.login-layout {
    min-height: 100vh;
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: var(--ejoin-bg);
}

.login-page--wui .login-shell {
    width: min(500px, 100%);
}

.login-page--wui .login-panel {
    background: #FFF;
    width: 100%;
    box-shadow: 4px 4px 18px var(--ejoin-shadow);
    padding-bottom: 18px;
    border-radius: 5px;
    overflow: hidden;
}

.login-page--wui .login-logo {
    display: block;
    margin: 15px auto;
    max-width: 65%;
    max-height: 140px;
}

.login-page--wui .login-panel h2 {
    margin: 0;
    background: #94B117;
    color: #FFF;
    font-weight: 700;
    padding: 11px;
    text-align: center;
    font-size: 24px;
}

.login-page--wui .login-fields {
    display: flex;
    flex-direction: column;
    align-content: center;
    padding: 2rem;
    gap: 0;
}

.login-page--wui .login-fields .form-field {
    display: flex;
    flex-direction: column;
    padding-bottom: 1.5rem;
    gap: 0;
}

.login-page--wui .form-field label {
    margin: 0;
    font-size: 0.95rem;
}

.login-page--wui .form-field input {
    margin-top: 0.2rem;
    font-size: 1rem;
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--ejoin-border);
    border-radius: 0.35rem;
    background: #FFF;
}

.login-page--wui .login-submit {
    border: 1px solid #BBB;
    display: block;
    text-decoration: none;
    background: #DDD;
    width: 100%;
    padding: 0.65rem 0.75rem;
    border-radius: 0.35rem;
    margin: 0;
    color: #333;
    text-align: center;
    cursor: pointer;
    box-shadow: none;
    font-size: 1rem;
}

.login-page--wui .login-submit:hover {
    background: #CCC;
}

.login-page--wui .alert {
    margin: 20px auto;
    padding: 12px 16px;
    border: 1px solid #D9534F;
    background-color: #FBE9E7;
    color: #B52B27;
    border-radius: 6px;
    text-align: left;
    display: block;
    width: calc(100% - 40px);
}

pre {
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
    background: #333;
    color: #FFF;
    padding: 1rem;
    border-radius: 0.75rem;
}

@media (max-width: 960px) {
    .sidebar {
        display: none;
    }

    main {
        margin-left: 0;
    }

    .topbar {
        padding-inline: 1rem;
    }

    .topbar-brand-logo {
        height: 50px;
        width: 150px;
        padding: 0 20px;
    }

    .content {
        margin: 20px 15px 10px;
        padding: 20px;
    }

    .detail-list,
    .grid-two {
        grid-template-columns: 1fr;
    }
}


.overview-card {
    margin-bottom: 1rem;
}

.detail-actions-grid {
    align-items: start;
    margin-top: 1rem;
}

.checkbox-field {
    justify-content: center;
}

.checkbox-field input {
    width: auto;
    align-self: flex-start;
    margin-top: 0.2rem;
}

.table-title {
    font-weight: 700;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
}

.status-pill.online {
    background: rgba(114, 140, 4, .18);
    color: #728C04;
}

.status-pill.offline {
    background: #FBE9E7;
    color: #C73159;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
}

.kpi-card {
    border: 1px solid var(--ejoin-bg);
    border-radius: 5px;
    padding: 0.9rem;
    background: whitesmoke;
}

.kpi-label {
    color: var(--ejoin-muted);
    font-size: 0.82rem;
    margin-bottom: 0.35rem;
}

.kpi-value {
    font-size: 1.15rem;
    font-weight: 700;
}

.kpi-value.small {
    font-size: 0.95rem;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.25rem;
}

.compact-table th,
.compact-table td {
    padding: 0.65rem 0.75rem;
}

.selected-row {
    background: rgba(114, 140, 4, .18);
}

.full-span {
    grid-column: 1 / -1;
}

.detail-sections-top,
.detail-session-grid {
    margin-top: 20px;
}

.chart-card {
    background: #FFF;
    border: 1px solid var(--ejoin-bg);
    border-radius: 5px;
    padding: 18px;
    box-shadow: 0 0 5px var(--ejoin-shadow);
}

.chart-header,
.chart-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.chart-svg {
    width: 100%;
    height: 240px;
    margin-top: 0.75rem;
    background: whitesmoke;
    border: 1px solid var(--ejoin-bg);
    border-radius: 5px;
}

.chart-axis {
    stroke: #BBB;
    stroke-width: 1;
}

.chart-line {
    fill: none;
    stroke: #728C04;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.chart-empty {
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed #BBB;
    border-radius: 5px;
    color: var(--ejoin-muted);
    margin-top: 0.75rem;
    background: whitesmoke;
}


.segmented-nav {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

button.segmented {
    background: #FFF;
    color: #333;
    border-color: #BBB;
}

button.segmented.active {
    background: var(--ejoin-main);
    color: #FFF;
    border-color: var(--ejoin-main);
}

button.danger {
    background: var(--ejoin-accent);
    border-color: var(--ejoin-accent);
    color: #FFF;
}


.table-scroll {
    width: 100%;
    overflow-x: auto;
}

.table-scroll-vertical {
    max-height: 24rem;
    overflow-y: auto;
}

.session-table tbody tr {
    cursor: pointer;
}

.clickable-row:hover {
    background: #F8F8F8;
}


.history-layout {
    display: grid;
    grid-template-columns: minmax(22rem, 34rem) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.history-list-panel,
.history-detail-panel {
    min-height: 100%;
}

.history-table-scroll {
    max-height: min(70vh, 52rem);
}

.event-history-table-scroll {
    max-height: min(55vh, 28rem);
}

.history-session-table {
    min-width: 100%;
}


.session-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.compact-detail-list {
    margin: 0;
}

.history-chart-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.history-chart-selector-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-width: min(100%, 15rem);
    padding: 0.2rem 0.2rem 0.2rem 0.65rem;
    border: 1px solid #BBB;
    border-radius: 0.65rem;
    background: #FFF;
}

.history-chart-bolt {
    font-size: 1rem;
    line-height: 1;
    color: #728C04;
}

.history-chart-selector {
    min-width: 12rem;
    border: 0;
    padding: 0.45rem 0.5rem 0.45rem 0;
    background: transparent;
}

.history-chart-selector:focus {
    outline: none;
}

.history-detail-panel .interactive-chart-card {
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.interactive-chart-header {
    flex-wrap: wrap;
    align-items: center;
}

.interactive-chart-canvas-wrap {
    position: relative;
    min-height: 24rem;
    height: clamp(24rem, 46vh, 36rem);
    margin-top: 0;
    padding: 0.75rem;
    border: 1px solid #BBB;
    border-radius: 5px;
    background: #FFF;
}

.interactive-chart-canvas {
    width: 100%;
    height: 100%;
}

.assignment-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.assignment-row-aligned {
    align-items: baseline;
    justify-content: flex-start;
}

.assignment-value {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
    flex-wrap: wrap;
    flex: 0 1 auto;
    min-width: 0;
}

.assignment-row-aligned .danger {
    align-self: center;
}

.assignment-select {
    width: min(26rem, 100%);
    flex: 0 1 26rem;
}

.fleet-assignment-panel {
    display: grid;
    gap: 0.85rem;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--surface-muted);
}

.fleet-assignment-panel h3 {
    margin: 0 0 0.25rem;
}

@media (max-width: 1080px) {
    .history-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .assignment-row,
    .assignment-row-aligned {
        align-items: stretch;
    }

    .assignment-value {
        display: flex;
    }

    .assignment-select,
    .history-chart-selector,
    .history-chart-selector-wrap {
        width: 100%;
        flex-basis: 100%;
    }

    .session-summary-grid {
        grid-template-columns: 1fr;
    }

    .interactive-chart-canvas-wrap {
        min-height: 20rem;
        height: 20rem;
    }
}


.user-edit-card {
    max-width: 56rem;
}

.user-edit-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.user-edit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(14rem, 1fr));
    gap: 0.75rem 1rem;
}

.user-edit-wide {
    grid-column: 1 / -1;
}

.user-edit-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.user-metadata-grid {
    margin-top: 0.25rem;
}

.user-detail-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.user-info-grid,
.charger-info-grid {
    align-items: start;
}

.user-info-grid {
    grid-template-columns: repeat(2, minmax(18rem, 24rem));
    justify-content: start;
    align-items: start;
    width: fit-content;
    max-width: 100%;
    column-gap: 1.25rem;
}

.user-inline-actions {
    align-items: center;
}

.user-inline-toolbar {
    margin-bottom: 0;
    width: min(100%, 34rem);
}

.user-chargers-toolbar-inline {
    justify-content: flex-start;
    flex-wrap: nowrap;
}

.user-add-charger-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.user-add-charger-label {
    font-weight: 700;
    white-space: nowrap;
}

.user-add-charger-select {
    flex: 0 1 22rem;
    min-width: min(100%, 18rem);
}

.user-add-charger-message {
    white-space: nowrap;
}

.row-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

@media (max-width: 720px) {
    .row-actions,
    .user-inline-toolbar,
    .user-add-charger-row,
    .user-add-charger-select {
        width: 100%;
    }

    .user-chargers-toolbar-inline {
        flex-wrap: wrap;
        justify-content: stretch;
    }

    .row-actions button,
    .user-inline-toolbar button,
    .user-add-charger-row button {
        width: 100%;
    }

    .user-add-charger-message {
        white-space: normal;
    }

    .user-edit-grid {
        grid-template-columns: 1fr;
    }

    .user-edit-actions button {
        width: 100%;
    }
}

.content > :last-child {
    margin-bottom: 0;
}

.card > h2,
.card > h3,
.section-header > h2,
.section-header > h3 {
    margin: 0;
    color: var(--ejoin-shadow);
    font-size: 20px;
    font-weight: 500;
}

.card > p:first-of-type,
.section-header + p {
    margin-top: 0.5rem;
}

.table-scroll {
    border-radius: 5px;
}

.table-width-limit {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
}

.table-link {
    color: var(--ejoin-accent);
    font-weight: 600;
}

.table-link:hover {
    text-decoration: underline;
}

.table-link-neutral {
    color: var(--ejoin-text);
    font-weight: 700;
}

.table-link-neutral:hover {
    color: var(--ejoin-text);
    text-decoration: underline;
}

.history-list-panel .table-scroll,
.history-detail-panel .table-scroll {
    margin-top: 0.5rem;
}

.checkbox-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.checkbox-inline input {
    margin: 0;
}

.user-chargers-table,
.charger-users-table,
.charger-events-table,
.user-events-table,
.chargers-list-table,
.users-list-table,
.sessions-list-table,
.history-session-table {
    table-layout: fixed;
}

.user-chargers-table .manager-column,
.user-chargers-table .manager-cell,
.charger-users-table .manager-column,
.charger-users-table .manager-cell {
    text-align: center !important;
}

.users-list-table,
.charger-users-table {
    width: auto;
    max-width: 100%;
    margin-left: 0;
}

.users-list-table {
    width: calc(26rem + 260px + 90px + 170px + 190px + 260px + 100px);
    max-width: none;
}

.charger-users-table {
    width: calc(26rem + 170px + 180px + 92px + 120px);
}

.chargers-list-table {
    min-width: 1430px;
    width: 1430px;
}

.users-list-table th:nth-child(1),
.users-list-table td:nth-child(1),
.charger-users-table th:nth-child(1),
.charger-users-table td:nth-child(1) {
    width: 26rem;
    max-width: 26rem;
}

.users-list-table td:nth-child(1),
.charger-users-table td:nth-child(1) {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.users-list-table th:nth-child(2),
.users-list-table td:nth-child(2) {
    width: 260px;
    white-space: nowrap;
}

.users-list-table th:nth-child(3),
.users-list-table td:nth-child(3) {
    width: 90px;
}

.users-list-table th:nth-child(4),
.users-list-table td:nth-child(4) {
    width: 170px;
}

.users-list-table th:nth-child(5),
.users-list-table td:nth-child(5) {
    width: 190px;
    white-space: nowrap;
}

.users-list-table th:nth-child(7),
.users-list-table td:nth-child(7) {
    width: 100px;
}

/* Eight charger columns: SN, backend OCPP ID, FW, status, fleet, energy, time, action. */
.chargers-list-table {
    min-width: 1415px;
}

.chargers-list-table th:nth-child(1),
.chargers-list-table td:nth-child(1) {
    width: 190px;
    min-width: 190px;
    overflow-wrap: anywhere;
}

.chargers-list-table th:nth-child(2),
.chargers-list-table td:nth-child(2) {
    width: 190px;
    min-width: 190px;
    overflow-wrap: anywhere;
}

.chargers-list-table th:nth-child(3),
.chargers-list-table td:nth-child(3) {
    width: 230px;
    min-width: 230px;
    overflow-wrap: anywhere;
}

.chargers-list-table th:nth-child(4),
.chargers-list-table td:nth-child(4) {
    width: 125px;
    min-width: 125px;
    overflow-wrap: anywhere;
}

.chargers-list-table th:nth-child(5),
.chargers-list-table td:nth-child(5) {
    width: 145px;
    min-width: 145px;
    overflow-wrap: anywhere;
}

.chargers-list-table th:nth-child(6),
.chargers-list-table td:nth-child(6) {
    width: 125px;
    min-width: 125px;
    overflow-wrap: anywhere;
}

.chargers-list-table th:nth-child(7),
.chargers-list-table td:nth-child(7) {
    width: 260px;
    min-width: 260px;
    overflow-wrap: anywhere;
}

.chargers-list-table th:nth-child(8),
.chargers-list-table td:nth-child(8) {
    width: 125px;
    min-width: 125px;
    overflow-wrap: anywhere;
}

.sessions-list-table th:nth-child(1),
.sessions-list-table td:nth-child(1) {
    width: 200px;
}

.sessions-list-table th:nth-child(2),
.sessions-list-table td:nth-child(2),
.sessions-list-table th:nth-child(3),
.sessions-list-table td:nth-child(3) {
    width: 150px;
}

.sessions-list-table th:nth-child(4),
.sessions-list-table td:nth-child(4) {
    width: 110px;
}

.sessions-list-table th:nth-child(5),
.sessions-list-table td:nth-child(5) {
    width: 120px;
}

.sessions-list-table th:nth-child(6),
.sessions-list-table td:nth-child(6) {
    width: 100px;
}

.charger-events-table th:nth-child(1),
.charger-events-table td:nth-child(1),
.user-events-table th:nth-child(1),
.user-events-table td:nth-child(1) {
    width: 190px;
}

.charger-events-table th:nth-child(2),
.charger-events-table td:nth-child(2),
.user-events-table th:nth-child(2),
.user-events-table td:nth-child(2) {
    width: 140px;
}

.charger-users-table th:nth-child(2),
.charger-users-table td:nth-child(2) {
    width: 170px;
}

.charger-users-table th:nth-child(3),
.charger-users-table td:nth-child(3) {
    width: 180px;
}

.charger-users-table th:nth-child(4),
.charger-users-table td:nth-child(4),
.user-chargers-table th:nth-child(4),
.user-chargers-table td:nth-child(4) {
    width: 92px;
}

.charger-users-table th:nth-child(5),
.charger-users-table td:nth-child(5),
.user-chargers-table th:nth-child(6),
.user-chargers-table td:nth-child(6) {
    width: 120px;
}

.user-chargers-table th:nth-child(1),
.user-chargers-table td:nth-child(1) {
    width: 190px;
}

.user-chargers-table th:nth-child(2),
.user-chargers-table td:nth-child(2) {
    width: 150px;
}

.user-chargers-table th:nth-child(3),
.user-chargers-table td:nth-child(3) {
    width: 110px;
}

.user-chargers-table th:nth-child(5),
.user-chargers-table td:nth-child(5) {
    width: 180px;
}

.history-session-table th:nth-child(1),
.history-session-table td:nth-child(1),
.history-session-table th:nth-child(2),
.history-session-table td:nth-child(2) {
    width: 160px;
}

.history-session-table th:nth-child(3),
.history-session-table td:nth-child(3),
.history-session-table th:nth-child(4),
.history-session-table td:nth-child(4) {
    width: 110px;
}

.history-session-table th:nth-child(5),
.history-session-table td:nth-child(5),
.history-session-table th:nth-child(6),
.history-session-table td:nth-child(6) {
    width: 140px;
}

/* Preserve the Chargers column widths while keeping both user assignment actions. */
.user-charger-actions { white-space: nowrap; }
.user-charger-actions button { padding: 0.35rem 0.4rem; font-size: 0.76rem; }
.user-charger-actions button + button { margin-left: 0.15rem; }
