:root {
    --tt-primary: #1F6FEB;
    --tt-primary-dark: #185CC4;
    --tt-success: #198754;
    --tt-danger: #DC3545;
    --tt-neutral: #6C757D;
    --tt-light: #F5F7FA;
    --tt-border: #E5E9F0;
}

body {
    font-family: 'Segoe UI', 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--tt-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.tt-navbar {
    background: linear-gradient(90deg, var(--tt-primary) 0%, var(--tt-primary-dark) 100%);
}

.tt-logo-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 3px;
    background: white;
    margin-right: 8px;
    vertical-align: middle;
}

.tt-footer {
    border-top: 1px solid var(--tt-border);
    background: white;
}

.btn-primary, .bg-primary {
    background-color: var(--tt-primary) !important;
    border-color: var(--tt-primary) !important;
}
.btn-primary:hover { background-color: var(--tt-primary-dark) !important; }

.tt-card {
    background: white;
    border: 1px solid var(--tt-border);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.tt-page-title {
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.tt-page-subtitle {
    color: var(--tt-neutral);
    margin-bottom: 1.4rem;
}

/* Kanban */
.kanban-board {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
}
.kanban-column {
    background: white;
    border: 1px solid var(--tt-border);
    border-radius: 8px;
    padding: 8px;
    min-width: 280px;
    flex: 0 0 280px;
}
.kanban-column header {
    font-weight: 600;
    padding: 6px 8px;
    border-bottom: 2px solid var(--tt-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.kanban-column .badge {
    font-weight: 500;
}
.kanban-card {
    background: white;
    border: 1px solid var(--tt-border);
    border-left: 4px solid var(--tt-primary);
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 8px;
    cursor: grab;
    transition: box-shadow 0.15s;
}
.kanban-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
}
.kanban-card.priority-Low { border-left-color: var(--tt-neutral); }
.kanban-card.priority-Normal { border-left-color: var(--tt-primary); }
.kanban-card.priority-High { border-left-color: #FD7E14; }
.kanban-card.priority-Critical { border-left-color: var(--tt-danger); }

.kanban-card .task-title {
    font-weight: 500;
    margin-bottom: 4px;
}
.kanban-card .task-meta {
    color: var(--tt-neutral);
    font-size: 0.85rem;
}

.task-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.75rem;
    color: white;
    margin-right: 4px;
}

.tt-kpi-card {
    background: white;
    border: 1px solid var(--tt-border);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}
.tt-kpi-value {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--tt-primary);
}
.tt-kpi-label {
    color: var(--tt-neutral);
    font-size: 0.9rem;
}

table.tt-table {
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.status-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.85rem;
    color: white;
    font-weight: 500;
}
