:root {
    /* existing palette … */
    --bg: #f3f7ff;
    --bg-grad-1: #ffffff;
    --bg-grad-2: #d9f6ea;
    --bg-grad-3: #d8e4ff;
    --card-bg: #ffffff;
    --card-brd: #e6ecf2;
    --ink: #0f172a;
    --muted: #5f718a;
    --accent: #16b187;
    --accent-2: #2aa7ff;
    --danger: #c23934;
    --ring: rgba(32, 166, 255, .22);
    --shadow: 0 20px 50px rgba(2, 8, 23, .10);
    --radius-xl: 22px;
    --radius-md: 14px;
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --border: #e6e9ef;
    --ink: #121417;
    --blue: #3b82f6;
    /* NEW: solid popup button color (no gradients) */
    --popup-btn: #3b82f6;
    /* base, requested */
    --popup-btn-hover: #3b82f6;
    /* keep same to avoid any shade shift */
    --popup-btn-text: #fff;
    --popup-btn-brd: #3b82f6;
}

html,
body {
    min-height: 100vh;
    font: 500 16px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--ink);
}

* {
    box-sizing: border-box;
}

input,
textarea,
select,
button,
::placeholder {
    font-family: inherit;
}

/* Conditionally style placeholders in the Workshop / Finalize flow */
.finalize-required::placeholder {
    color: #ef4444 !important;
    opacity: 1 !important;
}

.finalize-required {
    color: var(--ink);
}

.finalize-required:placeholder-shown {
    color: #ef4444;
}

/* BODY background etc. */
body.gradient {
    margin: 0;
    background:
        radial-gradient(1200px 800px at 10% -10%, var(--bg-grad-2), transparent 60%),
        radial-gradient(1200px 800px at 110% 110%, var(--bg-grad-3), transparent 60%),
        var(--bg);
    padding: 0;
    display: grid;
    place-items: center;
    min-height: 100vh;
}

/* container: reserve safe-area space and center perfectly inside */
.container {
    padding-top: max(20px, var(--safe-top));
    padding-bottom: max(20px, var(--safe-bottom));
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* FORM card + inputs */
.card {
    background: var(--card-bg);
    border: 1px solid var(--card-brd);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    padding: 20px;
    width: 96%;
    max-width: 440px;
    margin: 0 auto;
}

.card-wide {
    max-width: 800px;
}

/* Media query for larger screens since clamp() might fail */
@media (min-width: 768px) {
    .card {
        padding: 28px;
    }
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 12px 0;
}

.field label {
    font-weight: 700;
    font-size: 13px;
    color: var(--muted);
}

.control {
    position: relative;
}

.input {
    width: 100%;
    appearance: none;
    border: 1px solid #dbe5f0;
    background: #fff;
    color: var(--ink);
    border-radius: var(--radius-md);
    padding: 14px 44px 14px 14px;
    font-size: 15px;
    outline: none;
    transition: box-shadow .15s ease, border-color .15s ease;
}

.input:focus {
    border-color: #b8d3ff;
    box-shadow: 0 0 0 5px var(--ring);
}

.input-error {
    border-color: #ef4444 !important;
    background: #fffcfc !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1) !important;
}

.toggle {
    position: absolute;
    inset: auto 10px 0 auto;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 10px;
    font-weight: 800;
    color: #3b82f6;
}

select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='4 6 8 10 12 6'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 14px !important;
    padding-right: 44px !important;
}

.toggle:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--ring);
}

.row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.link {
    color: #2066c7;
    text-decoration: none !important;
    font-weight: 700;
    -webkit-tap-highlight-color: transparent;
}

.link:hover {
    text-decoration: none !important;
}

.link:focus,
.link:active,
.link:focus-visible {
    text-decoration: none !important;
    outline: none !important;
    box-shadow: none !important;
}

button.link {
    background: none;
    border: 0;
    padding: 0;
}

button.link:focus,
button.link:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

a.link:focus,
a.link:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

/* Primary page .btn (kept as-is — this is not the POPUP button) */
.btn {
    -webkit-appearance: none;
    appearance: none;
    border: 0;
    cursor: pointer;
    color: #fff;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--accent) 0%, #11cfa3 45%, var(--accent-2) 100%);
    padding: 16px 18px;
    border-radius: 16px;
    font-weight: 900;
    font-size: 17px;
    letter-spacing: .2px;
    transition: transform .05s ease, opacity .2s ease, box-shadow .2s ease, filter .2s ease;
    box-shadow: 0 14px 26px rgba(22, 177, 135, .35);
    filter: saturate(1.08);
}

