:root {
    --ink: #1b1720;
    --muted: #77717c;
    --brand: #7657f6;
    --line: #ebe7ee;
    --soft: #f7f5f9
}

body {
    font-family: "DM Sans", sans-serif;
    color: var(--ink)
}

.min-w-0 {
    min-width: 0
}

h1,
h2,
h3,
.dash-brand,
.auth-brand {
    font-family: "Manrope", sans-serif;
    letter-spacing: -.035em
}

.auth-body {
    min-height: 100vh
}

.auth-wrap {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.05fr .95fr
}

.auth-visual {
    background: linear-gradient(145deg, #24173a, #6747d7 70%, #885fe7);
    padding: 48px 6vw;
    color: #fff;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column
}

.auth-visual:before,
.auth-visual:after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 90px solid rgba(255, 255, 255, .05)
}

.auth-visual:before {
    width: 450px;
    height: 450px;
    right: -170px;
    top: -150px
}

.auth-visual:after {
    width: 370px;
    height: 370px;
    left: -140px;
    bottom: -160px
}

.auth-brand,
.dash-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    color: inherit;
    text-decoration: none;
    font-size: 1.45rem;
    font-weight: 800;
    position: relative;
    z-index: 2
}

.auth-brand span,
.dash-brand>span {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #fff;
    color: var(--brand);
    display: grid;
    place-items: center
}

.auth-brand b,
.dash-brand b {
    color: #ff7364
}

.auth-message {
    margin: auto 0;
    max-width: 630px;
    position: relative;
    z-index: 2
}

.auth-message h1 {
    font-size: clamp(3.7rem, 6vw, 6.5rem);
    line-height: .96;
    font-weight: 800;
    margin: 22px 0
}

.auth-message p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, .67);
    max-width: 500px
}

.auth-pill {
    display: inline-flex;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .08);
    padding: 7px 12px;
    border-radius: 99px;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: .7rem;
    font-weight: 800
}

.auth-quote {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, .15);
    padding-top: 22px;
    display: flex;
    justify-content: space-between
}

.avatar-row {
    display: flex;
    align-items: center;
    gap: 11px
}

.avatar-row>span {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #ffb65c;
    color: #322044;
    font-weight: 800
}

.avatar-row div {
    display: flex;
    flex-direction: column
}

.avatar-row small {
    color: rgba(255, 255, 255, .5)
}

.auth-quote>i {
    font-size: 2.5rem;
    opacity: .16
}

.auth-form-side {
    display: grid;
    place-items: center;
    padding: 45px
}

.login-box {
    width: 100%;
    max-width: 430px
}

.back-home {
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
    font-size: .86rem;
    display: inline-flex;
    gap: 7px;
    margin-bottom: 80px
}

.login-box h2 {
    font-size: 2.45rem;
    font-weight: 800;
    margin: 0
}

.login-box>p {
    color: var(--muted);
    margin: 8px 0 35px
}

.field-error {
    color: #df4a5c;
    font-size: .76rem;
    margin-top: 4px
}

.login-button:hover {
    background: var(--brand)
}

.login-help {
    text-align: center;
    color: var(--muted);
    font-size: .8rem;
    margin-top: 26px
}

.login-help a {
    color: var(--brand);
    font-weight: 700
}

.mobile-auth-brand {
    display: none
}

.mobile-auth-brand img {
    display: block;
    height: 38px;
    max-width: 80px;
    object-fit: contain;
    width: auto
}

.mobile-auth-brand strong {
    color: var(--ink);
    font: 800 1.35rem Manrope
}

.dash-sidebar {
    width: 250px;
    position: fixed;
    inset: 0 auto 0 0;
    background: #1b1720;
    color: #fff;
    padding: 30px 20px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch
}

.dash-sidebar::-webkit-scrollbar {
    width: 5px
}

.dash-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .18);
    border-radius: 999px
}

