/* ============================
   /ekrany – hero-makieta dashboardu
   ============================ */
.mockup {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.mockup-dashboard {
    display: grid;
    grid-template-columns: 220px 1fr;
    min-height: 560px;
    margin-bottom: 24px;
}

/* Sidebar */
.mockup-sidebar {
    background: var(--brand-navy);
    color: rgba(255,255,255,.85);
    padding: 20px 12px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.mockup-sidebar-logo {
    padding: 4px 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.mockup-sidebar-logo .logo-text {
    color: #fff;
    font-size: 1.4rem;
}
.mockup-sidebar-logo .logo-accent { color: var(--brand-teal); }
.mockup-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.mockup-sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: .88rem;
    color: rgba(255,255,255,.7);
    cursor: default;
    position: relative;
}
.mockup-sidebar-nav a svg { width: 16px; height: 16px; flex-shrink: 0; }
.mockup-sidebar-nav a:hover,
.mockup-sidebar-nav a.is-active {
    background: rgba(0,143,143,.18);
    color: #fff;
}
.mockup-sidebar-nav a.is-active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 3px;
    background: var(--brand-teal);
    border-radius: 0 3px 3px 0;
}
.mockup-badge {
    margin-left: auto;
    background: var(--brand-bordo);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
}

/* Screen area */
.mockup-screen {
    display: flex;
    flex-direction: column;
    background: var(--bg-secondary);
}
.mockup-topbar {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.mockup-search {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    color: var(--text-muted);
    font-size: .85rem;
    min-width: 280px;
}
.mockup-search svg { width: 15px; height: 15px; }
.mockup-topbar-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: .82rem;
    color: var(--text-muted);
}
.mockup-rate {
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    background: rgba(0,143,143,.08);
    color: var(--brand-teal);
    font-weight: 600;
}
.mockup-bell {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
}
.mockup-bell svg { width: 16px; height: 16px; }
.mockup-dot {
    position: absolute;
    top: 6px;
    right: 7px;
    width: 8px;
    height: 8px;
    background: var(--brand-bordo);
    border-radius: 50%;
    border: 2px solid var(--bg-card);
}
.mockup-user {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-heading);
    font-weight: 600;
    font-size: .85rem;
}
.mockup-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-teal), var(--brand-bordo));
    color: #fff;
    font-size: .75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Main content */
.mockup-main {
    padding: 22px 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow: hidden;
}
.mockup-page-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.mockup-page-title h4 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--text-heading);
}
.mockup-chip {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.mockup-chip--info { background: rgba(11,36,48,.08); color: var(--brand-navy); }
[data-theme="dark"] .mockup-chip--info { background: rgba(255,255,255,.1); color: #cbd5e1; }

.mockup-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.mockup-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.mockup-stat-label {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-muted);
    font-weight: 600;
}
.mockup-stat-value {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    color: var(--text-heading);
    line-height: 1.1;
}
.mockup-stat-trend {
    font-size: .72rem;
    color: var(--text-muted);
}
.mockup-stat-trend--up { color: #16a34a; font-weight: 600; }
.mockup-stat-card--ksef .mockup-stat-value {
    color: var(--brand-teal);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
}
.mockup-pulse {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--brand-teal);
    box-shadow: 0 0 0 0 rgba(0,143,143,.6);
    animation: mockup-pulse 1.8s ease-out infinite;
}
@keyframes mockup-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(0,143,143,.55); }
    70%  { box-shadow: 0 0 0 10px rgba(0,143,143,0); }
    100% { box-shadow: 0 0 0 0 rgba(0,143,143,0); }
}

.mockup-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 14px;
}
.mockup-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
}
.mockup-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.mockup-panel-head h5 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--text-heading);
}
.mockup-link { color: var(--brand-teal); font-size: .8rem; font-weight: 600; }

.mockup-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .82rem;
}
.mockup-table th {
    text-align: left;
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-muted);
    padding: 8px 10px;
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
}
.mockup-table td {
    padding: 10px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-main);
}
.mockup-table tbody tr:last-child td { border-bottom: none; }
.mockup-table tbody tr:hover { background: rgba(0,143,143,.04); }

.status-chip {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: .7rem;
    font-weight: 600;
    white-space: nowrap;
}
.status-chip--pending  { background: rgba(234,179,8,.14);  color: #a16207; }
.status-chip--verified { background: rgba(0,143,143,.14);  color: var(--brand-teal); }
.status-chip--accepted { background: rgba(22,163,74,.14);  color: #16a34a; }
.status-chip--rejected { background: rgba(220,38,38,.14);  color: #dc2626; }
[data-theme="dark"] .status-chip--pending  { background: rgba(234,179,8,.2);  color: #facc15; }
[data-theme="dark"] .status-chip--verified { background: rgba(0,143,143,.25); color: #5eead4; }
[data-theme="dark"] .status-chip--accepted { background: rgba(22,163,74,.22); color: #4ade80; }
[data-theme="dark"] .status-chip--rejected { background: rgba(220,38,38,.22); color: #fca5a5; }

/* Calendar widget */
.mockup-calendar {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.mockup-calendar li {
    display: flex;
    gap: 12px;
    padding: 8px;
    border-radius: var(--radius-sm);
    background: var(--bg-secondary);
}
.mockup-calendar li div { display: flex; flex-direction: column; }
.mockup-calendar strong { font-size: .84rem; color: var(--text-heading); }
.mockup-calendar small { font-size: .72rem; color: var(--text-muted); }
.mockup-date {
    min-width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: .88rem;
    font-weight: 700;
    color: var(--brand-navy);
}
[data-theme="dark"] .mockup-date { color: #f1f5f9; }
.mockup-date--soon {
    background: var(--brand-bordo);
    color: #fff !important;
    border-color: var(--brand-bordo);
}

.mockup-caption {
    margin-top: 20px;
    color: var(--text-muted);
    font-size: .85rem;
    font-style: italic;
}
