/* =========================================================
   CARRY AFRICA — PLATFORM USER ADMINISTRATION
   Designed for the Back Office application shell.
   ========================================================= */

:root {
    --ua-navy-1000: #03131f;
    --ua-navy-950: #061827;
    --ua-navy-900: #082236;
    --ua-green: #087451;
    --ua-green-bright: #10b981;
    --ua-gold: #ffbf00;
    --ua-blue: #2563eb;
    --ua-purple: #7c3aed;
    --ua-red: #dc2626;
    --ua-page: #eef3f7;
    --ua-card: #ffffff;
    --ua-line: #dde6ed;
    --ua-ink: #102033;
    --ua-muted: #6b7b8f;
    --ua-shadow: 0 18px 50px rgba(4, 22, 36, .10);
    --ua-radius-lg: 24px;
    --ua-radius-md: 17px;
}

.ua-page {
    width: min(100%, 1500px);
    margin: 0 auto;
    padding: 8px 0 44px;
    color: var(--ua-ink);
}

.ua-page h1,
.ua-page h2,
.ua-page h3,
.ua-page p {
    margin-top: 0;
}

.ua-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--ua-green);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ua-hero {
    position: relative;
    min-height: 340px;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
    align-items: center;
    gap: 42px;
    overflow: hidden;
    padding: 46px 52px;
    border-radius: 28px;
    color: #fff;
    background:
        radial-gradient(circle at 86% 15%, rgba(255, 191, 0, .22), transparent 24%),
        radial-gradient(circle at 55% 95%, rgba(16, 185, 129, .24), transparent 31%),
        linear-gradient(120deg, var(--ua-navy-1000), #064d3c 64%, #167346);
    box-shadow: 0 24px 65px rgba(4, 31, 43, .22);
}

.ua-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.026) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.026) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(90deg, transparent, #000 50%, #000);
}

.ua-hero-copy,
.ua-hero-visual {
    position: relative;
    z-index: 1;
}

.ua-hero .ua-eyebrow {
    color: var(--ua-gold);
}

.ua-hero h1 {
    max-width: 700px;
    margin-bottom: 14px;
    font-size: clamp(2.1rem, 4vw, 3.45rem);
    font-weight: 950;
    letter-spacing: -.045em;
    line-height: .98;
}

.ua-hero p {
    max-width: 680px;
    margin-bottom: 26px;
    color: rgba(255,255,255,.74);
    font-size: 1rem;
    line-height: 1.7;
}

.ua-hero-actions,
.ua-success-actions,
.ua-form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 11px;
}

.ua-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 17px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: .82rem;
    font-weight: 850;
    line-height: 1;
    text-decoration: none;
    transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, border-color .16s ease;
}

.ua-btn:hover {
    transform: translateY(-1px);
}

.ua-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--ua-green), #079166);
    box-shadow: 0 10px 24px rgba(8, 116, 81, .22);
}

.ua-btn-primary:hover {
    color: #fff;
    box-shadow: 0 14px 30px rgba(8, 116, 81, .30);
}

.ua-hero .ua-btn-primary {
    color: #062033;
    background: var(--ua-gold);
    box-shadow: 0 12px 28px rgba(255, 191, 0, .24);
}

.ua-btn-light {
    color: #fff;
    border-color: rgba(255,255,255,.22);
    background: rgba(255,255,255,.10);
    backdrop-filter: blur(10px);
}

.ua-btn-light:hover {
    color: #fff;
    background: rgba(255,255,255,.16);
}

.ua-btn-secondary {
    color: #34445a;
    border-color: #cedae4;
    background: #fff;
}

.ua-btn-secondary:hover {
    color: var(--ua-ink);
    border-color: #aebdca;
    background: #f8fafc;
}

.ua-btn-ghost {
    color: var(--ua-muted);
    background: transparent;
}

.ua-btn-danger {
    color: #fff;
    background: var(--ua-red);
}

.ua-hero-visual {
    min-height: 245px;
    display: grid;
    place-items: center;
}

.ua-orbit {
    position: absolute;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 50%;
}

.ua-orbit-one {
    width: 310px;
    height: 310px;
}

.ua-orbit-two {
    width: 210px;
    height: 210px;
}

.ua-directory-card {
    position: relative;
    z-index: 2;
    width: min(100%, 360px);
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 23px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 22px;
    background: rgba(255,255,255,.12);
    box-shadow: 0 22px 55px rgba(0,0,0,.22);
    backdrop-filter: blur(17px);
}