.dash-brand {
    flex-shrink: 0;
    padding: 0 7px
}

.dash-brand>span {
    background: linear-gradient(135deg, #7c5cf7, #a16cf0);
    color: #fff
}

.panel-badge {
    flex-shrink: 0;
    margin: 28px 7px 20px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, .07);
    color: rgba(255, 255, 255, .55);
    border-radius: 7px;
    text-transform: uppercase;
    letter-spacing: .11em;
    font-size: .63rem;
    font-weight: 800;
    width: max-content
}

.studio-switcher {
    flex-shrink: 0;
    margin-inline: 7px
}

.studio-switcher>.btn {
    background: rgba(255, 255, 255, .08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    padding: 10px 12px
}

.studio-switcher small,
.top-profile-switcher small {
    color: var(--muted);
    font-size: .68rem
}

.studio-switcher>.btn small {
    color: rgba(255, 255, 255, .55);
    display: block
}

.studio-switcher>.btn strong {
    display: block;
    font-size: .82rem
}

.studio-switcher .dropdown-item.active,
.top-profile-switcher .dropdown-item.active {
    background: #eee9ff;
    color: var(--brand)
}

.dash-nav {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    gap: 4px;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: visible;
    padding-right: 0
}

.dash-nav a,
.sidebar-bottom a,
.sidebar-bottom button {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, .57);
    text-decoration: none;
    padding: 11px 12px;
    border-radius: 10px;
    font-weight: 600;
    font-size: .87rem;
    border: 0;
    background: transparent;
    width: 100%;
    text-align: left;
    min-width: 0
}

.dash-nav a {
    flex-shrink: 0
}

.dash-nav a>i,
.sidebar-bottom i {
    flex: 0 0 18px;
    font-size: 1rem;
    text-align: center
}

.dash-nav a:hover,
.dash-nav a.active {
    color: #fff;
    background: rgba(255, 255, 255, .09)
}

.dash-nav a.active {
    box-shadow: inset 3px 0 #987bff
}

.dash-nav a span {
    font-size: .58rem;
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-left: auto;
    background: rgba(255, 255, 255, .08);
    padding: 3px 5px;
    border-radius: 4px
}

.dash-nav .disabled {
    opacity: .6
}

.nav-label {
    text-transform: uppercase;
    letter-spacing: .12em;
    color: rgba(255, 255, 255, .25);
    font-size: .59rem;
    font-weight: 800;
    margin: 21px 12px 5px
}

.sidebar-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    flex-shrink: 0;
    margin-top: 14px;
    padding-top: 15px
}

.sidebar-bottom button:hover,
.sidebar-bottom a:hover {
    color: #fff
}

.dash-shell {
    margin-left: 250px;
    min-height: 100vh
}

.dash-header {
    height: 92px;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid var(--line);
    padding: 0 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(12px)
}

.dash-header h1 {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 1px 0
}

.header-kicker {
    font-size: .66rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted);
    font-weight: 700
}

.header-user {
    display: flex;
    align-items: center;
    gap: 11px
}

.top-profile-switcher .btn {
    max-width: 230px;
    border-radius: 12px;
    font-weight: 800
}

.notification {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 10px;
    width: 40px;
    height: 40px;
    position: relative;
    margin-right: 7px
}

.notification span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #ff6b5e;
    border-radius: 50%;
    right: 8px;
    top: 8px
}

.user-copy {
    display: flex;
    flex-direction: column;
    text-align: right
}

.user-copy strong {
    font-size: .82rem
}

.user-copy small {
    font-size: .67rem;
    color: var(--muted);
    text-transform: capitalize
}

.user-avatar {
    width: 39px;
    height: 39px;
    border-radius: 11px;
    background: #eee9ff;
    color: var(--brand);
    display: grid;
    place-items: center;
    font-weight: 800
}

.mobile-menu {
    display: none;
    border: 0;
    background: transparent;
    font-size: 1.5rem
}

