@import url("module-typography.css");

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-family);
    color: #172033;
    background: #fff;
}

body.is-page-loading,
body.is-ajax-loading {
    cursor: progress;
}

.page-link-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: block;
    padding: 96px 34px 34px 248px;
    background: rgba(255, 255, 255, 0.88);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    backdrop-filter: blur(1px);
    transition: opacity 0.16s ease, visibility 0.16s ease;
}

body.is-page-loading .page-link-loader,
body.is-ajax-loading .page-link-loader {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.page-link-loader__panel {
    display: grid;
    gap: 22px;
    width: 100%;
    max-width: 1120px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.page-link-loader__header {
    display: grid;
    grid-template-columns: 48px 1fr;
    align-items: center;
    gap: 14px;
}

.page-link-loader__header span:last-child {
    display: grid;
    gap: 10px;
}

.page-link-loader__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.page-skeleton {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    background: #eef3fa;
}

.page-skeleton::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
    animation: page-skeleton-shimmer 1.25s ease-in-out infinite;
}

.page-skeleton--avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.page-skeleton--title {
    width: min(260px, 72%);
    height: 18px;
}

.page-skeleton--line {
    width: 100%;
    height: 11px;
    border-radius: 999px;
}

.page-skeleton--line.short {
    width: min(180px, 48%);
}

.page-skeleton--card {
    min-height: 118px;
}

.page-skeleton--card.tall {
    min-height: 256px;
    grid-column: span 2;
    grid-row: span 2;
}

.page-skeleton--chart {
    min-height: 118px;
    grid-column: span 2;
    border-radius: 10px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@keyframes page-skeleton-shimmer {
    100% {
        transform: translateX(100%);
    }
}

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

.auth-page {
    position: relative;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, #f4f8ff 0%, #fdfaf3 100%);
}

.auth-page::before,
.auth-page::after {
    content: "";
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    pointer-events: none;
}

.auth-page::before {
    top: -18%;
    left: -14%;
    width: 620px;
    height: 620px;
    background: radial-gradient(circle at 30% 30%, rgba(37, 99, 235, 0.16), rgba(37, 99, 235, 0) 70%);
}

.auth-page::after {
    bottom: -22%;
    right: -14%;
    width: 620px;
    height: 620px;
    background: radial-gradient(circle at 70% 70%, rgba(245, 158, 11, 0.16), rgba(245, 158, 11, 0) 70%);
}

.auth-card,
.panel,
.stat-card {
    background: #fff;
    border: 1px solid #e7ecf3;
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(16, 24, 40, 0.08);
}

.auth-card {
    position: relative;
    z-index: 1;
    width: min(100%, 420px);
    padding: 36px;
    border-radius: 18px;
    box-shadow: 0 30px 70px rgba(16, 24, 40, 0.12);
}

.auth-logo {
    display: block;
    height: 44px;
    margin: 0 auto 22px;
}

.auth-title {
    margin: 0 0 8px;
    text-align: center;
    font-size: 22px;
    font-weight: 750;
    color: #0f172a;
}

.auth-subtitle {
    margin: 0 0 26px;
    text-align: center;
    color: #667085;
    font-size: 14px;
}

.auth-field-icon {
    position: relative;
}

.auth-field-icon svg {
    position: absolute;
    top: 50%;
    left: 13px;
    width: 18px;
    height: 18px;
    color: #98a2b3;
    transform: translateY(-50%);
    pointer-events: none;
}

.auth-field-icon .input {
    padding-left: 40px;
}

.auth-field-icon .input.has-toggle {
    padding-right: 40px;
}

.auth-password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border: 0;
    background: none;
    color: #98a2b3;
    cursor: pointer;
    transform: translateY(-50%);
}

.auth-password-toggle svg {
    position: static;
    transform: none;
}

.btn-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 999px;
    font-weight: 700;
}

.btn-arrow svg {
    width: 17px;
    height: 17px;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 0 18px;
    color: #98a2b3;
    font-size: 13px;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e7ecf3;
}

.auth-social-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.auth-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 42px;
    border: 1px solid #e7ecf3;
    border-radius: 8px;
    background: #fff;
    color: #344054;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.auth-social-btn:hover {
    border-color: #d7deea;
    background: #f9fbff;
}

.auth-social-btn:disabled {
    opacity: 1;
    cursor: not-allowed;
}

.auth-social-btn svg {
    width: 17px;
    height: 17px;
}

.field {
    display: grid;
    gap: 7px;
    margin-bottom: 16px;
}

.field label {
    color: #344054;
    font-size: 13px;
    font-weight: 550;
}

.input,
.select {
    width: 100%;
    height: 42px;
    border: 1px solid #d7deea;
    border-radius: 7px;
    padding: 0 13px;
    color: #172033;
    background: #fff;
    font: inherit;
}

.input:focus,
.select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.13);
    outline: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 7px;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
}

.btn-primary {
    color: #fff;
    background: #2563eb;
}