.ua-directory-icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 18px;
    color: var(--ua-navy-1000);
    background: var(--ua-gold);
    font-size: 1.7rem;
}

.ua-directory-card div:last-child {
    display: flex;
    flex-direction: column;
}

.ua-directory-card small {
    color: rgba(255,255,255,.56);
    font-size: .69rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ua-directory-card strong {
    margin-top: 5px;
    color: #fff;
    font-size: 1rem;
}

.ua-mini-card {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 13px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 12px;
    color: #fff;
    background: rgba(3, 19, 31, .68);
    box-shadow: 0 12px 28px rgba(0,0,0,.18);
    font-size: .72rem;
    font-weight: 800;
    backdrop-filter: blur(12px);
}

.ua-mini-card-one {
    top: 18px;
    right: 10px;
}

.ua-mini-card-two {
    bottom: 12px;
    left: 8px;
}

.ua-action-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.ua-action-card {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 17px;
    padding: 23px;
    border: 1px solid var(--ua-line);
    border-radius: var(--ua-radius-lg);
    color: var(--ua-ink);
    background: #fff;
    box-shadow: var(--ua-shadow);
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.ua-action-card:hover {
    color: var(--ua-ink);
    transform: translateY(-3px);
    border-color: #c8d5df;
    box-shadow: 0 24px 60px rgba(4, 22, 36, .14);
}

.ua-action-icon,
.ua-stat-icon,
.ua-form-section-icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.ua-action-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    font-size: 1.2rem;
}

.ua-action-icon-blue,
.ua-stat-icon-blue {
    color: #1d4ed8;
    background: #eaf1ff;
}

.ua-action-icon-green,
.ua-stat-icon-green {
    color: #047857;
    background: #dcfce7;
}

.ua-stat-icon-purple {
    color: #6d28d9;
    background: #f1eafe;
}

.ua-stat-icon-gold {
    color: #9a6700;
    background: #fff3cd;
}

.ua-action-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.ua-action-copy small {
    color: var(--ua-muted);
    font-size: .67rem;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.ua-action-copy strong {
    margin-top: 4px;
    font-size: 1rem;
    font-weight: 900;
}

.ua-action-copy span {
    margin-top: 5px;
    color: var(--ua-muted);
    font-size: .78rem;
    line-height: 1.5;
}

.ua-action-arrow {
    color: #9aabb9;
    font-size: 1.15rem;
}

.ua-guidance-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 18px;
    padding: 22px 24px;
    border: 1px solid #d6e6df;
    border-radius: var(--ua-radius-lg);
    background: linear-gradient(135deg, #effcf6, #fff 66%);
}

.ua-guidance-icon {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 13px;
    color: #047857;
    background: #d1fae5;
    font-size: 1.15rem;
}

.ua-guidance-card h2 {
    margin-bottom: 5px;
    font-size: .98rem;
    font-weight: 900;
}

.ua-guidance-card p {
    max-width: 1000px;
    margin-bottom: 0;
    color: #587063;
    font-size: .8rem;
    line-height: 1.6;
}

.ua-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 22px;
}

.ua-page-header h1 {
    margin-bottom: 7px;
    font-size: clamp(1.9rem, 3vw, 2.65rem);
    font-weight: 950;
    letter-spacing: -.035em;
}

.ua-page-header p {
    max-width: 850px;
    margin-bottom: 0;
    color: var(--ua-muted);
    font-size: .9rem;
    line-height: 1.65;
}

.ua-form-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
    gap: 20px;
}

.ua-form-card,
.ua-aside-card,
.ua-profile-summary-card,
.ua-directory-card-shell,
.ua-stat-card {
    border: 1px solid var(--ua-line);
    background: #fff;
    box-shadow: var(--ua-shadow);
}

.ua-form-card {
    overflow: hidden;
    border-radius: var(--ua-radius-lg);
}

.ua-user-form {
    padding: 5px 30px 30px;
}

.ua-validation-summary:empty,
.ua-validation-summary ul:empty {
    display: none;
}

.ua-validation-summary {
    margin: 24px 0 0;
    border-radius: 14px;
    font-size: .8rem;
}

.ua-form-section {
    padding: 28px 0;
    border-bottom: 1px solid #e6edf2;
}

.ua-form-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.ua-form-section-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    color: #1d4ed8;
    background: #eaf1ff;
    font-size: 1rem;
}

.ua-form-section-icon-green {
    color: #047857;
    background: #dcfce7;
}

.ua-form-section-icon-gold {
    color: #9a6700;
    background: #fff3cd;
}

.ua-form-section-icon-purple {
    color: #6d28d9;
    background: #f1eafe;
}