.dash-main {
    padding: 32px 38px 60px;
    max-width: 1600px;
    margin: auto
}

.welcome-strip,
.creator-welcome {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 26px
}

.welcome-strip h2,
.creator-welcome h2 {
    font-size: 1.65rem;
    font-weight: 800;
    margin: 2px 0
}

.welcome-strip p,
.creator-welcome p {
    margin: 0;
    color: var(--muted)
}

.mini-label {
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: .65rem;
    font-weight: 800;
    color: var(--brand)
}

.primary-action:hover {
    background: var(--brand);
    border-color: var(--brand)
}

.stat-icon {
    width: 47px;
    height: 47px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    font-size: 1.18rem;
    flex: none
}

.stat-icon.violet {
    background: #eee9ff;
    color: #7657f6
}

.stat-icon.orange {
    background: #fff0dc;
    color: #e99130
}

.stat-icon.green {
    background: #e6f7ef;
    color: #34a875
}

.stat-icon.blue {
    background: #e5f1ff;
    color: #438ed8
}

.stat-card>div {
    display: flex;
    flex-direction: column
}

.stat-card strong {
    font: 800 1.55rem Manrope;
    line-height: 1.1
}

.stat-card span {
    font-size: .72rem;
    color: var(--muted)
}

.stat-card>i {
    margin-left: auto;
    color: #b6b0b9
}

.panel-head h3 {
    font-size: 1rem;
    font-weight: 800;
    margin: 0
}

.panel-head p {
    font-size: .72rem;
    color: var(--muted);
    margin: 3px 0
}

.panel-head a {
    font-size: .75rem;
    font-weight: 700;
    color: var(--brand);
    text-decoration: none
}

.dash-table th {
    background: #faf9fb;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: .61rem;
    color: #948d98;
    padding: 11px 22px;
    border: 0
}

.dash-table td {
    padding: 14px 22px;
    font-size: .77rem;
    border-color: var(--line)
}

.person-cell {
    display: flex;
    align-items: center;
    gap: 10px
}

.person-cell>div:last-child {
    display: flex;
    flex-direction: column
}

.person-cell small {
    font-size: .68rem;
    color: var(--muted)
}

.table-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #eee9ff;
    color: var(--brand);
    display: grid;
    place-items: center;
    font-weight: 800;
    overflow: hidden
}

.table-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.status-pill.verified {
    background: #e5f7ed;
    color: #27895b
}

.status-pill.pending {
    background: #fff1dd;
    color: #b66b13
}

.lead-list {
    padding: 0 20px
}

.lead-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 0;
    border-top: 1px solid var(--line)
}

.lead-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #eee9ff;
    color: var(--brand);
    display: grid;
    place-items: center
}

.lead-item>div {
    display: flex;
    flex-direction: column;
    flex: 1
}

.lead-item strong {
    font-size: .76rem
}

.lead-item small {
    font-size: .66rem;
    color: var(--muted)
}

.lead-item>span:last-child {
    font-size: .6rem;
    color: var(--muted)
}

.side-empty i {
    font-size: 2rem;
    color: #c7c1cb
}

.side-empty p {
    font-size: .75rem
}

.table-empty>i {
    font-size: 2rem
}

.admin-search {
    background: #fff;
    border: 1px solid var(--line);
    height: 44px;
    border-radius: 10px;
    padding: 0 13px;
    display: flex;
    align-items: center;
    width: 280px
}

.admin-search input {
    border: 0;
    outline: 0;
    padding: 0 9px;
    width: 100%;
    font-size: .8rem
}

.filter-tabs {
    display: flex;
    background: #ece9ef;
    border-radius: 10px;
    padding: 3px
}

.filter-tabs button {
    border: 0;
    background: transparent;
    padding: 7px 12px;
    border-radius: 8px;
    font-size: .73rem;
    font-weight: 700;
    color: var(--muted)
}