.btn:hover {
    opacity: .98;
    filter: saturate(1.12);
    box-shadow: 0 16px 30px rgba(32, 166, 255, .28);
}

/* Dark Admin Button Styling */
.btn-dark {
    background: #0f172a !important;
    color: white !important;
    border-radius: 12px !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 10px 20px !important;
    width: auto !important;
}

.btn-dark:hover {
    background: #1e293b !important;
    transform: translateY(-1.5px) !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25) !important;
    opacity: 1 !important;
}

.btn-dark:active {
    transform: translateY(0) !important;
}

.btn:active {
    transform: translateY(1px) scale(.998);
}

.btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(32, 166, 255, .25), 0 10px 24px rgba(22, 177, 135, .32);
}

.errors {
    display: none;
    margin: 10px 0 0;
    background: #fff5f5;
    border: 1px solid #ffd7d7;
    border-left: 6px solid var(--danger);
    color: #7a2220;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14px;
}

.footer {
    margin-top: 14px;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

/* ===== POPUP DIALOG (no gradients) ===== */

/* Overlay */
.ui-widget-overlay {
    background: rgba(17, 22, 28, .55) !important;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    position: fixed !important;
    inset: 0 !important;
}

/* Dialog container */
.gc-dialog {
    background: #fff !important;
    border: 1px solid var(--border) !important;
    border-radius: 16px !important;
    box-shadow: 0 24px 60px rgba(16, 24, 40, .22), 0 6px 20px rgba(16, 24, 40, .12) !important;
    overflow: hidden !important;
    padding: 0 !important;
}

/* Hide built-in titlebar */
.gc-dialog .ui-dialog-titlebar {
    display: none !important;
}

/* Content layout */
.gc-dialog .ui-dialog-content {
    padding: 18px 18px 6px 18px !important;
    overflow: visible !important;
}

.gc-dialog__body {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

/* ICON: remove gradient — solid #3b82f6 */
.gc-dialog__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #3b82f6;
    /* solid */
    box-shadow: none;
    /* no gradient-y glow */
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
}

.gc-dialog__icon svg {
    width: 22px;
    height: 22px;
}

.gc-dialog__title {
    margin: 0 0 4px 0;
    font-weight: 800;
    font-size: 16px;
    color: var(--ink);
}

.gc-dialog__text {
    color: #1f2329;
    font-size: 14px;
    line-height: 1.5;
}

/* Button area */
.gc-dialog .ui-dialog-buttonpane {
    margin: 0 !important;
    padding: 12px 16px !important;
    background: #f6f8fb;
    /* solid */
    border-top: 1px solid var(--border);
}

.gc-dialog .ui-dialog-buttonset {
    float: none !important;
    text-align: right;
    width: 100%;
}

/* POPUP BUTTONS: solid #3b82f6, no gradients */
.gc-dialog .ui-dialog-buttonset button {
    border: 1px solid var(--popup-btn-brd) !important;
    background: var(--popup-btn) !important;
    /* solid */
    color: var(--popup-btn-text) !important;
    font-weight: 800 !important;
    padding: 10px 16px !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    /* no glow */
    cursor: pointer !important;
    text-shadow: none !important;
}

.gc-dialog .ui-dialog-buttonset button:hover,
.gc-dialog .ui-dialog-buttonset button:focus {
    background: var(--popup-btn-hover) !important;
    /* same solid color */
    border-color: var(--popup-btn-hover) !important;
    outline: none !important;
}

.gc-dialog .ui-dialog-buttonset button:active {
    transform: translateY(1px);
}

/* Dialog bounds */
.ui-dialog {
    box-sizing: border-box !important;
    max-width: calc(100vw - 32px) !important;
    max-height: calc(100vh - 32px) !important;
    overflow: hidden !important;
}

.ui-dialog .ui-dialog-content {
    overflow: auto !important;
}



/* Keep links inside header from underlining by default */
header a.back-btn {
    text-decoration: none !important;
}

/* Layout helper so the in-card back button has some breathing room */
.card .card-top {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: -4px 0 20px;
}

/* Back button: pill style, no underline, accessible focus */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent;
    padding: 10px 12px;
    border-radius: 12px;
    background: #f4f7fb;
    border: 1px solid var(--card-brd);
    color: var(--ink);
    font-weight: 800;
    font-size: 14px;
    box-shadow: none;
    outline: 0;
}