.btn-soft {
    color: #2452b8;
    background: #edf3ff;
}

.btn-danger {
    color: #b42318;
    background: #fdeceb;
}

.admin-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 16px;
}

.admin-pagination-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.admin-pagination-links .btn {
    min-height: 34px;
    padding: 0 12px;
}

.admin-pagination-current {
    cursor: default;
}

.admin-pagination-ellipsis {
    padding: 0 4px;
    color: #98a2b3;
}

.admin-pagination-links a.is-disabled {
    pointer-events: none;
    opacity: 0.45;
}

.btn-block {
    width: 100%;
}

.alert {
    margin-bottom: 16px;
    padding: 11px 13px;
    border-radius: 7px;
    font-size: 13px;
}

.alert-error {
    color: #991b1b;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.alert-success {
    color: #166534;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.app-shell {
    display: grid;
    grid-template-columns: 214px minmax(0, 1fr);
    min-height: 100vh;
    transition: grid-template-columns .18s ease;
}

.sidebar {
    display: flex;
    flex-direction: column;
    padding: 24px 14px;
    min-width: 0;
    color: #111827;
    background: #fff;
    border-right: 1px solid #edf0f5;
    transition: padding .18s ease;
}

.brand {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 26px;
    min-height: 34px;
    padding-right: 42px;
    font-size: 18px;
    font-weight: 700;
}

.brand-logo {
    display: block;
    width: auto;
    max-width: 100%;
    aspect-ratio: 55 / 16;
    height: auto;
    object-fit: contain;
}

.sidebar-toggle {
    position: absolute;
    top: 0;
    right: 0;
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    margin-left: auto;
    border: 1px solid #e7ecf3;
    border-radius: 7px;
    color: #344054;
    background: #fff;
    cursor: pointer;
    z-index: 2;
}

.sidebar-toggle:hover {
    color: #6d28d9;
    background: #f8f5ff;
}

.sidebar-toggle svg {
    width: 17px;
    height: 17px;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
}

.brand small {
    display: block;
    color: #667085;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.nav {
    display: grid;
    align-content: start;
    gap: 4px;
    flex: 0 0 auto;
}

.nav a {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 38px;
    padding: 8px 11px;
    border-radius: 7px;
    color: #344054;
    font-size: 12px;
    font-weight: 650;
    white-space: nowrap;
}

.nav-label {
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav a:hover,
.nav a.active {
    color: #6d28d9;
    background: #f1eaff;
}

.nav-icon {
    width: 18px;
    height: 18px;
    color: #667085;
    stroke-width: 2;
    flex: 0 0 18px;
}

.nav a.active .nav-icon,
.nav a:hover .nav-icon {
    color: #6d28d9;
}

.nav-group {
    display: grid;
    gap: 4px;
}

.nav-group-toggle .nav-label {
    flex: 1 1 auto;
}

.nav-chevron {
    width: 14px;
    height: 14px;
    color: #667085;
    flex: 0 0 14px;
    transition: transform 0.15s ease;
}

.nav-group.is-open .nav-chevron {
    transform: rotate(180deg);
}

.nav-sub {
    display: none;
    gap: 4px;
    margin-left: 14px;
    padding-left: 8px;
    border-left: 1px solid #e5e9f3;
}

.nav-group.is-open .nav-sub {
    display: grid;
}

.upgrade-card {
    margin-top: 24px;
    padding: 12px;
    border-radius: 8px;
    background: #f1eaff;
}

.upgrade-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6d28d9;
    font-size: 13px;
    font-weight: 800;
}

.upgrade-title svg,
.upgrade-button svg {
    width: 15px;
    height: 15px;
}

.upgrade-card p {
    margin: 12px 0;
    color: #475467;
    font-size: 11px;
    line-height: 1.5;
}

.upgrade-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    border-radius: 7px;
    color: #fff;
    background: #6d28d9;
    font-size: 13px;
    font-weight: 800;
}

.main {
    min-width: 0;
}

@media (min-width: 901px) {
    .app-shell.sidebar-collapsed {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .app-shell.sidebar-collapsed .page-link-loader {
        padding-left: 106px;
    }

    .sidebar-collapsed .sidebar {
        padding: 18px 10px;
    }

    .sidebar-collapsed .brand {
        justify-content: center;
        margin-bottom: 20px;
        padding-right: 0;
    }

    .sidebar-collapsed .brand-logo {
        display: none;
    }

    .sidebar-collapsed .sidebar-toggle {
        margin-left: 0;
    }

    .sidebar-collapsed .nav a {
        justify-content: center;
        gap: 0;
        min-height: 42px;
        padding: 8px;
    }

    .sidebar-collapsed .nav-label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 72px;
    padding: 13px 20px;
    background: #fff;
    border-bottom: 1px solid #e7ecf3;
}

.topbar h1 {
    margin: 0;
    font-size: 18px;
}

.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.topbar-right {
    position: relative;
}

.workspace-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 166px;
    height: 42px;
    padding: 0 13px;
    border: 1px solid #8b5cf6;
    border-radius: 8px;
    background: #fbfaff;
    font-weight: 700;
}