.filter-tabs button.active {
    background: #fff;
    color: var(--ink);
    box-shadow: 0 2px 6px rgba(20, 10, 30, .07)
}

.page-tools>.primary-action {
    margin-left: auto
}

.soft-tag {
    padding: 5px 8px;
    background: #f3eff7;
    border-radius: 7px
}

.status-dot {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: capitalize
}

.status-dot i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #bbb
}

.status-dot.active i {
    background: #35b477
}

.status-dot.inactive i {
    background: #eb6873
}

.table-actions {
    display: flex;
    gap: 5px
}

.table-actions button,
.table-actions a {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--muted);
    width: 31px;
    height: 31px;
    border-radius: 8px;
    display: grid;
    place-items: center
}

.table-actions button:hover,
.table-actions a:hover {
    color: var(--brand);
    border-color: #cfc4fa
}

.pagination-wrap {
    padding: 18px
}

.creator-profile-mini {
    display: flex;
    align-items: center;
    gap: 15px
}

.big-avatar {
    width: 65px;
    height: 65px;
    border-radius: 17px;
    background: #eee9ff;
    color: var(--brand);
    font: 800 1.4rem Manrope;
    display: grid;
    place-items: center;
    overflow: hidden
}

.big-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.creator-welcome h2 i {
    color: #6389ff;
    font-size: 1rem
}