.ua-form-section-heading > div:last-child {
    min-width: 0;
}

.ua-form-section-heading span:not(.ua-form-section-icon) {
    color: var(--ua-muted);
    font-size: .64rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.ua-form-section-heading h2 {
    margin: 3px 0 3px;
    font-size: 1.08rem;
    font-weight: 900;
}

.ua-form-section-heading p {
    margin-bottom: 0;
    color: var(--ua-muted);
    font-size: .76rem;
}

.ua-user-form .form-label {
    margin-bottom: 7px;
    color: #26384a;
    font-size: .76rem;
    font-weight: 850;
}

.ua-control {
    min-height: 47px;
    border-color: #cfdbe4;
    border-radius: 12px;
    color: var(--ua-ink);
    background-color: #fbfdff;
    font-size: .84rem;
    box-shadow: none;
}

.ua-control:focus {
    border-color: var(--ua-green-bright);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, .12);
}

.ua-user-form .form-text {
    color: #8593a1;
    font-size: .7rem;
}

.ua-input-icon {
    position: relative;
}

.ua-input-icon > i {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 14px;
    color: #8998a7;
    transform: translateY(-50%);
}

.ua-input-icon .ua-control {
    padding-left: 42px;
}

.ua-role-section {
    margin-inline: -30px;
    padding-inline: 30px;
    background: linear-gradient(135deg, #fffbec, #fff 72%);
}

.ua-role-warning {
    min-height: 47px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 13px;
    border: 1px solid #f2d88b;
    border-radius: 12px;
    color: #785800;
    background: #fff8dc;
    font-size: .72rem;
    line-height: 1.45;
}

.ua-identity-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.ua-identity-panel > div {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 14px;
    border: 1px solid #dce5ec;
    border-radius: 13px;
    background: #f7fafc;
}

.ua-identity-label {
    color: var(--ua-muted);
    font-size: .63rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ua-identity-panel code {
    overflow: hidden;
    color: #34495e;
    font-size: .72rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ua-form-actions {
    justify-content: flex-end;
    padding-top: 26px;
}

.ua-submit-button.is-busy {
    opacity: .78;
    cursor: wait;
}

.ua-form-aside {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 15px;
}

.ua-aside-card,
.ua-profile-summary-card {
    border-radius: 20px;
    padding: 20px;
}

.ua-aside-card-dark {
    color: #fff;
    border-color: transparent;
    background:
        radial-gradient(circle at 82% 14%, rgba(255,191,0,.18), transparent 26%),
        linear-gradient(145deg, var(--ua-navy-950), #073b36);
}

.ua-aside-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    margin-bottom: 17px;
    border-radius: 14px;
    color: var(--ua-navy-1000);
    background: var(--ua-gold);
    font-size: 1.15rem;
}

.ua-aside-card h2,
.ua-aside-card h3 {
    margin-bottom: 8px;
    font-size: .98rem;
    font-weight: 900;
}

.ua-aside-card p {
    color: var(--ua-muted);
    font-size: .76rem;
    line-height: 1.62;
}

.ua-aside-card-dark p {
    color: rgba(255,255,255,.67);
}

.ua-check-list {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ua-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #596a7b;
    font-size: .73rem;
    line-height: 1.55;
}

.ua-check-list i {
    margin-top: 2px;
    color: var(--ua-green);
}

.ua-profile-summary-card {
    display: flex;
    align-items: center;
    gap: 13px;
}

.ua-profile-avatar,
.ua-table-avatar {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, var(--ua-green), #0a9570);
    font-weight: 950;
}

.ua-profile-avatar {
    width: 52px;
    height: 52px;
    font-size: 1rem;
}

.ua-profile-summary-card > div:last-child {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.ua-profile-summary-card small {
    color: var(--ua-muted);
    font-size: .65rem;
    font-weight: 850;
    text-transform: uppercase;
}

.ua-profile-summary-card strong,
.ua-profile-summary-card span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ua-profile-summary-card strong {
    margin-top: 3px;
    font-size: .88rem;
}

.ua-profile-summary-card span {
    margin-top: 2px;
    color: var(--ua-muted);
    font-size: .7rem;
}

.ua-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
    margin-bottom: 18px;
}

.ua-stat-card {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 18px;
    border-radius: 19px;
}

.ua-stat-icon {
    width: 45px;
    height: 45px;
    border-radius: 14px;
    font-size: 1rem;
}

.ua-stat-card > div:last-child {
    min-width: 0;
    display: grid;
}

.ua-stat-card small {
    color: var(--ua-muted);
    font-size: .65rem;
    font-weight: 850;
    text-transform: uppercase;
}

.ua-stat-card strong {
    margin-top: 1px;
    font-size: 1.4rem;
    font-weight: 950;
    line-height: 1.05;
}

.ua-stat-card span:last-child {
    margin-top: 3px;
    overflow: hidden;
    color: #8a98a6;
    font-size: .67rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ua-directory-card-shell {
    overflow: hidden;
    border-radius: var(--ua-radius-lg);
}

.ua-directory-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 17px;
    border-bottom: 1px solid var(--ua-line);
    background: #fff;
}

.ua-search-box,
.ua-filter-box {
    min-height: 43px;
    display: flex;
    align-items: center;
    gap: 9px;
    border: 1px solid #cedae4;
    border-radius: 12px;
    background: #f9fbfd;
}

.ua-search-box {
    flex: 1 1 520px;
    max-width: 680px;
    padding: 0 13px;
}

.ua-search-box i,
.ua-filter-box i {
    color: #8998a7;
}

.ua-search-box input,
.ua-filter-box select {
    min-width: 0;
    width: 100%;
    border: 0;
    outline: 0;
    color: var(--ua-ink);
    background: transparent;
    font-size: .78rem;
}

.ua-filter-box {
    flex: 0 1 230px;
    padding: 0 11px;
}

.ua-record-count {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    padding: 9px 12px;
    border-radius: 11px;
    color: #4c6072;
    background: #eef3f7;
    font-size: .7rem;
    white-space: nowrap;
}

.ua-record-count strong {
    color: var(--ua-ink);
    font-size: .86rem;
}

.ua-table-wrap {
    min-height: 220px;
}

.ua-user-table {
    --bs-table-bg: transparent;
    color: var(--ua-ink);
}

.ua-user-table thead th {
    padding: 13px 15px;
    border-bottom: 1px solid #cfd9e1;
    color: #55687b;
    background: #f3f7fa;
    font-size: .64rem;
    font-weight: 950;
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.ua-user-table tbody td {
    padding: 15px;
    border-color: #e7edf2;
    vertical-align: middle;
    font-size: .76rem;
}

.ua-user-row:hover {
    background: #fbfdff;
}

.ua-user-cell {
    min-width: 230px;
    display: flex;
    align-items: center;
    gap: 11px;
}

.ua-table-avatar {
    width: 38px;
    height: 38px;
    font-size: .75rem;
}

.ua-user-cell > div:last-child,
.ua-stacked-detail,
.ua-identity-cell {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.ua-user-cell strong,
.ua-user-cell span,
.ua-stacked-detail span,
.ua-identity-cell code {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ua-user-cell strong {
    font-size: .8rem;
    font-weight: 900;
}

.ua-user-cell span {
    margin-top: 2px;
    color: var(--ua-muted);
    font-size: .69rem;
}

.ua-role-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: .65rem;
    font-weight: 850;
    white-space: nowrap;
}

.ua-role-pill.admin { color: #991b1b; border-color: #fecaca; background: #fff1f2; }
.ua-role-pill.operations { color: #075985; border-color: #bae6fd; background: #f0f9ff; }
.ua-role-pill.driver { color: #166534; border-color: #bbf7d0; background: #f0fdf4; }
.ua-role-pill.merchant { color: #92400e; border-color: #fde68a; background: #fffbeb; }
.ua-role-pill.customer { color: #3730a3; border-color: #c7d2fe; background: #eef2ff; }
.ua-role-pill.support { color: #6b21a8; border-color: #e9d5ff; background: #faf5ff; }
.ua-role-pill.fleet { color: #0f766e; border-color: #99f6e4; background: #f0fdfa; }
.ua-role-pill.default { color: #475569; border-color: #d9e1e8; background: #f8fafc; }

.ua-stacked-detail {
    max-width: 245px;
    gap: 4px;
}

.ua-stacked-detail span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--ua-muted);
    font-size: .68rem;
}

.ua-stacked-detail strong {
    font-size: .75rem;
}

.ua-identity-cell {
    max-width: 220px;
    gap: 3px;
}

.ua-identity-cell span {
    color: #8c9aa7;
    font-size: .58rem;
    font-weight: 900;
    letter-spacing: .08em;
}

.ua-identity-cell code {
    color: #4a5e70;
    font-size: .65rem;
}

.ua-row-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.ua-icon-action {
    width: 36px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    border: 1px solid #cfdae3;
    border-radius: 10px;
    color: #36516b;
    background: #fff;
    text-decoration: none;
}

.ua-icon-action:hover {
    color: #064e3b;
    border-color: #9fd6c3;
    background: #effcf6;
}

button.ua-icon-action {
    padding: 0;
}

.ua-icon-action-danger:hover {
    color: #b91c1c;
    border-color: #fecaca;
    background: #fff1f2;
}

.ua-empty-state,
.ua-no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.ua-empty-state {
    min-height: 300px;
    padding: 38px;
}

.ua-empty-state > span,
.ua-no-results > i {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: var(--ua-green);
    background: #e5f8ef;
    font-size: 1.35rem;
}

.ua-empty-state h2 {
    margin: 15px 0 5px;
    font-size: 1.05rem;
    font-weight: 900;
}

.ua-empty-state p,
.ua-no-results span {
    color: var(--ua-muted);
    font-size: .76rem;
}

.ua-no-results {
    min-height: 230px;
    gap: 6px;
    padding: 32px;
}

.ua-no-results strong {
    margin-top: 8px;
}

.ua-delete-modal {
    overflow: hidden;
    border: 0;
    border-radius: 22px;
    box-shadow: 0 30px 80px rgba(3, 19, 31, .32);
}

.ua-delete-modal .modal-body {
    padding: 32px 32px 22px;
    text-align: center;
}

.ua-delete-icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
    border-radius: 20px;
    color: #b91c1c;
    background: #fee2e2;
    font-size: 1.45rem;
}

.ua-delete-modal h2 {
    margin-bottom: 7px;
    font-size: 1.25rem;
    font-weight: 950;
}

.ua-delete-modal p {
    margin-bottom: 0;
    color: var(--ua-muted);
    font-size: .8rem;
    line-height: 1.6;
}

.ua-delete-modal .modal-footer {
    justify-content: center;
    padding: 17px 24px 24px;
    border: 0;
}

.ua-success-page {
    min-height: calc(100vh - 160px);
    display: grid;
    place-items: center;
}

.ua-success-card {
    width: min(100%, 760px);
    padding: 46px;
    border: 1px solid var(--ua-line);
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(4, 22, 36, .15);
    text-align: center;
}

.ua-success-visual {
    position: relative;
    width: 150px;
    height: 150px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
}

.ua-success-ring {
    position: absolute;
    border: 1px solid #bde8d7;
    border-radius: 50%;
}

.ua-success-ring-one { width: 145px; height: 145px; }
.ua-success-ring-two { width: 110px; height: 110px; }

.ua-success-icon {
    position: relative;
    z-index: 2;
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    border-radius: 25px;
    color: #fff;
    background: linear-gradient(135deg, var(--ua-green), var(--ua-green-bright));
    box-shadow: 0 17px 35px rgba(8, 116, 81, .30);
    font-size: 2rem;
}

.ua-success-card h1 {
    margin-bottom: 10px;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 950;
    letter-spacing: -.04em;
}

.ua-success-card > p {
    max-width: 590px;
    margin: 0 auto 25px;
    color: var(--ua-muted);
    font-size: .9rem;
    line-height: 1.72;
}

.ua-success-actions {
    justify-content: center;
}

@media (max-width: 1199.98px) {
    .ua-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ua-form-layout {
        grid-template-columns: minmax(0, 1fr) 270px;
    }
}

@media (max-width: 991.98px) {
    .ua-hero {
        grid-template-columns: 1fr;
        padding: 38px;
    }

    .ua-hero-visual {
        display: none;
    }

    .ua-form-layout {
        grid-template-columns: 1fr;
    }

    .ua-form-aside {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ua-user-table {
        min-width: 1080px;
    }
}

@media (max-width: 767.98px) {
    .ua-page {
        padding-top: 0;
    }

    .ua-page-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .ua-action-grid,
    .ua-stat-grid,
    .ua-form-aside,
    .ua-identity-panel {
        grid-template-columns: 1fr;
    }

    .ua-hero {
        min-height: 0;
        padding: 30px 25px;
        border-radius: 22px;
    }

    .ua-hero h1 {
        font-size: 2.15rem;
    }

    .ua-user-form {
        padding-inline: 20px;
    }

    .ua-role-section {
        margin-inline: -20px;
        padding-inline: 20px;
    }

    .ua-directory-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .ua-search-box,
    .ua-filter-box {
        flex-basis: auto;
        max-width: none;
    }

    .ua-record-count {
        align-self: flex-start;
    }

    .ua-success-card {
        padding: 34px 22px;
        border-radius: 23px;
    }
}