.workspace-button:disabled,
.workspace-button[aria-disabled="true"] {
    cursor: not-allowed;
    opacity: .64;
}

.workspace-button svg,
.btn svg,
.icon-button svg {
    width: 17px;
    height: 17px;
}

.workspace-button-rich {
    min-width: 238px;
    height: 52px;
    justify-content: flex-start;
    border-color: #8b5cf6;
}

.workspace-button-rich > span:nth-child(2) {
    line-height: 1.15;
}

.workspace-button-rich > svg:last-child {
    margin-left: auto;
}

.workspace-menu-wrap {
    position: relative;
}

.workspace-trigger {
    cursor: pointer;
}

.workspace-menu {
    position: absolute;
    z-index: 30;
    top: calc(100% + 8px);
    left: 0;
    display: none;
    width: min(324px, calc(100vw - 28px));
    padding: 18px 22px;
    border: 1px solid #e7ecf3;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(16, 24, 40, 0.12);
}

.workspace-menu-wrap.open .workspace-menu {
    display: block;
}

.workspace-menu h2 {
    margin: 0 0 14px;
    font-size: 16px;
}

.workspace-menu .workspace-list {
    max-height: 380px;
    overflow-y: auto;
}

.avatar {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #fff;
    background: #111827;
    font-weight: 800;
}

.avatar-ring {
    border: 2px solid #22c55e;
}

.account-menu-wrap {
    position: relative;
}

.account-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 0;
    background: transparent;
    color: #172033;
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.account-trigger .muted {
    display: block;
    font-size: 12px;
}

.account-trigger svg {
    width: 16px;
    height: 16px;
    color: #667085;
}

.account-menu {
    position: absolute;
    z-index: 20;
    top: calc(100% + 14px);
    right: 0;
    display: none;
    width: 310px;
    overflow: hidden;
    border: 1px solid #e7ecf3;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(16, 24, 40, 0.16);
}

.account-menu-wrap.open .account-menu {
    display: block;
}

.account-head {
    display: grid;
    grid-template-columns: 46px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid #edf0f5;
}

.account-head small {
    display: block;
    color: #667085;
    font-size: 13px;
    margin-top: 3px;
}

.account-menu a,
.account-row-menu {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 50px;
    padding: 0 20px;
    color: #172033;
    font-weight: 650;
}

.account-menu a:hover {
    background: #f8fafc;
}

.account-menu svg,
.account-row-menu svg {
    width: 18px;
    height: 18px;
    color: #667085;
}

.menu-arrow {
    margin-left: auto;
}

.account-row-menu {
    justify-content: space-between;
}

.account-row-menu span:first-child {
    display: flex;
    align-items: center;
    gap: 12px;
}

.language-pill {
    padding: 6px 12px;
    border: 1px solid #e7ecf3;
    border-radius: 7px;
    color: #172033;
    background: #fff;
    font-weight: 500;
}

.toggle-pill {
    position: relative;
    width: 40px;
    height: 24px;
    border-radius: 999px;
    background: #e5e7eb;
}

.toggle-pill::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
}

.logout-button {
    justify-content: center;
    min-height: 42px !important;
    margin: 12px 20px 20px;
    border: 1px solid #d7deea;
    border-radius: 7px;
    background: #fff;
}

.icon-button {
    position: relative;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid #edf0f5;
    border-radius: 8px;
    background: #fff;
    color: #344054;
}

.notification b {
    position: absolute;
    top: -6px;
    right: -5px;
    display: grid;
    place-items: center;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    color: #fff;
    background: #ef4444;
    font-size: 11px;
}

.topbar-employee-switcher {
    position: relative;
}

.topbar-ai-button {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #6d28ff;
    box-shadow: 0 12px 32px rgba(48, 36, 105, .11);
    cursor: pointer;
}

.topbar-ai-button svg {
    width: 22px;
    height: 22px;
}

.topbar-employees-popover {
    position: absolute;
    z-index: 50;
    top: 62px;
    right: 0;
    width: 316px;
    padding: 18px 20px;
    border: 1px solid #eeeaff;
    border-radius: 20px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 22px 60px rgba(46, 34, 113, .13);
    backdrop-filter: blur(14px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(.98);
    transition: opacity .16s ease, transform .16s ease;
}

.topbar-employees-popover.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.topbar-employees-popover::before {
    content: "";
    position: absolute;
    top: -12px;
    right: 12px;
    width: 24px;
    height: 24px;
    border-left: 1px solid #eeeaff;
    border-top: 1px solid #eeeaff;
    background: rgba(255, 255, 255, .96);
    transform: rotate(45deg);
}

.topbar-employees-popover h2 {
    position: relative;
    margin: 0 0 4px;
    color: #273052;
    font-size: 14px;
    font-weight: 900;
}

.topbar-employees-popover p {
    position: relative;
    margin: 0 0 14px;
    color: #536087;
    font-size: 11px;
    font-weight: 700;
}

.topbar-employee-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 14px;
}