.back-btn:hover {
    text-decoration: none !important;
    filter: saturate(1.03);
}

.back-btn:active {
    transform: translateY(1px);
}

.back-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px var(--ring);
}

/* Dynamic list buttons helper: Grid for compactness */
.list-btn-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.list-btn-group a {
    display: block;
    width: 100%;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s ease;
    font-size: 14px;
}

.list-btn-group a:hover {
    background: #f8fafc;
    border-color: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* In case #mainForm doesn't take the class or links are direct children */
#mainForm a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    padding: 10px 14px !important;
    background: #fff !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-md) !important;
    color: var(--ink) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    text-align: center !important;
    transition: all 0.2s ease !important;
    margin-bottom: 0 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
    font-size: 14px !important;
    min-height: 44px;
    /* Ensure touch target size */
}

#mainForm a:hover {
    background: #f8fafc !important;
    border-color: var(--accent) !important;
    color: var(--accent) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

/* Sections & Dividers */
.section-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--ink);
    margin: 0 0 12px 0;
}

.divider {
    border: 0;
    height: 1px;
    background: var(--border);
    margin: 24px 0;
}

/* Table Styles */
.table-responsive {
    overflow-x: auto;
    width: 100%;
    margin-top: 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: #fff;
}

.table th,
.table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.table th {
    background: #f8fafc;
    color: var(--muted);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* DASHBOARD LAYOUT */
body.dashboard-body {
    display: block !important;
    place-items: unset;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    /* User: Ultra-muted colored accents */
    background: radial-gradient(at 0% 0%, rgba(22, 177, 135, 0.035) 0, transparent 65%),
                radial-gradient(at 100% 0%, rgba(42, 167, 255, 0.035) 0, transparent 65%),
                #f8fafc;
}

/* Sidebar Styles */
.sidebar {
    background: rgba(255, 255, 255, 0.9);
    border-right: 1px solid var(--border);
    display: flex !important;
    /* Force flex on desktop */
    flex-direction: column;
    padding: 16px;
    height: 100vh;
    z-index: 9000;
    transition: width 0.3s ease;
    width: 100%;
    /* Fill the grid column */
}

/* Collapsed State Logic */
.dashboard-container {
    display: grid;
    grid-template-columns: 260px 1fr;
    /* Default width */
    height: 100vh;
    width: 100%;
    overflow: hidden;
    position: relative;
    transition: grid-template-columns 0.3s ease;
}

.dashboard-container.collapsed {
    grid-template-columns: 0px 1fr;
}

.dashboard-container.collapsed .sidebar {
    width: 0;
    padding: 0;
    border: none;
    overflow: hidden;
}

.dashboard-container.collapsed .label,
.dashboard-container.collapsed .nav-links,
.dashboard-container.collapsed .sidebar-user,
.dashboard-container.collapsed .sidebar-footer,
.dashboard-container.collapsed .brand-logo {
    display: none !important;
}

.dashboard-container.collapsed .brand-logo {
    justify-content: center !important;
    padding-left: 0;
}

.dashboard-container.collapsed .user-info {
    display: none;
}

.dashboard-container.collapsed .sidebar-user {
    justify-content: center;
    border-top: 1px solid var(--border);
}

/* Hover Labels for Collapsed State */
.dashboard-container.collapsed .nav-item {
    position: relative;
    /* For absolute positioning of label */
}

.dashboard-container.collapsed .nav-item:hover .label {
    display: block;
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: #1e293b;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    margin-left: 10px;
    z-index: 100;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.dashboard-container.collapsed .nav-item:hover .label::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 4px;
    border-style: solid;
    border-color: transparent #1e293b transparent transparent;
}

/* Toggle Button */
.toggle-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--muted);
    padding: 4px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.toggle-btn:hover {
    background: #f1f5f9;
    color: var(--ink);
}