.completion-card {
    background: linear-gradient(145deg, #271b39, #7050d5);
    color: #fff;
    border-radius: 18px;
    padding: 23px;
    height: 100%
}

.completion-top {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.completion-top>div:first-child {
    display: flex;
    flex-direction: column
}

.completion-top span {
    font-size: .72rem;
    color: rgba(255, 255, 255, .62)
}

.completion-top strong {
    font: 800 2rem Manrope
}

.completion-top .badge {
    align-self: flex-start;
    color: #271b39;
    font-weight: 800
}

.progress-ring {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: conic-gradient(#ffb967 var(--progress), rgba(255, 255, 255, .12) 0);
    position: relative
}

.progress-ring:after {
    content: "";
    position: absolute;
    inset: 6px;
    background: #493180;
    border-radius: 50%
}

.progress-ring span {
    position: relative;
    z-index: 2;
    color: #fff;
    font-weight: 800
}

.completion-card .progress {
    height: 5px;
    background: rgba(255, 255, 255, .15);
    margin: 20px 0 14px
}

.completion-card .progress-bar {
    background: #ffb967
}

.completion-card p {
    font-size: .75rem;
    color: rgba(255, 255, 255, .58)
}

.strength-tips {
    display: grid;
    gap: 9px;
    margin: 0 0 16px
}

.strength-tips div {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 9px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .11);
    color: rgba(255, 255, 255, .82);
    font-size: .72rem;
    line-height: 1.35
}

.strength-tips i {
    color: #ffcf85
}

.completion-card button {
    border: 0;
    background: transparent;
    color: #fff;
    padding: 0;
    font-size: .75rem;
    font-weight: 800
}

.completion-card>a {
    color: #fff;
    font-size: .75rem;
    font-weight: 800;
    text-decoration: none
}

.creator-stat {
    height: 100%
}

.creator-stat>div {
    display: flex;
    flex-direction: column
}

.creator-stat strong {
    font: 800 1.35rem Manrope
}

.creator-stat div span {
    font-size: .7rem;
    color: var(--muted)
}

.creator-stat small {
    font-size: .62rem;
    color: var(--muted);
    margin-left: auto
}

.quick-actions {
    padding: 0 20px 13px
}

.quick-actions a {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 0;
    border-top: 1px solid var(--line);
    color: var(--ink);
    text-decoration: none
}

.quick-actions>a>i:first-child {
    width: 34px;
    height: 34px;
    background: #f0ebff;
    color: var(--brand);
    border-radius: 9px;
    display: grid;
    place-items: center
}

.quick-actions span {
    display: flex;
    flex-direction: column;
    flex: 1
}

.quick-actions strong {
    font-size: .75rem
}

.quick-actions small {
    font-size: .64rem;
    color: var(--muted)
}

.quick-actions>a>i:last-child {
    color: #aaa
}

.onboarding-empty>span {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: #eee9ff;
    color: var(--brand);
    display: grid;
    place-items: center;
    margin: auto;
    font-size: 1.8rem
}

.onboarding-empty h2 {
    font-size: 1.7rem;
    font-weight: 800;
    margin-top: 20px
}

.onboarding-empty p {
    color: var(--muted)
}

@media(max-width:991px) {
    .auth-wrap {
        grid-template-columns: 1fr
    }

    .auth-visual {
        display: none
    }

    .auth-form-side {
        min-height: 100vh
    }

    .mobile-auth-brand {
        display: block;
        font: 800 1.4rem Manrope;
        margin-bottom: 40px
    }

    .back-home {
        margin-bottom: 30px
    }

    .dash-sidebar {
        transform: translateX(-100%);
        transition: .25s
    }

    .dash-sidebar.show {
        transform: translateX(0)
    }

    .dash-shell {
        margin-left: 0
    }

    .mobile-menu {
        display: block
    }

    .dash-header {
        padding: 0 20px
    }

    .dash-header>div:first-of-type {
        flex: 1;
        margin-left: 12px
    }

    .dash-main {
        padding: 25px 20px
    }

    .user-copy {
        display: none
    }
}

@media(max-width:700px) {
    .dash-header {
        height: 76px
    }

    .dash-header .header-kicker {
        display: none
    }

    .welcome-strip,
    .creator-welcome {
        align-items: flex-start;
        gap: 15px
    }

    .welcome-strip .primary-action,
    .creator-welcome>.primary-action {
        font-size: 0;
        width: 42px;
        height: 42px;
        padding: 0;
        display: grid;
        place-items: center
    }

    .welcome-strip .primary-action i,
    .creator-welcome>.primary-action i {
        font-size: 1rem
    }

    .page-tools {
        flex-wrap: wrap
    }

    .admin-search {
        width: 100%
    }

    .filter-tabs {
        overflow: auto;
        max-width: 100%
    }

    .page-tools>.primary-action {
        margin-left: 0
    }

    .creator-admin-table {
        min-width: 800px
    }

    .auth-form-side {
        padding: 25px
    }

    .login-box h2 {
        font-size: 2rem
    }

    /* .user-avatar {
        display: none
    } */
}

@media(max-width:991px) {
    .auth-body {
        background: linear-gradient(145deg, #24173a, #7657f6 58%, #ff7364);
        min-height: 100vh
    }

    .auth-wrap {
        min-height: 100vh
    }

    .auth-form-side {
        align-items: start;
        min-height: 100vh;
        padding: 22px;
        position: relative
    }

    .auth-form-side:before {
        content: "Budaun's digital ecosystem";
        color: rgba(255, 255, 255, .72);
        font-size: .76rem;
        font-weight: 800;
        letter-spacing: .08em;
        margin: 8px 0 14px;
        text-transform: uppercase
    }

    .login-box {
        background: rgba(255, 255, 255, .96);
        border: 1px solid rgba(255, 255, 255, .55);
        border-radius: 24px;
        box-shadow: 0 24px 60px rgba(27, 23, 32, .24);
        margin: 0 auto;
        max-width: 460px;
        padding: 24px;
        width: 100%
    }

    .mobile-auth-brand {
        align-items: center;
        display: flex;
        gap: 10px;
        margin-bottom: 22px
    }

    .mobile-auth-brand img {
        height: 42px;
        max-width: 86px
    }

    .back-home {
        background: var(--soft);
        border: 1px solid var(--line);
        border-radius: 999px;
        color: var(--ink);
        font-size: .82rem;
        margin-bottom: 18px;
        padding: 8px 12px
    }

    .login-box h2 {
        font-size: clamp(1.85rem, 8vw, 2.2rem);
        letter-spacing: -.025em
    }

    .login-box>p {
        margin: 6px 0 24px
    }
}

@media(max-width:575px) {
    .auth-form-side {
        padding: 16px
    }

    .auth-form-side:before {
        margin-left: 4px
    }

    .login-box {
        border-radius: 22px;
        padding: 20px
    }

    .login-box .mb-3 {
        margin-bottom: .85rem !important
    }

    .login-box .form-label {
        font-size: .88rem;
        margin-bottom: .42rem
    }

    .login-box .input-group-lg>.form-control,
    .login-box .input-group-lg>.input-group-text {
        font-size: .95rem;
        min-height: 48px;
        padding-bottom: .62rem;
        padding-top: .62rem
    }

    .login-button {
        font-size: .98rem;
        min-height: 50px
    }

    .login-help {
        margin-top: 18px
    }
}

/* Creator management */
.tool-title {
    font: 800 1.25rem Manrope;
    margin: 0
}

.tool-subtitle {
    color: var(--muted);
    font-size: .78rem;
    margin: 3px 0
}

.form-panel {
    padding-bottom: 22px
}

.form-grid {
    padding: 5px 22px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px
}

.form-grid label {
    display: flex;
    flex-direction: column;
    gap: 6px
}

.form-grid label>span {
    font-size: .72rem;
    font-weight: 700
}

.form-grid label>small {
    font-size: .66rem;
    color: #dc5260
}

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

.toggle-label {
    flex-direction: row !important;
    align-items: center;
    gap: 10px !important;
    align-self: end;
    min-height: 43px
}

.toggle-label>input {
    width: 36px;
    height: 20px;
    accent-color: var(--brand)
}

.toggle-label>span {
    display: flex;
    flex-direction: column
}

.toggle-label small {
    color: var(--muted) !important
}

.media-panel {
    padding: 0 20px 22px
}

.upload-zone {
    border: 1px dashed #ccc4d2;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: #faf9fb;
    cursor: pointer;
    margin-bottom: 16px;
    color: var(--muted)
}

.upload-zone input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer
}

.upload-zone img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute
}

.upload-zone span {
    position: absolute;
    bottom: 8px;
    background: rgba(20, 14, 25, .75);
    color: #fff;
    border-radius: 7px;
    padding: 4px 8px;
    font-size: .65rem;
    z-index: 2
}

.profile-upload {
    width: 145px;
    height: 145px;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    font-size: 2rem
}

.cover-upload {
    height: 150px;
    font-size: 2rem
}

.tip-card {
    margin-top: 16px;
    background: #fff6df;
    border: 1px solid #f4e5bd;
    border-radius: 14px;
    padding: 16px;
    display: flex;
    gap: 11px;
    color: #805c13
}

.tip-card strong {
    font-size: .77rem
}

.tip-card p {
    font-size: .68rem;
    margin: 3px 0
}

.close-form {
    border: 0;
    background: #f3eff5;
    border-radius: 8px;
    width: 32px;
    height: 32px
}

.form-actions {
    display: flex;
    align-items: end
}

.content-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px
}