.topbar-employee-tile {
    display: grid;
    justify-items: center;
    gap: 6px;
    color: #151b40;
    font-size: 9px;
    font-weight: 900;
}

.topbar-tile-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    color: #6d28ff;
    background: #f1efff;
}

.topbar-tile-icon.teal {
    color: #11bdae;
    background: #e8fbf8;
}

.topbar-tile-icon.blue {
    color: #196fff;
    background: #eef5ff;
}

.topbar-tile-icon.green {
    color: #35b857;
    background: #ebfaef;
}

.topbar-tile-icon.orange {
    color: #ff7b22;
    background: #fff0e3;
}

.topbar-tile-icon.pink {
    color: #ff3d7a;
    background: #ffeaf1;
}

.topbar-tile-icon svg {
    width: 21px;
    height: 21px;
    stroke-width: 2.4;
}

.topbar-explore-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: 44px;
    margin-top: 16px;
    padding: 0 14px;
    border: 1px solid #e7e2ff;
    border-radius: 12px;
    color: #2c3560;
    background: #fff;
    font-size: 11px;
    font-weight: 800;
}

.content {
    position: relative;
    /*padding: 28px 24px;*/
    background: #fff;
}

.grid {
    display: grid;
    gap: 18px;
}

.stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.stat-card {
    min-height: 126px;
    padding: 18px;
}

.stat-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 20px;
    margin-bottom: 13px;
    border-radius: 8px;
}

.stat-icon svg {
    width: 19px;
    height: 19px;
}

.stat-purple {
    color: #6d28d9;
    background: #ede9fe;
}

.stat-green {
    color: #059669;
    background: #d1fae5;
}

.stat-orange {
    color: #ea580c;
    background: #ffedd5;
}

.stat-blue {
    color: #2563eb;
    background: #dbeafe;
}

.stat-label {
    color: #667085;
    font-size: 13px;
}

.stat-value {
    margin-top: 8px;
    font-size: 29px;
    font-weight: 750;
}

.stat-trend {
    margin-top: 10px;
    color: #16a34a;
    font-size: 12px;
    font-weight: 700;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.72fr;
    gap: 12px;
    margin-top: 12px;
}

.workspace-card {
    position: absolute;
    z-index: 3;
    top: -12px;
    left: 12px;
    width: 260px;
    padding: 16px;
}

.workspace-list {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.workspace-item {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    gap: 9px;
    align-items: center;
    padding: 9px;
    border-radius: 8px;
}

.workspace-item.active {
    background: #f1eaff;
}

.workspace-logo {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #fff;
    background: #111827;
    font-size: 12px;
    font-weight: 800;
}

.role-chip {
    padding: 4px 8px;
    border-radius: 999px;
    color: #6d28d9;
    background: #ede9fe;
    font-size: 11px;
    font-weight: 700;
}

.company-panel {
    margin-top: 18px;
}

.company-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 28px;
    padding-left: 0;
    text-align: left;
}

.hero-row > div {
    text-align: left;
}

.users-teams-hero {
    align-items: flex-start;
    padding-left: 0;
}

.dashboard-offset {
    margin-left: 274px;
}

