/* Pixel-match Jamie's dashboard screenshot */
html, body, .voip-app {
    max-width: 100%;
    overflow-x: hidden;
}
.voip-shell,
.voip-main {
    background: #f4f6f8;
    min-width: 0;
}
.voip-header,
.voip-sidebar {
    background: #fff;
}
.voip-logo img, .voip-icon-logo {
    max-width: 220px;
    height: 44px;
    width: auto;
    object-fit: contain;
}
.voip-admin-cog {
    width: 34px;
    height: 34px;
    color: #1e439a;
    display: grid;
    place-items: center;
}
.voip-admin-cog img, .voip-admin-cog svg {
    width: 22px;
    height: 22px;
}
.voip-crumbs,
.voip-crumbs a,
.voip-crumb-sep {
    color: #40c8ff;
}
.voip-kpis {
    grid-template-columns: repeat(3, minmax(200px, 280px));
    gap: 96px;
    padding: 96px 0 40px;
}
.voip-kpi-value {
    color: #40c8ff;
    font-size: 32px;
    font-weight: 400;
}
.voip-kpi-label {
    color: #1e439a;
    font-weight: 400;
}
.voip-kpi-icon,
.voip-kpi-icon img {
    width: 110px;
    height: 110px;
}
.voip-table-wrap {
    overflow-x: hidden;
    overflow-y: auto;
    max-width: 100%;
}
.voip-table {
    width: 100%;
    table-layout: fixed;
}
.voip-table th, .voip-table td {
    overflow: hidden;
    text-overflow: ellipsis;
}
.voip-table th:nth-child(2), .voip-table td:nth-child(2) {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}
.voip-row-actions {
    flex-wrap: nowrap;
}
.voip-row-actions .voip-btn {
    min-width: 0;
    padding: 8px 10px;
    gap: 8px;
}
.voip-users-table th:nth-child(4),
.voip-users-table td:nth-child(4) {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

.voip-login-body {
    min-height: 100vh;
    background: #e8eef8 url("../images/voip_one_backdrop.jpg") center center / cover no-repeat !important;
}
.voip-login-body::after {
    content: none !important;
    display: none !important;
    background: none !important;
}
.voip-login-wrap {
    justify-content: flex-start;
    padding: 32px 6vw 72px;
}
.voip-login-card {
    background: rgba(255, 255, 255, 0.94);
}

.voip-users-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
    min-width: 0;
}
.voip-users-pane {
    background: #fff;
    padding: 24px 20px 28px;
    min-width: 0;
    min-height: 420px;
}
.voip-users-pane h2 {
    margin: 0 0 8px;
    color: #1e439a;
    font-size: 22px;
    font-weight: 400;
    text-align: center;
}
.voip-users-hint {
    text-align: center;
    color: #1e439a;
    font-size: 14px;
    margin: 0 0 18px;
}
.voip-users-select {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    gap: 16px;
    color: #1e439a;
}
.voip-users-select img,
.voip-users-select svg { width: 56px; height: 56px; }
.voip-users-table tr.voip-user-row { cursor: pointer; }
.voip-users-table tr.is-selected td {
    background: #eaf4ff;
    box-shadow: inset 0 0 0 2px #1e439a;
}
.voip-users-del-col {
    width: 88px;
    text-align: center;
}
.voip-users-del {
    width: auto;
    height: auto;
    border: 0;
    background: transparent;
    color: #c0392b;
    cursor: pointer;
    padding: 6px 8px;
    font-size: 13px;
    text-decoration: underline;
}
.voip-users-edit-delete { margin-top: 28px; }
.voip-muted { color: #9f9f9f; font-size: 13px; }
.voip-users-create { margin-top: 18px; }
.voip-users-form-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.voip-users-form-head h2 { text-align: left; margin: 0; }
.voip-users-form-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.voip-users-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 24px;
}
.voip-pass-msg { color: #c0392b; font-size: 13px; min-height: 16px; }
@media (max-width: 900px) {
    .voip-users-split, .voip-users-form { grid-template-columns: 1fr; }
}