.brand-logo {
    font-size: 20px;
    font-weight: 900;
    color: var(--ink);
    margin-bottom: 32px;
    padding-left: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 32px;
    flex-shrink: 0;
    /* Fixed height for alignment */
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
    /* Space for scrollbar */
    margin-right: -4px;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

.nav-links::-webkit-scrollbar {
    width: 4px;
}

.nav-links::-webkit-scrollbar-track {
    background: transparent;
}

.nav-links::-webkit-scrollbar-thumb {
    background-color: var(--border);
    border-radius: 10px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border-radius: 12px;
    transition: all 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
    /* Prevent text wrap during collapse */
    overflow: hidden;
}

.nav-item:hover {
    background: #f6f8fb;
    color: var(--ink);
}

.nav-item.active {
    background: #f0f7ff;
    color: var(--accent-2);
}

#btnClockOut {
    background: var(--danger);
    box-shadow: 0 8px 16px rgba(194, 57, 52, 0.2);
}

#btnClockOut:hover {
    background: #e11d48;
}

.sidebar-footer {
    border-top: 1px solid var(--border);
    padding-top: 16px;
    margin-top: auto;
}

/* Main Content Area */
.main-content {
    background: transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    width: 100%;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Global Header Bar - Now Unified White Bar */
.header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px !important;
    min-height: 72px !important;
    background: #fff !important;
    border-bottom: 1px solid #e2e8f0;
    gap: 12px;
    flex-shrink: 0;
    position: relative;
    z-index: 8999;
    margin-bottom: 0 !important;
}

.page-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--ink);
    margin: 0;
    margin-left: 8px;
}

.sidebar-hamburger {
    display: none;
    background: none;
    border: none;
    border-radius: 10px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--muted);
    transition: all 0.2s;
    box-shadow: none;
}

.sidebar-hamburger:hover {
    background: #f8fafc;
    color: var(--ink);
}

.dashboard-container.collapsed .sidebar-hamburger {
    display: flex;
}

.content-view {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 24px 24px 150px 24px;
    position: relative;
}

/* Hide Overlay on Desktop by default so it doesn't break Grid */
/* This rule is now handled by the global .sidebar-overlay definition below */

.hidden {
    display: none !important;
}



.header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

/* Utilities */
.d-md-none {
    display: none !important;
}

/* Overlay Backdrop (Global for Modals & Mobile Menu) */
.sidebar-overlay {
    display: none;
    /* Default hidden */
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 11000;
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    display: flex !important;
    /* Force flex to override any hiding */
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
}

/* Responsive Overrides */
@media (max-width: 768px) {

    html,
    body.dashboard-body {
        height: auto !important;
        overflow-y: auto !important;
        /* Force vertical scroll capability */
        overflow-x: hidden !important;
        position: relative;
        width: 100%;
        min-height: 100vh;
    }

    .d-md-none {
        display: flex !important;
    }

    /* Responsive Sidebar (Mobile) */
    /* Responsive Sidebar (Mobile) */
    .dashboard-container,
    .dashboard-container.collapsed {
        grid-template-columns: 1fr !important;
        height: auto !important;
        min-height: 100vh;
        overflow-x: hidden !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .main-content {
        padding: 0 0 100px 0 !important;
        height: auto !important;
        min-height: 100vh;
        overflow-y: visible !important;
        /* Allow scroll */
        overflow-x: hidden !important;
        width: 100% !important;
    }

    .phase-card {
        padding: 24px 16px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: auto !important;
        min-width: 0 !important;
        /* Allow shrink */
        box-sizing: border-box !important;
        word-break: break-word !important;
    }

    .pitches-section>div>div {
        padding: 20px 14px !important;
        margin-top: 25px !important;
        /* Safety for label */
        box-sizing: border-box !important;
        min-width: 0 !important;
        word-break: break-word !important;
    }

    /* Stack the pitch header (text + button) on mobile */
    .pitches-section>div>div>div:first-of-type {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .pitches-section button {
        width: 100% !important;
        padding: 10px !important;
    }

    .content-view {
        padding: 16px !important;
        /* Allow content to flow naturally */
        height: auto !important;
        overflow: visible !important;
    }

    #viewProjects.content-view {
        padding: 0 !important;
    }

    /* Reset collapsed state styles on mobile */
    .dashboard-container.collapsed .label,
    .dashboard-container.collapsed .user-info {
        display: block !important;
    }

    .dashboard-container.collapsed .brand-logo .label {
        display: block !important;
    }

    .dashboard-container.collapsed .nav-links,
    .dashboard-container.collapsed .sidebar-user,
    .dashboard-container.collapsed .sidebar-footer,
    .dashboard-container.collapsed .brand-logo {
        display: flex !important;
    }

    .dashboard-container.collapsed .nav-item {
        justify-content: flex-start !important;
        padding: 12px !important;
    }

    .dashboard-container.collapsed .sidebar-user {
        justify-content: flex-start !important;
    }

    /* Mobile Sidebar Drawer */
    .sidebar {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        height: 100dvh !important;
        width: 280px !important;
        padding: 12px !important;
        overflow: hidden !important;
        transform: translateX(-100%) !important;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        z-index: 12000 !important;
        box-shadow: 0 0 40px rgba(0, 0, 0, 0.1) !important;
        border-right: none !important;
    }

    .sidebar>div[style*="margin-bottom: 32px"] {
        margin-bottom: 12px !important;
    }

    .sidebar-user {
        padding: 12px !important;
        margin-top: auto !important;
    }

    .sidebar.mobile-open {
        transform: translateX(0) !important;
    }

    /* Hide the desktop collapse toggle on mobile */
    #sidebarToggle.nav-item {
        display: none !important;
    }

    /* Sidebar Hamburger handling on mobile */
    .sidebar-hamburger {
        display: flex !important;
        margin-right: 8px;
        /* Give it some space from the title */
    }

    .header-bar {
        margin-bottom: 0 !important;
        padding: 0 16px !important;
        min-height: 64px !important;
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .page-title {
        display: none !important;
    }

    .header-actions {
        margin-left: auto !important;
        justify-content: flex-end;
        gap: 12px !important;
        width: auto !important;
    }

    #headerClock {
        gap: 8px !important;
        flex: none;
        justify-content: flex-end;
    }

    #clockProject {
        width: 120px !important;
        font-size: 12px !important;
    }

    #timerDisplay {
        font-size: 16px !important;
    }
}

