/* Hero dashboard mockup — schematic, low-detail stand-in for the logged-in product UI. */

.dashboard-mockup {
    width: min(460px, 100%);
    aspect-ratio: 460 / 320;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(51, 47, 43, 0.08);
    display: flex;
}

/* Sidebar */
.mockup-sidebar {
    width: clamp(56px, 16%, 72px);
    flex-shrink: 0;
    background: var(--bg);
    border-right: 1px solid var(--border);
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mockup-logo-dot {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: rgba(235, 98, 0, 0.8);
    margin-bottom: 6px;
}

.mockup-nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mockup-nav-icon {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    background: var(--border);
    flex-shrink: 0;
}

.mockup-nav-label {
    height: 6px;
    flex: 1;
    border-radius: 3px;
    background: var(--border);
}

.mockup-nav-item.active .mockup-nav-icon {
    background: rgba(235, 98, 0, 0.35);
}

.mockup-nav-item.active .mockup-nav-label {
    background: rgba(235, 98, 0, 0.35);
}

/* Main content */
.mockup-main {
    flex: 1;
    min-width: 0;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mockup-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mockup-title {
    width: 70px;
    height: 10px;
    border-radius: 3px;
    background: var(--text);
    opacity: 0.6;
}

.mockup-btn {
    width: 64px;
    height: 18px;
    border-radius: 6px;
    background: var(--accent);
    opacity: 0.8;
}

/* Stat tiles */
.mockup-stats {
    display: flex;
    gap: 10px;
}

.mockup-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 8px 10px;
}

.mockup-stat-label {
    width: 34px;
    height: 5px;
    border-radius: 2px;
    background: var(--border);
}

.mockup-stat-value {
    width: 52px;
    height: 11px;
    border-radius: 3px;
    background: var(--text);
    opacity: 0.6;
}

.mockup-stat-bar {
    position: relative;
    height: 3px;
    border-radius: 2px;
    background: var(--border);
    overflow: hidden;
}

.mockup-stat-bar::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 60%;
    background: var(--accent);
    opacity: 0.4;
    border-radius: 2px;
}

.mockup-stat:nth-child(2) .mockup-stat-bar::after {
    width: 35%;
}

.mockup-stat:nth-child(3) .mockup-stat-bar::after {
    width: 78%;
}

/* Project rows */
.mockup-table {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 0;
}

.mockup-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 8px;
    border-radius: 6px;
    border-bottom: 1px solid var(--border);
}

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

.mockup-row.active {
    background: rgba(235, 98, 0, 0.06);
    border-bottom-color: transparent;
}

.mockup-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--border);
    flex-shrink: 0;
}

.mockup-row-lines {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mockup-line {
    height: 6px;
    width: 55%;
    border-radius: 3px;
    background: var(--border);
}

.mockup-line-title {
    width: 68%;
    background: var(--text);
    opacity: 0.55;
}

.mockup-line-sub {
    width: 38%;
}

.mockup-row.active .mockup-line-title {
    background: var(--accent);
    opacity: 0.8;
}

.mockup-row-amount {
    width: clamp(48px, 15%, 68px);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.mockup-amount-value {
    width: 46px;
    height: 7px;
    border-radius: 3px;
    background: var(--success);
    opacity: 0.8;
}

.mockup-amount-bar {
    position: relative;
    width: 46px;
    height: 3px;
    border-radius: 2px;
    background: var(--border);
    overflow: hidden;
}

.mockup-amount-bar::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 85%;
    background: var(--success);
    opacity: 0.4;
    border-radius: 2px;
}

.mockup-row:nth-child(2) .mockup-amount-bar::after {
    width: 55%;
}

.mockup-row:nth-child(3) .mockup-amount-bar::after {
    width: 68%;
}

.mockup-row:nth-child(4) .mockup-amount-value {
    background: var(--text-secondary);
}

.mockup-row:nth-child(4) .mockup-amount-bar::after {
    width: 40%;
    background: var(--text-secondary);
}
