/* Kanban / OperatorKanban layout */
.kanban-page {
    padding: 16px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.kanban-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 8px;
}

.kanban-header h1 {
    color: #f7f8f8;
    font-size: 20px;
    font-weight: 590;
    margin: 0;
}

.kanban-header button {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    color: #d0d6e0;
    padding: 6px 12px;
    font-size: 13;
    cursor: pointer;
}

/* 4-column grid layout */
.kanban {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    overflow-x: auto;
}

.column {
    background: rgba(255,255,255,0.02);
    border-radius: 8px;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 160px);
}

.col-header {
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px 8px 0 0;
    font-size: 13px;
    font-weight: 510;
    color: #d0d6e0;
    flex-shrink: 0;
}

.col-count {
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 1px 7px;
    font-size: 11px;
    color: #8e8e93;
}

.col-body {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    flex: 1;
}

.card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    padding: 12px;
}

.card-order {
    color: #8e8e93;
    font-size: 11px;
    font-weight: 510;
    margin-bottom: 4px;
}

.card-op {
    color: #f7f8f8;
    font-size: 14px;
    font-weight: 510;
    margin-bottom: 4px;
}

.card-wc {
    color: #8e8e93;
    font-size: 12px;
    margin-bottom: 6px;
}

.card-time {
    color: #ebebf5;
    font-size: 12px;
    margin-bottom: 4px;
}

.card-status {
    color: #8e8e93;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.error {
    background: rgba(255,69,58,0.1);
    color: #ff453a;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 12px;
    font-size: 13px;
}

/* Mobile: horizontal scroll */
@media (max-width: 768px) {
    .kanban {
        grid-template-columns: repeat(4, 240px);
    }
}

/* Action buttons */
.btn-start, .btn-pause, .btn-done {
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 510;
    cursor: pointer;
    color: #fff;
    flex: 1;
    min-width: 80px;
}
.btn-start { background: rgba(10, 132, 255, 0.2); color: #0a84ff; border: 1px solid rgba(10, 132, 255, 0.3); }
.btn-pause { background: rgba(255, 159, 10, 0.2); color: #ff9f0a; border: 1px solid rgba(255, 159, 10, 0.3); }
.btn-done { background: rgba(48, 209, 88, 0.2); color: #30d158; border: 1px solid rgba(48, 209, 88, 0.3); }
.btn-start:hover, .btn-pause:hover, .btn-done:hover { opacity: 0.8; }