/* Toggle Segmented Control */
.btn-toggle {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 8px 16px;
    font-size: 13px;
    cursor: pointer;
    color: #555;
    font-weight: 600;
}

.btn-toggle:first-child {
    border-radius: 4px 0 0 4px;
}

.btn-toggle:nth-child(2) {
    border-radius: 0;
    border-left: none;
    border-right: none;
}

.btn-toggle:last-child {
    border-radius: 0 4px 4px 0;
}

.btn-toggle.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* Announcement Heading Spacing */
.announcement-box h1,
.announcement-box h2,
.announcement-box h3 {
    margin-top: 12px !important;
    margin-bottom: 4px !important;
    line-height: 1.2;
}

.announcement-content p,
.announcement-content div {
    margin-bottom: 8px;
}

.announcement-content ul {
    margin-left: 20px;
    margin-bottom: 12px;
}

.announcement-content li {
    margin-bottom: 4px;
}

/* Contenteditable Placeholder */
[contenteditable=true]:empty:before {
    content: attr(data-placeholder);
    color: var(--muted);
    opacity: 0.5;
    pointer-events: none;
    display: block;
}

/* Full Page Splash */
#fullPageSplash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
}

#fullPageSplash.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#fullPageSplash .rocket-loader {
    transform: scale(1.3);
}

/* Rocket Loader & Splash Styles */
.rocket-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 40px;
    /* Removed width: 100% to prevent giant rocket issues */
}

.rocket-icon {
    width: 80px;
    height: 80px;
    position: relative;
    animation: rocket-vibrate 0.12s infinite alternate ease-in-out;
}

/* Special size for sidebar */
.sidebar-splash .rocket-icon {
    width: 60px;
    height: 60px;
}

@keyframes rocket-vibrate {
    0% {
        transform: translate(1px, 1px) rotate(0.5deg);
    }

    100% {
        transform: translate(-1px, -1px) rotate(-0.5deg);
    }
}

.rocket-icon img {
    width: 100%;
    height: 100%;
}

.rocket-splash {
    position: absolute;
    inset: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    /* Increased to ensure visibility */
    flex-direction: column;
    pointer-events: none;
    /* Allow clicks through if needed */
}

