@import url("/assets/vendor/bootstrap/bootstrap.min.css");
@import url("/assets/vendor/fontawesome/css/all.min.css");

:root {
    --epta-blue: #00a8e8;
    --epta-green: #00d455;
    --epta-gradient: linear-gradient(135deg, var(--epta-blue) 0%, var(--epta-blue) 68%, var(--epta-green) 100%);
    --epta-gradient-nav: linear-gradient(90deg, var(--epta-blue) 0%, var(--epta-blue) 72%, var(--epta-green) 100%);
    --epta-primary: #008ECC;
    --epta-blue-text: #008ecc;
    --epta-soft-bg: #f8f9fa;
    --epta-card-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    margin: 0;
    background-color: var(--epta-soft-bg);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: #2c3e50;
}

body.auth-view {
    background: var(--epta-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

a {
    color: var(--epta-blue-text);
}

.page-frame {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-shell {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1.5rem 3rem;
}

.topbar {
    width: 100%;
    margin-bottom: 1.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--epta-gradient-nav);
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand-lockup {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.brand-mark {
    color: #fff;
    font-size: 0;
    width: auto;
    height: auto;
}

.brand-mark::before {
    content: "\f201";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1.25rem;
    line-height: 1;
}

.brand-kicker {
    display: none;
}

.brand-title {
    margin: 0;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.topbar-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.topbar-nav a,
.topbar-nav .link-button {
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 0.375rem;
    padding: 0.25rem 0.5rem;
    color: #fff;
    background: transparent;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
}

.topbar-nav a:hover,
.topbar-nav .link-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #fff;
    color: #fff;
}

.topbar-nav a[href="/"]::before,
.topbar-nav a[href="/users.php"]::before,
.topbar-nav a[target="_blank"]::before,
.link-button::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 0.35rem;
}

.topbar-nav a[href="/"]::before {
    content: "\f080";
}

.topbar-nav a[href="/users.php"]::before {
    content: "\f234";
}

.topbar-nav a[target="_blank"]::before {
    content: "\f15c";
}

.link-button::before {
    content: "\f2f5";
}

.user-chip {
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    margin-left: 0.25rem;
}

.user-chip::before {
    content: "\f2bd";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 0.35rem;
}

.topbar-nav form {
    margin: 0;
}

.welcome-section,
.hero-card,
.panel-card,
.table-card,
.auth-card {
    background: #fff;
    border: none;
    border-radius: 15px;
    box-shadow: var(--epta-card-shadow);
}

.hero-card {
    padding: 2rem;
    margin-bottom: 2rem;
    border-left: 5px solid var(--epta-blue);
}

.hero-band {
    background: transparent;
    color: inherit;
    padding: 0;
}

.hero-band h2,
.panel-card h3,
.table-card h3 {
    color: #2c3e50;
    font-weight: 700;
}

.hero-band h2 {
    margin: 0 0 0.25rem;
    font-size: 2rem;
}

.hero-band p,
.panel-card p,
.table-card p,
.tile p {
    color: #6c757d;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.stat-box {
    min-width: 170px;
    padding: 1rem;
    border-radius: 12px;
    background: #f8f9fa;
    border: 1px solid #eef0f2;
}

.stat-box strong {
    display: block;
    color: var(--epta-primary);
    font-size: 1.6rem;
    font-weight: 800;
}

.mini-label,
.eyebrow {
    margin: 0 0 0.25rem;
    color: #6c757d;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.tile-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.tile,
.panel-card,
.table-card {
    padding: 1.5rem;
}

.tile {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    color: inherit;
    text-align: center;
    text-decoration: none;
    background: #fff;
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    transform: translateZ(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tile:hover {
    color: inherit;
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.tile-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--epta-gradient);
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 212, 85, 0.3);
    font-size: 2rem;
}

.tile-icon i {
    font-size: 2rem;
}

.tile h3 {
    margin: 0 0 0.5rem;
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 700;
}

.button,
.btn-epta,
button,
input[type="submit"] {
    border: 0;
    border-radius: 50px;
    padding: 0.65rem 1.25rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.button-primary,
.button-ghost,
.button-secondary,
.btn-epta,
button,
input[type="submit"] {
    background-color: #f1f3f5;
    color: var(--epta-primary);
    transition: all 0.3s;
}

.button-primary:hover,
.button-ghost:hover,
.button-secondary:hover,
.btn-epta:hover,
button:hover,
input[type="submit"]:hover {
    background: var(--epta-gradient);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.button-danger {
    color: #dc3545;
}

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

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

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

.field-wide {
    grid-column: 1 / -1;
}

label {
    color: #6c757d;
    font-size: 0.875rem;
    font-weight: 700;
}

input,
select {
    width: 100%;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    background-color: #f8f9fa;
    color: #212529;
    padding: 0.7rem 0.85rem;
}

input:focus,
select:focus {
    border-color: #ced4da;
    background-color: #fff;
    box-shadow: 0 0 0 0.25rem rgba(0, 168, 232, 0.25);
    outline: none;
}

.flash {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.95rem;
}

.flash-success {
    background: #d1e7dd;
    color: #0f5132;
}

.flash-warning {
    background: #fff3cd;
    color: #664d03;
}

.flash-danger {
    background: #f8d7da;
    color: #842029;
}

.flash-info {
    background: #cff4fc;
    color: #055160;
}

.table-card {
    margin-top: 1.5rem;
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead th {
    background-color: #f8f9fa;
    color: #495057;
    font-size: 0.82rem;
    padding: 0.85rem;
    text-align: left;
}

tbody td {
    border-top: 1px solid #dee2e6;
    padding: 0.85rem;
    vertical-align: middle;
}

tbody tr:hover {
    background-color: rgba(0, 168, 232, 0.04);
}

.badge {
    border-radius: 50rem;
    padding: 0.4rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.badge-admin,
.badge-user,
.badge-active {
    background-color: var(--epta-primary);
    color: #fff;
}

.badge-inactive {
    background-color: #6c757d;
    color: #fff;
}

.muted {
    color: #6c757d;
}

.small {
    font-size: 0.875rem;
}

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

.auth-card {
    width: 100%;
    max-width: 420px;
    padding: 2.5rem;
    background: #fff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.auth-grid {
    display: block;
}

.auth-hero {
    display: none;
}

.auth-form {
    padding: 0;
}

.auth-form h2 {
    color: #333;
    font-size: 1.75rem;
    font-weight: 700;
    text-align: center;
}

.auth-form p {
    color: #6c757d;
    font-size: 0.875rem;
    text-align: center;
}

.auth-form .mini-label {
    display: none;
}

.auth-form::before {
    content: "\f1fe";
    font-family: "Font Awesome 6 Free";
    font-size: 3rem;
    font-weight: 900;
    color: var(--epta-blue);
    display: block;
    margin: 0 0 1rem;
    text-align: center;
}

.stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

@media (max-width: 992px) {
    .tile-grid,
    .panel-grid {
        grid-template-columns: 1fr;
    }

    .topbar {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .page-shell {
        padding-inline: 1rem;
    }

    .hero-card,
    .panel-card,
    .table-card {
        padding: 1.25rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .auth-card {
        padding: 2rem;
    }
}

/* NFWEB_LOGIN_NEXTFLOW_MATCH_START */
body.auth-view {
    background: linear-gradient(135deg, var(--epta-blue) 0%, var(--epta-blue) 68%, var(--epta-green) 100%);
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
}

body.auth-view .page-frame {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.auth-view .page-shell {
    width: 100%;
    max-width: 420px;
    margin: 0;
    padding: 0 16px;
}

.login-card {
    width: 100%;
    max-width: 420px;
    padding: 2.5rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.login-card .login-brand-icon {
    color: var(--epta-blue);
}

.login-card .login-title {
    color: #333;
}

.login-card .btn-epta {
    background-color: #008ECC;
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 0.5rem !important;
    transition: all 0.3s;
}

.login-card .btn-epta:hover {
    background-color: #007bb5;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 142, 204, 0.3);
}

.login-card .input-group-text {
    background-color: #f8f9fa;
    border-right: none;
}

.login-card .form-control {
    border-left: none;
    background-color: #f8f9fa;
}

.login-card .form-control:focus {
    background-color: #fff;
    box-shadow: none;
    border-color: #ced4da;
}

.login-card .input-group:focus-within {
    box-shadow: 0 0 0 0.25rem rgba(0, 142, 204, 0.25);
    border-radius: 0.375rem;
}

.login-card .login-security-note {
    font-size: 0.75rem;
}

@media (max-width: 480px) {
    .login-card {
        padding: 2rem;
    }
}
/* NFWEB_LOGIN_NEXTFLOW_MATCH_END */


/* NFWEB_NEXTFLOW_ADMIN_MATCH_START */
.navbar-eptanord {
    background: var(--epta-gradient-nav);
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
}

.navbar-brand {
    font-family: "Segoe UI", sans-serif;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.container-max-width {
    max-width: 1920px;
    margin: 0 auto;
}

.text-epta-primary {
    color: var(--epta-blue-text) !important;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #fff;
    color: #fff;
}

.page-shell {
    max-width: 100%;
    padding: 0 0 3rem;
}

.nf-admin-container {
    max-width: 1920px;
    margin: 0 auto;
}

.nf-page-heading h3 {
    color: #212529;
}

.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.role-card {
    border-top: 4px solid var(--epta-blue);
    border-radius: 12px;
}

.role-card-selected {
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.22), 0 8px 24px rgba(0, 102, 204, 0.14);
    scroll-margin-top: 1rem;
}

.user-inactive {
    opacity: 0.6;
    background-color: #fff1f1;
}

.badge-local {
    background-color: #20c997;
    color: #fff;
    margin-left: 5px;
    font-size: 0.75em;
}

.badge-ad {
    background-color: #6610f2;
    color: #fff;
    margin-left: 5px;
    font-size: 0.75em;
}

.table > :not(caption) > * > * {
    padding: 0.85rem;
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 168, 232, 0.04);
}

.form-check-input {
    width: 2em;
    min-width: 2em;
    height: 1em;
    padding: 0;
}

.form-check:not(.form-switch) .form-check-input {
    width: 1em;
    min-width: 1em;
}

.modal {
    background: rgba(15, 23, 42, 0.18);
}

.modal.show .modal-dialog {
    transform: none;
}

.modal-open {
    overflow: hidden;
}

.role-user-list {
    min-height: 130px;
}

.nf-sync-note {
    border: 0;
    border-left: 4px solid var(--epta-blue);
}

@media (max-width: 768px) {
    .nf-admin-container.container-fluid,
    .nf-admin-container.container {
        padding-inline: 1rem !important;
    }

    .nf-page-heading {
        align-items: flex-start !important;
        flex-direction: column;
        gap: 1rem;
    }
}
/* NFWEB_NEXTFLOW_ADMIN_MATCH_END */


/* NFWEB_USERS_PAGE_START */
.nf-users-page {
    padding-bottom: 2.5rem;
}

.nf-users-hero {
    position: relative;
    padding: 1.25rem 1.35rem;
    border: 1px solid rgba(0, 142, 204, 0.12);
    border-radius: 18px;
    background: linear-gradient(120deg, #ffffff 0%, #f3fbff 100%);
    box-shadow: 0 8px 24px rgba(15, 53, 76, 0.06);
}

.nf-users-kicker {
    color: var(--epta-blue-text);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

.nf-users-hero h3 {
    letter-spacing: -0.02em;
}

.nf-users-hero .btn {
    min-height: 40px;
}

.nf-users-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    margin: 0 0 1rem;
}

.nf-users-metric {
    align-items: center;
    background: #fff;
    border: 1px solid #e7eef3;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(15, 53, 76, 0.045);
    display: flex;
    gap: 0.75rem;
    min-height: 78px;
    padding: 0.8rem 1rem;
}

.nf-users-metric > span:last-child {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.nf-users-metric strong {
    color: #18384a;
    font-size: 1.35rem;
    line-height: 1.1;
}

.nf-users-metric small {
    color: #6b7d88;
    font-size: 0.78rem;
    margin-top: 0.22rem;
    white-space: nowrap;
}

.nf-users-metric__icon {
    align-items: center;
    border-radius: 11px;
    display: inline-flex;
    flex: 0 0 40px;
    font-size: 1rem;
    height: 40px;
    justify-content: center;
    width: 40px;
}

.nf-users-metric__icon--blue { background: #e3f5fc; color: #008ecc; }
.nf-users-metric__icon--green { background: #e7f8f0; color: #15845c; }
.nf-users-metric__icon--violet { background: #f0eafd; color: #6941a5; }
.nf-users-metric__icon--amber { background: #fff4dc; color: #a96800; }

.nf-users-note {
    margin-bottom: 1rem;
}

.nf-users-card {
    overflow: hidden;
    padding: 0;
}

.nf-users-card-header {
    align-items: center;
    border-bottom: 1px solid #e8eef2;
    display: flex;
    justify-content: space-between;
    padding: 1.1rem 1.25rem;
}

.nf-users-card-header h5 {
    color: #18384a;
    font-weight: 700;
}

.nf-users-count {
    background: #edf8fc;
    border: 1px solid #ccecf7;
    border-radius: 999px;
    color: #007da9;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.35rem 0.7rem;
}

.nf-users-table-wrap {
    padding: 0 0.85rem 0.45rem;
}

.nf-users-table {
    margin-bottom: 0;
    min-width: 1050px;
}

.nf-users-table thead th {
    background: #f7fafc;
    border-bottom: 1px solid #dfe9ee;
    color: #5e707b;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.045em;
    padding: 0.75rem 0.65rem;
    text-transform: uppercase;
    white-space: nowrap;
}

.nf-users-table tbody td {
    border-color: #edf2f5;
    font-size: 0.86rem;
    padding: 0.72rem 0.65rem;
    vertical-align: middle;
}

.nf-users-table tbody tr {
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.nf-users-table tbody tr:hover {
    box-shadow: inset 3px 0 0 var(--epta-blue);
}

.nf-users-table .badge {
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.nf-users-table .form-select {
    min-width: 118px;
}

.nf-users-actions {
    min-width: 260px;
    white-space: nowrap;
}

.nf-users-actions form {
    margin: 0 0.12rem 0.2rem 0;
}

.nf-users-actions .btn {
    align-items: center;
    display: inline-flex;
    height: 34px;
    justify-content: center;
    min-width: 34px;
}

.nf-users-actions .form-control {
    display: inline-block;
    vertical-align: middle;
}

.nf-programmazione-cell {
    min-width: 145px;
}

.nf-programmazione-tech {
    align-items: center;
    display: inline-flex;
    gap: 0.55rem;
    line-height: 1.15;
}

.nf-programmazione-tech > span:last-child {
    display: flex;
    flex-direction: column;
}

.nf-programmazione-tech strong {
    color: #18384a;
    font-size: 0.8rem;
}

.nf-programmazione-tech small {
    color: #72828c;
    font-size: 0.72rem;
    margin-top: 0.14rem;
}

.nf-programmazione-swatch {
    background: var(--nf-programmazione-color, #0d6efd);
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px #8ca0ac;
    display: inline-block;
    flex: 0 0 28px;
    height: 28px;
    width: 28px;
}

.nf-programmazione-off {
    color: #7b8991;
    font-size: 0.78rem;
    white-space: nowrap;
}

.nf-user-modal {
    max-width: 680px;
}

.nf-user-modal-content {
    border: 0;
    border-radius: 18px;
    box-shadow: 0 24px 52px rgba(15, 53, 76, 0.22);
    overflow: hidden;
}

.nf-user-modal-header {
    border: 0;
    padding: 1.05rem 1.25rem;
}

.nf-user-modal-header--create {
    background: linear-gradient(135deg, #008ecc, #00a8e8);
    color: #fff;
}

.nf-user-modal-header--edit {
    background: linear-gradient(135deg, #ecf9fd, #f7fcff);
    border-bottom: 1px solid #dceef5;
    color: #18384a;
}

.nf-user-modal .modal-body {
    padding: 1.2rem 1.25rem;
}

.nf-user-modal .modal-footer {
    background: #f8fbfc;
    border-top: 1px solid #e7eef2;
    padding: 0.9rem 1.25rem;
}

.nf-programmazione-panel {
    background: linear-gradient(135deg, #f7fcff, #f4fbf8);
    border: 1px solid #cfe8e3;
    border-radius: 14px;
    min-width: 0;
    padding: 1rem 1.05rem 1.05rem;
}

.nf-programmazione-panel legend {
    color: #187d70;
    float: none;
    font-size: 0.94rem;
    font-weight: 700;
    margin: 0;
    padding: 0;
    width: auto;
}

.nf-programmazione-panel__intro {
    color: #637782;
    font-size: 0.8rem;
    margin: 0.45rem 0 0.75rem;
}

.nf-programmazione-panel__state {
    align-items: center;
    background: #e7f8f0;
    border: 1px solid #c5ead9;
    border-radius: 9px;
    color: #176b4d;
    display: flex;
    font-size: 0.78rem;
    gap: 0.4rem;
    margin-bottom: 0.85rem;
    padding: 0.5rem 0.65rem;
}

.nf-programmazione-panel.is-unavailable {
    background: #fafbfc;
    border-color: #dde5e9;
}

.nf-programmazione-panel.is-unavailable .nf-programmazione-panel__state {
    background: #f2f4f5;
    border-color: #dce3e6;
    color: #697982;
}

.nf-programmazione-panel:not(.is-enabled):not(.is-unavailable) .nf-programmazione-panel__state {
    background: #fff7e8;
    border-color: #f5dfad;
    color: #8a5a00;
}

.nf-programmazione-color-control {
    align-items: center;
    display: flex;
    gap: 0.65rem;
}

.nf-programmazione-color-control .form-control-color {
    height: 42px;
    min-width: 58px;
    width: 58px;
}

.nf-programmazione-panel .form-check-input:checked {
    background-color: #15845c;
    border-color: #15845c;
}

@media (max-width: 1100px) {
    .nf-users-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nf-users-hero {
        align-items: flex-start !important;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .nf-users-hero {
        padding: 1rem;
    }

    .nf-users-hero .d-flex {
        align-items: stretch !important;
        flex-direction: column;
        width: 100%;
    }

    .nf-users-hero .d-flex .btn {
        width: 100%;
    }

    .nf-users-metrics {
        gap: 0.65rem;
    }

    .nf-users-metric {
        min-height: 70px;
        padding: 0.7rem;
    }

    .nf-users-metric__icon {
        flex-basis: 34px;
        height: 34px;
        width: 34px;
    }

    .nf-users-metric strong {
        font-size: 1.15rem;
    }

    .nf-users-metric small {
        font-size: 0.7rem;
        white-space: normal;
    }

    .nf-users-card-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.65rem;
        padding: 1rem;
    }

    .nf-users-table-wrap {
        padding-inline: 0.35rem;
    }

    .nf-user-modal {
        margin: 0.5rem;
    }
}

/* NFWEB_USERS_QHD_START */
@media (min-width: 1921px) {
    .nf-users-page {
        max-width: none;
        width: 100%;
        padding-inline: clamp(2rem, 2.6vw, 4.5rem) !important;
    }

    .nf-users-page .nf-users-hero,
    .nf-users-page .nf-users-card,
    .nf-users-page .nf-users-note {
        width: 100%;
    }

    .nf-users-page .nf-users-hero {
        padding-block: 1rem;
    }

    .nf-users-page .nf-users-metrics {
        grid-template-columns: repeat(4, minmax(220px, 1fr));
    }

    .nf-users-page .nf-users-table {
        min-width: 0;
        width: 100%;
    }

    .nf-users-page .nf-users-table thead th,
    .nf-users-page .nf-users-table tbody td {
        padding-inline: .85rem;
    }

    .nf-users-page .nf-users-table tbody td {
        font-size: .9rem;
    }
}
/* NFWEB_USERS_QHD_END */
/* NFWEB_USERS_PAGE_END */