.content-thumb {
    height: 165px;
    background: #eeeaf1;
    display: grid;
    place-items: center;
    position: relative;
    color: #aaa;
    font-size: 2rem
}

.content-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.content-thumb span {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #fff;
    color: var(--brand);
    font-size: .6rem;
    font-weight: 800;
    padding: 4px 7px;
    border-radius: 99px
}

.content-info {
    padding: 15px
}

.content-info>small,
.service-copy>small {
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: .07em;
    font-size: .58rem;
    font-weight: 800
}

.content-info h3 {
    font-size: .9rem;
    font-weight: 800;
    margin: 4px 0 13px
}

.content-info button {
    border: 0;
    background: transparent;
    font-size: .7rem;
    font-weight: 700;
    color: var(--muted)
}

.content-info button.danger,
.manage-buttons .danger {
    color: #d85461
}

.grid-empty {
    grid-column: 1/-1
}

.service-list,
.enquiry-list {
    display: grid;
    gap: 12px
}

.service-type-icon {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: #eee9ff;
    color: var(--brand);
    display: grid;
    place-items: center;
    font-size: 1.2rem
}

.service-copy {
    flex: 1
}

.service-copy h3 {
    font-size: .9rem;
    font-weight: 800;
    margin: 2px 0
}

.service-copy p {
    font-size: .7rem;
    color: var(--muted);
    margin: 0
}

