:root {
    --sidebar-width: 220px;
    --sidebar-bg: #0f172a;
    --sidebar-active: rgba(255,255,255,.1);
}

body {
    background: #f1f5f9;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: .9rem;
}

/* ── Sidebar ── */
#app-wrapper {
    min-height: 100vh;
}

.sidebar {
    width: var(--sidebar-width);
    min-height: 100vh;
    background: var(--sidebar-bg);
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.sidebar .nav-link {
    color: rgba(255,255,255,.65);
    border-radius: 8px;
    font-size: .85rem;
    padding: .45rem .75rem;
    transition: background .15s, color .15s;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background: var(--sidebar-active);
    color: #fff;
}

.sidebar-brand {
    padding: .25rem .25rem;
}

.sidebar-timer {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
}

/* ── Main ── */
.main-content {
    min-width: 0;
}

/* ── Cards ── */
.card {
    border-radius: 12px;
}

.stat-card .stat-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

/* ── Project dot ── */
.dot, .project-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.project-dot {
    width: 14px;
    height: 14px;
}

/* ── Kanban ── */
.kanban-board {
    align-items: flex-start;
}

.kanban-col-header {
    position: sticky;
    top: 0;
    z-index: 10;
}

.kanban-card {
    cursor: grab;
    border-radius: 10px;
    transition: box-shadow .2s, transform .1s;
}

.kanban-card:active {
    cursor: grabbing;
}

.kanban-card.opacity-50 {
    opacity: .5 !important;
}

.kanban-drop-active {
    background: rgba(59,130,246,.08) !important;
    border-radius: 8px;
}

/* ── Blink ── */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: .3; }
}

.blink {
    animation: blink 1.2s infinite;
}

/* ── Btn-xs ── */
.btn-xs {
    font-size: .7rem;
    border-radius: 4px;
}

/* ── Tables ── */
.table td, .table th {
    vertical-align: middle;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,.15); border-radius: 3px; }