.sidebar-splash {
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.rocket-status-text {
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    animation: pulse-text 1.5s infinite;
    margin-top: 12px;
}

/* Heavy Orbital Rocket (v3) Styling */
.rocket-loader.heavy .rocket-icon {
    width: 120px;
    height: 120px;
    animation: heavy-hover 3s ease-in-out infinite;
}

@keyframes heavy-hover {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    25% {
        transform: translateY(-10px) rotate(1deg);
    }

    75% {
        transform: translateY(5px) rotate(-1deg);
    }
}

@keyframes pulse-text {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

/* Glass Spinner - Swirly Loading Icon */
.glass-spinner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px;
    gap: 16px;
}

.glass-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--accent);
    border-radius: 50%;
    animation: glass-spin 0.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    position: relative;
    box-shadow: 0 0 15px rgba(22, 177, 135, 0.1);
}

.glass-spinner::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top: 4px solid var(--accent-2);
    opacity: 0.4;
    animation: glass-spin 1.2s linear infinite reverse;
}

@keyframes glass-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.glass-spinner-text {
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    animation: pulse-text 1.5s infinite;
}

/* TOOLBAR & FILTERS (Shared across views) */
.toolbar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.filters {
    display: flex;
    gap: 12px;
    flex: 1;
    flex-wrap: wrap;
    align-items: center;
}

/* Ensure inputs in filters don't look weird */
.filters .input {
    margin: 0;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes modalPop {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.action-btn {
    transition: all 0.2s ease;
}

.action-btn:hover {
    transform: translateY(-2px);
    filter: brightness(0.95);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* WORKSHOP FULL SCREEN MODE */
.main-content.workshop-mode {
    height: 100%;
    overflow: hidden;
}

#viewWorkshop {
    padding: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    height: auto !important;
}

/* Workshop Workspace Header Layout */
.workshop-middle-header {
    padding: 12px 16px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-shrink: 0;
    min-height: 64px;
    box-sizing: border-box;
}

.wmh-nav-row {
    display: none; /* Hidden on desktop */
}

.wmh-content-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.wmh-identity-box {
    flex: 1;
    min-width: 0;
}

.wmh-name-input {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 18px;
    font-weight: 800;
    color: var(--ink);
    padding: 0;
    outline: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.2s;
}

.wmh-name-input:focus {
    color: var(--accent);
}

.wmh-status-box {
    flex-shrink: 0;
}

#viewSettings {
    padding: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    display: block !important;
    flex: 1 !important;
    height: 100% !important;
}

#workshopRightColumn {
    transform: none !important;
    position: static !important;
}