.service-price {
    display: flex;
    flex-direction: column;
    text-align: right
}

.service-price>small {
    font-size: .58rem;
    color: var(--muted)
}

.service-price>strong {
    font: 800 .92rem Manrope
}

.manage-buttons {
    display: flex;
    gap: 5px
}

.manage-buttons button {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    color: var(--muted)
}

.compact-select {
    width: auto;
    min-width: 150px
}

.enquiry-top,
.enquiry-actions {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.enquiry-body {
    padding: 17px 0;
    margin: 14px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line)
}

.enquiry-body h3 {
    font-size: .9rem;
    font-weight: 800
}

.enquiry-body p {
    font-size: .75rem;
    color: var(--muted)
}

.enquiry-meta {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    font-size: .68rem;
    color: var(--muted)
}

.enquiry-meta i {
    margin-right: 5px
}

.enquiry-actions {
    justify-content: flex-end;
    gap: 8px
}

.profile-progress-panel {
    background: #15111b;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    box-shadow: 0 14px 35px rgba(26, 18, 36, .12)
}

.profile-progress-panel h3 {
    font: 800 1.05rem Manrope;
    margin: 2px 0
}

.profile-progress-panel p {
    color: rgba(255, 255, 255, .62);
    font-size: .78rem;
    margin: 0
}

.profile-type-dots {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end
}

.profile-type-dots span {
    height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .14);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, .58);
    font-size: .72rem;
    font-weight: 800
}

.profile-type-dots span.done {
    background: #fff;
    color: #17111d
}

.profile-build-card {
    height: 100%;
    background: #fff;
    border: 1px solid #ebe7ef;
    border-radius: 18px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 12px 30px rgba(28, 22, 38, .07);
    position: relative;
    overflow: hidden
}

.profile-build-card:before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: #6d5efc
}

.profile-build-card.professional:before {
    background: #148653
}

.profile-build-card.business:before {
    background: #f0b400
}

.profile-build-card .build-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #f2efff;
    color: #6547ff;
    display: grid;
    place-items: center;
    font-size: 1.15rem
}

.profile-build-card.professional .build-icon {
    background: #e8f7ef;
    color: #148653
}

.profile-build-card.business .build-icon {
    background: #fff5ce;
    color: #9a7000
}

.profile-build-card span {
    font-size: .68rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--muted)
}

.profile-build-card h3 {
    font: 800 1rem Manrope;
    margin: 2px 0
}

.profile-build-card p {
    font-size: .76rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.55
}

.profile-build-card button {
    align-self: flex-start;
    margin-top: auto
}

.all-profiles-ready {
    border: 1px solid #cfe9d8;
    background: #f2fff6;
    color: #155d32;
    border-radius: 16px;
    padding: 16px 18px;
    display: flex;
    gap: 12px;
    align-items: center
}

.all-profiles-ready>i {
    font-size: 1.6rem
}

.all-profiles-ready strong {
    display: block;
    font: 800 .88rem Manrope
}

.all-profiles-ready span {
    font-size: .76rem;
    color: #50735d
}

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

.profile-owned-card {
    background: #fff;
    border: 1px solid #ebe7ef;
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 12px 30px rgba(28, 22, 38, .07);
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 210px;
    position: relative;
    overflow: hidden
}