.hero-row h2 {
    margin: 0 0 8px;
    font-size: 18px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.calendar-item {
    display: grid;
    grid-template-columns: 54px 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: 8px;
    background: #fbfcff;
}

.date-tile {
    display: grid;
    place-items: center;
    min-height: 52px;
    border: 1px solid #edf0f5;
    border-radius: 8px;
    background: #fff;
    font-weight: 800;
}

.date-tile span {
    display: block;
    color: #667085;
    font-size: 10px;
}

.score {
    display: grid;
    place-items: center;
    width: 176px;
    height: 176px;
    margin: 14px auto;
    border-radius: 50%;
    background: conic-gradient(#6d28d9 0 85%, #eef2f7 85% 100%);
}

.score-inner {
    display: grid;
    place-items: center;
    width: 126px;
    height: 126px;
    border-radius: 50%;
    background: #fff;
    color: #6d28d9;
    font-size: 44px;
    font-weight: 800;
}

.mini-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.account-row {
    display: grid;
    grid-template-columns: 28px 1fr auto;
    align-items: center;
    gap: 10px;
}

.social-icon {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.social-linkedin {
    background: #0a66c2;
}

.social-facebook {
    background: #1877f2;
}

.social-instagram {
    background: linear-gradient(135deg, #f58529, #dd2a7b 48%, #8134af);
}

.progress {
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: #e7ecf3;
}

.progress span {
    display: block;
    width: 26%;
    height: 100%;
    border-radius: inherit;
    background: #6d28d9;
}

.panel {
    padding: 18px;
}

.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.panel-head h2 {
    margin: 0;
    font-size: 15px;
}

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

.form-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

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

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

th,
td {
    padding: 12px;
    border-bottom: 1px solid #eef2f7;
    text-align: left;
    white-space: nowrap;
}

th {
    color: #667085;
    font-size: 12px;
    font-weight: 700;
    
}

.admin-users-table .companies-column {
    max-width: 260px;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.4;
}

.admin-users-table .user-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.admin-users-table .user-actions .btn {
    min-height: 34px;
    padding: 0 11px;
    font-size: 12px;
    gap: 6px;
}

.admin-users-table .user-actions .btn svg {
    width: 15px;
    height: 15px;
}

.password-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    place-items: center;
    padding: 20px;
    background: rgba(17, 24, 39, .42);
}

.password-modal.is-open {
    display: grid;
}

.password-dialog {
    width: min(440px, 100%);
    border: 1px solid #dce2ef;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(25, 35, 70, .22);
    overflow: hidden;
}

.password-dialog-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border-bottom: 1px solid #edf0f5;
}

.password-dialog-head h2 {
    margin: 0;
    font-size: 18px;
}

.password-close {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 7px;
    color: #344054;
    background: #f3f6fb;
    cursor: pointer;
}

.password-form {
    display: grid;
    gap: 16px;
    padding: 20px;
}

.badge {
    display: inline-flex;
    padding: 4px 9px;
    border-radius: 999px;
    color: #166534;
    background: #dcfce7;
    font-size: 12px;
    font-weight: 650;
}

.badge-muted {
    color: #475467;
    background: #eef1f6;
}

.badge-danger {
    color: #b42318;
    background: #fdeceb;
}

.user-edit-identity {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 0 24px;
    margin-bottom: 20px;
    border-bottom: 1px solid #edf0f5;
}

.user-edit-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.user-edit-identity h2 {
    margin: 0 0 4px;
    font-size: 19px;
}

.user-edit-identity .muted {
    font-size: 13px;
}

.user-edit-identity .badge {
    margin-top: 8px;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 28px 0 14px;
    font-size: 15px;
    font-weight: 800;
    color: #101936;
}

.section-heading i {
    width: 18px;
    height: 18px;
    color: #2563eb;
}

.module-permission-group summary {
    cursor: pointer;
    font-weight: 800;
    padding: 4px 0;
    list-style: revert;
}

.module-permission-group summary small {
    font-weight: 600;
    color: #667085;
    margin-left: 6px;
}

.module-permission-group[open] summary {
    margin-bottom: 8px;
}

.muted {
    color: #667085;
}

.check-row {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
}

.link-btn {
    padding: 0;
    border: 0;
    background: none;
    color: #4f46e5;
    font-size: 13px;
    font-weight: 650;
    cursor: pointer;
}

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

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

.permission-card {
    padding: 16px;
    border: 1px solid #edf0f5;
    border-radius: 8px;
    background: #fbfcff;
}

.permission-card h3 {
    margin: 0 0 12px;
    font-size: 15px;
}

.permission-card small {
    display: block;
    color: #667085;
    font-size: 12px;
    margin-top: 3px;
}

.widget-permission-card {
    grid-column: 1 / -1;
}

.widget-permission-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.widget-permission-item {
    align-items: flex-start;
    min-height: 76px;
    padding: 12px;
    border: 1px solid #e7ecf3;
    border-radius: 8px;
    background: #fff;
}

.widget-permission-item input {
    flex: 0 0 auto;
    margin-top: 3px;
}

.widget-permission-item span {
    min-width: 0;
}

.widget-permission-item strong,
.widget-permission-item small {
    overflow-wrap: anywhere;
}

.workspace-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
    padding: 0 24px;
    border-bottom: 1px solid #e7ecf3;
    background: #fff;
}

.workspace-select-page {
    min-height: calc(100vh - 80px);
    padding: 52px 24px;
    text-align: center;
    background:
        radial-gradient(circle at 50% 20%, rgba(124, 58, 237, 0.08), transparent 30%),
        #fbfcff;
}

.workspace-center-icon {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 50%;
    color: #6d28d9;
    background: #ede9fe;
}

.workspace-center-icon svg {
    width: 34px;
    height: 34px;
}

.workspace-select-page h1 {
    margin: 0 0 10px;
    font-size: 20px;
}

.workspace-choice-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 216px));
    justify-content: center;
    gap: 18px;
    margin-top: 30px;
}

.workspace-choice-card {
    position: relative;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 11px;
    min-height: 264px;
    padding: 26px 20px;
    border: 1px solid #dfe5ef;
    border-radius: 8px;
    background: #fff;
    color: #172033;
    box-shadow: 0 18px 40px rgba(16, 24, 40, 0.06);
}

.workspace-choice-card.active {
    border-color: #6d28d9;
    box-shadow: 0 18px 40px rgba(109, 40, 217, 0.12);
}

.workspace-choice-logo {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    color: #60a5fa;
    background: #020617;
    font-size: 22px;
    font-weight: 800;
}

.choice-check {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: #fff;
    background: #6d28d9;
}