@media (max-width: 768px) {
    .main-content.workshop-mode {
        padding: 0 !important;
        height: auto !important;
        min-height: 100dvh !important;
        overflow-y: visible !important;
        /* Allow the whole area to scroll */
        overflow-x: hidden !important;
    }

    #viewWorkshop,
    #viewSettings {
        height: 100% !important;
        overflow: visible !important;
        display: flex !important;
        flex-direction: column !important;
    }

    #workshopContainer {
        position: relative !important;
        flex: 1 !important;
        height: auto !important;
        /* Let it grow with content */
        overflow: visible !important;
    }

    #workshopSidebar {
        position: fixed !important;
        /* Fixed position for mobile drawer */
        top: 64px !important;
        left: 0 !important;
        height: calc(100vh - 64px) !important;
        /* Guaranteed full height minus header */
        width: 100% !important;
        /* Full width drawer */
        z-index: 1000 !important;
        /* Above everything (including global header) */
        box-shadow: none !important;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        transform: translateX(0);
        background: #fff !important;
        display: flex !important;
        flex-direction: column !important;
    }

    #workshopSidebar.collapsed {
        transform: translateX(-100%) !important;
        box-shadow: none !important;
    }

    /* Mobile Detail Drawer Mode */
    #workshopRightColumn {
        position: fixed !important;
        top: 64px !important;
        right: 0 !important;
        height: calc(100vh - 64px) !important;
        width: 100% !important;
        z-index: 1050 !important;
        background: #fff !important;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1) !important;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        transform: translateX(100%) !important;
        display: flex !important;
        flex-direction: column !important;
    }

    #workshopRightColumn.mobile-open {
        transform: translateX(0) !important;
    }

    .mobile-expand-btn {
        display: flex !important;
    }

    #workshopWorkArea {
        width: 100% !important;
        flex: 1 !important;
        border-left: none !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: visible !important;
        height: auto !important;
    }

    .workshop-grid {
        flex-direction: column !important;
        flex: none !important;
        display: flex !important;
        overflow: visible !important;
    }

    .workshop-timeline {
        min-width: 0 !important;
        width: 100% !important;
        border-right: none !important;
        border-bottom: 1px solid #f1f5f9 !important;
        flex: none !important;
        height: 350px !important;
        /* Restore contained window height */
        overflow-y: auto !important;
        /* Internal scroll as requested */
        background: #fff !important;
    }

    /* Target the internal stream for scrolling within the timeline window */
    #interactionStream {
        height: 100% !important;
        overflow-y: auto !important;
    }

    .workshop-details {
        width: 100% !important;
        border-left: none !important;
        padding: 16px !important;
        flex: none !important;
        overflow-y: visible !important;
        height: auto !important;
        background: #fff !important;
    }

    .workshop-header {
        padding: 12px 16px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
        flex-shrink: 0 !important;
        background: #fff !important;
    }

    .workshop-header>div {
        width: 100% !important;
        margin-left: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        /* Stack name and back button/actions vertically */
        align-items: flex-start !important;
        gap: 8px !important;
    }

    .workshop-header input[type="text"] {
        margin-left: 0 !important;
        /* Reset negative margin on mobile */
        width: 100% !important;
    }

    .workshop-contact-row {
        flex-direction: row !important;
        /* Keep on same line as requested */
        align-items: center !important;
        gap: 8px !important;
        flex-wrap: nowrap !important;
    }

    .workshop-contact-row>div:first-child {
        flex: 1 !important;
        min-width: 0 !important;
        /* Allow shrinking */
    }

    .workshop-contact-row>div:last-child {
        flex-shrink: 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }

    .workshop-header-phone {
        width: 100px !important;
        /* Smaller width for phone to fit better */
    }

    .workshop-header-address {
        font-size: 15px !important;
        /* Larger for better mobile readability */
        padding: 8px 0 !important;
    }

    .workshop-header>div:last-child {
        flex-direction: row !important;
        /* Keep status and finalize side by side if possible */
        justify-content: space-between !important;
        align-items: center !important;
        margin-top: 8px !important;
        border-top: 1px solid #f1f5f9;
        padding-top: 12px;
    }

    .workshop-middle-header {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        padding: 14px 16px !important;
        min-height: auto !important;
        background: #fff !important;
        /* Cleaner for mobile interaction */
    }

    .wmh-nav-row {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .wmh-nav-row .mobile-expand-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        height: 34px !important;
        gap: 6px;
        font-size: 11px;
        font-weight: 700;
        color: #475569;
        background: #f1f5f9;
        border: 1px solid #e2e8f0;
        padding: 0 12px !important;
        border-radius: 6px;
        cursor: pointer;
    }

    .wmh-content-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }

    .wmh-identity-box {
        width: 100% !important;
    }

    .wmh-name-input {
        font-size: 22px !important;
        /* Larger for clarity on mobile */
        white-space: normal !important;
        /* Allow wrapping */
        overflow: visible !important;
        height: auto !important;
        line-height: 1.2 !important;
    }

    .wmh-status-box {
        width: 100% !important;
    }

    .wmh-status-box > div {
        width: 100% !important;
    }

    .wmh-status-box select {
        width: 100% !important;
        padding: 10px 16px !important;
        font-size: 11px !important;
        text-align: center !important;
        border: 1px solid rgba(0,0,0,0.05) !important;
    }

    .workshop-status-select {
        padding: 6px 32px 6px 12px !important;
        font-size: 11px !important;
    }

    .workshop-finalize-btn {
        padding: 8px 16px !important;
        font-size: 12px !important;
    }
}


/* Fix Sidebar Avatar Squish */
.sidebar-user .avatar {
    flex-shrink: 0 !important;
}

/* Global Admin Button Styles */
.btn-admin-black {
    background: #0f172a !important;
    color: white !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 10px 20px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1) !important;
    text-decoration: none !important;
}

.btn-admin-black:hover {
    background: #1e293b !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.2) !important;
}