.profile-owned-card:before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: #6d5efc
}

.profile-owned-card.professional:before {
    background: #148653
}

.profile-owned-card.business:before {
    background: #f0b400
}

.profile-card-top,
.profile-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px
}

.profile-kind {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .7rem;
    font-weight: 900;
    color: #15111b
}

.profile-state {
    font-size: .66rem;
    font-weight: 900;
    border-radius: 99px;
    padding: 5px 9px;
    background: #eef0f4;
    color: #68717c
}

.profile-state.live {
    background: #148653;
    color: #fff
}

.profile-card-body {
    display: flex;
    align-items: center;
    gap: 13px
}

.profile-avatar {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: #f2efff;
    color: #6547ff;
    display: grid;
    place-items: center;
    overflow: hidden;
    font-weight: 900;
    flex: 0 0 auto
}

.profile-owned-card.professional .profile-avatar {
    background: #e8f7ef;
    color: #148653
}

.profile-owned-card.business .profile-avatar {
    background: #fff5ce;
    color: #9a7000
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.profile-card-body h3 {
    font: 800 1rem Manrope;
    margin: 0 0 4px
}

.profile-card-body p {
    font-size: .76rem;
    color: var(--muted);
    margin: 0 0 6px
}

.profile-card-body small {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .68rem;
    color: var(--muted)
}

.profile-card-actions {
    margin-top: auto;
    justify-content: flex-start
}

.profile-card-actions .btn-dark {
    min-width: 132px
}

.icon-action {
    width: 32px;
    height: 32px;
    border: 1px solid var(--line);
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: #17111d;
    text-decoration: none;
    margin-left: auto
}

.icon-action:hover {
    background: #17111d;
    color: #fff
}

@media(max-width:900px) {

    .content-card-grid,
    .profile-card-grid {
        grid-template-columns: 1fr 1fr
    }

    .profile-progress-panel {
        align-items: flex-start;
        flex-direction: column
    }

    .profile-type-dots {
        justify-content: flex-start
    }

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

    .form-grid .full {
        grid-column: auto
    }
}

@media(max-width:600px) {

    .content-card-grid,
    .profile-card-grid {
        grid-template-columns: 1fr
    }

    .profile-card-actions {
        flex-wrap: wrap
    }

    .profile-card-actions .btn {
        flex: 1 1 auto
    }

    .icon-action {
        margin-left: 0
    }

    .service-manage-card {
        align-items: flex-start;
        flex-wrap: wrap
    }

    .service-copy {
        min-width: calc(100% - 70px)
    }

    .service-price {
        text-align: left
    }

    .enquiry-actions {
        justify-content: flex-start
    }

    .form-grid {
        padding: 5px 15px
    }
}

/* Keep portfolio thumbnails from covering the card actions. */
.content-manage-card {
    min-width: 0
}

.content-manage-card .content-thumb {
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: hidden;
    background: #eeeaf1
}

.content-manage-card .content-thumb img.portfolio-thumbnail {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #16121a
}

.content-manage-card .content-info {
    position: relative;
    z-index: 2;
    background: #fff
}

.content-manage-card .content-thumb .featured-badge {
    position: absolute;
    z-index: 2;
    top: 10px;
    left: 10px;
    width: auto;
    height: auto;
    background: #fff;
    color: var(--brand);
    font-size: .6rem;
    font-weight: 800;
    padding: 4px 7px;
    border-radius: 99px
}


.sidebar-overlay {
    display: none;
}

@media (max-width: 991.98px) {

    .sidebar-overlay {
        position: fixed;
        inset: 0;
        background: rgba(25, 19, 31, 0.45);
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
        z-index: 1040;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        display: block;
        transition:
            opacity 0.25s ease,
            visibility 0.25s ease;
    }

    .sidebar-overlay.show {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .dash-sidebar {
        z-index: 1050;
    }

    body.sidebar-open {
        overflow: hidden;
    }
}