.choice-check svg,
.members-line svg,
.create-plus svg {
    width: 15px;
    height: 15px;
}

.members-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #344054;
    font-size: 13px;
    font-weight: 650;
    margin-top: 12px;
}

.create-card {
    border-style: dashed;
    border-color: #d8c9ff;
    box-shadow: none;
}

.create-plus {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    color: #6d28d9;
    background: #ede9fe;
}

.create-card strong {
    color: #4c1d95;
}

.switch-workspace {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    max-width: 580px;
    margin: 48px auto 18px;
    color: #475467;
}

.switch-workspace span {
    height: 1px;
    background: #dfe5ef;
}

.workspace-switch-card {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    align-items: center;
    gap: 14px;
    max-width: 580px;
    margin: 0 auto;
    padding: 10px 14px;
    border: 1px solid #dfe5ef;
    border-radius: 8px;
    background: #fff;
    text-align: left;
    box-shadow: 0 14px 30px rgba(16, 24, 40, 0.06);
}

.secure-card {
    display: flex;
    align-items: center;
    gap: 18px;
    max-width: 580px;
    margin: 50px auto 0;
    padding: 18px;
    border-radius: 8px;
    color: #172033;
    background: #f3edff;
    text-align: left;
}

.secure-card svg {
    width: 34px;
    height: 34px;
    color: #6d28d9;
    flex: 0 0 auto;
}

.onboarding-progress {
    width: 220px;
    padding: 10px 14px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
}

.onboarding-progress strong {
    display: block;
    font-size: 12px;
    margin-bottom: 8px;
}

.onboarding-progress small {
    display: block;
    color: #6d28d9;
    font-size: 11px;
    text-align: right;
}

.onboarding-content {
    padding: 24px;
}

.onboarding-heading {
    margin-bottom: 34px;
}

.onboarding-heading h1 {
    margin: 0 0 8px;
    font-size: 20px;
}

.onboarding-heading p {
    margin: 0;
    color: #475467;
}

.stepper {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: start;
    gap: 12px;
    margin: 0 42px 28px;
}

.step {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 10px;
    color: #475467;
    text-align: center;
    font-size: 12px;
}

.step:hover {
    color: #6d28d9;
}

.step-disabled {
    color: #98a2b3;
    cursor: not-allowed;
}

.step-disabled:hover {
    color: #98a2b3;
}

.step-disabled span {
    color: #667085;
    background: #eef2f7;
}

.step::after {
    content: "";
    position: absolute;
    top: 17px;
    left: calc(50% + 22px);
    width: calc(100% - 44px);
    border-top: 1px dashed #cfd8e6;
}

.step:last-child::after {
    display: none;
}

.step span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #172033;
    background: #e7ecf3;
    font-size: 16px;
    font-weight: 800;
}

.step.active {
    color: #6d28d9;
}

.step.active span,
.step.complete span {
    color: #fff;
    background: #7c3aed;
}

.step.complete {
    color: #6d28d9;
}

.step.complete span svg {
    width: 18px;
    height: 18px;
}

.onboarding-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 18px;
}

.onboarding-form-panel h2,
.onboarding-help h2 {
    margin: 8px 0;
    font-size: 18px;
}

.required {
    color: #ef4444;
}

.field small {
    color: #667085;
    font-size: 12px;
}

.valid-input {
    background-image: linear-gradient(45deg, transparent 50%, #22c55e 50%), linear-gradient(135deg, #22c55e 50%, transparent 50%);
    background-position: calc(100% - 18px) 17px, calc(100% - 12px) 17px;
    background-size: 7px 12px, 7px 12px;
    background-repeat: no-repeat;
    padding-right: 38px;
}

.upload-box {
    min-height: 76px;
    padding: 10px;
    border: 1px solid #d7deea;
    border-radius: 7px;
    background: #fbfcff;
}

.logo-picker {
    display: grid;
    grid-template-columns: 58px auto;
    gap: 10px;
    align-items: center;
    cursor: pointer;
}

.logo-picker small {
    grid-column: 2;
}

.logo-view-link {
    display: inline-flex;
    margin: 10px 0 0 68px;
    color: #6d28d9;
    font-size: 12px;
    font-weight: 700;
}

.file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.select2-container--default .select2-selection--single {
    height: 42px;
    border: 1px solid #d7deea;
    border-radius: 7px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 40px;
    color: #172033;
    padding-left: 13px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px;
}

.select2-dropdown {
    border-color: #d7deea;
    border-radius: 7px;
}

.select2-search--dropdown .select2-search__field {
    border: 1px solid #d7deea;
    border-radius: 6px;
    min-height: 34px;
    outline: none;
}

.info-callout {
    display: flex;
    gap: 16px;
    margin-top: 18px;
    padding: 18px;
    border-radius: 8px;
    color: #3b197d;
    background: #f1eaff;
}

.info-callout svg {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
}

.info-callout p {
    margin: 6px 0 0;
    color: #344054;
    font-size: 13px;
    line-height: 1.55;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 24px;
}

.form-actions > div {
    display: flex;
    gap: 12px;
}

.onboarding-help ul {
    display: grid;
    gap: 20px;
    padding: 0;
    margin: 20px 0;
    list-style: none;
}

.onboarding-help li {
    display: flex;
    gap: 12px;
    color: #344054;
    line-height: 1.45;
}

.onboarding-help li svg {
    width: 18px;
    height: 18px;
    color: #10b981;
    flex: 0 0 auto;
}

.services-label {
    margin: 18px 0 8px;
    color: #172033;
    font-size: 13px;
    font-weight: 750;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.service-card {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 10px;
    min-height: 142px;
    padding: 18px 12px 14px;
    border: 1px solid #dfe5ef;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    text-align: center;
}

.service-card.checked {
    border-color: #8b5cf6;
    box-shadow: 0 14px 30px rgba(109, 40, 217, 0.08);
}

.service-card input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.service-check {
    position: absolute;
    top: 12px;
    left: 12px;
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border: 1px solid #cfd8e6;
    border-radius: 4px;
    color: #fff;
    background: #fff;
}

.service-card.checked .service-check {
    border-color: #6d28d9;
    background: #6d28d9;
}

.service-check svg {
    width: 13px;
    height: 13px;
}

.service-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    color: #6d28d9;
    background: #f1eaff;
}

.service-icon svg {
    width: 26px;
    height: 26px;
}

.service-card strong {
    color: #172033;
    font-size: 14px;
}

.service-card small {
    color: #475467;
    font-size: 11px;
    line-height: 1.45;
}

.custom-service-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 40px;
    margin-top: 12px;
    border: 1px dashed #cfd8e6;
    border-radius: 8px;
    color: #6d28d9;
    background: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 750;
}