.btn-admin-black:disabled {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

.btn-admin-outline {
    background: white !important;
    color: #475569 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 10px 20px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    text-decoration: none !important;
}

.btn-admin-outline:hover {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

/* Reusable Toolbar Layout */
.toolbar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    gap: 16px;
    padding: 0 24px;
}

.toolbar-group {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Payout History Expansion */
.payout-history-row:hover {
    background: #f8fafc;
}

.payout-history-row.expanded {
    background: #fff !important;
}

.payout-history-row.expanded .payout-history-details {
    max-height: 1000px !important;
    opacity: 1 !important;
    padding-bottom: 24px !important;
}

.payout-history-row:not(.expanded) .payout-history-details {
    max-height: 0 !important;
    opacity: 0 !important;
    pointer-events: none;
}

/* 
 * BUSINESS WISHLIST - FULL SCREEN MOBILE OVERRIDES 
 * These rules are placed at the end of the file to ensure they win 
 * against the standard mobile padding rules (.content-view, .main-content).
 */
@media (max-width: 768px) {

    /* Kill the dashboard body gradient entirely in this mode */
    body.wishlist-mode {
        background: white !important;
    }

    /* Target every container layer between the body and the form */
    body.wishlist-mode .dashboard-container,
    body.wishlist-mode .main-content,
    body.wishlist-mode .content-view,
    body.wishlist-mode #viewWishlist {
        padding: 0 !important;
        margin: 0 !important;
        background: white !important;
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        min-height: 100vh !important;
        display: block !important;
        box-shadow: none !important;
        border: none !important;
    }

    /* Hide the global dashboard header bar (since wishlist has its own) */
    body.wishlist-mode .header-bar {
        display: none !important;
    }
}

/* Asset Library Box */
.asset-box {
    border: 2px dashed #dbe5f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    transition: all 0.2s;
}

.asset-box.input-error {
    border-color: #ef4444 !important;
    background: #fff5f5 !important;
}

.asset-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* --- NOTIFICATIONS SYSTEM --- */

#btnToggleNotifications {
    position: relative;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--muted);
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

#btnToggleNotifications:hover {
    color: var(--accent-2);
}

#notificationBadgeCount {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #ef4444;
    color: white;
    font-size: 10px;
    font-weight: 800;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Notification Panel (Matches Task Widget) */
.notifications-overlay {
    position: fixed;
    top: 60px;
    /* Slightly lower than header */
    right: 80px;
    /* Left of the Tasks widget if open, or just offset */
    z-index: 1000;
    width: 380px;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95) translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.2s;
    pointer-events: none;
    will-change: transform, opacity;
}

.notifications-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
    pointer-events: all;
}

.notif-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 500px;
}

.notif-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.6);
}

.notif-list {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.notif-item {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
    cursor: default;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.notif-item:hover {
    background: #f8fafc;
}

.notif-item.unread {
    background: #f0f9ff;
    border-left: 4px solid var(--accent-2);
}

.notif-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e0f2fe;
    color: #0369a1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notif-content {
    flex: 1;
}

.notif-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 4px;
}

.notif-body {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.4;
}

.notif-time {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 6px;
}

.notif-empty {
    padding: 40px;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
}

/* --- USER SETTINGS MODAL (iOS Style) --- */

.settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #f2f2f7;
    /* iOS Settings Gray */
    z-index: 2000;
    display: none;
    flex-direction: column;
}

.settings-modal.active {
    display: flex;
}

.settings-header {
    background: #fff;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #c6c6c8;
    flex-shrink: 0;
}

.settings-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.settings-section {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.settings-row {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e5e5ea;
    min-height: 48px;
}

.settings-row:last-child {
    border-bottom: none;
}

.settings-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 12px;
    font-size: 14px;
}

.settings-label {
    flex: 1;
    font-size: 16px;
    color: #000;
}

/* iOS Toggle Switch */
.ios-toggle {
    appearance: none;
    width: 50px;
    height: 30px;
    background: #e9e9ea;
    border-radius: 15px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s;
    outline: none;
}

.ios-toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 26px;
    height: 26px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.ios-toggle:checked {
    background: #34c759;
}

.ios-toggle:checked::after {
    transform: translateX(20px);
}

/* Profile Upload */
.profile-upload-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
    background: #fff;
    margin-bottom: 24px;
}

.profile-avatar-lg {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #e0e0e0;
    position: relative;
    overflow: hidden;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #fff;
    font-weight: 700;
}

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

.upload-btn {
    color: #007aff;
    font-size: 15px;
    cursor: pointer;
    background: none;
    border: none;
    font-weight: 500;
}