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

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

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
}

.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
}

.dash-brand {
    padding: 0 7px
}

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

.panel-badge {
    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
}

.dash-nav {
    display: flex;
    flex-direction: column;
    gap: 4px
}

.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
}

.dash-nav a>i,
.sidebar-bottom i {
    font-size: 1rem
}

.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 {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, .08);
    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
}

.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
}

.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)
}

.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
    }

    .mobile-auth-brand span {
        color: #ff6b5e
    }

    .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
    }
}

/* 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}
@media(max-width:900px){.content-card-grid{grid-template-columns:1fr 1fr}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}}@media(max-width:600px){.content-card-grid{grid-template-columns:1fr}.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}