.custom-service-button svg {
    width: 18px;
    height: 18px;
}

.social-connect-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.social-connect-card {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    min-height: 138px;
    padding: 18px;
    border: 1px solid #dfe5ef;
    border-radius: 8px;
    background: #fff;
}

.social-connect-card p {
    margin: 8px 0 18px;
    color: #475467;
    font-size: 13px;
    line-height: 1.5;
}

.social-connect-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
}

.social-connect-facebook,
.social-connect-linkedin {
    background: #1877f2;
}

.social-connect-instagram {
    background: linear-gradient(135deg, #f58529, #dd2a7b 48%, #8134af);
}

.social-connect-x {
    background: #020617;
}

.social-connect-youtube {
    background: #ef4444;
}

.social-connect-music {
    background: #111827;
}

@media (max-width: 1180px) {
    .app-shell {
        grid-template-columns: 190px minmax(0, 1fr);
    }

    .sidebar {
        padding: 18px 10px;
    }

    .brand {
        font-size: 16px;
        margin-bottom: 18px;
    }

    .nav a {
        gap: 8px;
        padding: 8px;
        font-size: 11px;
    }

    .content {
        padding: 20px;
    }

    .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-grid,
    .mini-grid {
        grid-template-columns: 1fr;
    }

    .workspace-card {
        position: static;
        width: auto;
        margin-bottom: 18px;
    }

    .hero-row {
        padding-left: 0;
    }

    .dashboard-offset {
        margin-left: 0;
    }

    .onboarding-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .onboarding-help {
        order: 2;
    }

    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .social-connect-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .page-link-loader {
        padding: 92px 20px 24px;
    }

    .page-link-loader__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .app-shell {
        grid-template-columns: 1fr;
    }

    .sidebar {
        border-right: 0;
        border-bottom: 1px solid #edf0f5;
    }

    .sidebar .brand-logo {
        display: none;
    }

    .app-shell.sidebar-collapsed .sidebar {
        padding: 12px 14px;
    }

    .app-shell.sidebar-collapsed .brand {
        margin-bottom: 0;
    }

    .app-shell.sidebar-collapsed .brand-logo {
        display: none;
    }

    .app-shell.sidebar-collapsed .nav {
        display: none;
    }

    .app-shell.sidebar-collapsed {
        position: relative;
    }

    .app-shell.sidebar-collapsed .sidebar {
        position: absolute;
        z-index: 40;
        top: 0;
        left: 0;
        width: 62px;
        min-height: 72px;
        border-bottom: 0;
        background: transparent;
    }

    .app-shell.sidebar-collapsed .brand {
        display: grid;
        place-items: center;
        min-height: 48px;
        padding-right: 0;
    }

    .app-shell.sidebar-collapsed .sidebar-toggle {
        position: static;
        margin: 0;
    }

    .nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .nav a {
        white-space: normal;
    }

    .upgrade-card {
        display: none;
    }

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

    .topbar-left,
    .topbar-right {
        width: 100%;
        flex-wrap: wrap;
    }

    .topbar-right {
        justify-content: flex-start;
    }

    .app-shell.sidebar-collapsed .topbar {
        min-height: 72px;
        padding-left: 70px;
        align-items: center;
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .app-shell.sidebar-collapsed .topbar-left {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
    }

    .app-shell.sidebar-collapsed .topbar-right {
        flex: 0 0 auto;
        width: auto;
        justify-content: flex-end;
    }

    .workspace-button,
    .workspace-button-rich {
        width: 100%;
        min-width: 0;
    }

    .hero-row {
        flex-direction: column;
    }

    .hero-actions {
        flex-wrap: wrap;
    }
}

@media (max-width: 760px) {
    .app-shell {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nav a {
        min-height: 36px;
        font-size: 11px;
    }

    .stats,
    .form-grid,
    .form-grid-3,
    .dashboard-grid,
    .mini-grid,
    .permission-grid {
        grid-template-columns: 1fr;
    }

    .workspace-card {
        position: static;
        width: auto;
        margin-bottom: 18px;
    }

    .hero-row {
        display: block;
        padding-left: 0;
    }

    .dashboard-offset {
        margin-left: 0;
    }

    .topbar,
    .content {
        padding: 14px;
    }

    .topbar {
        align-items: center;
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .app-shell.sidebar-collapsed .topbar {
        padding-left: 66px;
    }

    .topbar-left {
        flex: 1 1 auto;
        min-width: 0;
        width: auto;
    }

    .topbar-right {
        flex: 0 0 auto;
        width: auto;
        justify-content: flex-end;
    }

    .app-shell.sidebar-collapsed .workspace-button {
        min-width: 0;
        height: 38px;
        padding: 0 8px;
        gap: 6px;
        font-size: 11px;
    }

    .app-shell.sidebar-collapsed .workspace-button svg {
        width: 15px;
        height: 15px;
    }

    .app-shell.sidebar-collapsed .account-trigger {
        gap: 8px;
    }

    .app-shell.sidebar-collapsed .account-trigger .avatar {
        width: 38px;
        height: 38px;
    }

    .workspace-menu-wrap {
        width: 100%;
        min-width: 0;
    }

    .workspace-button,
    .workspace-button-rich {
        width: 100%;
        max-width: 100%;
    }

    .workspace-button {
        overflow: hidden;
    }

    .workspace-button > span,
    .workspace-button > strong {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .stats {
        gap: 10px;
    }

    .stat-card {
        min-height: 112px;
        padding: 14px;
    }

    .calendar-item {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .calendar-item .badge {
        grid-column: 2;
        justify-self: start;
    }

    .workspace-topbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
        padding: 18px;
    }

    .workspace-choice-grid {
        grid-template-columns: 1fr;
    }

    .stepper,
    .onboarding-grid,
    .service-grid,
    .social-connect-grid {
        grid-template-columns: 1fr;
        margin-left: 0;
        margin-right: 0;
    }

    .step::after {
        display: none;
    }

    .form-actions,
    .form-actions > div {
        flex-direction: column;
    }

    .btn,
    .form-actions .btn {
        width: 100%;
    }
}

@media (max-width: 1180px) {
    .widget-permission-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .widget-permission-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .page-link-loader {
        padding: 84px 16px 20px;
    }

    .page-link-loader__panel {
        width: 100%;
    }

    .page-link-loader__grid {
        grid-template-columns: 1fr;
    }

    .page-skeleton--card.tall {
        min-height: 126px;
        grid-column: auto;
        grid-row: auto;
    }

    .page-skeleton--chart {
        grid-column: auto;
    }

    .brand {
        margin-bottom: 14px;
    }

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

    .topbar-right .account-trigger {
        width: auto;
        min-width: 0;
    }

    .hero-actions,
    .hero-actions .btn {
        width: 100%;
    }

    .score {
        width: 148px;
        height: 148px;
    }

.score-inner {
    width: 106px;
    height: 106px;
    font-size: 36px;
}
}

.form-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    place-items: center;
    padding: 24px;
    background: rgba(255, 255, 255, .74);
    backdrop-filter: blur(3px);
}

.form-loading-overlay.is-visible {
    display: grid;
}

.form-loading-card {
    display: grid;
    justify-items: center;
    gap: 12px;
    width: min(380px, 100%);
    padding: 28px 24px;
    border: 1px solid #ddd3ff;
    border-radius: 14px;
    background: #fff;
    color: #17233e;
    text-align: center;
    box-shadow: 0 24px 70px rgba(25, 35, 70, .18);
}

.form-loading-spinner {
    width: 42px;
    height: 42px;
    border: 4px solid #ece5ff;
    border-top-color: #6b2cf5;
    border-radius: 50%;
    animation: formLoadingSpin .8s linear infinite;
}

.form-loading-card strong {
    font-size: 16px;
    font-weight: 900;
}

.form-loading-card span {
    color: #566683;
    font-size: 13px;
    font-weight: 700;
}

.is-form-submitting .btn[type="submit"],
.is-form-submitting button[type="submit"] {
    cursor: wait;
    opacity: .78;
    pointer-events: none;
}

@keyframes formLoadingSpin {
    to {
        transform: rotate(360deg);
    }
}
