:root {
    --user-primary: #ec4899;
    --user-primary-dark: #db2777;
    --user-soft: #fdf2f8;
    --user-text: #2f1727;
    --user-muted: #8d7182;
    --user-border: #ead2df;
    --user-bg: #f7edf3;
    --user-shadow: 0 16px 36px rgba(105, 38, 73, .105), 0 2px 7px rgba(105, 38, 73, .04);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    color: var(--user-text);
    background: var(--user-bg);
    font-family: 'Prompt', sans-serif;
    font-size: 16px;
}

.user-shell { display: flex; min-height: 100vh; }

.user-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1030;
    width: 258px;
    padding: 24px 16px 16px;
    flex-direction: column;
    border-right: 1px solid var(--user-border);
    background: #fff;
    box-shadow: 12px 0 32px rgba(92, 33, 64, .075);
}

.user-brand {
    display: flex;
    padding: 0 8px;
    align-items: center;
    gap: 12px;
    color: var(--user-text);
    text-decoration: none;
}

.user-brand-mark {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 15px;
    color: #fff;
    background: linear-gradient(135deg, #ec4899, #fb7185);
    font-size: 1.35rem;
    box-shadow: 0 10px 22px rgba(236, 72, 153, .24);
}

.user-brand span:last-child strong,
.user-brand span:last-child small { display: block; }
.user-brand strong { font-size: .93rem; }
.user-brand small { margin-top: 3px; color: var(--user-muted); font-size: .61rem; }

.user-nav { margin-top: 34px; }
.user-nav-heading { margin: 0 12px 10px; color: #b79aaa; font-size: .63rem; font-weight: 500; letter-spacing: .04em; }

.user-nav-link {
    position: relative;
    display: flex;
    min-height: 48px;
    margin-bottom: 5px;
    padding: 10px 12px;
    align-items: center;
    gap: 12px;
    border-radius: 13px;
    color: #765e6e;
    font-size: .73rem;
    font-weight: 500;
    text-decoration: none;
    transition: transform .18s ease, color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.user-nav-link:hover {
    color: var(--user-primary-dark);
    background: var(--user-soft);
    transform: translateX(3px);
}

.user-nav-link.is-active {
    color: #fff;
    background: linear-gradient(135deg, #ec4899, #db2777);
    box-shadow: 0 10px 22px rgba(236, 72, 153, .22);
}

.user-nav-icon { display: grid; width: 25px; place-items: center; }
.user-nav-link small { margin-left: auto; padding: 3px 7px; border-radius: 999px; color: #a47e93; background: #fbeaf3; font-size: .52rem; }
.user-nav-link.is-disabled { opacity: .55; pointer-events: none; }

.user-account {
    display: grid;
    margin-top: auto;
    padding: 12px;
    grid-template-columns: 38px minmax(0, 1fr) 34px;
    align-items: center;
    gap: 9px;
    border: 1px solid var(--user-border);
    border-radius: 15px;
    background: #fff8fc;
}

.user-account span:nth-child(2) strong,
.user-account span:nth-child(2) small,
.user-top-account span:last-child strong,
.user-top-account span:last-child small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-account strong,
.user-top-account strong { font-size: .65rem; }
.user-account small,
.user-top-account small { margin-top: 2px; color: var(--user-muted); font-size: .55rem; }

.user-account button {
    display: grid;
    width: 34px;
    height: 34px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 10px;
    color: var(--user-primary-dark);
    background: #fbeaf3;
}

.user-avatar-light {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, #ec4899, #fb7185);
    font-size: .72rem;
    font-weight: 600;
}

.user-content {
    width: calc(100% - 258px);
    min-height: 100vh;
    margin-left: 258px;
    background:
        radial-gradient(circle at 92% 4%, rgba(236, 72, 153, .075), transparent 22rem),
        radial-gradient(circle at 12% 88%, rgba(251, 113, 133, .05), transparent 24rem),
        var(--user-bg);
}

.user-topbar {
    position: sticky;
    top: 0;
    z-index: 1020;
    display: flex;
    min-height: 78px;
    padding: 0 32px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--user-border);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(14px);
    box-shadow: 0 7px 22px rgba(105, 38, 73, .055);
}

.user-topbar p { margin: 0 0 2px; color: var(--user-primary); font-size: .57rem; font-weight: 600; letter-spacing: .11em; }
.user-topbar h1 { margin: 0; font-size: 1rem; font-weight: 600; }
.user-top-account { align-items: center; gap: 10px; }

.user-notification-button {
    position: relative;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--user-border);
    border-radius: 13px;
    color: var(--user-muted);
    background: #fff;
    text-decoration: none;
    transition: .18s ease;
}
.user-notification-button:hover { color: var(--user-primary); border-color: #f1a4c8; background: #fff5fa; transform: translateY(-2px); }
.user-notification-button .notification-count {
    position: absolute; top: -6px; right: -7px; display: grid; min-width: 19px; height: 19px; padding: 0 5px;
    place-items: center; border: 2px solid #fff; border-radius: 999px; color: #fff; background: var(--user-primary);
    font-size: .5rem; font-weight: 600; line-height: 1;
}

.user-menu-button {
    display: grid;
    width: 42px;
    height: 42px;
    padding: 0;
    place-items: center;
    border: 1px solid var(--user-border);
    border-radius: 12px;
    color: var(--user-primary-dark);
    background: #fff;
}

.user-menu-button:hover { color: #fff; border-color: var(--user-primary); background: var(--user-primary); }
.user-main { min-height: calc(100vh - 142px); padding: 28px 32px; }
.user-main [class$="-card"],
.user-main .content-card {
    border-color: rgba(228, 198, 214, .98) !important;
    background-color: #fff;
    box-shadow: var(--user-shadow) !important;
}
.user-main thead th { background-color: #fff7fb !important; }
.user-main input,
.user-main select,
.user-main textarea { border-color: #e5cdd9; }
.user-main input:focus,
.user-main select:focus,
.user-main textarea:focus { background-color: #fff; }
.user-footer { display: flex; padding: 18px 32px; align-items: center; justify-content: space-between; color: #aa8c9e; font-size: .57rem; }
.user-offcanvas { width: min(86vw, 310px); border: 0; }
.user-offcanvas .offcanvas-header { padding: 20px; border-bottom: 1px solid var(--user-border); }
.user-offcanvas .offcanvas-body { padding: 8px 16px 16px; }

@media (max-width: 1199.98px) {
    .user-content { width: 100%; margin-left: 0; }
}

@media (max-width: 767.98px) {
    .user-topbar { min-height: 70px; padding: 0 18px; }
    .user-main { padding: 20px 16px; }
    .user-footer { padding: 16px; flex-direction: column; gap: 5px; }
    .user-topbar h1 { font-size: .9rem; }
}

/* Member pages use the same full-width navigation language as the landing page. */
.member-page{background:#fff}
.member-shell{display:block;min-height:100vh}
.member-content{width:100%;min-height:100vh;margin-left:0;background:radial-gradient(circle at 92% 4%,rgba(236,72,153,.055),transparent 22rem),#fff}
.member-header{z-index:1050}
.member-nav .landing-container{max-width:1200px}
.member-guest .member-nav .landing-container{width:min(1200px,calc(100% - 48px));max-width:1200px}
.member-guest .member-nav .member-links{margin-left:auto;gap:18px}
.member-guest .member-nav .member-links .nav-link{font-size:14px}
.member-guest .member-nav .landing-auth{margin-left:clamp(18px,3vw,54px)}
.member-guest .member-nav{min-height:76px;padding:10px 0}
.member-guest .member-nav .member-links{margin:0 auto;gap:clamp(18px,2.2vw,34px)}
.member-guest .member-nav .member-links .nav-link{color:var(--ink);font-size:13px}
.member-guest .member-nav .landing-auth{margin-left:24px}
.member-nav .landing-brand{flex:0 0 auto}
.member-nav .member-links{gap:clamp(9px,1.15vw,19px)}
.member-nav .member-links .nav-link{font-size:12px}
.member-actions{display:flex;margin-left:17px;align-items:center;gap:9px}
.member-notification{position:relative;display:grid;width:40px;height:40px;flex:0 0 40px;place-items:center;border:1px solid #f0d3df;border-radius:10px;color:#667085;background:#fff;text-decoration:none;transition:.18s}
.notification-bell{width:20px;height:20px;fill:none;stroke:#ec1760;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}
.member-notification:hover{color:#ec1760;border-color:#ec1760;background:#fff5f8}
.member-notification>span{position:absolute;top:-6px;right:-6px;display:grid;min-width:18px;height:18px;padding:0 4px;place-items:center;border:2px solid #fff;border-radius:99px;color:#fff;background:#ec1760;font-size:8px;font-weight:600}
.member-account-button{display:flex;min-height:44px;padding:4px 10px 4px 5px;align-items:center;gap:8px;border:1px solid #f0d3df;border-radius:11px;color:#0f172a;background:#fff;font-family:"Prompt",sans-serif;text-align:left}
.member-account-button:after{margin-left:3px;color:#98a2b3}
.member-account-button .user-avatar-light{width:34px;height:34px;flex-basis:34px;border-radius:9px;background:#ec1760}
.member-account-copy{display:block;max-width:110px}
.member-account-copy strong,.member-account-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.member-account-copy strong{font-size:10px;font-weight:600}.member-account-copy small{color:#8d7182;font-size:8px}
.member-account-menu{min-width:205px;padding:8px;border:1px solid #f0d3df;border-radius:13px;box-shadow:0 18px 40px rgba(15,23,42,.13)}
.member-account-menu .dropdown-item{display:flex;padding:9px 10px;align-items:center;gap:9px;border-radius:8px;color:#344054;font-size:11px}
.member-account-menu .dropdown-item:hover,.member-account-menu .dropdown-item.active{color:#ec1760;background:#fff1f6}
.member-account-menu .is-logout{width:100%;border:0;color:#c9124e;background:transparent;text-align:left}
.member-page-heading{width:min(1200px,calc(100% - 48px));margin:32px auto 0}
.member-page-heading small{color:#ec1760;font-size:9px;font-weight:600;letter-spacing:.1em}.member-page-heading h1{margin:3px 0 0;color:#0f172a;font-size:24px;font-weight:700}
.member-content>.user-main{width:min(1200px,calc(100% - 48px));min-height:calc(100vh - 160px);margin:0 auto;padding:42px 0 72px}
.member-content>.member-page-heading+.user-main{padding-top:22px}
.member-content>.user-footer{width:min(1200px,calc(100% - 48px));margin:auto;padding:22px 0;border-top:1px solid #f0d3df}
@media(max-width:1199.98px){.member-nav .member-links{gap:4px}.member-nav .member-links .nav-link{font-size:11px}.member-actions{margin-left:10px}.member-account-copy{display:none}}
@media(max-width:991.98px){.member-nav .landing-menu{max-height:calc(100vh - 70px);overflow-y:auto}.member-nav .member-links .nav-link{font-size:13px}.member-actions{margin:12px 10px 0;padding-top:12px;border-top:1px solid #f0d3df}.member-account-copy{display:block;max-width:none}.member-account-dropdown{flex:1}.member-account-button{width:100%;justify-content:flex-start}.member-account-button:after{margin-left:auto}}
@media(max-width:767.98px){.member-page-heading,.member-content>.user-main,.member-content>.user-footer{width:min(100% - 28px,1200px)}.member-page-heading{margin-top:24px}.member-content>.user-main{padding:30px 0 55px}.member-content>.member-page-heading+.user-main{padding-top:17px}}
